/*
 * Modern Beauty Spa - Master Stylesheet
 * Organic Biophilic Theme: Sage + Eucalyptus + Forest Green — serene luxury wellness aesthetic.
 */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

/* --- Custom Variables (Design System) --- */
:root {
  /* Colors — Organic Biophilic Light Green Aesthetic */
  --color-primary: #4A6B5D;
  /* Deep Eucalyptus Sage Green — premium, serene, sophisticated */
  --color-secondary: #A9C5B7;
  /* Soft Sage Green — gentle, calming, organic */
  --color-accent: #5B8A72;
  /* Calming Jade Accent — rich signature accent */
  --color-accent-hover: #3E6150;
  /* Deeper Forest Green Accent on hover */
  --color-background: #F5F8F6;
  /* Pale Sage/Eucalyptus Tint Off-White — airy and serene */
  --color-foreground: #1D2D24;
  /* Deep Forest Pine Black — premium readable text */
  --color-muted: #63766D;
  /* Muted Olive-Gray for secondary text */
  --color-border: #DFE5E1;
  /* Soft moss divider line */
  --color-card-bg: #FAFDFB;
  /* Pure light mint near-white for cards */
  --color-glass: rgba(245, 248, 246, 0.92);
  /* Premium blurred background overlay with a light green tint */

  /* Spacing Scale (8px Grid) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  /* Font Families */
  --font-headings: 'Lora', serif;
  --font-body: 'Raleway', sans-serif;

  /* Header Height */
  --header-height: 90px;
}

/* --- Base & Reset Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Premium Focus Rings */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

html,
body {
  width: 100%;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Lenis Smooth Scroll Configuration */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overflow: clip;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* --- Typography & Headings --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 300;
  color: var(--color-primary);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.25rem, 6.5vw, 5.5rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

h4 {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

p {
  font-size: 0.95rem;
  color: var(--color-foreground);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 350ms cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}

.section-padding {
  padding-top: clamp(3.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 7.5rem);
}

/* Asymmetric Magazine Grids */
.magazine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 1024px) {
  .magazine-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-xl);
  }

  .magazine-grid.reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* --- Navigation --- */
/* --- Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color 500ms ease, border-color 500ms ease, backdrop-filter 500ms ease, height 400ms ease;
  border-bottom: 1px solid transparent;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
}

/* Unscrolled state: White elements for dark backgrounds */
.logo {
  display: flex;
  align-items: center;
  transition: all 400ms ease;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 400ms ease, filter 400ms ease;
  filter: invert(1) brightness(1.5);
  /* Default white on dark hero */
}

/* Footer logo: pink background, show logo as-is or brightened */
.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.footer-logo .logo-img {
  height: 52px;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: none;
  list-style: none;
  gap: var(--space-md);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    gap: var(--space-lg);
  }
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.85);
  transition: color 400ms ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
  }
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  z-index: 1001;
  width: 44px;
  height: 44px;
  transition: color 400ms ease;
}

@media (min-width: 1024px) {
  .mobile-nav-toggle {
    display: none;
  }
}

/* Scrolled state: Dark elements for light glass background */
header.scrolled {
  background-color: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--color-border);
  height: 80px;
}

header.scrolled .logo-img {
  filter: none;
}

header.scrolled .nav-links a {
  color: var(--color-foreground);
}

header.scrolled .mobile-nav-toggle {
  color: var(--color-primary);
}

#main-header.menu-open .logo {
  opacity: 0;
  pointer-events: none;
}

/* Mobile Nav Menu Drawer */
.mobile-nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-background);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 130px var(--space-md) var(--space-md) var(--space-md);
  transform: translateX(100%);
  transition: transform 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-menu.open {
  transform: translateX(0);
}

.mobile-nav-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-nav-menu ul a {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  display: inline-block;
  padding: 6px 12px;
}

.mobile-nav-menu ul a:hover {
  color: var(--color-accent);
}

.mobile-nav-cta {
  margin-top: var(--space-md);
  width: 100%;
  max-width: 320px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1.1rem 2.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
  border-radius: 6px;
  /* Soft rounded for wellness aesthetic */
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* WhatsApp Button Specific Style */
.btn-whatsapp {
  border-color: #25D366 !important;
  color: #25D366 !important;
  background-color: transparent !important;
}

.btn-whatsapp:hover {
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  border-color: #25D366 !important;
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-primary);
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(90, 122, 92, 0.20) 0%, rgba(44, 59, 45, 0.68) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 0 var(--space-md);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #b7b7b7;
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.hero-title {
  color: #FFFFFF;
  margin-bottom: var(--space-md);
  font-weight: 200;
}

.hero-title span {
  font-style: italic;
  font-family: var(--font-headings);
}

.hero-description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #E2E8F0;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto var(--space-lg) auto;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

@media (min-width: 576px) {
  .hero-ctas {
    flex-direction: row;
  }
}

.hero-ctas .btn-primary {
  border-color: #FFFFFF;
}

.hero-ctas .btn-outline {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-ctas .btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #FFFFFF;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0.8;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background-color: var(--color-accent);
  animation: scroll-dot 2.2s cubic-bezier(0.15, 0.85, 0.35, 1) infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translateY(-20px);
  }

  80%,
  100% {
    transform: translateY(50px);
  }
}

/* --- Editorial Layout Sections --- */
.section-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: white;
  margin-bottom: var(--space-sm);
  display: block;
}

.section-title {
  margin-bottom: var(--space-md);
  font-weight: 300;
}

.section-title span {
  font-style: italic;
}

.section-description {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: var(--space-lg);
}

.editorial-img-wrapper {
  position: relative;
  overflow: hidden;
}

.editorial-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* --- About Section --- */
.about-image-column {
  position: relative;
  padding: 0 0 var(--space-lg) 0;
}

@media (min-width: 1024px) {
  .about-image-column {
    padding: 0 var(--space-lg) 0 0;
  }
}

.about-img-frame {
  border: 1px solid var(--color-border);
  padding: var(--space-sm);
}

.about-img {
  /* aspect-ratio: 4/5; */
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.about-content-column {
  padding-left: 0;
}

@media (min-width: 1024px) {
  .about-content-column {
    padding-left: var(--space-lg);
  }
}

.about-text {
  margin-bottom: var(--space-md);
}

.about-signature {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-top: var(--space-md);
  font-weight: 300;
}

/* --- Treatments Section --- */
.treatment-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-sm);
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 8px 16px;
  color: var(--color-muted);
  cursor: pointer;
  position: relative;
  transition: color 350ms ease;
}

.tab-btn.active {
  color: var(--color-primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
}

.treatment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .treatment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.treatment-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

.treatment-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.treatment-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.25, 1, 0.5, 1);
}

.treatment-card:hover .treatment-img-container img {
  transform: scale(1.06);
}

.treatment-card-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.treatment-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-xs);
}

.treatment-card-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 400;
}

.treatment-card-price {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent);
}

.treatment-card-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.treatment-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.treatment-duration {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.treatment-book-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.treatment-book-link:hover {
  color: var(--color-accent);
}

/* --- Spa Experience Section --- */
.experience {
  background-color: var(--color-primary);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.experience .section-title {
  color: #FFFFFF;
}

.experience .section-description {
  color: #A0AEC0;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .experience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.experience-item {
  text-align: center;
  padding: var(--space-md);
}

.experience-icon {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.experience-item-title {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  color: #FFFFFF;
  margin-bottom: var(--space-xs);
  font-weight: 300;
}

.experience-item-desc {
  font-size: 0.85rem;
  color: #CBD5E0;
  line-height: 1.7;
}

/* --- Why Choose Us Section --- */
.why-choose {
  background-color: var(--color-card-bg);
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-icon-wrapper {
  color: var(--color-accent);
  padding-top: 4px;
}

.feature-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* --- Gallery Masonry Section --- */
.gallery-grid {
  columns: 1;
  column-gap: var(--space-sm);
}

@media (min-width: 576px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    columns: 3;
  }
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: var(--space-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 700ms cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 15, 15, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 400ms ease;
  z-index: 5;
}

.gallery-item:hover .gallery-hover-overlay {
  opacity: 1;
}

.gallery-view-icon {
  color: #FFFFFF;
  transform: scale(0.8);
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover .gallery-view-icon {
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 2.25rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
  transition: background-color 300ms ease, border-color 300ms ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(15, 15, 15, 0.9);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #FFFFFF;
  font-family: var(--font-headings);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

/* --- Membership Tiers --- */
.membership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .membership-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.membership-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 15, 15, 0.05);
}

.membership-card.featured {
  border-color: var(--color-accent);
}

.membership-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
}

.membership-name {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: var(--space-sm);
}

.membership-price {
  font-size: 2.25rem;
  font-family: var(--font-headings);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: baseline;
}

.membership-price span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: 4px;
}

.membership-features {
  list-style: none;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.membership-features li {
  font-size: 0.85rem;
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.membership-features li svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.membership-card .btn {
  width: 100%;
}

/* --- Testimonials Section (Editorial) --- */
.testimonials {
  background-color: var(--color-secondary);
  color: #FFFFFF;
}

.testimonials .section-tag {
  color: var(--color-accent);
}

.testimonials .section-title {
  color: #FFFFFF;
}

.testimonial-slider-container {
  max-width: 800px;
  margin: var(--space-lg) auto 0 auto;
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms cubic-bezier(0.25, 1, 0.5, 1), transform 800ms cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateY(15px);
  text-align: center;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.slider-dots {
  display: flex;
  gap: 12px;
  margin-top: var(--space-md);
  justify-content: center;
  z-index: 10;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 300ms ease;
}

.dot.active,
.dot:hover {
  background-color: var(--color-accent);
  transform: scale(1.3);
}

.testimonial-quote {
  font-family: var(--font-headings);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.35;
  color: #E2E8F0;
  font-weight: 300;
  margin-bottom: var(--space-md);
  position: relative;
}

.testimonial-quote span {
  color: var(--color-accent);
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

.testimonial-title {
  font-size: 0.75rem;
  color: #A0AEC0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 4px;
}

/* --- FAQ Section --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
}

.faq-item.is-extra-faq {
  display: none;
}

.faq-container.show-all .faq-item.is-extra-faq {
  display: block;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-primary);
  cursor: pointer;
  padding: 8px 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms cubic-bezier(0.25, 1, 0.5, 1), padding 400ms ease;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-answer-content {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-xs);
}

.faq-icon {
  transition: transform 400ms ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 250px;
  /* Estimated height */
}

.faq-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}

.faq-toggle-btn {
  min-width: 140px;
  background-color: #5A7A5C;
  border-color: #5A7A5C;
  color: #FFFFFF;
}

.faq-toggle-btn:hover {
  background-color: #1FAF55;
  border-color: #1FAF55;
  color: #FFFFFF;
}

/* --- Booking Interface --- */
.booking-section {
  background-color: var(--color-card-bg);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 992px) {
  .booking-layout {
    grid-template-columns: 1.20fr 0.80fr;
    gap: var(--space-xl);
  }
}

.booking-form-wrapper {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
}

@media (min-width: 768px) {
  .booking-form-wrapper {
    padding: var(--space-lg);
  }
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 576px) {
  .form-group-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 14px var(--space-sm);
  outline: none;
  transition: border-color 300ms ease, box-shadow 300ms ease;
  border-radius: 0;
  /* Pure minimal luxury flat borders */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(201, 169, 106, 0.15);
}

/* Custom Booking Calendar UI Grid */
.calendar-widget {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: var(--space-sm);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
}

.calendar-month {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 500;
}

.calendar-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.calendar-day-name {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-muted);
  padding-bottom: 8px;
}

.calendar-day {
  background: none;
  border: none;
  font-size: 0.8rem;
  font-family: var(--font-body);
  padding: 10px 0;
  cursor: pointer;
  color: var(--color-primary);
  transition: all 200ms ease;
}

.calendar-day:hover:not(.disabled) {
  background-color: var(--color-background);
}

.calendar-day.active {
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
}

.calendar-day.disabled {
  color: var(--color-border);
  cursor: not-allowed;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.time-slot {
  background: none;
  border: 1px solid var(--color-border);
  padding: 10px 0;
  font-size: 0.75rem;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: center;
  transition: all 200ms ease;
}

.time-slot:hover:not(.disabled) {
  border-color: var(--color-primary);
}

.time-slot.active {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.time-slot.disabled {
  color: var(--color-border);
  border-color: var(--color-border);
  cursor: not-allowed;
  opacity: 0.5;
}

.booking-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

@media (min-width: 992px) {
  .booking-info-panel {
    padding: var(--space-md) var(--space-lg);
    border-left: 1px solid var(--color-border);
  }
}

.summary-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
}

.summary-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.summary-list li span:first-child {
  color: var(--color-muted);
}

.summary-list li span:last-child {
  font-weight: 500;
}

.summary-total {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
}

.summary-total span:last-child {
  color: var(--color-accent);
}

/* --- Location & Hours --- */
.location {
  background-color: var(--color-background);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (min-width: 576px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
}

.contact-card-icon {
  color: var(--color-accent);
}

.contact-card-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: 0.95rem;
  color: var(--color-primary);
}

/* Simulating luxury map placeholder */
.map-container {
  width: 100%;
  height: 350px;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.map-placeholder-bg {
  position: absolute;
  width: 150%;
  height: 150%;
  opacity: 0.05;
  background-image:
    radial-gradient(var(--color-primary) 1px, transparent 1px),
    linear-gradient(to right, var(--color-primary) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-primary) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px, 48px 48px;
}

.map-pin-badge {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.map-pin {
  color: var(--color-accent);
  animation: pulse-pin 2s infinite ease-in-out;
}

@keyframes pulse-pin {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.map-pin-text {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

/* --- Footer --- */
footer {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-top: 1px solid var(--color-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 576px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-md);
}

.footer-logo {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.footer-logo span {
  color: var(--color-accent);
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 320px;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-hours-list li {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.newsletter-input-wrapper {
  position: relative;
  display: flex;
}

.newsletter-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 10px 0;
  width: 100%;
  outline: none;
  transition: border-bottom-color 300ms ease;
}

.newsletter-input:focus {
  border-bottom-color: var(--color-accent);
}

.newsletter-btn {
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-socials a:hover {
  color: var(--color-accent);
}

/* --- Pages View Visibility Classes --- */
.page-view {
  display: none;
}

.page-view.active-page {
  display: block;
}

/* Page Intro/Header */
.page-header {
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-lg);
  background-color: var(--color-primary);
  color: #FFFFFF;
  text-align: center;
}

.page-header .section-tag {
  color: rgb(255, 255, 255);
}

.page-header h1 {
  color: #FFFFFF;
  font-weight: 200;
  margin-bottom: var(--space-xs);
}

.page-header p {
  color: #CBD5E0;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* Philosophy Timeline Elements */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

.philosophy-pillar {
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  background-color: var(--color-card-bg);
}

.pillar-number {
  font-family: var(--font-headings);
  font-size: 3rem;
  color: var(--color-accent);
  font-weight: 300;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.pillar-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* --- Blog / Wellness Journal --- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-img-container {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card:hover .blog-img-container img {
  transform: scale(1.04);
}

.blog-card-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  margin-bottom: var(--space-xs);
}

.blog-category {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-read-time {
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card-title {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
  font-weight: 400;
}

.blog-card-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.blog-more-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: color 300ms ease;
}

.blog-card:hover .blog-more-link {
  color: var(--color-accent);
}

/* Blog Reader Modal Overlay */
.blog-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 15, 15, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.blog-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.blog-modal-content {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  width: 90%;
  max-width: 750px;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-lg);
  position: relative;
  box-shadow: 0 30px 60px rgba(15, 15, 15, 0.1);
  scrollbar-width: thin;
}

.blog-modal-close {
  position: fixed;
  top: 24px;
  right: 24px;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 2.25rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
  transition: background-color 300ms ease, border-color 300ms ease;
  line-height: 1;
}

.blog-modal-close:hover {
  background: rgba(15, 15, 15, 0.9);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.blog-modal-tag {
  color: var(--color-accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  display: block;
}

.blog-modal-title {
  font-family: var(--font-headings);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.blog-modal-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-xs);
}

.blog-modal-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
}

.blog-modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-modal-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-foreground);
}

.blog-modal-text p {
  margin-bottom: 1.5rem;
}

.blog-modal-text h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary);
  margin: 2rem 0 1rem 0;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms ease, box-shadow 300ms ease, background-color 300ms ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  background-color: #20BA5A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  transition: transform 300ms ease;
}

.whatsapp-float:hover svg {
  transform: rotate(10deg);
}

.footer-socials a.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}

.footer-socials a.footer-whatsapp-btn:hover {
  color: #25D366 !important;
  transform: scale(1.15);
}

/* --- Floating Phone Button --- */
.phone-float {
  position: fixed;
  bottom: 88px; /* Stacked 12px above the WhatsApp button (which is at bottom 24px and 52px tall) */
  right: 24px;
  width: 52px;
  height: 52px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 16px rgba(74, 107, 93, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms ease, box-shadow 300ms ease, background-color 300ms ease;
  text-decoration: none;
}

.phone-float:hover {
  transform: translateY(-4px) scale(1.05);
  background-color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(91, 138, 114, 0.6);
}

.phone-float i, .phone-float svg {
  transition: transform 300ms ease;
}

.phone-float:hover i, .phone-float:hover svg {
  transform: rotate(10deg);
}

/* Top Announcement Bar Adjustments */
body { padding-top: 36px; }
header#main-header { top: 36px !important; }
.mobile-nav-menu { top: 36px !important; height: calc(100vh - 36px) !important; }

/* --- Blog Pagination --- */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  margin: var(--space-xl) auto var(--space-md) auto;
}

.pagination-btn {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 300ms ease;
}

.pagination-btn:hover:not(:disabled) {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  gap: 8px;
}

.page-num {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  background-color: var(--color-card-bg);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 300ms ease;
}

.page-num:hover:not(.active) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.page-num.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    height: 280px; /* Same height for all */
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops image while maintaining aspect ratio */
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-view-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}
.reviews-section{
    background:#faf9f7;
    border-top:1px solid #ececec;
    border-bottom:1px solid #ececec;
}

.reviews-slider{
    position:relative;
    max-width:900px;
    margin:50px auto 20px;
}

.review-card{
    display:none;
    background:#fff;
    padding:45px;
    border-radius:18px;
    border:1px solid #ececec;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    animation:fade .5s ease;
}

.review-card.active{
    display:block;
}

@keyframes fade{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.review-header{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:25px;
}

.review-avatar{
    width:60px;
    height:60px;
    border-radius:50%;
    background:linear-gradient(135deg,#c89b3c,#9f6b1c);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
    font-weight:700;
    flex-shrink:0;
}

.review-name{
    font-size:22px;
    font-weight:600;
    color:#222;
    margin-bottom:6px;
}

.review-date{
    font-size:14px;
    color:gold;
}
.review-month{
  color: black;
}

.review-text{
    font-size:17px;
    line-height:1.9;
    color:#555;
}

.review-dots{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:30px;
}

.review-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#5A7A5C;
    cursor:pointer;
    transition:.3s;
}

.review-dot.active{
    background:#9B59B6;
    transform:scale(1.25);
}
