/* =========================================================
   KALEMI'S BEACHSIDE — Design System v4
   Coastal Mediterranean luxury · Sarandë · Ionian Sea
   Refined for premium feel: brighter paper, larger type,
   bolder weights, tighter alignment, polished mobile.
   ========================================================= */

:root {
  /* ---- Palette ---- */
  --paper:        #FAF7EF;   /* brighter, more luminous (was #F7F4EC) */
  --paper-soft:   #F2EEE3;   /* still warm but more refined */
  --paper-deep:   #E5DFD0;
  --ink:          #0B2435;   /* slightly deeper ink for more contrast */
  --ink-soft:     #28475A;
  --stone:        #6F8390;
  --sky:          #B8D4E0;
  --sky-pale:     #E0EDF2;
  --sea:          #2C6E8F;
  --sea-deep:     #163E58;
  --cobalt:       #0E3650;
  --gold:         #B8995F;
  --gold-deep:    #8C7140;

  /* Pure white for highest-contrast moments on dark sections */
  --white:        #FFFFFF;
  --white-soft:   #FAF7EF;

  /* ---- Type ---- */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-script:  'Italiana', 'Cormorant Garamond', serif;
  --font-body:    'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', 'Helvetica Neue', sans-serif;

  /* ---- Rhythm ---- */
  --max-width:    1320px;
  --gutter:       clamp(1.4rem, 4vw, 3.2rem);
  --section-y:    clamp(4.5rem, 9vw, 8.5rem);
  --ease:         cubic-bezier(.22,.7,.22,1);
  --ease-out:     cubic-bezier(.25,.1,.25,1);
}

/* ---------------- Reset & base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;                  /* was 19 — slightly larger */
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------------- Typography ---------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;                 /* was 300 — bolder, more substantial */
  line-height: 1.06;
  letter-spacing: -0.006em;
  color: var(--ink);
  margin: 0 0 0.45em;
}
h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.022em;
}
h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  font-style: italic;
}
h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-style: italic; }
h4 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-style: italic; }
p { margin: 0 0 1.2em; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 500;                 /* was 400 — bolder */
  color: var(--sea);
  margin-bottom: 1.4rem;
  display: inline-block;
}
.eyebrow--gold { color: var(--gold) !important; }

.lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 1.9vw, 1.75rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.script {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
}

.rule {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1.8rem;
  border: 0;
}
.rule--center { margin-left: auto; margin-right: auto; }

/* ---------------- Layout ---------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--paper-soft { background: var(--paper-soft); }
.section--cobalt { background: var(--cobalt); color: var(--white-soft); }
.section--cobalt .eyebrow { color: var(--gold); }
.section--cobalt h1, .section--cobalt h2, .section--cobalt h3 { color: var(--white); }
.section--sea { background: var(--sea-deep); color: var(--white-soft); }
.section--sea h2, .section--sea h3 { color: var(--white); }

/* ---------------- Navigation ---------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(250, 247, 239, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom-color: rgba(11, 36, 53, 0.08);
}
.nav__brand {
  font-family: var(--font-script);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: color .4s var(--ease);
  z-index: 102;
  line-height: 1;
}
.nav--scrolled .nav__brand,
.nav--solid .nav__brand { color: var(--ink); }
.nav__brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  margin-top: 7px;
  opacity: 0.9;
  font-weight: 500;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__menu a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--white);
  transition: color .3s var(--ease);
  position: relative;
  padding: 6px 0;
}
.nav--scrolled .nav__menu a,
.nav--solid .nav__menu a { color: var(--ink); }
.nav__menu a:hover { color: var(--gold); }
.nav__menu a.is-current::after {
  content:""; position:absolute;
  left:0; right:0; bottom: 0;
  height:1px; background: var(--gold);
}
.nav__cta {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  padding: 0.95rem 1.85rem;
  background: var(--sea);
  color: var(--white) !important;
  border: 1px solid var(--sea);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.nav__cta:hover { background: var(--sea-deep); border-color: var(--sea-deep); transform: translateY(-1px); }
.nav__cta::after { display:none !important; }

.nav__toggle { display: none; width: 30px; height: 24px; position: relative; z-index: 102; }
.nav__toggle span {
  display:block; width:100%; height:1.5px;
  background: var(--white);
  position:absolute; left:0;
  transition: transform .4s var(--ease), top .4s var(--ease), background .3s var(--ease);
}
.nav__toggle span:nth-child(1){ top: 5px; }
.nav__toggle span:nth-child(2){ top: 12px; }
.nav__toggle span:nth-child(3){ top: 19px; }
.nav--scrolled .nav__toggle span,
.nav--solid .nav__toggle span { background: var(--ink); }
.nav--open .nav__toggle span:nth-child(1){ top: 12px; transform: rotate(45deg); background: var(--ink); }
.nav--open .nav__toggle span:nth-child(2){ opacity: 0; }
.nav--open .nav__toggle span:nth-child(3){ top: 12px; transform: rotate(-45deg); background: var(--ink); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  padding: 1.15rem 2.2rem;
  background: var(--sea);
  color: var(--white);
  transition: background .3s var(--ease), color .3s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
  border: 1px solid var(--sea);
  cursor: pointer;
}
.btn:hover {
  background: var(--sea-deep);
  border-color: var(--sea-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -10px rgba(14, 54, 80, 0.4);
}
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.btn--gold { background: var(--gold); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn__arrow { display: inline-block; width: 18px; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
}
.hero__bg::after {
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(11, 36, 53, 0.28) 0%,
    rgba(11, 36, 53, 0.12) 32%,
    rgba(11, 36, 53, 0.62) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  padding-bottom: clamp(4.5rem, 10vh, 7.5rem);
  padding-top: 7rem;
  max-width: 840px;
}
.hero h1 {
  color: var(--white);
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 2px 24px rgba(11, 36, 53, 0.25);
}
.hero h1 em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
}
.hero__sub {
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  color: var(--white);
  opacity: 0.96;
}
.hero__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  line-height: 1.55;
  max-width: 580px;
  margin-bottom: 2.6rem;
  color: var(--white);
  text-shadow: 0 1px 16px rgba(11, 36, 53, 0.3);
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.7rem;
  color: var(--white);
  opacity: 0.85;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.hero__scroll::after {
  content:""; width: 1px; height: 42px;
  background: var(--white);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Page sub-heros */
.page-hero {
  position: relative; min-height: 62vh;
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
  padding-top: 7rem;
}
.page-hero__bg { position:absolute; inset:0; background-size: cover; background-position: center; z-index: 0; }
.page-hero__bg::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11, 36, 53, 0.42), rgba(11, 36, 53, 0.32));
}
.page-hero__content { position: relative; z-index:1; }
.page-hero h1 {
  color: var(--white);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.8rem, 5.4vw, 4.8rem);
}
.page-hero h1 em { font-family: var(--font-script); font-style: normal; }
.page-hero .eyebrow { color: var(--gold); }

/* ---------------- Welcome / split layouts ---------------- */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}
.intro__image { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.intro__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s var(--ease); }
.intro__image:hover img { transform: scale(1.04); }
.intro__image--offset { margin-top: -3rem; }

/* ---------------- Trio of feature blocks ---------------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem; }
.trio__item-image { aspect-ratio: 3/4; overflow: hidden; margin-bottom: 1.6rem; }
.trio__item-image img { width:100%; height:100%; object-fit:cover; transition: transform 6s var(--ease); }
.trio__item:hover .trio__item-image img { transform: scale(1.05); }
.trio__item h3 { margin-bottom: 0.7rem; }
.trio__item p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.04rem; }
.trio__link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--sea);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.trio__link:hover { color: var(--gold); }

/* ---------------- Room cards ---------------- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.room-card { background: var(--paper); display: flex; flex-direction: column; }
.section--paper-soft .room-card { background: var(--paper); }
.room-card__image { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 1.6rem; }
.room-card__image img { width:100%; height:100%; object-fit:cover; transition: transform 5s var(--ease); }
.room-card:hover .room-card__image img { transform: scale(1.05); }
.room-card__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--stone);
  margin-bottom: 0.7rem;
}
.room-card h3 { font-style: italic; margin-bottom: 0.5rem; }
.room-card p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 1rem; line-height: 1.55; }
.room-card__features {
  display: flex; flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sea);
  margin-bottom: 1.5rem;
  padding: 0;
}
.room-card__features li { list-style: none; position: relative; padding-left: 14px; }
.room-card__features li::before {
  content:""; position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}
.room-card__price {
  display: flex; align-items: baseline; gap: 0.4rem;
  font-family: var(--font-display);
  margin-top: auto; margin-bottom: 1.2rem;
}
.room-card__price small {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--stone);
}
.room-card__price strong { font-size: 1.95rem; font-weight: 400; font-style: italic; }

/* ---------------- Story / Family ---------------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.story__image { aspect-ratio: 1/1; overflow: hidden; }
.story__image img { width:100%; height:100%; object-fit:cover; }

/* ---------------- Testimonials ---------------- */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.testimonial { border-top: 1px solid rgba(255, 255, 255, 0.22); padding-top: 2.1rem; }
.testimonial__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 1.55;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.testimonial__quote::before { content: "“ "; color: var(--gold); }
.testimonial__author {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}

/* ---------------- Benefits ---------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.benefit { border-top: 1px solid var(--paper-deep); padding-top: 1.7rem; }
.benefit__num {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
  display: block;
  line-height: 1;
}
.benefit h4 { margin-bottom: 0.55rem; font-style: italic; }
.benefit p { font-size: 1.02rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ---------------- CTA ---------------- */
.cta-strip {
  background: var(--cobalt);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter);
  text-align: center;
}
.cta-strip h2 {
  color: var(--white);
  font-style: italic;
  max-width: 780px;
  margin: 0 auto 2.2rem;
}
.cta-strip .btn { background: var(--gold); border-color: var(--gold); color: var(--white); }
.cta-strip .btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------------- Footer ---------------- */
.footer { background: var(--ink); color: var(--white-soft); padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) 2.5rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto 3rem;
}
.footer__brand {
  font-family: var(--font-script);
  font-size: 2.1rem;
  margin-bottom: 1rem;
  color: var(--white);
  line-height: 1.1;
}
.footer__brand small {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  margin-top: 9px;
  color: var(--gold);
}
.footer p, .footer a, .footer li { font-size: 0.98rem; line-height: 1.75; color: rgba(250, 247, 239, 0.82); }
.footer h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin: 0 0 1.1rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.55rem; }
.footer a:hover { color: var(--white); }
.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 247, 239, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: rgba(250, 247, 239, 0.55);
}

/* ---------------- Room detail (rooms.html) ---------------- */
.room-detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--paper-deep);
}
.room-detail:first-of-type { border-top: 0; padding-top: 0; }
.room-detail--reverse .room-detail__media { order: 2; }
.room-detail__media { aspect-ratio: 5/4; overflow: hidden; }
.room-detail__media img { width:100%; height:100%; object-fit:cover; transition: transform 6s var(--ease); }
.room-detail__media:hover img { transform: scale(1.04); }
.room-detail__body h2 { font-style: italic; }
.room-detail__amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 1.6rem;
  margin: 1.6rem 0 2rem;
  padding: 0; list-style: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sea);
}
.room-detail__amenities li { padding-left: 18px; position: relative; }
.room-detail__amenities li::before {
  content: ""; position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 1px;
  background: var(--gold);
}
.room-detail__note {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  margin: -0.5rem 0 1.5rem;
  padding: 0.8rem 1rem;
  background: rgba(184, 153, 95, 0.08);
  border-left: 3px solid var(--gold);
  line-height: 1.5;
}
.room-detail__row {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px solid var(--paper-deep);
  padding-top: 1.5rem;
  flex-wrap: wrap; gap: 1rem;
}
.room-detail__price strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 2.3rem;
  margin-right: 0.4rem;
}
.room-detail__price small {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--stone);
}

/* ---------------- Experience blocks ---------------- */
.experience-blocks { display: grid; gap: clamp(3.5rem, 7vw, 6.5rem); }
.experience-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.experience-block--reverse .experience-block__media { order: 2; }
.experience-block__media { aspect-ratio: 4/5; overflow: hidden; }
.experience-block__media img { width:100%; height:100%; object-fit:cover; transition: transform 7s var(--ease); }
.experience-block__media:hover img { transform: scale(1.05); }

/* ---------------- Gallery ---------------- */
.gallery { columns: 3; column-gap: 1.1rem; }
.gallery img {
  width: 100%;
  margin-bottom: 1.1rem;
  break-inside: avoid;
  transition: filter .4s var(--ease), transform .6s var(--ease);
  cursor: pointer;
}
.gallery img:hover { filter: brightness(1.04); }

/* ---------------- Booking ---------------- */
.booking-wrap { max-width: 1100px; margin: 0 auto; }
.booking-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 4rem;
}
.booking-info__item { border-top: 1px solid var(--paper-deep); padding-top: 1.6rem; }
.booking-info__item h4 { font-style: italic; margin-bottom: 0.55rem; }
.booking-info__item p { font-size: 1.02rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* Room picker in booking page */
.room-picker { list-style:none; padding:0; margin: 0; }
.room-picker a {
  display: block;
  padding: 1.4rem 1.7rem;
  background: var(--paper);
  border: 1px solid var(--paper-deep);
  text-decoration: none;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .3s var(--ease);
}
.room-picker a:hover {
  border-color: var(--sea);
  background: var(--sky-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -12px rgba(14, 54, 80, 0.25);
}
.room-picker a strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.32rem;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.room-picker a span {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sea);
}
.room-picker a.is-selected {
  border-color: var(--sea);
  background: var(--sky-pale);
  box-shadow: inset 4px 0 0 var(--gold), 0 8px 22px -14px rgba(14, 54, 80, 0.2);
}
.room-picker a.is-selected strong { color: var(--sea-deep); }

/* Booking widget cards */
.booking-card {
  background: var(--paper);
  border: 1px solid var(--paper-deep);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  margin-bottom: 2rem;
}
.booking-card--soft { background: var(--paper-soft); }

/* Booking inputs */
.booking-input {
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.12rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--paper-deep);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .25s var(--ease);
}
.booking-input:focus {
  outline: 0;
  border-color: var(--sea);
}
.booking-label {
  display:block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--sea);
  margin-bottom: 0.55rem;
}

/* Dinner upsell card */
.addon-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  max-width: 700px;
  margin: 1.6rem auto 0;
  padding: 1.4rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--paper-deep);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.addon-card:has(input:checked) {
  border-color: var(--sea);
  background: var(--sky-pale);
}
.addon-card input[type="checkbox"] {
  margin-top: 0.4rem;
  width: 18px; height: 18px;
  accent-color: var(--sea);
  cursor: pointer;
}
.addon-card__body { flex: 1; }
.addon-card__head {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.addon-card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.28rem;
  color: var(--ink);
}
.addon-card__rate {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
}
.addon-card__desc {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0.55rem 0 0;
  line-height: 1.55;
}
.addon-card__controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sea);
}
.addon-card__controls input[type="number"] {
  width: 70px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--paper-deep);
  background: var(--paper);
  text-align: center;
  text-transform: none;
}

/* Contact + map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.contact-info dl { margin: 0; }
.contact-info dt {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 0.4rem;
  margin-top: 1.9rem;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--ink);
}
.contact-info dd a:hover { color: var(--sea); }
.contact-form { display: grid; gap: 1.2rem; }
.contact-form label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--sea);
  margin-bottom: 0.4rem;
  display: block;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; font: inherit;
  font-family: var(--font-body);
  font-size: 1.1rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--paper-deep);
  padding: 0.7rem 0;
  color: var(--ink);
  transition: border-color .3s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-bottom-color: var(--sea);
}
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.map-embed {
  margin-top: 3rem; height: 460px;
  overflow: hidden;
  background: var(--paper-soft);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.85) contrast(0.95); }

/* ---------------- Sarandacars partner card ---------------- */
.partner-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--paper) 0%, var(--paper-soft) 100%);
  border: 1px solid var(--paper-deep);
  position: relative;
  overflow: hidden;
}
.partner-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(184, 153, 95, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.partner-card__body { position: relative; z-index: 1; }
.partner-card__brand {
  font-family: var(--font-script);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--sea-deep);
  margin: 0 0 0.5rem;
  line-height: 1.1;
}
.partner-card__media {
  position: relative; z-index: 1;
  aspect-ratio: 4/3;
  background: var(--cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.partner-card__media svg {
  width: 70%;
  height: auto;
  color: var(--white);
  opacity: 0.92;
}
.partner-card__discount {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  margin-bottom: 1.2rem;
}

/* ---------------- Reveal ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- Mobile breakpoints ---------------- */
@media (max-width: 1024px) {
  body { font-size: 19px; }

  .nav { padding: 1.1rem var(--gutter); }
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__panel {
    position: fixed; inset: 0;
    background: var(--paper);
    padding: 6.5rem var(--gutter) 3rem;
    display: flex; flex-direction: column;
    gap: 1.6rem;
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
    z-index: 101;
  }
  .nav--open .nav__panel { transform: translateY(0); }
  .nav__panel a {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 2.1rem;
    color: var(--ink);
    line-height: 1.1;
  }
  .nav__panel .btn { align-self: flex-start; margin-top: 1.2rem; }

  .welcome-grid, .story, .room-detail, .experience-block, .contact-grid, .partner-card {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }
  .room-detail--reverse .room-detail__media,
  .experience-block--reverse .experience-block__media { order: -1; }
  .intro__image--offset { margin-top: 0; }

  .trio, .rooms-grid { grid-template-columns: 1fr; gap: 3rem; }
  .testimonials, .booking-info, .contact-form-row { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .gallery { columns: 2; column-gap: 0.9rem; }
  .gallery img { margin-bottom: 0.9rem; }
}

@media (max-width: 600px) {
  body { font-size: 18px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); line-height: 1.04; }
  .hero__lead { font-size: 1.1rem; line-height: 1.5; }
  .hero__sub { font-size: 0.72rem; letter-spacing: 0.28em; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; padding: 1.1rem 1.5rem; }

  .benefits, .footer__grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }

  .booking-card { padding: 1.4rem 1.2rem; }
  .room-picker a { padding: 1.15rem 1.3rem; }
  .room-picker a strong { font-size: 1.2rem; }

  .addon-card { flex-direction: column; padding: 1.2rem; }

  .container { padding-left: 1.4rem; padding-right: 1.4rem; }

  .nav__panel a { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------- Form date input refinement ---------------- */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(35%) sepia(80%) saturate(330%) hue-rotate(165deg) brightness(94%);
  cursor: pointer;
  padding-left: 6px;
}
input[type="date"] { color-scheme: light; }

/* ---------------- Premium touches ---------------- */
::selection { background: var(--sea); color: var(--white); }

/* ============================================================
   MOBILE NAV FIXES + STICKY RESERVE BAR
   ============================================================ */

/* When the mobile menu is OPEN, force dark text on brand & menu items
   (the panel is paper-colored, so white text would be invisible) */
.nav--open .nav__brand,
.nav--open .nav__brand small { color: var(--ink) !important; }

/* The Reserve button inside the mobile panel should stand out */
.nav--open .nav__panel .btn {
  background: var(--sea);
  color: var(--white);
  border-color: var(--sea);
}

/* Logo image inside the brand (replaces the wordmark on desktop) */
.nav__brand-mark {
  height: 44px;
  width: auto;
  display: block;
  transition: filter .35s var(--ease);
}
/* On dark hero (nav not scrolled), invert nothing — logo is square with
   its own background. On scrolled/light, fine as-is. */

/* ---------------- Sticky mobile Reserve bar ---------------- */
.mobile-reserve {
  display: none;
}
@media (max-width: 1024px) {
  .mobile-reserve {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(250, 247, 239, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(11, 36, 53, 0.1);
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }
  .mobile-reserve__inner {
    display: flex;
    gap: 0.6rem;
    max-width: 540px;
    margin: 0 auto;
  }
  .mobile-reserve a {
    flex: 1;
    text-align: center;
    padding: 0.9rem 1rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    border: 1px solid var(--sea);
    text-decoration: none;
    transition: background .25s var(--ease);
  }
  .mobile-reserve a.is-primary {
    background: var(--sea);
    color: var(--white);
  }
  .mobile-reserve a.is-secondary {
    background: transparent;
    color: var(--sea);
    border-color: var(--paper-deep);
  }
  .mobile-reserve a.is-secondary:active,
  .mobile-reserve a.is-secondary:hover {
    border-color: var(--sea);
    background: var(--sky-pale);
  }

  /* Push page content up so the sticky bar doesn't cover the footer */
  body { padding-bottom: 5rem; }

  /* And when the mobile menu is open, hide the bar */
  body.nav-open-no-scroll .mobile-reserve { display: none; }
}

/* ---------------- Logo footer mark ---------------- */
.footer__logo {
  max-width: 140px;
  height: auto;
  display: block;
  margin-bottom: 1.2rem;
  border-radius: 4px;
  box-shadow: 0 4px 22px -8px rgba(0,0,0,0.35);
}

/* ---------------- Rent-a-car link in nav ---------------- */
.nav__menu a.is-action {
  color: var(--gold) !important;
}
.nav__menu a.is-action:hover { color: var(--white) !important; }
.nav--scrolled .nav__menu a.is-action,
.nav--solid .nav__menu a.is-action { color: var(--gold-deep) !important; }
.nav--scrolled .nav__menu a.is-action:hover,
.nav--solid .nav__menu a.is-action:hover { color: var(--sea) !important; }

/* ---------------- Sarandacars homepage feature section ---------------- */
.cars-feature {
  position: relative;
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--sea-deep) 100%);
  color: var(--white);
  overflow: hidden;
}
.cars-feature::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(184, 153, 95, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.cars-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.cars-feature h2 { color: var(--white); }
.cars-feature .eyebrow { color: var(--gold); }
.cars-feature__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.2rem;
}
.cars-feature__body p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.65;
}
.cars-feature__badge {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  margin-bottom: 1.4rem;
}
.cars-feature__visual {
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cars-feature__visual svg {
  width: 75%;
  height: auto;
  color: var(--white);
  opacity: 0.92;
}
.cars-feature__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.cars-feature .btn--ghost-light { color: var(--white); border-color: var(--white); }

@media (max-width: 1024px) {
  .cars-feature__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cars-feature__visual { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ============================================================
   NAV BRAND WITH LOGO MARK
   Logo on the left, text wordmark beside it on desktop;
   logo only on mobile (text would be cramped)
   ============================================================ */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav__brand-text {
  display: inline-block;
}
.nav__brand-mark {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  border-radius: 3px;
  box-shadow: 0 2px 12px -4px rgba(0,0,0,0.3);
}
@media (max-width: 600px) {
  .nav__brand-text { display: none; }
  .nav__brand-mark { height: 38px; }
}

/* ============================================================
   MOBILE NAV PANEL — HARD HIDE FIX (iOS Safari + Android)
   Earlier rules used only transform translateY(-100%) which is
   unreliable when the address bar shows/hides on iOS. We now
   triple-hide: display:none outside mobile, visibility+pointer
   inside mobile when closed.
   ============================================================ */

/* Outside the mobile breakpoint, the panel should NEVER render —
   even as a hidden block in the document flow */
.nav__panel { display: none !important; }

@media (max-width: 1024px) {
  /* Inside mobile, the panel renders but is invisible & non-interactive when closed */
  .nav__panel {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--paper);
    padding: 5.5rem var(--gutter) 3rem;
    gap: 1.4rem;
    z-index: 101;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* CLOSED STATE — hard hide */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    transition: transform .45s var(--ease), opacity .25s var(--ease), visibility 0s linear .45s;
  }
  /* OPEN STATE — visible & interactive */
  .nav--open .nav__panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: transform .45s var(--ease), opacity .25s var(--ease), visibility 0s linear 0s;
  }
  /* When body is locked (menu open), prevent ALL scroll on page */
  body.nav-open-no-scroll {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }
}

/* =========================================================
   FINAL NAV OVERRIDES — supersedes all earlier rules.
   These rules are at the bottom of the file so they win
   any specificity battles via source order + !important.
   ========================================================= */

/* (1) "Rent a Car" must be WHITE like every other nav item.
       Earlier I styled .is-action in gold — undoing that here. */
.nav__menu a.is-action,
.nav__menu a.is-action:hover,
.nav--scrolled .nav__menu a.is-action,
.nav--solid .nav__menu a.is-action,
.nav--scrolled .nav__menu a.is-action:hover,
.nav--solid .nav__menu a.is-action:hover {
  color: inherit !important;
}

/* (2) Nav menu items must NEVER wrap.
       That's why "Rent a Car" was breaking into three lines. */
.nav__menu a {
  white-space: nowrap !important;
}

/* (3) DESKTOP (>1024px) — strictly one nav, one Reserve button, no leaks */
@media (min-width: 1025px) {
  /* The mobile drawer panel does not exist on desktop */
  .nav__panel {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  /* The sticky bottom Reserve bar is mobile-only */
  .mobile-reserve {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  /* The hamburger toggle is mobile-only */
  .nav__toggle {
    display: none !important;
  }
  /* Body padding from mobile-reserve must be reset on desktop */
  body {
    padding-bottom: 0 !important;
  }
}

/* (4) MOBILE (≤1024px) — strictly one nav option, one Reserve location */
@media (max-width: 1024px) {
  /* Desktop nav menu and CTA are hidden — the hamburger replaces them */
  .nav__menu {
    display: none !important;
  }
  .nav__cta {
    display: none !important;
  }
  /* The hamburger button is the only desktop-nav element kept */
  .nav__toggle {
    display: block !important;
  }
}
