/* ═══════════════════════════════════════════
   Myers Ferngully Resort — Styles
   Palette: Burgundy (#7B2D3B) + Blush (#F5E6E0)
   Fonts: Cormorant Garamond (headings) + Inter (body)
   ═══════════════════════════════════════════ */

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

:root {
  --burgundy: #7B2D3B;
  --burgundy-deep: #5C1F2B;
  --burgundy-light: #9A3D4D;
  --blush: #F5E6E0;
  --blush-light: #FBF4F1;
  --blush-mid: #F0D5CC;
  --cream: #FDF9F7;
  --white: #FFFFFF;
  --text-dark: #1A1214;
  --text-mid: #4A3539;
  --text-light: #7A6064;
  --text-faint: #A89094;
  --line: #E8D5CF;
  --line-light: #F0E0DA;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── SECTION UTILITIES ─── */
.section {
  padding: 120px 0;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 520px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .section-sub {
  margin: 0 auto;
}

.body-text {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.btn-primary:hover {
  background: var(--burgundy-deep);
  border-color: var(--burgundy-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(123, 45, 59, 0.25);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--blush-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-light);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 26px;
  color: var(--burgundy);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--burgundy);
  border-radius: 50%;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 17px;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--burgundy);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--burgundy);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burgundy) !important;
  border: 1.5px solid var(--burgundy);
  padding: 9px 18px;
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
}

.nav-cta:hover {
  background: var(--burgundy);
  color: var(--white) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dark);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(253, 249, 247, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.nav-overlay-link {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.nav-overlay-link:hover {
  color: var(--burgundy);
}

.nav-overlay-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--burgundy);
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

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

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 18, 20, 0.55) 0%,
    rgba(26, 18, 20, 0.45) 50%,
    rgba(26, 18, 20, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
  padding-top: 72px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-scroll-indicator svg {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ─── INTRO STRIP ─── */
.intro-strip {
  background: var(--white);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 56px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: center;
}

.intro-item {
  padding: 0 32px;
  text-align: center;
}

.intro-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.intro-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.intro-divider {
  width: 1px;
  height: 48px;
  background: var(--line);
  align-self: center;
}

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

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--blush-mid);
  border-radius: 4px;
  z-index: -1;
}

.about-image-wrapper img {
  border-radius: 4px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  max-width: 480px;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: var(--burgundy);
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
}

.about-signature svg {
  opacity: 0.6;
}

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

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.room-card {
  background: var(--cream);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  transition: all 0.3s var(--ease-out);
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(123, 45, 59, 0.08);
  border-color: var(--blush-mid);
}

.room-card-image {
  overflow: hidden;
  aspect-ratio: 600/420;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.room-card:hover .room-card-image img {
  transform: scale(1.03);
}

.room-card-body {
  padding: 28px;
}

.room-card-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.room-card-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.room-amenities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.room-amenities li {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  padding: 6px 12px;
  background: var(--blush-light);
  border-radius: 20px;
  border: 1px solid var(--blush-mid);
}

.rooms-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-faint);
  font-style: italic;
}

/* ─── EXPERIENCE ─── */
.experience {
  background: var(--cream);
}

.experience-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.experience-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.experience-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.experience-feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blush-mid);
  border-radius: 50%;
  color: var(--burgundy);
  margin-top: 2px;
}

.experience-feature-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  padding-top: 7px;
}

.experience-images {
  position: relative;
  height: 560px;
}

.experience-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 70%;
  border-radius: 6px;
  overflow: hidden;
}

.experience-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 58%;
  height: 50%;
  border-radius: 6px;
  overflow: hidden;
  border: 4px solid var(--cream);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.experience-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── CTA STRIP ─── */
.cta-strip {
  background: var(--burgundy);
  padding: 96px 0;
}

.cta-strip-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-strip-eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.cta-strip-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cta-strip-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-strip-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--burgundy);
}

.contact-detail-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 16px;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.contact-detail-value:hover {
  color: var(--burgundy);
}

/* Form */
.contact-form-wrapper {
  background: var(--cream);
  border-radius: 8px;
  padding: 40px;
  border: 1px solid var(--line-light);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-faint);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(123, 45, 59, 0.06);
  border: 1px solid rgba(123, 45, 59, 0.15);
  border-radius: 4px;
  color: var(--burgundy);
  font-size: 14px;
}

.form-success.visible {
  display: flex;
}

.form-success svg {
  flex-shrink: 0;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo-mark {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 22px;
  color: var(--blush);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(245, 230, 224, 0.3);
  border-radius: 50%;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--blush);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

/* ─── SCROLL REVEAL ─── */
.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-on-scroll[data-revealed="false"] {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll[data-revealed="false"] {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about-layout,
  .experience-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-wrapper {
    max-width: 500px;
  }

  .experience-images {
    height: 400px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding-top: 72px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-divider {
    width: 48px;
    height: 1px;
    margin: 0 auto;
  }

  .intro-item {
    padding: 0;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .experience-features {
    grid-template-columns: 1fr;
  }

  .experience-images {
    height: 320px;
  }

  .cta-strip {
    padding: 72px 0;
  }

  .cta-strip-actions {
    flex-direction: column;
    gap: 12px;
  }

  .cta-strip-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-headline {
    font-size: clamp(28px, 9vw, 42px);
  }

  .about-image-wrapper::before {
    display: none;
  }
}
