/* ============================================================
   LUXE HAIR STUDIO - Main Stylesheet
   A configurable salon template driven by config.json
   Colors and fonts are applied via CSS custom properties
   set dynamically by config-loader.js
   ============================================================ */

/* --- CSS Custom Properties (defaults, overridden by config) --- */
:root {
  --color-primary: #c9a96e;
  --color-secondary: #1a1a1a;
  --color-accent: #e8d5b7;
  --color-bg: #ffffff;
  --color-text: #333333;
  --color-text-light: #ffffff;
  --color-muted: #6b7280;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
}

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

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

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-muted); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-accent { background-color: var(--color-accent); }

/* --- Button Styles (base) --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-text-light);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.btn-white {
  background-color: var(--color-text-light);
  color: var(--color-secondary);
  border-color: var(--color-text-light);
}

.btn-white:hover {
  background-color: transparent;
  color: var(--color-text-light);
}

/* Button variants (applied dynamically) */
.btn-style-rounded-pill { border-radius: 50px; }
.btn-style-sharp-rectangle { border-radius: 0; }
.btn-style-outlined-ghost {
  background-color: transparent !important;
  border-radius: 4px;
}
.btn-style-outlined-ghost.btn-primary {
  color: var(--color-primary);
}
.btn-style-outlined-ghost.btn-primary:hover {
  background-color: var(--color-primary) !important;
  color: var(--color-text-light);
}
.btn-style-underline-text {
  background: none !important;
  border: none !important;
  border-bottom: 2px solid currentColor !important;
  border-radius: 0;
  padding: 0.5rem 0;
}

/* Button sizes */
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

/* Button focus states (keyboard accessibility) */
.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Nav CTA in navbar */
.hero-cta-nav {
  margin-left: 0.5rem;
}

/* General focus-visible for links and interactive elements */
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.navbar-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-light);
  transition: color 0.3s ease;
}

.navbar-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.navbar-links a {
  color: var(--color-text-light);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.navbar-links a:hover::after {
  width: 100%;
}

/* Nav variant: transparent-overlay */
.nav-transparent-overlay {
  background: transparent;
}

.nav-transparent-overlay.scrolled {
  background: var(--color-secondary);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
}

/* Nav variant: solid-sticky */
.nav-solid-sticky {
  background: var(--color-secondary);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-solid-sticky .navbar-links a,
.nav-solid-sticky .navbar-logo-text {
  color: var(--color-text-light);
}

/* Nav variant: minimal-centered */
.nav-minimal-centered {
  background: var(--color-bg);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.nav-minimal-centered .navbar-inner {
  flex-direction: column;
  gap: 0.75rem;
}

.nav-minimal-centered .navbar-logo-text {
  color: var(--color-secondary);
}

.nav-minimal-centered .navbar-links a {
  color: var(--color-text);
}

/* Mobile nav toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-light);
  transition: all 0.3s ease;
}

.navbar-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Hamburger to X animation */
.navbar-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

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

.hero-headline {
  font-size: 4rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 300;
}

/* Hero variant: split-screen */
.hero-split-screen {
  flex-direction: row;
}

.hero-split-screen .hero-content {
  width: 50%;
  text-align: left;
  padding: 2rem 4rem;
}

.hero-split-screen .hero-bg {
  left: 50%;
  width: 50%;
}

.hero-split-screen .hero-overlay {
  left: 0;
  width: 50%;
  background: var(--color-secondary);
}

/* Hero variant: fullscreen-video-bg */
.hero-fullscreen-video-bg .hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.about-image {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

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

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--color-primary);
  border-radius: 8px;
  z-index: -1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--color-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

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

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.about-feature p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* About variant: full-width-banner */
.about-full-width-banner {
  text-align: center;
}

.about-full-width-banner .about-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-full-width-banner .about-image img {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}

.about-full-width-banner .about-features {
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.about-full-width-banner .about-feature {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 250px;
}

/* About variant: stacked-centered */
.about-stacked-centered .about-grid {
  grid-template-columns: 1fr;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-stacked-centered .about-image img {
  border-radius: 50%;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.about-stacked-centered .about-features {
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.about-stacked-centered .about-feature {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* --- Gallery Section --- */
.gallery-section {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
}

.gallery-section .section-title {
  color: var(--color-text-light);
}

.gallery-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* Gallery variant: grid-masonry */
.gallery-masonry {
  columns: 4;
  column-gap: 1rem;
}

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-masonry-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Gallery variant: horizontal-slider */
.gallery-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
}

.gallery-slider::-webkit-scrollbar {
  height: 6px;
}

.gallery-slider::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 3px;
}

.gallery-slider-item {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.gallery-slider-item img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-slider-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  font-size: 0.9rem;
}

/* Gallery variant: lightbox-grid */
.gallery-lightbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.gallery-lightbox-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.gallery-lightbox-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.gallery-lightbox-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

.gallery-lightbox-item .gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox-item:hover .gallery-zoom-icon {
  opacity: 1;
}

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10000;
}

/* --- Services Section --- */
/* Services variant: card-grid */
.services-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.service-card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.service-card-duration {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Services variant: accordion-list */
.services-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.services-accordion-item {
  border-bottom: 1px solid #e5e7eb;
}

.services-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.services-accordion-header:hover {
  color: var(--color-primary);
}

.services-accordion-header h3 {
  font-size: 1.15rem;
  transition: color 0.3s ease;
}

.services-accordion-header:hover h3 {
  color: var(--color-primary);
}

.services-accordion-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.services-accordion-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--color-muted);
}

.services-accordion-item.active .services-accordion-icon {
  transform: rotate(180deg);
}

.services-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.services-accordion-body-inner {
  padding: 0 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.services-accordion-body p {
  color: var(--color-muted);
  font-size: 0.95rem;
  max-width: 60%;
}

/* Services variant: tabbed-categories */
.services-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.services-tab-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e5e7eb;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  color: var(--color-text);
}

.services-tab-btn.active,
.services-tab-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-text-light);
}

.services-tab-content {
  display: none;
}

.services-tab-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

/* --- Reviews Section --- */
.reviews-section {
  background-color: #f9fafb;
}

/* Reviews variant: google-maps-style */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.review-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-meta {
  flex: 1;
}

.review-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.review-date {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.review-star {
  color: #fbbf24;
  font-size: 0.9rem;
}

.review-star.empty {
  color: #d1d5db;
}

.review-text {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Reviews variant: carousel-slider */
.reviews-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.reviews-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.reviews-carousel-slide {
  flex: 0 0 100%;
  text-align: center;
  padding: 2rem;
}

.reviews-carousel-slide .review-stars {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.reviews-carousel-slide .review-text {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.reviews-carousel-slide .review-name {
  font-size: 1rem;
  font-weight: 700;
}

.reviews-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.reviews-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.reviews-carousel-dot.active {
  background: var(--color-primary);
}

/* Reviews variant: quote-highlight */
.reviews-quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.review-quote-card {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.review-quote-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 1rem;
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.3;
  font-family: var(--font-heading);
  line-height: 1;
}

.review-quote-card .review-text {
  margin-bottom: 1rem;
}

.review-quote-card .review-stars {
  margin-bottom: 0.5rem;
}

.review-quote-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* --- Inline Booking Section --- */
.booking-section {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #2d2d2d 100%);
  color: var(--color-text-light);
}

.booking-section .section-title {
  color: var(--color-text-light);
}

.booking-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.booking-inline-form {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.form-group select option {
  background: var(--color-secondary);
  color: var(--color-text-light);
}

.booking-inline-form .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-secondary);
  color: rgba(255, 255, 255, 0.8);
}

.footer-cta {
  text-align: center;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta h2 {
  color: var(--color-text-light);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer variant: multi-column */
.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
}

.footer-column h4 {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-column p,
.footer-column a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.8;
  display: block;
}

.footer-column a:hover {
  color: var(--color-primary);
}

.footer-brand-description {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-light);
}

/* Footer variant: centered-minimal */
.footer-centered-minimal {
  text-align: center;
  padding: 3rem 0;
}

.footer-centered-minimal .footer-info {
  margin-bottom: 1.5rem;
}

.footer-centered-minimal .footer-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.footer-centered-minimal .footer-social {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Focus States for Interactive Cards & Elements --- */
.service-card:focus-within,
.review-card:focus-within,
.review-quote-card:focus-within {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.services-tab-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.services-accordion-header:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.reviews-carousel-dot:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: var(--color-primary);
  outline: none;
}

.footer-social a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.gallery-masonry-item:focus-visible,
.gallery-lightbox-item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* --- Scroll Animations --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.7s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .gallery-masonry { columns: 3; }
  .gallery-lightbox-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 2rem; }

  .navbar-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-secondary);
    padding: 1rem 1.5rem;
    gap: 1rem;
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .hero-headline { font-size: 2.5rem; }
  .hero-subheadline { font-size: 1.05rem; }

  .hero-split-screen {
    flex-direction: column;
  }
  .hero-split-screen .hero-content {
    width: 100%;
    padding: 2rem;
  }
  .hero-split-screen .hero-bg {
    left: 0;
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
  }
  .hero-split-screen .hero-overlay {
    width: 100%;
    height: 50%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .services-card-grid { grid-template-columns: 1fr; }
  .services-tab-content.active { grid-template-columns: 1fr; }

  .booking-form-grid { grid-template-columns: 1fr; }

  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-quote-grid { grid-template-columns: 1fr; }

  .footer-columns { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .gallery-masonry { columns: 1; }
  .gallery-lightbox-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-slider-item { flex: 0 0 260px; }
  .gallery-slider-item img { width: 260px; height: 340px; }
}

/* --- Loading Skeleton --- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-up, .fade-in-left, .fade-in-right,
  .stagger-children > * {
    opacity: 1;
    transform: none;
  }
}
