/* ============================================================
   Hotel Salei Landing — theme.css
   Palette e font derivati dal tema dsweb di hotelsalei.it
   ============================================================ */

:root {
	--hsl-primary: #055F64;
	--hsl-primary-dark: #0a4c50;
	--hsl-ink: #112F27;
	--hsl-accent: #1F998A;
	--hsl-muted: #8E8E8E;
	--hsl-bg: #ffffff;
	--hsl-white: #ffffff;
	--hsl-bordeaux: #82143d;

	--hsl-font-title: 'Oswald', sans-serif;
	--hsl-font-body: 'Raleway', sans-serif;

	--hsl-nav-h: 76px;
}

/* ---------- Base ---------- */
body {
	font-family: var(--hsl-font-body);
	color: var(--hsl-ink);
	background: var(--hsl-bg);
	margin: 0;
}

h1, h2, h3, h4, .hsl-section-title {
	font-family: var(--hsl-font-title);
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--hsl-ink);
}

a { color: var(--hsl-primary); }

.section-pad { padding: 5rem 0; }
@media (max-width: 767px) { .section-pad { padding: 3rem 0; } }

.section-dark {
	background: var(--hsl-primary-dark);
	color: var(--hsl-white);
}

.hsl-section-title { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); margin-bottom: 1rem; }
.hsl-section-title--light { color: var(--hsl-white); }

/* ---------- Pulsanti CTA ---------- */
.hsl-btn {
	font-family: var(--hsl-font-title);
	text-transform: uppercase;
	letter-spacing: .03em;
	border-radius: 0;
	padding: .6rem 2rem;
	border: 2px solid transparent;
	transition: all .3s ease;
	display: inline-block;
}
.hsl-btn--solid { background: var(--hsl-primary); color: #fff; }
.hsl-btn--solid:hover { background: #fff; color: var(--hsl-primary); border-color: var(--hsl-primary); }

.hsl-btn--outline { background: transparent; color: var(--hsl-primary); border-color: var(--hsl-primary); }
.hsl-btn--outline:hover { background: var(--hsl-primary); color: #fff; }

.hsl-btn--solid-light { background: #fff; color: var(--hsl-primary); }
.hsl-btn--solid-light:hover { background: transparent; color: #fff; border-color: #fff; }

.hsl-btn--outline-light { background: transparent; color: #fff; border-color: #fff; }
.hsl-btn--outline-light:hover { background: #fff; color: var(--hsl-primary); }

.hsl-btn--bordeaux { background: var(--hsl-bordeaux); color: #fff; }
.hsl-btn--bordeaux:hover { background: #fff; color: var(--hsl-bordeaux); border-color: var(--hsl-bordeaux); }

/* ---------- Navbar ---------- */
.hsl-nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	background: rgba(0,0,0,.25);
	transition: background .4s ease;
}
.hsl-nav.is-scrolled { background: var(--hsl-primary-dark); }
.hsl-nav__brandtext { font-family: var(--hsl-font-title); color: #fff; font-size: 1.3rem; text-transform: uppercase; }

/* La barra ha un'altezza fissa: il logo NON la deve allargare. */
.hsl-nav .container-xxl {
	position: relative;
	overflow: visible;
	min-height: var(--hsl-nav-h);   /* 76px: altezza barra, indipendente dal logo */
}

/* Logo "sbordante": tolto dal flusso (absolute) e ancorato in alto a sinistra,
   così la parte bassa esce SOTTO la barra, sopra la slide, senza alzare la navbar. */
.hsl-nav__brand {
	position: absolute;
	top: 8px;
	left: var(--bs-gutter-x, .75rem);
	z-index: 1001;
	display: inline-block;
	line-height: 0;
}
.hsl-nav__logo {
	width: auto;
	height: 180px;              /* dimensione sull'hero (desktop) */
	max-width: none;
	transition: height .35s ease, filter .35s ease;
	filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
.hsl-nav.is-scrolled .hsl-nav__logo {
	height: 56px;              /* allo scroll rientra nell'altezza barra */
	filter: none;
}

@media (max-width: 991px) {
	.hsl-nav__logo { height: 110px; }
	.hsl-nav.is-scrolled .hsl-nav__logo { height: 44px; }
}

/* Il logo è absolute e fuori dal flusso: il gruppo lingue + Prenota resta a destra.
   Lo ancoro esplicitamente a destra così non slitta a sinistra. */
.hsl-nav .container-xxl { justify-content: flex-end !important; }
.hsl-nav__actions { margin-left: auto; }

.hsl-lang__item { padding: 0 .55rem; border-left: 1px solid rgba(255,255,255,.6); line-height: 1; }
.hsl-lang__item:first-child { border-left: 0; }
.hsl-lang__item a { color: #fff; text-decoration: none; font-family: var(--hsl-font-title); font-size: .95rem; }
.hsl-lang__item.active a { font-weight: 700; text-decoration: underline; }

/* ---------- Hero ---------- */
.hsl-hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.hsl-hero__slider, .hsl-hero__slider .swiper-slide { height: 100%; }
.hsl-hero__img { width: 100%; height: 100%; object-fit: cover; }
.hsl-hero__overlay { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.45)); z-index: 2; }
.hsl-hero__content { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hsl-hero__eyebrow { display: inline-block; font-family: var(--hsl-font-title); text-transform: uppercase; letter-spacing: .08em; color: var(--hsl-accent); font-weight: 600; font-size: clamp(1.1rem, .9rem + 1vw, 1.6rem); margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,.55); }
.hsl-hero__title { color: #fff; font-size: clamp(1.6rem, 1rem + 2.4vw, 2.8rem); margin: 0 0 1rem; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hsl-hero__subtitle { font-size: clamp(1rem, .9rem + .5vw, 1.4rem); max-width: 42rem; }
.hsl-hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 4; color: #fff; font-size: 1.6rem; text-decoration: none; animation: hslbounce 1.2s infinite alternate; }
@keyframes hslbounce { from { transform: translate(-50%,0);} to { transform: translate(-50%,-8px);} }

/* ---------- Before/After ---------- */
.hsl-beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.hsl-beforeafter__item { position: relative; margin: 0; }
.hsl-beforeafter__item img { width: 100%; height: 100%; object-fit: cover; }
.hsl-beforeafter__item figcaption { position: absolute; bottom: 0; left: 0; background: var(--hsl-primary); color: #fff; font-family: var(--hsl-font-title); text-transform: uppercase; font-size: .8rem; padding: .25rem .75rem; }

/* ---------- Badge ---------- */
.hsl-badge { border: 1px solid var(--hsl-accent); color: var(--hsl-primary); font-family: var(--hsl-font-title); text-transform: uppercase; font-size: .8rem; padding: .3rem .8rem; border-radius: 2rem; }
.hsl-badge--accent { background: var(--hsl-accent); color: #fff; border-color: var(--hsl-accent); }

/* ---------- Rooms ---------- */
.hsl-rooms__text { color: rgba(255,255,255,.85); max-width: 42rem; margin: 0 auto; }
.hsl-rooms__slider .swiper-slide img { width: 100%; height: 420px; object-fit: cover; transition: transform .5s ease; }
.hsl-rooms__slider .swiper-slide-active img { transform: scale(1.03); }
.hsl-rooms__slider .swiper-pagination-bullet-active { background: #fff; }

/* ---------- Services & Activities ---------- */
.hsl-services__sub { font-size: 1.3rem; text-align: center; margin: 2rem 0 1.5rem; color: var(--hsl-primary); }
.hsl-service-card__icon .hsl-icon { width: 56px; height: 56px; object-fit: contain; }
.hsl-service-card__label { font-size: 1.05rem; margin-top: .75rem; }
.hsl-service-card__text { font-size: .9rem; color: var(--hsl-muted); }
.hsl-activities__text { max-width: 42rem; margin: 0 auto 1rem; color: var(--hsl-muted); }

/* ---------- Bistrot (bordeaux) ---------- */
.hsl-bistrot__mark { display: inline-block; width: 60px; height: 4px; background: var(--hsl-bordeaux); margin-bottom: 1rem; }
.hsl-bistrot__title { color: var(--hsl-bordeaux); }
.hsl-bistrot__img { width: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.hsl-contact__address { font-size: 1.1rem; }
.hsl-contact__list a { font-family: var(--hsl-font-title); text-transform: none; font-size: 1.1rem; text-decoration: none; }
.hsl-contact__distances { color: var(--hsl-muted); font-size: .9rem; }
.hsl-map iframe { width: 100%; height: 100%; }

/* ---------- Final CTA ---------- */
.hsl-finalcta { background: var(--hsl-primary); }
.hsl-finalcta__title { color: #fff; font-size: clamp(1.8rem, 1rem + 2.5vw, 3rem); }
.hsl-finalcta__text { color: rgba(255,255,255,.9); max-width: 40rem; margin: 0 auto; }

/* ---------- FAQ ---------- */
.hsl-accordion { max-width: 820px; margin: 2rem auto 0; }
.hsl-accordion .accordion-button { font-family: var(--hsl-font-title); text-transform: uppercase; font-size: 1rem; color: var(--hsl-ink); }
.hsl-accordion .accordion-button:not(.collapsed) { color: var(--hsl-primary); background: rgba(31,153,138,.08); box-shadow: none; }
.hsl-accordion .accordion-button:focus { box-shadow: none; border-color: var(--hsl-accent); }

/* ---------- Footer ---------- */
.hsl-footer { background: var(--hsl-primary-dark); color: rgba(255,255,255,.85); }
.hsl-footer__logo { max-height: 56px; width: auto; }
.hsl-footer__note { font-family: var(--hsl-font-title); text-transform: uppercase; font-size: .85rem; color: var(--hsl-accent); }
.hsl-footer__legal { font-size: .85rem; }
.hsl-footer__socials a { color: #fff; text-decoration: none; font-family: var(--hsl-font-title); }
