/* =============================================
   AL-NAJAF LUXURY BARBER & BEAUTY SALON
   Premium Stylesheet — v2.0
   ============================================= */

/* --- Color System --- */
:root {
  /* Light Theme — Warm Ivory & Refined Gold */
  --bg-light: #FAF8F5;
  --bg-alt-light: #F2EFEA;
  --primary-light: #C9A84C;
  --primary-soft-light: #E8D5A3;
  --secondary-light: #2D2B4A;
  --accent-light: #C084FC;
  --text-light: #1A1A2E;
  --text-muted-light: #6B6B80;
  --card-bg-light: #FFFFFF;
  --border-light: rgba(201, 168, 76, 0.15);
  --shadow-light: rgba(26, 26, 46, 0.06);
  --glow-light: rgba(201, 168, 76, 0.25);

  /* Dark Theme — Deep Charcoal & Warm Gold */
  --bg-dark: #0A0E17;
  --bg-alt-dark: #111620;
  --primary-dark: #D4AF37;
  --primary-soft-dark: #A6862E;
  --secondary-dark: #A78BFA;
  --accent-dark: #C084FC;
  --text-dark: #F0F0F5;
  --text-muted-dark: #8888A0;
  --card-bg-dark: #151A28;
  --border-dark: rgba(212, 175, 55, 0.12);
  --shadow-dark: rgba(0, 0, 0, 0.3);
  --glow-dark: rgba(212, 175, 55, 0.2);

  /* Shared */
  --transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: all 0.3s ease;
  --shadow-card: 0 4px 24px var(--shadow-light);
  --shadow-hover: 0 12px 48px var(--shadow-light);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max-width: 1200px;

  /* Active — Light by default */
  --bg: var(--bg-light);
  --bg-alt: var(--bg-alt-light);
  --primary: var(--primary-light);
  --primary-soft: var(--primary-soft-light);
  --secondary: var(--secondary-light);
  --accent: var(--accent-light);
  --text: var(--text-light);
  --text-muted: var(--text-muted-light);
  --card-bg: var(--card-bg-light);
  --border: var(--border-light);
  --shadow: var(--shadow-light);
  --glow: var(--glow-light);
}

body.dark-mode {
  --bg: var(--bg-dark);
  --bg-alt: var(--bg-alt-dark);
  --primary: var(--primary-dark);
  --primary-soft: var(--primary-soft-dark);
  --secondary: var(--secondary-dark);
  --accent: var(--accent-dark);
  --text: var(--text-dark);
  --text-muted: var(--text-muted-dark);
  --card-bg: var(--card-bg-dark);
  --border: var(--border-dark);
  --shadow: var(--shadow-dark);
  --glow: var(--glow-dark);
  --shadow-card: 0 4px 24px var(--shadow-dark);
  --shadow-hover: 0 12px 48px var(--shadow-dark);
}

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

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background 0.6s ease, color 0.6s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: var(--transition); border: none; outline: none;
  position: relative; overflow: hidden; letter-spacing: 0.3px;
}

.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: var(--transition);
}

.btn:hover::after { opacity: 1; }

.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #fff; box-shadow: 0 4px 20px var(--glow);
}
.primary-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 32px var(--glow); }

.secondary-btn {
  background: transparent; color: var(--text);
  border: 2px solid var(--primary);
}
.secondary-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.25);
}
.whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(37,211,102,0.35); }

/* --- Header / Nav --- */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000; padding: 18px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: var(--card-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}

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

.logo {
  font-size: 1.6rem; font-weight: 800; color: var(--primary);
  letter-spacing: 2px; font-family: 'Playfair Display', serif;
  position: relative;
}
.logo::after {
  content: '✦'; font-size: 0.5rem; position: absolute; top: -4px; right: -14px;
  color: var(--primary);
}

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-links a {
  font-weight: 500; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text); opacity: 0.8;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links .book-btn {
  background: var(--primary); color: #fff; padding: 10px 24px;
  border-radius: 50px; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.5px; box-shadow: 0 4px 16px var(--glow);
}
.nav-links .book-btn::after { display: none; }

.theme-switcher {
  display: block; cursor: pointer; font-size: 1.1rem; color: var(--primary);
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: var(--transition); margin-left: 8px;
}
.theme-switcher:hover { background: var(--primary); color: #fff; transform: rotate(30deg); }

.mobile-menu {
  display: none; cursor: pointer; font-size: 1.2rem; color: var(--primary);
  width: 40px; height: 40px; align-items: center; justify-content: center;
}

/* --- Hero Section — Redesigned --- */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--bg-alt);
  margin-top: 0;
}

.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, var(--primary-soft) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, var(--secondary) 0%, transparent 50%);
  opacity: 0.08; z-index: 0;
}

.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 40%;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2; max-width: 800px; width: 100%;
  padding: 120px 48px 80px; animation: heroFade 1.2s ease-out;
  margin: 0 auto;
}

.hero-content .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 50px;
  background: var(--primary); color: #fff;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 28px;
  box-shadow: 0 4px 20px var(--glow);
}

.hero h1 {
  font-size: 4rem; margin-bottom: 20px; color: var(--text);
  line-height: 1.1; max-width: 700px;
}

.hero h1 span { color: var(--primary); }

.hero p {
  font-size: 1.15rem; margin-bottom: 40px; color: var(--text-muted);
  max-width: 540px; line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero decorative rings */
.hero-rings {
  position: absolute; right: -10%; top: 50%; transform: translateY(-50%);
  width: 700px; height: 700px; z-index: 0; pointer-events: none;
}

.hero-rings .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--border);
  animation: ringPulse 8s ease-in-out infinite;
}

.hero-rings .ring:nth-child(1) { inset: 5%; animation-delay: 0s; border-color: var(--primary); opacity: 0.15; }
.hero-rings .ring:nth-child(2) { inset: 20%; animation-delay: 2s; border-color: var(--accent); opacity: 0.1; }
.hero-rings .ring:nth-child(3) { inset: 40%; animation-delay: 4s; border-color: var(--primary); opacity: 0.08; }

@keyframes ringPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.1; }
  50% { transform: scale(1.08) rotate(5deg); opacity: 0.2; }
}

/* Floating decoratives */
.floating-elements {
  position: absolute; width: 100%; height: 100%; top: 0; left: 0;
  pointer-events: none; z-index: 1;
}

.floating-icon {
  position: absolute; font-size: 1.4rem; color: var(--primary);
  opacity: 0.12; animation: float 7s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 18%; left: 8%; animation-delay: 0s; font-size: 2rem; }
.floating-icon:nth-child(2) { top: 65%; right: 12%; animation-delay: 2.5s; font-size: 1.8rem; }
.floating-icon:nth-child(3) { bottom: 25%; left: 15%; animation-delay: 5s; font-size: 2.2rem; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(8deg); }
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero overlay for split layout */
.hero-visual {
  position: absolute; right: -5%; top: 15%; width: 45%; height: 70%;
  background: linear-gradient(135deg, var(--primary-soft), var(--primary));
  border-radius: var(--radius-xl); opacity: 0.06;
  transform: rotate(-3deg); z-index: 1;
}

/* --- Section Shared Styles --- */
section { position: relative; padding: 100px 0; }

section h2 {
  font-size: 2.4rem; text-align: center; margin-bottom: 16px;
}

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 3px; color: var(--primary); margin-bottom: 16px;
}
.section-label::before,
.section-label::after {
  content: ''; width: 30px; height: 1px; background: var(--primary); opacity: 0.4;
}

.section-title {
  font-size: 2.6rem; text-align: center; margin-bottom: 16px;
  position: relative;
}

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

/* --- About --- */
.about { background: var(--bg); }

.about-content {
  display: flex; align-items: center; gap: 80px;
}

.about-text { flex: 1; }
.about-text h2 { font-size: 2.4rem; margin-bottom: 20px; text-align: left; }
.about-text h2 span { color: var(--primary); }
.about-text p { color: var(--text-muted); margin-bottom: 40px; font-size: 1.05rem; line-height: 1.9; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.stat-item {
  text-align: center; padding: 28px 16px;
  background: var(--card-bg); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); transition: var(--transition);
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.stat-item::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transition: transform 0.5s ease; transform-origin: left;
}
.stat-item:hover::before { transform: scaleX(1); }
.stat-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.stat-number {
  display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary);
  font-family: 'Playfair Display', serif; margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.about-image {
  flex: 1; position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.about-image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary), transparent);
  opacity: 0.1; z-index: 1;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.about-image:hover img { transform: scale(1.03); }

/* --- Services --- */
.services { background: var(--bg-alt); }

.services-tabs {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 48px;
}

.tab-btn {
  padding: 12px 28px; background: transparent;
  border: 2px solid var(--border); color: var(--text-muted);
  border-radius: 50px; font-weight: 600; font-size: 0.85rem;
  cursor: pointer; transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: 0 4px 16px var(--glow);
}

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; display: none;
}
.services-grid.active { display: grid; animation: fadeUp 0.5s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-card {
  background: var(--card-bg); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-card); transition: var(--transition);
  border: 1px solid var(--border); position: relative;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.service-image { height: 200px; overflow: hidden; }
.service-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--transition);
}
.service-card:hover .service-image img { transform: scale(1.08); }

.service-info { padding: 24px; }
.service-info h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--text); }
.service-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; line-height: 1.6; }

.service-details {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--border); margin-bottom: 16px;
}
.service-price { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.service-duration { font-size: 0.8rem; color: var(--text-muted); }

.book-service-btn {
  width: 100%; padding: 10px; font-size: 0.85rem; font-weight: 600;
  background: transparent; border: 2px solid var(--primary);
  color: var(--primary); border-radius: 50px;
}
.book-service-btn:hover { background: var(--primary); color: #fff; }

/* --- Gallery --- */
.gallery { background: var(--bg); }

.gallery-filter {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px; background: transparent;
  border: 2px solid var(--border); color: var(--text-muted);
  border-radius: 50px; font-weight: 500; font-size: 0.85rem;
  cursor: pointer; transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  cursor: pointer; height: 260px; box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item::after {
  content: '⊕'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2rem; color: #fff; z-index: 2;
  transition: var(--transition);
  width: 60px; height: 60px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%;
  background: rgba(201, 168, 76, 0.9);
}
.gallery-item:hover::after { transform: translate(-50%, -50%) scale(1); }

.gallery-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0; transition: var(--transition); z-index: 1;
}
.gallery-item:hover::before { opacity: 1; }

/* --- Pricing --- */
.pricing { background: var(--bg-alt); }

.pricing-tabs {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 48px;
}

.pricing-tab-btn {
  padding: 12px 28px; background: transparent;
  border: 2px solid var(--border); color: var(--text-muted);
  border-radius: 50px; font-weight: 600; font-size: 0.85rem;
  cursor: pointer; transition: var(--transition);
}
.pricing-tab-btn.active, .pricing-tab-btn:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: 0 4px 16px var(--glow);
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px; display: none;
}
.pricing-grid.active { display: grid; animation: fadeUp 0.5s ease; }

.pricing-card {
  background: var(--card-bg); border-radius: var(--radius-lg);
  padding: 40px 32px; box-shadow: var(--shadow-card);
  transition: var(--transition); text-align: center;
  border: 1px solid var(--border); position: relative;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.03);
}

.featured-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--primary); color: #fff;
  padding: 6px 18px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; box-shadow: 0 4px 12px var(--glow);
}

.pricing-card h3 { font-size: 1.4rem; margin-bottom: 24px; color: var(--text); }

.pricing-features { margin-bottom: 28px; }

.feature-item {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-size: 0.9rem; color: var(--text-muted);
}
.feature-item i { color: var(--primary); font-size: 1rem; }

.pricing-price {
  font-size: 2rem; font-weight: 800; color: var(--primary);
  margin-bottom: 24px; font-family: 'Playfair Display', serif;
}

/* --- Booking --- */
.booking { background: var(--bg); }

.booking-container {
  display: grid; grid-template-columns: 2fr 1fr; gap: 48px;
  background: var(--card-bg); border-radius: var(--radius-lg);
  padding: 48px; box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.booking-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.form-group { margin-bottom: 0; }

.form-group label {
  display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.85rem;
  color: var(--text); letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text);
  font-family: inherit; font-size: 0.9rem;
  transition: var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--glow);
}

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

.submit-btn {
  grid-column: 1 / -1; padding: 16px; font-size: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #fff; border-radius: 50px; box-shadow: 0 4px 20px var(--glow);
}
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 32px var(--glow); }

/* Booking info sidebar */
.booking-sidebar { padding-left: 32px; border-left: 1px solid var(--border); }
.booking-sidebar h3 { font-size: 1.3rem; margin-bottom: 24px; color: var(--text); }
.booking-sidebar li {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; color: var(--text-muted); font-size: 0.9rem;
}
.booking-sidebar li i { color: var(--primary); font-size: 1.1rem; }

.booking-contact { margin-top: 32px; }
.booking-contact h4 {
  font-size: 1.1rem; margin-bottom: 16px; color: var(--text);
  font-family: 'Montserrat', sans-serif; font-weight: 600;
}
.booking-contact p {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; color: var(--text-muted); font-size: 0.9rem;
}
.booking-contact p i { color: var(--primary); width: 20px; text-align: center; }
.booking-contact p a { color: var(--text); transition: var(--transition-fast); }
.booking-contact p a:hover { color: var(--primary); }

/* --- Contact --- */
.contact { background: var(--bg-alt); }

.contact-container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  background: var(--card-bg); border-radius: var(--radius-lg);
  padding: 48px; box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.info-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--bg); border-radius: var(--radius-sm);
  transition: var(--transition); border: 1px solid var(--border);
}
.info-item:hover { transform: translateX(8px); border-color: var(--primary); }

.info-item i {
  font-size: 1.3rem; color: var(--primary);
  min-width: 36px; text-align: center;
}
.info-item p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.info-item p a { color: var(--text); transition: var(--transition-fast); }
.info-item p a:hover { color: var(--primary); }

.contact-actions { display: flex; flex-direction: column; gap: 16px; }
.call-btn, .whatsapp-btn { padding: 16px 32px; font-size: 1rem; }

.map-container {
  grid-column: 1 / -1; border-radius: var(--radius-md); overflow: hidden;
  height: 280px; box-shadow: var(--shadow-card);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* --- Footer --- */
.footer {
  background: var(--card-bg); padding: 80px 0 30px;
  border-top: 1px solid var(--border);
}

.footer::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  opacity: 0.5;
}

.footer-content {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  margin-bottom: 50px;
}

.footer-section h3 {
  font-size: 1.2rem; margin-bottom: 20px; color: var(--primary);
  position: relative;
}
.footer-section h3::after {
  content: ''; position: absolute; bottom: -8px; left: 0;
  width: 32px; height: 2px; background: var(--primary); opacity: 0.5;
}

.footer-section p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: var(--transition); font-size: 1rem;
  border: 1px solid var(--border);
}
.social-icons a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-4px); }

.footer-section ul li { margin-bottom: 12px; }
.footer-section ul li a {
  color: var(--text-muted); font-size: 0.9rem; transition: var(--transition-fast);
}
.footer-section ul li a:hover { color: var(--primary); padding-left: 4px; }
.footer-section ul li i {
  margin-right: 10px; color: var(--primary); width: 18px; text-align: center;
}

.footer-bottom {
  text-align: center; padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.85rem;
}

/* --- Popup / Lightbox --- */
.popup {
  display: none; position: fixed; z-index: 3000; inset: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.popup-content {
  background: var(--card-bg); margin: 10% auto; padding: 48px;
  border-radius: var(--radius-lg); max-width: 480px; text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  animation: slideUp 0.4s ease;
}

.success-icon { font-size: 3.5rem; color: #4CAF50; margin-bottom: 16px; animation: scaleIn 0.5s ease; }
.popup-content h3 { font-size: 1.6rem; margin-bottom: 12px; color: var(--text); }
.popup-content p { color: var(--text-muted); margin-bottom: 28px; }

.lightbox {
  display: none; position: fixed; z-index: 2000; inset: 0;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}
.lightbox-content {
  margin: auto; display: block; max-width: 90%; max-height: 90vh;
  animation: zoomIn 0.4s ease; border-radius: var(--radius-sm);
}
.close-lightbox {
  position: absolute; top: 24px; right: 32px; color: #fff;
  font-size: 2.5rem; cursor: pointer; transition: var(--transition);
  width: 50px; height: 50px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.close-lightbox:hover { background: var(--primary); transform: rotate(90deg); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }

/* --- Scroll-triggered fade --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.active { opacity: 1; transform: translateY(0); }

/* --- Ripple effect --- */
.btn { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.3);
  transform: scale(0); animation: rippleEffect 0.6s linear; pointer-events: none;
}
@keyframes rippleEffect { to { transform: scale(4); opacity: 0; } }

/* ============= RESPONSIVE ============= */

/* Tablet landscape */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
  .hero h1 { font-size: 3.2rem; }
  .hero-rings { width: 500px; height: 500px; right: -20%; }
  .pricing-card.featured { transform: scale(1); }
}

/* Tablet portrait */
@media (max-width: 992px) {
  .container { max-width: 720px; }
  .hero h1 { font-size: 2.8rem; }
  .hero-rings { display: none; }

  .about-content { flex-direction: column; gap: 40px; }
  .about-text h2 { text-align: center; }
  .about-text p { text-align: center; }

  .booking-container { grid-template-columns: 1fr; padding: 32px; }
  .booking-sidebar { padding-left: 0; border-left: none; padding-top: 24px; border-top: 1px solid var(--border); }

  .contact-container { grid-template-columns: 1fr; }

  .footer-content { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; left: 100%; width: 100%; height: 100vh;
    background: var(--card-bg); flex-direction: column; align-items: center;
    justify-content: center; gap: 36px; transition: var(--transition);
    z-index: 998; backdrop-filter: blur(20px);
  }
  .nav-links.active { left: 0; }

  .mobile-menu { display: flex; z-index: 999; }

  .hero { min-height: 90vh; }
  .hero-content { padding: 100px 24px 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; text-align: center; }

  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid .stat-item { padding: 20px; }

  .services-tabs, .pricing-tabs { flex-direction: column; align-items: stretch; }
  .tab-btn, .pricing-tab-btn { text-align: center; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { height: 180px; }

  .pricing-card.featured { transform: scale(1); }

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

  .contact-container { padding: 24px; }

  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-section h3::after { left: 50%; transform: translateX(-50%); }
  .social-icons { justify-content: center; }

  .section-title { font-size: 2rem; }
  .about-text h2 { font-size: 1.8rem; }

  .popup-content { margin: 20% 16px; padding: 32px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 220px; }
  section { padding: 60px 0; }
  .booking-container { padding: 20px; }
}

/* ============= MISC UTILITIES ============= */
.counter { font-variant-numeric: tabular-nums; }
