/* ============================================================
   SUMMER HOUSE STAYS — Stylesheet
   Design System:
     Primary Navy  #0E355F
     Cream         #F6F3EE
     Black         #111111
     Light Gray    #F5F5F5
     Sand Accent   #DCCDBB
     Water Blue    #AFC7DA  (use sparingly)
   Fonts: Playfair Display (headings) | Montserrat (body/UI)
   ============================================================ */

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

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

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111111;
  background-color: #F6F3EE;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem);   font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }

p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.container--narrow {
  max-width: 720px;
}

.container--mid {
  max-width: 900px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn--primary {
  background-color: #0E355F;
  color: #F6F3EE;
}

.btn--primary:hover {
  background-color: #0a2748;
}

.btn--gold {
  background-color: #DCCDBB;
  color: #111111;
}

.btn--gold:hover {
  background-color: #c8b89e;
}

.btn--outline {
  background-color: transparent;
  color: #0E355F;
  border: 2px solid #0E355F;
}

.btn--outline:hover {
  background-color: #0E355F;
  color: #F6F3EE;
}

.btn--outline-white {
  background-color: transparent;
  color: #F6F3EE;
  border: 2px solid #F6F3EE;
}

.btn--outline-white:hover {
  background-color: #F6F3EE;
  color: #0E355F;
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 0;
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
  padding: 16px 0;
  background: #F6F3EE;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  transition: opacity 0.35s ease;
}

.nav__logo:hover { opacity: 0.85; }

.nav__logo-img {
  height: 150px;
  width: auto;
  display: block;
}

.nav.scrolled .nav__logo {
  opacity: 1;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav__links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.25s ease;
}

.nav__links a:hover {
  color: #F6F3EE;
}

.nav.scrolled .nav__links a {
  color: #444;
}

.nav.scrolled .nav__links a:hover {
  color: #0E355F;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #F6F3EE;
  transition: background 0.35s ease, transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

.nav.scrolled .nav__hamburger span {
  background: #0E355F;
}

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

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0E355F;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav__mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #F6F3EE;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav__mobile a:hover { color: #DCCDBB; }

/* ---------- SECTION BASE ---------- */
section {
  position: relative;
}

.section-pad {
  padding: 100px 0;
}

.section-pad--lg {
  padding: 120px 0;
}

/* ---------- HERO ---------- */
.hero {
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #0E355F;
  background-image: url('../stock%20images/living%20room.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #F6F3EE;
  max-width: 760px;
  padding: 0 32px;
}

.hero__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #DCCDBB;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.2s forwards;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  color: #F6F3EE;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.45s forwards;
}

.hero__tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.65s forwards;
}

.hero__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 44px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.85s forwards;
}

.hero .btn {
  opacity: 0;
  animation: fadeUp 0.9s ease 1.05s forwards;
}

/* ---------- SECTION 2 — WHAT THIS IS ---------- */
.what {
  background: #F6F3EE;
  text-align: center;
}

.what h2 {
  color: #0E355F;
  margin-bottom: 28px;
}

.what .divider {
  width: 48px;
  height: 2px;
  background: #DCCDBB;
  margin: 0 auto 36px;
}

.what p {
  max-width: 640px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: #555;
}

.what p:last-of-type {
  margin-bottom: 0;
}

/* ---------- SECTION 3 — EXPERIENCE ---------- */
.experience {
  background: #F5F5F5;
}

.experience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.experience__left h2 {
  color: #0E355F;
  margin-bottom: 20px;
}

.experience__left p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
}

.experience__right ul {
  list-style: none;
  padding: 0;
}

.experience__right li {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #333;
  padding: 14px 0;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  line-height: 1.5;
}

.experience__right li:first-child {
  border-top: 1px solid #ddd;
}

.experience__right li::before {
  content: '';
  display: block;
  min-width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DCCDBB;
  margin-top: 7px;
  flex-shrink: 0;
}

.experience__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 60px;
}

.experience__img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 3px;
}

.experience__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.experience__img:hover img {
  transform: scale(1.04);
}

.experience__img--placeholder {
  width: 100%;
  height: 100%;
  background: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #888;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 16px;
}

/* ---------- SECTION 4 — SIGNATURE VISUAL ---------- */
.signature {
  height: 80vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #0E355F;
  background-image: url('../stock%20images/living%20room%20signature%20shot.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.signature__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
}

.signature__content {
  position: relative;
  z-index: 1;
  color: #F6F3EE;
  max-width: 700px;
  padding: 0 32px;
}

.signature__content h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  color: #F6F3EE;
  line-height: 1.3;
}

.signature__content em {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: rgba(255,255,255,0.9);
  margin-top: 12px;
}

/* ---------- SECTION 5 — EARLY ACCESS ---------- */
.early-access {
  background: #F6F3EE;
  text-align: center;
}

.early-access h2 {
  color: #0E355F;
  margin-bottom: 20px;
}

.early-access .divider {
  width: 48px;
  height: 2px;
  background: #DCCDBB;
  margin: 0 auto 32px;
}

.early-access p {
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
}

.early-access__cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- SECTION 6 — LOCATIONS ---------- */
.locations {
  background: #0E355F;
  text-align: center;
  background-image: url('../stock%20images/lgsunset.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.locations__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 53, 95, 0.82);
}

.locations__content {
  position: relative;
  z-index: 1;
}

.locations h2 {
  color: #F6F3EE;
  margin-bottom: 20px;
}

.locations .divider {
  width: 48px;
  height: 2px;
  background: #DCCDBB;
  margin: 0 auto 32px;
}

.locations p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

.locations__tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #DCCDBB;
  border: 1px solid rgba(220,205,187,0.5);
  padding: 6px 16px;
  border-radius: 2px;
  margin-top: 36px;
}

/* ---------- SECTION 7 — ABOUT ---------- */
.about {
  background: #F6F3EE;
}

.about__inner {
  max-width: 680px;
}

.about__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #DCCDBB;
  margin-bottom: 20px;
}

.about h2 {
  color: #0E355F;
  margin-bottom: 28px;
}

.about p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.85;
  margin-bottom: 20px;
}

.about p:last-of-type {
  margin-bottom: 0;
}

/* ---------- SECTION 8 — FINAL CTA ---------- */
.final-cta {
  background: #0E355F;
  text-align: center;
  padding: 120px 0;
}

.final-cta h2 {
  color: #F6F3EE;
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.25;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #111111;
  padding: 60px 0 40px;
  color: rgba(255,255,255,0.55);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #F6F3EE;
  margin-bottom: 10px;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #DCCDBB;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: #DCCDBB;
}

.footer__bottom {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.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; }

/* ---------- KEYFRAMES ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .experience__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .experience__images {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .section-pad    { padding: 72px 0; }
  .section-pad--lg { padding: 80px 0; }

  .container { padding: 0 24px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero { background-attachment: scroll; }
  .signature { background-attachment: scroll; }

  .experience__images {
    grid-template-columns: 1fr;
  }

  .early-access__cta {
    flex-direction: column;
    align-items: center;
  }

  .footer__inner {
    flex-direction: column;
    gap: 32px;
  }
}
