/* ============================================================
   Storms River Forest Lodge — Stylesheet
   ============================================================ */

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

:root {
  /* Palette */
  --forest-deep: #1a3c2a;
  --forest-mid: #2d5a3f;
  --forest-light: #3d7a55;
  --wood-dark: #6B4423;
  --wood-mid: #8B6914;
  --wood-light: #A68B5B;
  --cream: #F5F0E8;
  --cream-dark: #E8E0D0;
  --terracotta: #C17A4A;
  --terracotta-dark: #A0613A;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray-600: #4A4A4A;
  --gray-400: #8A8A8A;
  --gray-200: #D0D0D0;

  /* Fonts */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing */
  --section-pad: clamp(3rem, 8vw, 6rem);
  --container-max: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-video {
    display: none;
  }
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1A1A1A;
  color: #1A1A1A;
  background: #F5F0E8;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: #2d5a3f;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a:hover {
  color: #C17A4A;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #C17A4A;
  outline-offset: 2px;
}

/* ----- Skip Link ----- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #1a3c2a;
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ----- Section Headings ----- */
.section-heading {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #1a3c2a;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subheading {
  text-align: center;
  color: #4A4A4A;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.375rem;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 44px;
  min-width: 44px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #C17A4A;
  color: #FFFFFF;
  border-color: #C17A4A;
}

.btn-primary:hover {
  background: #A0613A;
  border-color: #A0613A;
  color: #FFFFFF;
}

.btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.btn-secondary:hover {
  background: #FFFFFF;
  color: #1a3c2a;
}

.btn-room {
  background: #2d5a3f;
  color: #FFFFFF;
  border-color: #2d5a3f;
  width: 100%;
}

.btn-room:hover {
  background: #1a3c2a;
  border-color: #1a3c2a;
  color: #FFFFFF;
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  margin-top: 0.75rem;
}

.btn-whatsapp:hover {
  background: #1DA851;
  border-color: #1DA851;
  color: #FFFFFF;
}

.btn-full {
  width: 100%;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 60, 42, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-header.scrolled {
  background: rgba(26, 60, 42, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.nav-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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

.nav-menu {
  list-style: none;
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(26, 60, 42, 0.98);
  padding: 1rem 1.25rem 1.5rem;
  gap: 0.25rem;
}

.nav-menu.open {
  display: flex;
}

.nav-link {
  color: #F5F0E8;
  color: #F5F0E8;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 0;
  display: block;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #C17A4A;
  color: #C17A4A;
}

.nav-cta {
  display: inline-block;
  background: #C17A4A;
  background: #C17A4A;
  color: #FFFFFF;
  color: #FFFFFF;
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 600;
}

.nav-cta:hover {
  background: #A0613A;
  background: #A0613A;
  color: #FFFFFF;
  color: #FFFFFF;
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    gap: 0.25rem;
    align-items: center;
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
  }
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 60, 42, 0.55) 0%,
    rgba(26, 60, 42, 0.7) 50%,
    rgba(26, 60, 42, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6rem 1.25rem 3rem;
  max-width: 800px;
}

.hero-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  color: #FFFFFF;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: #F5F0E8;
  color: #F5F0E8;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 5rem 0;
  background: #FFFFFF;
}

.about-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.badge-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 0.5rem;
}

.about-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
}

.about-stars svg {
  width: 28px;
  height: 28px;
  color: #C17A4A;
}

.about-stars-label {
  font-size: 0.9rem;
  color: #4A4A4A;
  text-align: center;
  margin-bottom: 1.5rem;
}

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

.about-layout-image {
  order: -1;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.about-layout-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-content {
  text-align: left;
}

.about-text {
  color: #4A4A4A;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .about-layout-image {
    order: 0;
  }
}

/* ============================================================
   ROOMS
   ============================================================ */
.rooms {
  padding: 5rem 0;
  background: #F5F0E8;
}

.rooms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .rooms-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .rooms-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.room-card {
  background: #FFFFFF;
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.room-card-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.room-card-featured {
  border: 2px solid #C17A4A;
}

.room-card-header {
  background: #1a3c2a;
  padding: 1.25rem 1.25rem 1rem;
}

.room-card-featured .room-card-header {
  background: linear-gradient(135deg, #1a3c2a, #A0613A);
}

.room-name {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.125rem;
}

.room-type {
  font-size: 0.8rem;
  font-weight: 500;
  color: #E8E0D0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.room-card-body {
  padding: 1.25rem;
  flex: 1;
}

.room-description {
  color: #4A4A4A;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.room-details {
  list-style: none;
  border-top: 1px solid #D0D0D0;
  padding-top: 0.75rem;
}

.room-details li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.875rem;
}

.room-detail-label {
  color: #4A4A4A;
}

.room-detail-value {
  font-weight: 600;
  color: #1a3c2a;
}

.room-card-footer {
  padding: 0 1.25rem 1.25rem;
}

/* ============================================================
   ACTIVITIES
   ============================================================ */
.activities {
  padding: 5rem 0;
  background: #1a3c2a;
  color: #F5F0E8;
}

.activities .section-heading {
  color: #FFFFFF;
}

.activities .section-subheading {
  color: #E8E0D0;
}

.activities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .activities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.activity-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.activity-card[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 60, 42, 0.7);
  transition: background 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.activity-card[style*="background-image"]:hover::before {
  background: rgba(26, 60, 42, 0.55);
}

.activity-card[style*="background-image"] > * {
  position: relative;
  z-index: 1;
}

.activity-card:hover {
  background-size: cover;
  transform: translateY(-3px);
}

.activity-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #C17A4A;
}

.activity-name {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.activity-description {
  font-size: 0.9rem;
  color: #E8E0D0;
  line-height: 1.65;
}

.activities-cta {
  text-align: center;
}

/* ----- Region Filter Tabs ----- */
.region-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  position: sticky;
  top: 60px;
  z-index: 10;
  background: #1a3c2a;
  padding: 1rem 0;
}

.region-tab {
  background: rgba(255, 255, 255, 0.08);
  color: #F5F0E8;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  padding: 0.5rem 1.25rem;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 44px;
  min-width: 44px;
}

.region-tab:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.region-tab:focus-visible {
  outline: 3px solid #C17A4A;
  outline-offset: 2px;
}

.region-tab.active,
.region-tab[aria-selected="true"] {
  background: #C17A4A;
  color: #FFFFFF;
  border-color: #C17A4A;
}

/* ----- Activities Count ----- */
.activities-count {
  text-align: center;
  color: #E8E0D0;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ----- Region Groups ----- */
.region-group {
  margin-bottom: 3rem;
}

.region-group[hidden] {
  display: none;
}

.region-heading {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.region-banner {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.region-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.region-banner:hover img {
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .region-banner {
    height: 160px;
    border-radius: 8px;
  }
}

.region-distance {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #C17A4A;
  margin-left: 0.5rem;
}

/* ----- Updated Activity Cards ----- */
.activity-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.activity-card-header {
  margin-bottom: 0.75rem;
}

.activity-card .activity-name {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.activity-operator {
  display: block;
  font-size: 0.8rem;
  color: #E8E0D0;
  font-weight: 400;
}

.activity-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.activity-price {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(193, 122, 74, 0.6), 0 0 20px rgba(193, 122, 74, 0.3);
}

/* Small WhatsApp button variant */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* Activity card booking buttons — forest green instead of bright green */
.activity-card .btn-whatsapp {
  background: #2d5a3f;
  border-color: #2d5a3f;
  margin-top: 0;
}

.activity-card .btn-whatsapp:hover {
  background: #1a3c2a;
  border-color: #1a3c2a;
}

/* Premium card styling for golf packages and luxury options */
.activity-card-premium {
  border-color: #C17A4A;
  border-width: 2px;
  background: rgba(193, 122, 74, 0.12);
}

.activity-card-premium:hover {
  background: rgba(193, 122, 74, 0.2);
}

/* ----- Golf Section ----- */
.golf-courses {
  margin-bottom: 2rem;
}

.golf-subheading {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F5F0E8;
  margin-bottom: 1rem;
}

.golf-course-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.golf-course-list li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.golf-designer {
  display: block;
  font-size: 0.75rem;
  color: #C17A4A;
  font-style: italic;
  margin-top: 0.125rem;
}

/* ----- Activities responsive adjustments ----- */
@media (max-width: 599px) {
  .region-filters {
    gap: 0.375rem;
    padding: 0.75rem 0;
  }

  .region-tab {
    padding: 0.4rem 0.875rem;
    font-size: 0.8rem;
  }

  .activity-card-body {
    flex-direction: column;
    align-items: stretch;
  }

  .activity-price {
    text-align: center;
  }

  .btn-sm {
    text-align: center;
  }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: 5rem 0;
  background: #FFFFFF;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 44px;
  min-width: 44px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ----- Gallery Show More ----- */
.gallery-item.gallery-hidden {
  display: none;
}

.gallery-show-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.btn-gallery-toggle {
  background: #2d5a3f;
  color: #FFFFFF;
  border-color: #2d5a3f;
}

.btn-gallery-toggle:hover {
  background: #1a3c2a;
  border-color: #1a3c2a;
  color: #FFFFFF;
}

/* ----- Lightbox ----- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  top: -56px;
  right: 0;
}

.lightbox-prev {
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
  .lightbox-close {
    top: 8px;
    right: 8px;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 5rem 0;
  background: #F5F0E8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a3c2a;
  margin-bottom: 0.375rem;
}

.contact-detail p {
  color: #4A4A4A;
  line-height: 1.6;
}

.contact-detail a {
  color: #2d5a3f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-detail a:hover {
  color: #C17A4A;
}

/* ----- Contact Form ----- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a3c2a;
}

.optional {
  font-weight: 400;
  color: #8A8A8A;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #D0D0D0;
  border-radius: 0.375rem;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  color: #1A1A1A;
  background: #FFFFFF;
  transition: border-color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #2d5a3f;
  box-shadow: 0 0 0 3px rgba(45, 90, 63, 0.15);
  outline: none;
}

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

.form-status {
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.5rem;
}

.form-status.success {
  color: #2d5a3f;
}

.form-status.error {
  color: #c0392b;
}

/* ----- Map ----- */
.map-container {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.map-heading {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a3c2a;
  text-align: center;
  margin-bottom: 1rem;
}

.map-container iframe {
  display: block;
  border-radius: 0 0 0.75rem 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1a3c2a;
  color: #E8E0D0;
  padding: 3rem 0 1.5rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #E8E0D0;
}

.footer-links h3,
.footer-social h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.375rem;
}

.footer-links a {
  color: #E8E0D0;
  font-size: 0.9rem;
  transition: color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-links a:hover {
  color: #C17A4A;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: #E8E0D0;
  transition: color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover {
  color: #C17A4A;
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #8A8A8A;
}

.powered-by {
  margin-top: 0.25rem;
}

.powered-by a {
  color: #E8E0D0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.powered-by a:hover {
  color: #C17A4A;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  background: #25D366;
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: #FFFFFF;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   DARK MODE SUPPORT
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #1a1f1c;
    --cream-dark: #252b27;
    --white: #1e2420;
    --black: #E8E0D0;
    --gray-600: #b0b0b0;
    --gray-400: #888;
    --gray-200: #3a3a3a;
  }

  .site-header {
    background: rgba(18, 35, 25, 0.95);
  }

  .room-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  }

  .form-group input,
  .form-group textarea {
    background: #252b27;
    border-color: #3a3a3a;
    color: #E8E0D0;
  }

  .gallery-item {
    background: #252b27;
  }
}
