/* ==========================================
   LUXE SALON & SPA - Complete Stylesheet
   ========================================== */

/* --- CSS Variables --- */
:root {
  --rose: #b76e79;
  --rose-light: #d4a0a8;
  --rose-dark: #8e4a54;
  --gold: #d4a574;
  --gold-light: #e8c9a0;
  --dark: #1a1a2e;
  --dark-light: #2a2a4e;
  --dark-mid: #3a3a5e;
  --cream: #faf3e0;
  --cream-dark: #f0e4c8;
  --white: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #e8e8e8;
  --gray-300: #d0d0d0;
  --gray-500: #888;
  --gray-700: #444;
  --green: #4caf50;
  --red: #e74c3c;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, sans-serif;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.accent { color: var(--rose); }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.section-title {
  text-align: center;
  margin-bottom: 8px;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--rose);
  color: var(--white);
}
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(183,110,121,0.4); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-outline {
  border: 2px solid var(--rose);
  color: var(--rose);
  background: transparent;
}
.btn-outline:hover { background: var(--rose); color: var(--white); }

.btn-lg { padding: 16px 40px; font-size: 1.1rem; border-radius: var(--radius); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-danger { background: var(--red); color: var(--white); }
.btn-danger:hover { background: #c0392b; }

/* --- Form Elements --- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; color: var(--dark); }

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--dark);
}
.form-input:focus { outline: none; border-color: var(--rose); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-error { color: var(--red); font-size: 0.85rem; margin-top: 6px; min-height: 20px; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(26,26,46,0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--rose);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 600;
}
.logo-accent { color: var(--rose-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  padding: 8px 16px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 400;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(183,110,121,0.25); }

.nav-login-btn {
  background: var(--rose) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
}
.nav-login-btn:hover { background: var(--rose-dark) !important; }

.nav-user-menu { position: relative; }
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(183,110,121,0.2);
  color: var(--white);
  transition: background var(--transition);
}
.nav-user-btn:hover { background: rgba(183,110,121,0.4); }
.nav-user-avatar {
  width: 30px; height: 30px;
  background: var(--rose);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}
.nav-user-name { font-size: 0.85rem; }

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 160px;
  display: none;
  z-index: 100;
}
.nav-user-dropdown.show { display: block; }
.nav-user-dropdown a, .nav-user-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 18px;
  color: var(--dark);
  font-size: 0.9rem;
  transition: background var(--transition);
}
.nav-user-dropdown a:hover, .nav-user-dropdown button:hover { background: var(--gray-100); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Pages --- */
.page { display: none; padding-top: var(--nav-height); min-height: 100vh; }
.page.active { display: block; }

.page-header {
  padding: 60px 20px 40px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(26,26,46,0.82) 0%, rgba(58,58,94,0.8) 100%),
    url('../images/amrita-art-ai-generated-8441554.jpg') center/cover no-repeat;
  color: var(--white);
}
.page-title {
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.page-subtitle {
  color: var(--rose-light);
  font-size: 1.05rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(26,26,46,0.75) 0%, rgba(22,22,43,0.7) 40%, rgba(42,26,46,0.7) 70%, rgba(58,58,94,0.65) 100%),
    url('../images/kampfmonchichi-ai-generated-8329940.jpg') center 30%/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background:
    radial-gradient(circle at 30% 30%, rgba(183,110,121,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(212,165,116,0.1) 0%, transparent 50%);
  animation: heroGlow 15s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, -3%) scale(1.05); }
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 20px;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
  animation: fadeInUp 0.8s ease;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--rose-light);
  font-style: italic;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-chat-btn {
  border-color: var(--white);
  color: var(--white);
}
.hero-chat-btn:hover {
  background: var(--white);
  color: var(--dark);
}

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

/* --- Sections --- */
.section { padding: 80px 0; }

/* Featured Services */
.featured-section { background: var(--gray-100); }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.featured-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--rose);
}
.featured-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.featured-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.featured-card h3 {
  margin-bottom: 8px;
  color: var(--dark);
}

.featured-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.featured-card .price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--rose);
}

.featured-card .duration {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* Reviews Carousel */
.reviews-section { background: var(--white); }

.reviews-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviews-carousel {
  flex: 1;
  overflow: hidden;
}

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

.review-card {
  min-width: 100%;
  padding: 30px;
}

.review-card-inner {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.review-stars { color: #f5a623; font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 2px; }
.review-text { font-size: 1.05rem; line-height: 1.7; color: var(--dark); margin-bottom: 20px; font-style: italic; }
.review-author { font-weight: 600; color: var(--dark); }
.review-service { font-size: 0.85rem; color: var(--rose); }

.carousel-btn {
  width: 44px; height: 44px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--dark);
  transition: all var(--transition);
  flex-shrink: 0;
}
.carousel-btn:hover { border-color: var(--rose); color: var(--rose); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
}
.carousel-dot.active { background: var(--rose); transform: scale(1.2); }

/* About */
.about-section { background: var(--gray-100); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content p { color: var(--gray-700); margin-bottom: 16px; font-size: 1.02rem; }
.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rose);
}
.stat-label { font-size: 0.85rem; color: var(--gray-500); }

.about-image-placeholder {
  background: linear-gradient(135deg, var(--dark), var(--dark-mid));
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--rose-light);
  font-family: var(--font-heading);
  font-size: 2rem;
  gap: 8px;
}

/* --- Services Page --- */
.category-tabs, .book-category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  padding: 20px 0 0;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 2px solid transparent;
  transition: all var(--transition);
}
.tab-btn:hover { color: var(--rose); border-color: var(--rose-light); }
.tab-btn.active { background: var(--rose); color: var(--white); border-color: var(--rose); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding-bottom: 60px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--rose);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

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

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

.service-card-desc {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.service-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.service-card-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--rose);
}

.service-card-duration {
  font-size: 0.85rem;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 4px 12px;
  border-radius: 50px;
}

/* --- Booking Flow --- */
.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  gap: 0;
  flex-wrap: wrap;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.progress-step.active .step-num,
.progress-step.completed .step-num {
  background: var(--rose);
  color: var(--white);
}

.progress-step.completed .step-num { background: var(--green); }

.step-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}
.progress-step.active .step-label { color: var(--rose); font-weight: 600; }
.progress-step.completed .step-label { color: var(--green); }

.progress-line {
  width: 60px;
  height: 2px;
  background: var(--gray-200);
  margin: 0 8px;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.progress-line.completed { background: var(--green); }

.booking-step {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0 60px;
  animation: fadeInUp 0.4s ease;
}
.booking-step.active { display: block; }

.step-title {
  text-align: center;
  margin-bottom: 24px;
  color: var(--dark);
}

.step-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

/* Booking service cards */
.book-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.book-service-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition);
}
.book-service-card:hover { border-color: var(--rose-light); }
.book-service-card.selected { border-color: var(--rose); background: rgba(183,110,121,0.05); box-shadow: 0 0 0 3px rgba(183,110,121,0.15); }

.book-service-card h4 { margin-bottom: 4px; font-size: 1.05rem; }
.book-service-card .meta { display: flex; gap: 16px; color: var(--gray-500); font-size: 0.85rem; margin-bottom: 6px; }
.book-service-card .meta .price { color: var(--rose); font-weight: 600; }
.book-service-card .desc { color: var(--gray-500); font-size: 0.85rem; }

/* Staff grid */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.staff-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.staff-card:hover { border-color: var(--rose-light); }
.staff-card.selected { border-color: var(--rose); background: rgba(183,110,121,0.05); box-shadow: 0 0 0 3px rgba(183,110,121,0.15); }

.staff-avatar {
  font-size: 3rem;
  margin-bottom: 12px;
}
.staff-card h4 { margin-bottom: 4px; }
.staff-card .role { color: var(--gray-500); font-size: 0.85rem; margin-bottom: 8px; }
.staff-card .specialties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.specialty-tag {
  padding: 3px 10px;
  background: var(--cream);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--rose-dark);
}

/* Date & Time picker */
.datetime-picker {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}

.date-picker-section input[type="date"] {
  font-size: 1rem;
  padding: 14px 16px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.slots-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray-500);
  padding: 30px;
}

.time-slot {
  padding: 12px;
  text-align: center;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
}
.time-slot:hover { border-color: var(--rose-light); background: rgba(183,110,121,0.05); }
.time-slot.selected { border-color: var(--rose); background: var(--rose); color: var(--white); }

/* Booking summary */
.booking-summary {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
}
.booking-summary h3 { margin-bottom: 16px; font-size: 1.1rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
}
.summary-row.total {
  border-top: 2px solid var(--rose-light);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 600;
  font-size: 1rem;
}

/* Confirmation */
.confirmation-content {
  text-align: center;
  padding: 40px 20px;
}
.confirmation-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  color: var(--green);
}
.confirmation-content h2 { margin-bottom: 12px; color: var(--green); }
.confirmation-content p { color: var(--gray-500); margin-bottom: 8px; }
.confirmation-details {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 500px;
  margin: 24px auto;
  text-align: left;
}
.confirmation-details .detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.9rem;
}
.confirmation-details .detail-row:last-child { border-bottom: none; }
.detail-label { font-weight: 500; color: var(--gray-700); }
.detail-value { color: var(--dark); }

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
  padding: 40px 0 60px;
}

.gallery-item {
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  transition: transform var(--transition);
  cursor: pointer;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item span {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  padding: 40px 0 60px;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-icon { font-size: 1.5rem; margin-bottom: 8px; }
.contact-card h3 { margin-bottom: 6px; font-size: 1.1rem; }
.contact-card p { color: var(--gray-700); font-size: 0.9rem; }

.contact-form-wrapper h2 { margin-bottom: 20px; }

.contact-form { margin-bottom: 30px; }

.map-placeholder {
  background: linear-gradient(135deg, var(--dark), var(--dark-mid));
  border-radius: var(--radius);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-inner { text-align: center; color: var(--white); }
.map-pin { font-size: 2rem; display: block; margin-bottom: 10px; }
.map-inner p { margin-bottom: 12px; color: rgba(255,255,255,0.8); }

/* --- Appointments Page --- */
.appointments-list { padding: 30px 0 60px; }

.appointment-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border-left: 4px solid var(--rose);
}
.appointment-card.cancelled { border-left-color: var(--gray-300); opacity: 0.7; }

.appt-info h3 { font-size: 1.1rem; margin-bottom: 6px; }
.appt-info p { font-size: 0.9rem; color: var(--gray-500); }
.appt-info .appt-datetime { color: var(--dark); font-weight: 500; }

.appt-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: capitalize;
  margin-top: 6px;
}
.appt-status.confirmed { background: rgba(76,175,80,0.12); color: var(--green); }
.appt-status.cancelled { background: rgba(231,76,60,0.12); color: var(--red); }

.appt-actions { display: flex; flex-direction: column; gap: 8px; }

.no-appointments {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
}
.no-appointments h3 { margin-bottom: 12px; color: var(--dark); }

.loading-spinner {
  text-align: center;
  padding: 60px;
  color: var(--gray-500);
}

/* --- Admin Dashboard --- */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 0;
}

.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.admin-stat-card .stat-icon { font-size: 1.5rem; margin-bottom: 8px; }
.admin-stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rose);
}
.admin-stat-card .stat-label { font-size: 0.85rem; color: var(--gray-500); margin-top: 4px; }

.admin-section { margin-top: 20px; }
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-header h2 { font-size: 1.4rem; }
.admin-filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.admin-filters .form-input { width: auto; }

.admin-table-wrapper {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th {
  background: var(--dark);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 500;
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
}
.admin-table tr:hover td { background: var(--gray-100); }

.admin-links { margin-top: 40px; padding-bottom: 60px; }
.admin-links h2 { margin-bottom: 20px; }
.admin-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.admin-link-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
  cursor: pointer;
}
.admin-link-card:hover { transform: translateY(-4px); }
.admin-link-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.admin-link-card h3 { margin-bottom: 8px; }
.admin-link-card p { color: var(--gray-500); font-size: 0.9rem; }

/* --- Auth Modal --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}
.modal-overlay.show { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 440px;
  position: relative;
  animation: modalIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 1.6rem;
  color: var(--gray-500);
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--gray-100); }

.modal-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--gray-200);
}
.modal-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-weight: 500;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.modal-tab.active { color: var(--rose); border-bottom-color: var(--rose); }

.modal-title { margin-bottom: 20px; text-align: center; }

/* --- Chat Widget --- */
.chat-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: var(--rose);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(183,110,121,0.4);
  z-index: 1500;
  transition: all var(--transition);
}
.chat-fab:hover { background: var(--rose-dark); transform: scale(1.08); }
.chat-fab.hidden { display: none; }

.chat-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 380px;
  height: 520px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 60px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1500;
  animation: chatIn 0.3s ease;
}
.chat-panel.show { display: flex; }

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

.chat-header {
  background: var(--dark);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 36px; height: 36px;
  background: var(--rose);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}
.chat-header h3 { font-size: 0.95rem; margin-bottom: 2px; }
.chat-status { font-size: 0.75rem; color: var(--green); }
.chat-close {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.chat-close:hover { color: var(--white); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg { display: flex; }
.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-wrap: break-word;
}
.chat-msg.bot .chat-bubble {
  background: var(--gray-100);
  color: var(--dark);
  border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-bubble {
  background: var(--rose);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-typing .chat-bubble { display: flex; gap: 5px; align-items: center; padding: 14px 20px; }
.typing-dot {
  width: 8px; height: 8px;
  background: var(--gray-500);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chat-input-area {
  display: flex;
  padding: 12px 16px;
  gap: 8px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.chat-input {
  flex: 1;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.chat-input:focus { border-color: var(--rose); }
.chat-send {
  width: 42px; height: 42px;
  background: var(--rose);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.chat-send:hover { background: var(--rose-dark); }

.chat-mic {
  width: 42px; height: 42px;
  background: transparent;
  color: var(--gray-500);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition);
}
.chat-mic:hover { color: var(--rose); border-color: var(--rose); }
.chat-mic.listening {
  color: var(--white);
  background: var(--rose);
  border-color: var(--rose);
  animation: micPulse 1.5s infinite;
}
@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(183,110,121,0.4); }
  50% { box-shadow: 0 0 0 10px rgba(183,110,121,0); }
}
.chat-mic.unsupported { display: none; }

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h3, .footer h4 { color: var(--white); margin-bottom: 16px; }
.footer-brand p { margin-bottom: 6px; font-size: 0.9rem; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--rose-light); }
.footer-hours p { font-size: 0.9rem; margin-bottom: 4px; }
.footer-social p { font-size: 0.9rem; margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* --- Toast --- */
.toast {
  position: fixed;
  top: 90px;
  right: 20px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.9rem;
  z-index: 3000;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  box-shadow: var(--shadow-lg);
}
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }
.toast.info { background: var(--dark); }

@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; } }

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

@media (max-width: 992px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-image-placeholder { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-links-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .datetime-picker { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: 4px;
    transition: right var(--transition);
  }
  .nav-links.open { right: 0; }
  .nav-link { width: 100%; padding: 12px 16px; }

  .hero-title { font-size: 2.6rem; }
  .hero-tagline { font-size: 1.2rem; }

  h1, .page-title { font-size: 2rem; }

  .featured-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .book-services-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 1; }

  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-links-grid { grid-template-columns: 1fr; }

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

  .chat-panel {
    width: calc(100% - 16px);
    height: calc(100% - 100px);
    bottom: 8px;
    right: 8px;
    border-radius: var(--radius);
  }

  .booking-progress { gap: 0; }
  .progress-line { width: 30px; }
  .step-label { font-size: 0.65rem; }

  .appointment-card { grid-template-columns: 1fr; }
  .appt-actions { flex-direction: row; }

  .modal { padding: 24px; margin: 10px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .about-stats { flex-direction: column; gap: 16px; }
  .admin-stats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: span 1; }
  .step-label { display: none; }
  .progress-line { width: 20px; }
  .admin-filters { flex-direction: column; width: 100%; }
  .admin-filters .form-input { width: 100%; }
}
