/* ============================================================
   SA BANITA — Affittacamere · Sardegna
   Stylesheet inspired by The Gastonian's luxury boutique style
   ============================================================ */

/* ------------------------------------------------------------
   FONTS
------------------------------------------------------------ */
@font-face {
  font-family: 'Raleway';
  src: url('../SaBanita_logos/Fonts/raleway/Raleway-Thin.ttf') format('truetype');
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../SaBanita_logos/Fonts/raleway/Raleway-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../SaBanita_logos/Fonts/raleway/Raleway-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../SaBanita_logos/Fonts/raleway/Raleway-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../SaBanita_logos/Fonts/raleway/Raleway-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../SaBanita_logos/Fonts/raleway/Raleway-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../SaBanita_logos/Fonts/raleway/Raleway-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'ItalianBreakfast';
  src: url('../SaBanita_logos/Fonts/italian_breakfast/ItalianBreakfast-Regular.ttf') format('truetype'),
       url('../SaBanita_logos/Fonts/italian_breakfast/ItalianBreakfast-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}


/* ------------------------------------------------------------
   DESIGN TOKENS
------------------------------------------------------------ */
:root {
  /* Colours */
  --cream:       #faf8f4;
  --cream-deep:  #f3ede4;
  --white:       #ffffff;
  --dark:        #222018;
  --dark-soft:   #3d3a30;
  --grey:        #8a8580;
  --grey-light:  #d8d3cb;
  --border:      #e4ddd3;

  --green:       #5a8435;
  --green-dark:  #3e5d24;
  --green-light: #e8f0e0;

  --purple:      #9b6fad;
  --purple-light:#f0e8f5;

  --gold:        #b8944a;
  --gold-light:  #f5edda;

  /* Typography */
  --font-body:   'Raleway', 'Georgia', serif;
  --font-script: 'ItalianBreakfast', cursive;

  /* Spacing */
  --section-pad: clamp(5rem, 8vw, 8rem);
  --container:   1200px;
  --gutter:      clamp(1.5rem, 4vw, 3rem);

  /* Motion */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --duration:    0.35s;
}


/* ------------------------------------------------------------
   RESET & BASE
------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--dark);
  background-color: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul { list-style: none; }

::selection {
  background-color: var(--green-light);
  color: var(--green-dark);
}


/* ------------------------------------------------------------
   UTILITY
------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
}

.eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 200;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.title-rule {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.75rem;
}
.title-rule.centered {
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-intro-text {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.8;
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.875rem 2.25rem;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-room {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
  font-size: 0.68rem;
  padding: 0.75rem 1.75rem;
}
.btn-room:hover {
  background: var(--green);
  color: var(--white);
}

.btn-submit {
  width: 100%;
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
  padding: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
}
.btn-submit:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}


/* ------------------------------------------------------------
   HEADER
------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.site-header.scrolled {
  background: rgba(250, 248, 244, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-group a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav-group a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--duration) var(--ease);
}

.nav-group a:hover::after { width: 100%; }

.site-header.scrolled .nav-group a {
  color: var(--dark);
}

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  font-size: 0.68rem !important;
  letter-spacing: 0.18em !important;
  transition: background var(--duration) var(--ease) !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }
.nav-cta::after { display: none !important; }

.nav-wa {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #25d366 !important;
  font-size: 0.68rem !important;
  font-weight: 600;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.nav-wa svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-wa:hover { opacity: 0.75; }
.nav-wa::after { display: none !important; }

.mobile-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #25d366 !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0;
}
.mobile-wa svg { width: 18px; height: 18px; }

/* Language selector */
.lang-selector {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 4px;
  padding: 0.3rem 0.55rem;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.9);
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { border-color: #fff; color: #fff; }
.lang-toggle svg { width: 10px; height: 10px; flex-shrink: 0; }

.site-header.scrolled .lang-toggle {
  border-color: var(--border);
  color: var(--dark-soft);
}
.site-header.scrolled .lang-toggle:hover { border-color: var(--green); color: var(--green); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  list-style: none;
  padding: 0.35rem 0;
  min-width: 130px;
  z-index: 200;
}
.lang-flag {
  display: inline-block;
  font-size: 1em;
  margin-right: 0.5rem;
  filter: grayscale(1) opacity(0.65);
  transition: filter 0.15s;
}

.lang-dropdown li button {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  color: var(--dark-soft);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-dropdown li button:hover { background: var(--cream); color: var(--green); }
.lang-dropdown li button:hover .lang-flag { filter: grayscale(0.3) opacity(0.9); }

/* Mobile language selector */
.mobile-lang-selector {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem 0 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}
.mobile-lang-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dark-soft);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.mobile-lang-btn:hover { border-color: var(--green); color: var(--green); }

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

@media (max-width: 1160px) and (min-width: 769px) {
  .nav-logo {
    transform: translateX(-50%) translateY(-18px);
  }
}

.logo-full {
  height: 62px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.logo-mark {
  display: none;
  height: 40px;
  width: auto;
}

.site-header.scrolled .logo-full {
  filter: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--duration) var(--ease);
  transform-origin: center;
}

.site-header.scrolled .hamburger span { background: var(--dark); }

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: opacity var(--duration) var(--ease), visibility var(--duration) var(--ease);
}

.mobile-drawer.open { display: flex; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.mobile-nav-links a {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color var(--duration) var(--ease);
}

.mobile-nav-links a:hover { color: var(--green); }

.mobile-cta {
  color: var(--green) !important;
  font-weight: 600 !important;
}


/* ------------------------------------------------------------
   HERO
------------------------------------------------------------ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  transform: scale(1.04);
  transition: opacity 1.2s var(--ease), transform 8s linear;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 18, 12, 0.18) 0%,
    rgba(20, 18, 12, 0.5) 50%,
    rgba(20, 18, 12, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 var(--gutter);
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  display: block;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 200;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.75rem;
}

.hero-rule {
  width: 3rem;
  height: 1px;
  background: rgba(255,255,255,0.6);
  margin: 0 auto 1.75rem;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.75rem;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: all var(--duration) var(--ease);
  padding: 0;
}

.hero-dot.active {
  background: var(--white);
  transform: scale(1.3);
}


/* ------------------------------------------------------------
   WELCOME STRIP
------------------------------------------------------------ */
.welcome-strip {
  background: var(--dark);
  padding: 2.25rem var(--gutter);
}

.strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.strip-ornament {
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.strip-quote {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  text-align: center;
  line-height: 1.6;
}


/* ------------------------------------------------------------
   ABOUT
------------------------------------------------------------ */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-primary img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center;
}

.about-img-accent {
  position: absolute;
  bottom: -2.5rem;
  right: -2rem;
  width: 48%;
  border: 6px solid var(--white);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  background: var(--white);
}

.about-img-accent img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 64px;
  height: 64px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  line-height: 1.1;
}

.about-img-badge span {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-img-badge strong {
  font-size: 1rem;
  font-weight: 600;
}

.about-text {
  padding: 2rem 0;
}

.about-text p {
  color: var(--dark-soft);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-text .btn {
  margin-top: 0.75rem;
}


/* ------------------------------------------------------------
   ROOMS
------------------------------------------------------------ */
.rooms {
  background: var(--cream);
}

.rooms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.room-card {
  background: var(--white);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Room gallery */
.room-gallery {
  position: relative;
  background: var(--dark);
}

.room-gallery-main {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.room-gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.room-gallery-main img.room-img-active {
  opacity: 1;
}

.room-gallery-thumbs {
  display: flex;
  gap: 3px;
  background: var(--dark);
  padding: 3px;
}

.thumb {
  flex: 1;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity var(--duration) var(--ease);
  padding: 0;
  display: block;
}

.thumb img {
  width: 100%;
  height: 56px;
  object-fit: cover;
  display: block;
  transition: transform var(--duration) var(--ease);
}

.thumb:hover img { transform: scale(1.05); }
.thumb:hover, .thumb.active { opacity: 1; }

/* Room details */
.room-details {
  padding: 2.25rem;
  border-top: none;
}

.room-color-accent {
  width: 2.5rem;
  height: 3px;
  margin-bottom: 1.25rem;
}

.room-name {
  font-size: 1.5rem;
  font-weight: 200;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.room-rule {
  width: 2rem;
  height: 1px;
  background: var(--border);
  margin-bottom: 1.25rem;
}

.room-description {
  font-size: 0.95rem;
  color: var(--dark-soft);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.room-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 2rem;
}

.room-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--dark-soft);
}

.room-features li svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
}


/* ------------------------------------------------------------
   AMENITIES
------------------------------------------------------------ */
.amenities {
  position: relative;
  background: var(--cream-deep);
  overflow: hidden;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: var(--border);
  border: 1px solid var(--border);
}

.amenity {
  background: var(--white);
  padding: 2.5rem 1.75rem;
  text-align: center;
  transition: background var(--duration) var(--ease);
}

.amenity:hover { background: var(--cream); }

.amenity-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--green);
}

.amenity-icon svg {
  width: 100%;
  height: 100%;
}

.amenity h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.amenity p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.7;
}


/* ------------------------------------------------------------
   BREAKFAST SHOWCASE
------------------------------------------------------------ */
.breakfast-section {
  padding: 0;
  overflow: hidden;
}

.breakfast-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.breakfast-image-panel {
  position: relative;
  overflow: hidden;
}

.breakfast-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.breakfast-content {
  background: var(--cream);
  padding: clamp(3rem, 6vw, 6rem) clamp(2.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.breakfast-content .section-title {
  margin-bottom: 0.75rem;
}

.breakfast-content p {
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
  max-width: 46ch;
}

.breakfast-mini-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.breakfast-mini-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .breakfast-split {
    grid-template-columns: 1fr;
  }

  .breakfast-image-panel {
    height: 55vw;
    min-height: 260px;
    max-height: 420px;
  }

  .breakfast-content {
    padding: 2.5rem 1.5rem;
  }
}


/* ------------------------------------------------------------
   GALLERY
------------------------------------------------------------ */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 4px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  display: block;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
  display: block;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-hover {
  position: absolute;
  inset: 0;
  background: rgba(34, 32, 24, 0);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  transition: background var(--duration) var(--ease);
}

.gallery-item-hover span {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--duration) var(--ease);
}

.gallery-item:hover .gallery-item-hover {
  background: rgba(34, 32, 24, 0.45);
}

.gallery-item:hover .gallery-item-hover span {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 18, 12, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] { display: none; }

.lightbox-img-wrap {
  max-width: min(90vw, 1000px);
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--white);
  padding: 1rem;
  opacity: 0.7;
  transition: opacity var(--duration) var(--ease);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}
.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg { width: 28px; height: 28px; }

.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}


/* ------------------------------------------------------------
   LOCATION
------------------------------------------------------------ */
.location {
  background: var(--cream);
  position: relative;
}

.location-image-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  overflow: hidden;
}

.location-image-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.location-image-panel img.location-img-active {
  opacity: 1;
}

.location-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 18, 12, 0.15),
    rgba(243, 237, 228, 0.95)
  );
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  padding-left: 46%;
  position: relative;
  z-index: 1;
  gap: 2.5rem;
}

.location-text {
  padding-top: 2rem;
}

.location-text p {
  font-size: 1rem;
  color: var(--dark-soft);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.location-address {
  font-size: 0.85rem !important;
  color: var(--gold) !important;
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem !important;
  display: inline-block;
  text-decoration: none;
}
a.location-address:hover { text-decoration: underline; }

.location-highlights {
  padding-bottom: 2rem;
}

.highlights-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: block;
}

.highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  margin-bottom: 2rem;
}

.highlights-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--dark-soft);
}

.highlights-list li svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
}

.location-map {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}


.location-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: sepia(0.6) contrast(1.05);
  border: 0;
}


/* ------------------------------------------------------------
   CONTACT
------------------------------------------------------------ */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3,
.contact-form-panel h3 {
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  color: var(--dark);
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.contact-item-block {
  flex-direction: column;
  gap: 0.75rem;
}

.contact-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  min-width: 90px;
  flex-shrink: 0;
  padding-top: 2px;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--dark-soft);
}

a.contact-value:hover { color: var(--green); }

.contact-item-phone { align-items: center; }

.contact-phone-icons {
  display: flex;
  gap: 0.5rem;
  min-width: 90px;
  flex-shrink: 0;
}

.contact-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--dark-soft);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.contact-phone-btn svg { width: 15px; height: 15px; }

.contact-phone-btn:hover { border-color: var(--green); color: var(--green); }

.contact-phone-btn--wa:hover { border-color: #25d366; color: #25d366; }

.booking-links {
  display: flex;
  gap: 0.75rem;
}

.booking-btn {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  color: var(--dark);
  transition: all var(--duration) var(--ease);
}

.booking-btn:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.contact-logo {
  margin-top: 2.5rem;
}

.contact-logo img {
  height: 70px;
  width: auto;
}

/* Form */
.contact-form-panel form {
  display: block;
}

.contact-form-panel .form-success {
  display: block;
}

[hidden] { display: none !important; }

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.label-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--grey);
  font-size: 0.7rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--dark);
  outline: none;
  transition: border-color var(--duration) var(--ease),
              background var(--duration) var(--ease);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  background: var(--white);
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8580' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-field input[type="date"] {
  cursor: pointer;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 0.875rem;
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--green-light);
  border: 1px solid rgba(90, 132, 53, 0.2);
}

.form-success svg {
  width: 40px;
  height: 40px;
  color: var(--green);
  margin: 0 auto 1rem;
}

.form-success h4 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--green-dark);
  opacity: 0.8;
}


/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  height: 67px;
  width: auto;
  max-width: 216px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  align-self: flex-start;
}

.footer-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--duration) var(--ease);
}

.footer-nav a:hover { color: var(--white); }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.footer-contact a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.45);
  transition: color var(--duration) var(--ease);
}
.footer-social a:hover { color: var(--white); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  transition: color var(--duration) var(--ease);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }


/* ------------------------------------------------------------
   SCROLL ANIMATIONS
------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ------------------------------------------------------------
   RESPONSIVE — TABLET (≤ 1024px)
------------------------------------------------------------ */
@media (max-width: 1024px) {
  .about-grid {
    gap: 4rem;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .location-image-panel {
    display: none;
  }

  .location-grid {
    padding-left: 0;
    grid-template-columns: 1fr 1fr;
  }

  .location-text,
  .location-highlights {
    padding: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-contact { align-items: center; }
}


/* ------------------------------------------------------------
   RESPONSIVE — MOBILE (≤ 768px)
------------------------------------------------------------ */
@media (max-width: 768px) {
  :root {
    --section-pad: clamp(3.5rem, 8vw, 5rem);
  }

  /* Header */
  .nav-group { display: none; }
  .hamburger { display: flex; }
  .nav-logo { position: static; transform: none; }

  .nav-inner {
    justify-content: space-between;
    height: 64px;
  }

  .logo-full { height: 48px; }

  /* Hero */
  .hero-subtitle br { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-scroll-hint { display: none; }

  /* Strip */
  .strip-ornament { display: none; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-primary img { height: 320px; }

  .about-img-accent {
    right: 0;
    bottom: -2rem;
    width: 52%;
  }

  /* Rooms */
  .room-features {
    grid-template-columns: 1fr;
  }

  /* Amenities */
  .amenities-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item.tall { grid-row: span 1; }

  /* Location */
  .location-grid {
    grid-template-columns: 1fr;
  }

  .highlights-list {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


/* ------------------------------------------------------------
   RESPONSIVE — SMALL MOBILE (≤ 480px)
------------------------------------------------------------ */
@media (max-width: 480px) {
  .hero-title { font-size: 2.25rem; }
  .hero-title br { display: none; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}
