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

:root {
  --cream: #faf7f2;
  --dark: #1a1a1a;
  --forest: #2c4a3e;
  --gold: #c9933a;
  --sand: #e8ddd0;
  --text: #3a3a3a;
  --light: #f5f0e8;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: "Jost", sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  background: var(--gold);
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.skip-link:focus {
  top: 16px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 147, 58, 0.15);
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

nav.scrolled {
  background: rgba(20, 20, 20, 0.92);
  border-bottom-color: rgba(201, 147, 58, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  background: var(--gold);
  color: #fff;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
}

.nav-cta:hover {
  background: #a87a28;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }

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

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

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

.hero {
  height: 100vh;
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/hero.png");
  background-size: cover;
  background-position: center;
  animation: slowzoom 12s ease-in-out infinite alternate;
}

@keyframes slowzoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 28, 22, 0.92) 0%,
    rgba(15, 28, 22, 0.3) 55%,
    rgba(15, 28, 22, 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 72px 88px;
  max-width: 780px;
  animation: fadeup 1.2s ease forwards;
}

@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(52px, 8vw, 90px);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  margin-bottom: 20px;
}

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

.hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

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

.btn-primary {
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #a87a28;
  transform: translateY(-2px);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.nav-cta:focus-visible,
.whatsapp-btn:focus-visible,
.social-link:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-secondary {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 16px 28px;
  background: transparent;
  font-family: "Jost", sans-serif;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.stats {
  background: var(--forest);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  padding: 28px 60px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  flex: 1;
  max-width: 220px;
  min-width: 140px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--gold);
}

.stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.about-img {
  background-image: url("../assets/images/about.png");
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

.about-content {
  background: var(--dark);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 22px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-title--dark {
  color: var(--dark);
}

.section-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 28px;
}

.amenity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.amenity::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.gallery {
  background: var(--light);
  padding: 88px 0 72px;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
  padding: 0 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 310px 310px;
  gap: 4px;
  padding: 0 4px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  text-align: left;
}

.gallery-item:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

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

.booking {
  background: var(--forest);
  padding: 88px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.booking-info .section-title {
  color: #fff;
}

.booking-info .section-body {
  color: rgba(255, 255, 255, 0.6);
}

.rate-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 147, 58, 0.3);
  padding: 24px 28px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.rate-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.rate-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  color: var(--gold);
  font-weight: 300;
  white-space: nowrap;
}

.rate-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
}

.booking-form {
  background: var(--cream);
  padding: 44px;
}

.form-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  color: var(--dark);
  margin-bottom: 24px;
  font-weight: 400;
}

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

.form-group label {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 7px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--sand);
  background: #fff;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: #c44;
}

.form-error {
  color: #c44;
  font-size: 11px;
  margin-top: 6px;
  min-height: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit {
  width: 100%;
  padding: 18px;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(44, 74, 62, 0.12);
  border: 1px solid rgba(44, 74, 62, 0.25);
  color: var(--forest);
  font-size: 13px;
  line-height: 1.5;
}

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

.contact {
  padding: 88px 72px;
  background: var(--cream);
}

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

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

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

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 15px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 14px;
  color: var(--dark);
}

.contact-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

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

.contact-map {
  min-height: 380px;
  border: 1px solid var(--sand);
  overflow: hidden;
  background: var(--sand);
}

.contact-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  margin-top: 24px;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
  text-decoration: none;
}

.whatsapp-btn:hover {
  background: #1cb956;
  transform: translateY(-1px);
}

footer {
  background: var(--dark);
  padding: 36px 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(201, 147, 58, 0.2);
  flex-wrap: wrap;
}

.footer-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
}

.footer-logo span {
  color: var(--gold);
}

.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 10, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: min(1100px, 100%);
  width: 100%;
}

.lightbox-content img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.lightbox-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 16px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  transition: background 0.3s, border-color 0.3s;
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 24px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(201, 147, 58, 0.25);
  border-color: var(--gold);
}

@media (max-width: 1024px) {
  nav {
    padding: 16px 24px;
  }

  .hero-content {
    padding: 0 32px 72px;
  }

  .about-content,
  .booking,
  .contact {
    padding: 64px 32px;
  }

  .booking,
  .contact-inner,
  .about {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .gallery-item:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  footer {
    padding: 32px 24px;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 88vw);
    background: rgba(20, 20, 20, 0.98);
    flex-direction: column;
    padding: calc(var(--nav-height) + 24px) 32px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    border-left: 1px solid rgba(201, 147, 58, 0.2);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .stat-item {
    padding: 24px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: none;
    width: 50%;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .amenity-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
  }

  .gallery-item:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .rate-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}
