/* ==========================================================================
   Αρχική σελίδα
   ========================================================================== */

/* Slider ------------------------------------------------------------------ */
.hero-slider {
	position: relative; overflow: hidden; background: #0e1726; color: #fff;
	height: clamp(520px, calc(100svh - var(--header-h) - var(--admin-h)), 760px);
}
.hero-slider__track { position: absolute; inset: 0; }
.hero-slide {
	position: absolute; inset: 0; display: flex; align-items: center;
	opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s 1.1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s 0s; z-index: 1; }
.hero-slide__media { position: absolute; inset: 0; }
.hero-slide__media img, .hero-slide__media video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__media img { transform: scale(1.06); transition: transform 7s ease-out; }
.hero-slide.is-active .hero-slide__media img { transform: scale(1); }
.hero-slide__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(70deg, rgba(9, 9, 10, .72) 13%, rgba(28, 28, 28, .3) 48%, rgba(27, 34, 52, 0) 100%);
}
.hero-slide__caption { position: relative; z-index: 2; padding-inline: clamp(24px, 6vw, 96px); }
.hero-slide__caption > * { max-width: 700px; }
.hero-slide__eyebrow { margin: 0 0 16px; font-size: 15px; font-weight: 300; letter-spacing: 3px; }
.hero-slide__title { margin: 0; font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; line-height: 1.05; color: #fff; }
.hero-slide__text { margin: 16px 0 0; font-size: clamp(15.5px, 1.4vw, 18px); color: rgba(255, 255, 255, .92); }
.hero-slide__btn {
	display: inline-block; margin-top: 2rem; padding: 16px 36px; border-radius: 6px;
	background: #f9b535; color: #2c2828; font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
	transition: background-color .2s, transform .2s;
}
.hero-slide__btn:hover { background: #ffc552; color: #2c2828; transform: translateY(-2px); }
.hero-slide .hero-slide__caption > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.hero-slide.is-active .hero-slide__caption > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-slide__caption > :nth-child(2) { transition-delay: .12s; }
.hero-slide.is-active .hero-slide__caption > :nth-child(3) { transition-delay: .24s; }
.hero-slide.is-active .hero-slide__caption > :nth-child(4) { transition-delay: .36s; }

.hero-slider__nav {
	position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
	display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
	border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff;
	backdrop-filter: blur(6px); opacity: .8; transition: opacity .2s, background-color .2s;
}
.hero-slider__nav:hover { opacity: 1; background: rgba(255, 255, 255, .24); }
.hero-slider__nav--prev { left: 16px; }
.hero-slider__nav--next { right: 16px; }
.hero-slider__dots { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-slider__dots button { position: relative; width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.hero-slider__dots button::after { content: ""; position: absolute; inset: 0; background: #c7a264; transform: scaleX(0); transform-origin: left; }
.hero-slider__dots button[aria-current="true"]::after { animation: dot-progress var(--dur, 6000ms) linear forwards; }
.hero-slider.is-paused .hero-slider__dots button::after { animation-play-state: paused; }
@keyframes dot-progress { to { transform: scaleX(1); } }
@media (max-width: 767px) {
	.hero-slider { height: min(640px, calc(100svh - var(--header-h))); min-height: 500px; }
	.hero-slide { align-items: flex-end; padding-bottom: 64px; }
	.hero-slider__nav { display: none; }
	.hero-slide__media::after { background: linear-gradient(0deg, rgba(9, 9, 10, .82) 10%, rgba(9, 9, 10, .25) 70%); }
}

/* Ποιοι είμαστε ----------------------------------------------------------- */
.home-about { padding-block: clamp(64px, 9vw, 120px) clamp(40px, 6vw, 80px); }
.home-about__inner { max-width: 1050px; }
.home-about h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.22; color: var(--ink); }
.home-about__content { margin-top: 40px; }

.v-divider { width: 1px; height: 5vh; min-height: 40px; margin: 25px auto; background: rgba(0, 0, 0, .12); }

/* Κουτιά υπηρεσιών/εξοπλισμού (hover effect του παλιού θέματος) ------------ */
.home-services, .home-equipment { padding-block: clamp(40px, 6vw, 80px); }
.box-grid { display: grid; gap: 28px; }
.box-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.box-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 991px) { .box-grid--3, .box-grid--2 { grid-template-columns: 1fr; } }

.box-card {
	position: relative; display: flex; align-items: flex-end; overflow: hidden;
	min-height: clamp(380px, 38vw, 550px); padding: clamp(24px, 3vw, 44px); border-radius: 6px; color: #fff;
	isolation: isolate;
	transition: box-shadow .65s cubic-bezier(.05, .2, .1, 1);
}
.box-card--short { min-height: clamp(300px, 26vw, 380px); }
.box-card:hover { box-shadow: 0 25px 55px rgba(0, 0, 0, .22); color: #fff; }
.box-card__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.box-card:hover .box-card__img { transform: scale(1.18); transition: transform 9s cubic-bezier(.1, .2, .7, 1); }
.box-card::before { content: ""; position: absolute; inset: auto 0 0; height: 85%; z-index: -1; background: linear-gradient(to bottom, rgba(15, 15, 15, 0), rgba(15, 15, 15, .75)); }
.box-card::after { content: ""; position: absolute; inset: auto 0 0; height: 300px; z-index: -1; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #161616); opacity: 0; transition: opacity .65s cubic-bezier(.05, .2, .1, 1); }
.box-card:hover::after { opacity: 1; }
.box-card__body { display: block; }
.box-card h3 { margin: 0; font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; color: #fff; }
.box-card p {
	margin: 0; max-height: 0; opacity: 0; transform: translateY(20px); overflow: hidden;
	transition: opacity .65s cubic-bezier(.05, .2, .1, 1) .15s, transform .65s cubic-bezier(.05, .2, .1, 1) .15s, max-height .65s cubic-bezier(.05, .2, .1, 1) .15s, margin .65s;
}
.box-card:hover p, .box-card:focus-visible p { max-height: 200px; opacity: 1; transform: none; margin-top: 10px; }
@media (hover: none) { .box-card p { max-height: none; opacity: 1; transform: none; margin-top: 10px; } }

.home-equipment__head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 40px; align-items: end; margin-bottom: 48px; }
.home-equipment__head h2 { margin: 0; font-size: clamp(42px, 5vw, 60px); font-weight: 600; line-height: 1; }
.home-equipment__text { border-top: 1px solid #ddd; padding-top: 14px; }
.home-equipment__text p { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .home-equipment__head { grid-template-columns: 1fr; gap: 20px; } }

/* Brands marquee ---------------------------------------------------------- */
.home-brands { margin-top: clamp(60px, 8vw, 150px); padding-block: 60px 70px; background: var(--brand); overflow: hidden; }
.home-brands__title { margin: 0 0 30px; text-align: center; color: #fff; font-size: clamp(28px, 3vw, 36px); font-weight: 600; }
.marquee { --gap: 14px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: var(--gap); width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee var(--marquee-dur, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: 0 0 auto; width: 180px; padding: 10px; border: 1px solid #e2e2e2; border-radius: 8px; background: #fff; }
.marquee__item img { width: 100%; height: 100px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@media (prefers-reduced-motion: reduce) {
	.marquee { mask-image: none; -webkit-mask-image: none; }
	.marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: 16px; }
	.marquee__item[aria-hidden="true"] { display: none; }
}
