*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --terracotta-50: #fdf0eb;
  --terracotta-100: #f9dcd3;
  --terracotta-200: #f3b8a5;
  --terracotta-300: #e88f76;
  --terracotta-400: #dd6b4e;
  --terracotta-500: #c94f33;
  --terracotta-600: #b5412b;
  --terracotta-700: #943424;
  --terracotta-800: #7a2e21;
  --terracotta-900: #65271c;
  --sand-50: #faf8f5;
  --sand-100: #f5f0e8;
  --sand-200: #ebe0cc;
  --sand-300: #d9c5a0;
  --sand-400: #c4a76e;
  --sand-500: #b08d4a;
  --sand-600: #967438;
  --sand-700: #7d5f30;
  --sand-800: #684e2a;
  --sand-900: #574124;
  --forest-800: #2c3e2d;
  --forest-900: #1a261b;
  --charcoal: #1f1f1f;
  --charcoal-light: #3a3a3a;
  --warm-gray: #6b6560;
  --warm-gray-light: #9e9690;
  --cream: #faf8f5;
  --cream-dark: #f0ebe0;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Lora', 'Palatino Linotype', Palatino, Georgia, 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;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.0);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(250, 248, 245, 0.97);
  box-shadow: 0 1px 0 var(--sand-200);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}

.nav-brand-icon {
  color: var(--terracotta-600);
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--charcoal-light);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta-500);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--terracotta-600);
}

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

.nav-link--cta {
  background: var(--terracotta-600);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: var(--terracotta-700);
  color: #fff !important;
  transform: translateY(-1px);
}

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

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

/* ── 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-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 38, 27, 0.55) 0%,
    rgba(26, 38, 27, 0.45) 40%,
    rgba(26, 38, 27, 0.70) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 0 24px;
  text-align: center;
  color: #fff;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand-300);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 28px;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--sand-200);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 40px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.6);
  animation: float 2.4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--terracotta-600);
  color: #fff;
}

.btn--primary:hover {
  background: var(--terracotta-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(181, 65, 43, 0.3);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--full {
  width: 100%;
}

/* ── SECTIONS ── */
.section {
  padding: 100px 0;
}

.section--light {
  background: var(--cream);
}

.section--sand {
  background: var(--sand-100);
}

.section--dark {
  background: var(--forest-900);
}

.section--terracotta {
  background: var(--terracotta-700);
}

.section-header {
  margin-bottom: 64px;
}

.section-header--center {
  text-align: center;
}

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

.section-eyebrow--light {
  color: var(--sand-300);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-title--light {
  color: #fff;
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--warm-gray);
  max-width: 560px;
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--warm-gray);
  margin-bottom: 20px;
}

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

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

.about-feature svg {
  color: var(--terracotta-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature span {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--charcoal-light);
}

/* ── AMENITIES ── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.amenity-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 40px 32px;
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
}

.amenity-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.amenity-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(253, 240, 235, 0.12);
  margin-bottom: 24px;
  color: var(--sand-200);
}

.amenity-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.amenity-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
}

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

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

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

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
}

.gallery-item--large {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
  min-height: 500px;
}

.gallery-item--large img {
  height: 100%;
}

.gallery-item:not(.gallery-item--large) {
  min-height: 230px;
}

.gallery-item--wide {
  grid-column: 1 / 8;
  min-height: 280px;
}

.gallery-item:nth-child(2) {
  grid-column: 6 / 9;
  grid-row: 1;
}

.gallery-item:nth-child(3) {
  grid-column: 9 / 13;
  grid-row: 1;
}

.gallery-item:nth-child(4) {
  grid-column: 8 / 13;
  grid-row: 2;
}

/* ── VISIT ── */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.visit-content .section-title {
  margin-bottom: 20px;
}

.visit-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--warm-gray);
  margin-bottom: 32px;
}

.visit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.visit-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--charcoal-light);
}

.visit-list svg {
  color: var(--terracotta-500);
  flex-shrink: 0;
}

.visit-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  min-height: 420px;
}

/* ── CONTACT ── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 20px;
}

.contact-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.contact-detail svg {
  color: var(--sand-300);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 500;
}

.contact-detail-value a {
  color: #fff;
  transition: color 0.3s ease;
}

.contact-detail-value a:hover {
  color: var(--sand-300);
}

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 40px;
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-input:focus {
  border-color: var(--sand-400);
  background: rgba(255, 255, 255, 0.1);
}

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

.form-input option {
  background: var(--terracotta-700);
  color: #fff;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 6px;
  color: #a5d6a7;
  font-size: 0.92rem;
}

.form-success svg {
  flex-shrink: 0;
  color: #81c784;
}

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

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.footer-logo svg {
  color: var(--terracotta-400);
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}

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

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-phone {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--terracotta-400);
  transition: color 0.3s ease;
}

.footer-phone:hover {
  color: var(--sand-300);
}

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

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ── MOBILE ── */
@media (max-width: 1024px) {
  .about-grid,
  .visit-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .gallery-item--large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 400px;
  }

  .gallery-item--wide {
    grid-column: 1 / -1;
  }

  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s var(--ease-out), opacity 0.4s ease;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 16px 0;
    border-bottom: 1px solid var(--sand-200);
    font-size: 1rem;
  }

  .nav-link:last-child {
    border-bottom: none;
    margin-top: 12px;
  }

  .nav-link--cta {
    text-align: center;
    display: block;
  }

  .nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section {
    padding: 72px 0;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

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

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

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

  .gallery-item,
  .gallery-item--large,
  .gallery-item--wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

  .gallery-item--large {
    min-height: 320px;
  }

  .contact-form-wrap {
    padding: 28px 24px;
  }

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

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

  .nav-container {
    padding: 0 20px;
  }

  .hero-content {
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
}

@media not all and (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
