/* ==========================================================================
   CLASSIC HERBAL BEAUTY PARLOUR - STYLESHEET
   A luxury, modern, lightweight design system for a full-service beauty parlour.
   ========================================================================== */

/* --- CSS VARIABLES & THEME TOKENS --- */
:root {
  --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette */
  --bg-primary: #FAF7F2;       /* Warm Cream */
  --bg-surface: #FFFFFF;       /* Pure White */
  --bg-surface-alt: #F4EFEA;   /* Soft Champagne / Beige */
  --bg-dark: #132E22;          /* Deep Emerald / Forest Green */
  --bg-dark-alt: #0D2118;      /* Rich Deep Dark Green */

  --text-main: #222523;        /* Dark Charcoal */
  --text-muted: #5F6662;       /* Muted Neutral */
  --text-light: #F4EFEA;       /* Off-White Text */
  --text-gold: #C5A059;        /* Warm Gold Text */

  --accent-gold: #C5A059;      /* Metallic Warm Gold */
  --accent-gold-light: #E5CA8F;/* Soft Light Gold */
  --accent-gold-dark: #9A7B39; /* Deep Gold */
  --accent-green: #132E22;     /* Emerald Accent */
  --accent-green-hover: #1D4232;

  --border-gold: rgba(197, 160, 89, 0.3);
  --border-light: rgba(0, 0, 0, 0.08);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(197, 160, 89, 0.12), 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 45px rgba(197, 160, 89, 0.18), 0 8px 25px rgba(0, 0, 0, 0.08);
  --shadow-3d: 0 25px 50px -12px rgba(19, 46, 34, 0.25);

  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-main);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 2rem;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.25rem;
  height: 2px;
  background-color: var(--accent-gold);
  transform: translateY(-50%);
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--bg-dark);
  margin-bottom: 1.25rem;
}

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

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

/* --- BUTTONS & CTAS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: var(--bg-surface);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(197, 160, 89, 0.5);
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--accent-gold);
  color: var(--bg-dark);
}

.btn-secondary:hover {
  background-color: var(--accent-gold);
  color: var(--bg-surface);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  border: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
}

/* --- STICKY NAVIGATION BAR --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 1.25rem 0;
}

.header.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 0.85rem 0;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--border-gold);
}

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

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

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #204735 100%);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--bg-dark);
  line-height: 1.1;
}

.brand-subtext {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
  transition: var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-dark);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--bg-dark);
  cursor: pointer;
  padding: 0.5rem;
}

/* --- HERO SECTION WITH 3D DEPTH --- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 9rem 2rem 5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(19, 46, 34, 0.08) 0%, transparent 50%),
              var(--bg-primary);
  overflow: hidden;
}

.hero-wrapper {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--bg-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-badge span {
  color: var(--accent-gold);
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.15;
  color: var(--bg-dark);
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  position: relative;
  color: var(--accent-gold-dark);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* 3D Visual Card Display */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-card-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-card {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--accent-gold);
  background: var(--bg-surface);
  transition: var(--transition-normal);
}

.hero-main-card img {
  width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
  object-fit: contain;
  transition: transform 0.6s ease;
}

.hero-visual:hover .hero-main-card {
  transform: translateY(-5px);
  box-shadow: var(--shadow-3d);
}

.hero-visual:hover .hero-main-card img {
  transform: scale(1.03);
}

/* Floating Decorative Glass Badges - Positioned neatly around image */
.glass-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.glass-badge-1 {
  position: absolute;
  top: -20px;
  left: -20px;
  margin-top: 0;
}

.glass-badge-2 {
  position: absolute;
  bottom: -20px;
  right: -20px;
  margin-top: 0;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-dark), #234E39);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-text h4 {
  font-size: 0.9rem;
  color: var(--bg-dark);
  font-weight: 700;
}

.badge-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* --- ABOUT SECTION --- */
.about {
  padding: 7rem 2rem;
  background-color: var(--bg-surface);
  position: relative;
}

.about-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
  position: relative;
}

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

.about-experience-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--bg-dark);
  color: var(--bg-surface);
  padding: 1.75rem 2.2rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
}

.about-experience-badge .label {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.25rem;
}

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

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

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  color: var(--accent-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.feature-text h4 {
  font-size: 1rem;
  color: var(--bg-dark);
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- SERVICES SECTION WITH TAB FILTERS --- */
.services {
  padding: 7rem 2rem;
  background-color: var(--bg-primary);
}

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.tab-btn {
  padding: 0.75rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--bg-dark);
  color: var(--accent-gold);
  border-color: var(--bg-dark);
  box-shadow: var(--shadow-md);
}

.services-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  border: 1px solid rgba(197, 160, 89, 0.2);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--bg-dark));
  opacity: 0;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(19, 46, 34, 0.06);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--bg-dark);
  color: var(--accent-gold);
}

.service-title {
  font-size: 1.3rem;
  color: var(--bg-dark);
}

.service-list {
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

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

.service-item i {
  color: var(--accent-gold);
  font-size: 0.8rem;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 1rem;
}

.service-btn {
  width: 100%;
  padding: 0.65rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.1);
  color: var(--bg-dark);
  border: 1px solid var(--border-gold);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  display: block;
}

.service-btn:hover {
  background: var(--accent-gold);
  color: var(--bg-surface);
}

/* --- DEDICATED BRIDAL SECTION --- */
.bridal {
  padding: 7rem 2rem;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-alt) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.bridal::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.bridal-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.bridal-content .section-tag {
  color: var(--accent-gold-light);
}

.bridal-content .section-tag::before {
  background-color: var(--accent-gold-light);
}

.bridal-content .section-title {
  color: #FFFFFF;
}

.bridal-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.bridal-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.bridal-feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.bridal-feature-card:hover {
  background: rgba(197, 160, 89, 0.15);
  transform: translateY(-4px);
}

.bridal-feature-card h4 {
  color: var(--accent-gold-light);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.bridal-feature-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.bridal-visual {
  position: relative;
}

.bridal-image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-3d);
}

.bridal-image-container img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* --- BEAUTY COURSES SECTION --- */
.courses {
  padding: 7rem 2rem;
  background-color: var(--bg-surface);
}

.courses-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.2rem;
}

.course-card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: var(--bg-surface);
}

.course-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: rgba(197, 160, 89, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.course-title {
  font-size: 1.4rem;
  color: var(--bg-dark);
  margin-bottom: 0.85rem;
}

.course-description {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.course-cta {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- GALLERY SECTION WITH LIGHTBOX (UNCROPPED NATURAL ASPECT RATIO) --- */
.gallery {
  padding: 7rem 2rem;
  background-color: var(--bg-primary);
}

.gallery-grid {
  max-width: 1280px;
  margin: 0 auto;
  column-count: 3;
  column-gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: auto;
  break-inside: avoid;
  margin-bottom: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gold);
  background: var(--bg-surface);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  aspect-ratio: auto;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 33, 24, 0.88) 0%, rgba(13, 33, 24, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

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

.gallery-category {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  font-weight: 600;
}

.gallery-title {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-top: 0.2rem;
}

.gallery-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13, 33, 24, 0.95);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  border: 1px solid var(--accent-gold);
}

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

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--accent-gold);
  color: var(--bg-dark);
}

/* --- APPOINTMENT SECTION --- */
.appointment {
  padding: 7rem 2rem;
  background-color: var(--bg-surface);
}

.appointment-container {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.appointment-info {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.appointment-info h3 {
  color: #FFFFFF;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.appointment-info p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-quick-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;

  margin-bottom: 2.5rem;
}

.contact-quick-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.2);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.appointment-form-wrapper {
  padding: 3.5rem 3rem;
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-submit-btn {
  grid-column: span 2;
  margin-top: 0.5rem;
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 7rem 2rem;
  background-color: var(--bg-primary);
}

.contact-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-dark), #224D38);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem auto;
}

.contact-card h4 {
  font-size: 1.3rem;
  color: var(--bg-dark);
  margin-bottom: 0.75rem;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;

  margin-bottom: 1.5rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

/* --- FLOATING WHATSAPP BUTTON --- */
.floating-whatsapp {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-dark-alt);
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 2rem 2rem 2rem;
  border-top: 1px solid var(--accent-gold);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto 4rem auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3.5rem;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

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

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

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

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* --- MOBILE RESPONSIVENESS & TOUCH OPTIMIZATION --- */
@media (max-width: 1024px) {
  .hero-wrapper, .about-grid, .bridal-wrapper, .appointment-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card-container {
    height: 380px;
    max-width: 100%;
  }

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

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .header {
    padding: 0.85rem 0;
  }

  .nav-container {
    padding: 0 1.25rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-subtext {
    font-size: 0.65rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    padding: 3rem 1.75rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    transition: right 0.4s ease;
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links .nav-link {
    color: var(--text-light);
    font-size: 1.15rem;
  }

  .mobile-toggle {
    display: block;
    z-index: 1002;
  }

  .hero {
    padding: 6.5rem 1.25rem 4rem 1.25rem;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin: 0 auto 1.75rem auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.85rem;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }

  .glass-badge {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0.5rem auto;
    width: fit-content;
    max-width: 90%;
  }

  .hero-card-container {
    height: 320px;
    max-width: 100%;
  }

  .about, .services, .bridal, .courses, .gallery, .appointment, .contact {
    padding: 4rem 1.25rem;
  }

  .about-image-card img, .bridal-image-container img {
    height: 340px;
  }

  .about-experience-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin: -25px auto 0 auto;
    width: fit-content;
    padding: 1.2rem 1.8rem;
  }

  .about-features, .bridal-features-grid, .appointment-form {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .tab-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 0.55rem 1.1rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .gallery-grid {
    column-count: 2;
    column-gap: 1rem;
  }

  .gallery-item {
    height: auto;
    margin-bottom: 1rem;
  }

  .appointment-container {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .appointment-info, .appointment-form-wrapper {
    padding: 2rem 1.25rem;
  }

  .appointment-info h3 {
    font-size: 1.5rem;
  }

  .form-group.full-width, .form-submit-btn {
    grid-column: span 1;
  }

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

  .contact-card {
    padding: 1.75rem 1.25rem;
  }

  .contact-card p {
    word-break: break-word;
  }

  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    font-size: 1.75rem;
  }

  .footer {
    padding: 3.5rem 1.25rem 1.5rem 1.25rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-card-container {
    height: auto;
    max-height: 380px;
  }

  .gallery-grid {
    column-count: 1;
  }

  .gallery-item {
    height: auto;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }

  .appointment-info, .appointment-form-wrapper {
    padding: 1.5rem 1rem;
  }
}
