/* Import modern elegant Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Core design system tokens */
:root {
  --primary-color: #5B5B5B;      /* Slate Grey from Logo */
  --primary-dark: #1A1A1A;       /* Off-black for text & deep accents */
  --primary-light: #7E7E7E;      /* Light Slate Grey */
  --accent-gold: #C5A880;        /* Elegant Champagne Gold */
  --accent-gold-hover: #B4966E;  /* Darker Gold for hover state */
  --bg-cream: #FBF9F6;           /* Premium Warm White / Cream */
  --bg-linen: #F4F0E6;           /* Soft linen background */
  --bg-white: #FFFFFF;
  
  /* Fonts */
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius-sm: 4px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
  
  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.02);
  --shadow-medium: 0 10px 30px rgba(26, 26, 26, 0.05);
  --shadow-luxury: 0 20px 40px rgba(91, 91, 91, 0.08);
}

/* Reset and base styling */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-cream);
  color: var(--primary-dark);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
}

.center-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  color: #4A4A4A;
  font-size: 1.05rem;
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Reusable Components & Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 8rem 0;
}

.section-alt {
  background-color: var(--bg-linen);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.25rem;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary-dark);
  color: var(--bg-cream);
  border: 1px solid var(--primary-dark);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border: 1px solid var(--accent-gold);
}

.btn-accent:hover {
  background-color: transparent;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-cream);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(251, 249, 246, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(91, 91, 91, 0.05);
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  background-color: rgba(251, 249, 246, 0.95);
  box-shadow: var(--shadow-subtle);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  height: 150px;
  margin-top: 5px;
  margin-bottom: -75px;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 10px 24px rgba(91, 91, 91, 0.16));
  z-index: 1005;
}

.logo img, .logo svg {
  height: 100%;
  width: auto;
  transition: var(--transition-smooth);
}

.logo:hover img, .logo:hover svg {
  transform: scale(1.05);
}

header.scrolled .logo {
  height: 130px;
  margin-top: 5px;
  margin-bottom: -65px;
}

/* Header CTA Button styling overrides for a more rounded / pill look */
.cta-header .btn {
  border-radius: 100px;
  padding: 0.7rem 1.6rem;
  font-size: 0.8rem;
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.08);
}

.cta-header .btn:hover {
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.cta-header {
  margin-left: 1rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-dark);
  transition: var(--transition-smooth);
}

/* Mobile Nav Drawer */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-cream);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 999;
  }
  
  .nav-links.open {
    right: 0;
  }

  .logo {
    height: 120px;
    margin-bottom: -45px;
  }

  header.scrolled .logo {
    height: 100px;
    margin-bottom: -35px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .cta-header {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-cream);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  transform: scale(1.05);
  transition: transform 10s ease-out;
  z-index: 1;
}

.hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero.loaded .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--bg-cream);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Showcase/About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text {
  padding-right: 2rem;
}

.about-features {
  margin: 2.5rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-linen);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.feature-desc h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-desc p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-luxury);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-gold);
  border-radius: var(--border-radius-md);
  z-index: -1;
  transition: var(--transition-smooth);
}

.about-image:hover::before {
  transform: translate(10px, 10px);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-text {
    padding-right: 0;
  }
}

/* Services Grid (Main Page) */
.services-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-luxury);
}

.service-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.service-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.service-card .price {
  font-size: 1.15rem;
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-weight: 500;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Testimonial slider / reviews */
.reviews-section {
  position: relative;
}

.reviews-slider {
  max-width: 800px;
  margin: 4rem auto 0;
  position: relative;
  overflow: hidden;
  min-height: 250px;
}

.review-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.review-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.review-stars {
  color: #F5A623;
  margin-bottom: 1.5rem;
}

.review-stars svg {
  width: 18px;
  height: 18px;
}

.review-text {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--primary-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.review-author {
  font-family: var(--font-title);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--primary-light);
}

.review-date {
  font-size: 0.8rem;
  color: #A0A0A0;
  margin-top: 0.25rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-light);
  opacity: 0.3;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  opacity: 1;
  transform: scale(1.25);
  background-color: var(--accent-gold);
}

/* Espace Salonkee Booking CTA Section */
.booking-cta-section {
  background-color: var(--primary-dark);
  color: var(--bg-cream);
  position: relative;
}

.booking-cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.booking-cta-content h2 {
  color: var(--bg-cream);
  margin-bottom: 1.5rem;
}

.booking-cta-content p {
  color: rgba(251, 249, 246, 0.8);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* Contact / Map / Info section */
.contact-section {
  padding-bottom: 0; /* Let it touch the footer beautifully */
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-list {
  margin-top: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-desc h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--primary-light);
}

.contact-info-desc p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid rgba(91, 91, 91, 0.1);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 0.85rem 0;
  font-size: 1.05rem;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
}

.map-container {
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  height: 450px;
  position: relative;
  background-color: var(--bg-linen);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .map-container {
    height: 350px;
    border-radius: var(--border-radius-md);
    margin-top: 2rem;
  }
}

/* Footer styling */
footer {
  background-color: #151515;
  color: rgba(255, 255, 255, 0.6);
  padding: 6rem 0 3rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-about .logo-footer {
  height: 72px;
  width: auto;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-about .logo-footer .st0 {
  fill: #FFFFFF;
  transition: var(--transition-smooth);
}

.footer-about .logo-footer .st1 {
  fill: #151515;
  transition: var(--transition-smooth);
}

.footer-about .logo-footer:hover .st0 {
  fill: var(--accent-gold);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--bg-cream);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 1px;
  background-color: var(--accent-gold);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.footer-hours span:first-child {
  color: rgba(255, 255, 255, 0.4);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  margin-top: 0.2rem;
  color: var(--accent-gold);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-cream);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* Service Detail Page Layout (services.html) */
.page-header {
  padding: 12rem 0 6rem;
  background-color: var(--primary-dark);
  color: var(--bg-cream);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1.5rem;
  color: var(--bg-cream);
}

.page-header p {
  color: rgba(251, 249, 246, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Service Filter Controls */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: -2.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.filter-btn {
  padding: 0.85rem 1.75rem;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--bg-white);
  border: 1px solid rgba(91, 91, 91, 0.1);
  border-radius: 4px;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

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

.filter-btn.active {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--bg-cream);
}

/* Detailed Services List styling */
.services-catalog {
  max-width: 900px;
  margin: 0 auto;
}

.catalog-category {
  margin-bottom: 5rem;
  scroll-margin-top: 100px;
  transition: var(--transition-smooth);
}

.catalog-category h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.services-list-container {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

.service-item-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid rgba(91, 91, 91, 0.06);
  align-items: center;
  transition: var(--transition-fast);
}

.service-item-row:last-child {
  border-bottom: none;
}

.service-item-row:hover {
  background-color: rgba(244, 240, 230, 0.2);
}

.service-item-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.service-item-info p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: #7E7E7E;
}

.service-item-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-gold);
  white-space: nowrap;
}

.service-item-action {
  white-space: nowrap;
}

.service-item-action .btn-book {
  padding: 0.55rem 1.25rem;
  font-size: 0.75rem;
}

@media (max-width: 600px) {
  .service-item-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
  .service-item-price {
    font-size: 1.1rem;
  }
  .service-item-action {
    width: 100%;
  }
  .service-item-action .btn-book {
    width: 100%;
  }
}

/* Legal/Privacy Page styling */
.text-page-content {
  padding: 8rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.text-page-content h1 {
  margin-bottom: 3rem;
}

.text-page-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.text-page-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.text-page-content ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.text-page-content li {
  margin-bottom: 0.75rem;
}

/* Gallery Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  background-color: var(--bg-linen);
  transition: var(--transition-smooth);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(197, 168, 128, 0.1);
  border-radius: var(--border-radius-md);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-luxury);
}

.gallery-item:hover::after {
  border-color: rgba(197, 168, 128, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.zoom-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-gold);
  fill: currentColor;
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover .zoom-icon {
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(251, 249, 246, 0.15);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--bg-cream);
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  line-height: 1;
  z-index: 2010;
}

.lightbox-close:hover {
  color: var(--accent-gold);
  transform: rotate(90deg);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(251, 249, 246, 0.05);
  border: 1px solid rgba(251, 249, 246, 0.1);
  color: var(--bg-cream);
  font-size: 2.5rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 2010;
  user-select: none;
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(197, 168, 128, 0.2);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-50%) scale(1.05);
}

/* Media Queries for Gallery */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .lightbox-prev, .lightbox-next {
    width: 48px;
    height: 48px;
    font-size: 2rem;
  }
  .lightbox-prev {
    left: 1rem;
  }
  .lightbox-next {
    right: 1rem;
  }
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

