/* ======================================================
   ALLURE - Nail Salon | Main Stylesheet
   ====================================================== */

/* --- Screen Reader Only (SEO text hidden visually) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Variables --- */
:root {
  --primary: #C9A96E;
  --primary-light: #DFC9A0;
  --primary-dark: #A88B4A;
  --secondary: #E8B4B8;
  --secondary-light: #F5D5D8;
  --dark: #2C2C2C;
  --dark-light: #4A4A4A;
  --gray: #8A8A8A;
  --cream: #FFF8F0;
  --cream-dark: #F5EDE0;
  --white: #FFFFFF;
  --bg: #FEFAF6;
  --shadow-sm: 0 2px 8px rgba(44, 44, 44, 0.06);
  --shadow-md: 0 8px 30px rgba(44, 44, 44, 0.08);
  --shadow-lg: 0 20px 60px rgba(44, 44, 44, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-body: 'Heebo', sans-serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-french: 'Playfair Display', serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

input {
  font-family: inherit;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  position: relative;
  padding-right: 20px;
}

.section-tag::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-tag {
  padding-right: 0;
}

.section-header .section-tag::before {
  display: none;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.35);
}

/* --- Animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(254, 250, 246, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .nav-logo-img {
  height: 34px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--dark-light);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg) 0%, var(--cream-dark) 30%, var(--secondary-light) 70%, var(--cream) 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -150px;
  left: -100px;
  animation: floatShape 15s ease-in-out infinite;
}

.shape-2 {
  width: 350px;
  height: 350px;
  background: var(--secondary);
  bottom: -100px;
  right: -80px;
  animation: floatShape 20s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--primary);
  top: 40%;
  right: 15%;
  animation: floatShape 12s ease-in-out infinite 3s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--primary-dark);
  letter-spacing: 2px;
  margin-bottom: 16px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
  font-family: var(--font-french);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 400;
  font-style: italic;
  color: var(--dark);
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 12px;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 300;
  color: var(--dark-light);
  letter-spacing: 4px;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-desc {
  font-size: 1rem;
  color: var(--gray);
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-cta {
  animation: fadeInUp 1s ease 1s both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 1s ease 1.2s both;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

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

/* ========== ABOUT ========== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-frame {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-dark), var(--secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-placeholder span {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.4;
}

.about-image-frame img.about-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-accent-line {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.about-text p {
  color: var(--dark-light);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--cream-dark);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ========== SERVICES ========== */
.services {
  background: var(--bg);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light), transparent);
  opacity: 0;
  transition: var(--transition);
  border-radius: 0 var(--radius-md) 0 60px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cream-dark);
}

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

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

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

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

.service-card .service-price {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
}

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

/* ========== GALLERY ========== */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-dark), var(--secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-placeholder span {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.25;
  transition: var(--transition);
}

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

.gallery-item:hover .gallery-placeholder span {
  opacity: 0.5;
  transform: rotate(45deg);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-overlay span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========== BEFORE & AFTER ========== */
.before-after {
  background: var(--bg);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.ba-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ba-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.ba-card-images {
  display: flex;
  position: relative;
}

.ba-card-side {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.ba-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ba-card:hover .ba-card-img {
  transform: scale(1.03);
}

.ba-card-divider {
  width: 3px;
  background: var(--primary);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.ba-card-label {
  position: absolute;
  top: 10px;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  z-index: 2;
  color: #fff;
  letter-spacing: 0.5px;
}

.ba-card-label-before {
  right: 10px;
  background: rgba(180, 80, 80, 0.85);
}

.ba-card-label-after {
  right: 10px;
  background: rgba(60, 160, 90, 0.85);
}

.ba-card-info {
  padding: 18px 20px;
}

.ba-card-caption {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.ba-card-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .ba-grid {
    grid-template-columns: 1fr;
  }

  .ba-card-img {
    height: 180px;
  }
}

/* ========== BEFORE & AFTER LIGHTBOX ========== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: lightboxFadeIn 0.25s ease;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.15);
}

.lightbox-content {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-ba {
  display: flex;
  gap: 4px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.lightbox-side {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

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

.lightbox-divider {
  width: 3px;
  background: var(--primary);
  flex-shrink: 0;
}

.lightbox-label {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
  color: #fff;
  letter-spacing: 0.5px;
}

.lightbox-label-before {
  background: rgba(180, 80, 80, 0.9);
}

.lightbox-label-after {
  background: rgba(60, 160, 90, 0.9);
}

.lightbox-caption {
  margin-top: 16px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
  opacity: 0.85;
}

@media (max-width: 600px) {
  .lightbox-ba {
    flex-direction: column;
  }

  .lightbox-divider {
    width: 100%;
    height: 3px;
  }

  .lightbox-side img {
    max-height: 40vh;
  }

  .lightbox-close {
    top: 10px;
    right: 14px;
    font-size: 2rem;
  }
}

/* ========== BOOKING – iPhone Frame ========== */
.booking {
  background: var(--bg);
  overflow: hidden;
}

.booking-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- iPhone Frame --- */
.iphone-frame {
  position: relative;
  width: 320px;
  height: 650px;
  background: #1a1a1a;
  border-radius: 52px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #333,
    0 0 0 4px #1a1a1a,
    var(--shadow-lg),
    0 30px 80px rgba(0, 0, 0, 0.2);
}

/* Dynamic Island */
.iphone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
}

.iphone-camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a2a3a;
}

/* Side Buttons */
.iphone-side-btn {
  position: absolute;
  background: #2a2a2a;
  border-radius: 2px;
}

.iphone-btn-silent {
  width: 3px;
  height: 22px;
  right: -3px;
  top: 100px;
}

.iphone-btn-vol-up {
  width: 3px;
  height: 36px;
  right: -3px;
  top: 145px;
}

.iphone-btn-vol-down {
  width: 3px;
  height: 36px;
  right: -3px;
  top: 195px;
}

.iphone-btn-power {
  width: 3px;
  height: 56px;
  left: -3px;
  top: 155px;
}

/* Screen */
.iphone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 42px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.iphone-screen::-webkit-scrollbar {
  display: none;
}

/* Status Bar */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark);
  flex-shrink: 0;
}

.status-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}

.status-icons svg {
  opacity: 0.7;
}

/* App Header */
.app-header {
  text-align: center;
  padding: 8px 20px 12px;
  flex-shrink: 0;
}

.app-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

.app-header p {
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 2px;
  font-weight: 500;
}

/* Step Indicators */
.step-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 8px 30px 16px;
  flex-shrink: 0;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray);
  transition: var(--transition);
  flex-shrink: 0;
}

.step-dot.active {
  background: var(--primary);
  color: var(--white);
}

.step-dot.completed {
  background: var(--primary-light);
  color: var(--white);
}

.step-line {
  width: 30px;
  height: 2px;
  background: var(--cream-dark);
  flex-shrink: 0;
}

/* Booking Steps */
.booking-step {
  display: none;
  padding: 0 20px 20px;
  flex: 1;
  animation: stepFadeIn 0.35s ease;
}

.booking-step.active {
  display: flex;
  flex-direction: column;
}

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateX(-15px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 14px;
}

/* Service Options inside phone */
.service-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex: 1;
  padding-bottom: 10px;
}

.service-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-option:hover {
  border-color: var(--primary-light);
}

.service-option.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.08), rgba(201, 169, 110, 0.03));
}

.service-option-info h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.service-option-info span {
  font-size: 0.72rem;
  color: var(--gray);
}

.service-option-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

/* Date & Time inside phone */
.date-picker-wrapper {
  margin-bottom: 14px;
}

.field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark-light);
  margin-bottom: 6px;
}

.phone-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--dark);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}

.phone-input:focus {
  border-color: var(--primary);
  background: var(--white);
}

.time-slots-wrapper {
  flex: 1;
  overflow-y: auto;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-height: 160px;
  overflow-y: auto;
  padding-bottom: 4px;
}

.time-slots::-webkit-scrollbar {
  width: 3px;
}

.time-slots::-webkit-scrollbar-thumb {
  background: var(--cream-dark);
  border-radius: 3px;
}

.time-slot {
  padding: 8px 4px;
  text-align: center;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--cream);
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
}

.time-slot:hover {
  border-color: var(--primary-light);
}

.time-slot.selected {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.slots-hint {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray);
  padding: 20px 0;
}

.slots-loading {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--primary);
  padding: 20px 0;
}

.no-slots {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--secondary);
  padding: 20px 0;
}

/* Phone Buttons */
.phone-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--primary);
  color: var(--white);
  transition: var(--transition);
  margin-top: 10px;
}

.phone-btn:hover {
  background: var(--primary-dark);
}

.phone-btn-back {
  background: transparent;
  color: var(--gray);
  font-weight: 400;
  font-size: 0.8rem;
  margin-top: 6px;
}

.phone-btn-back:hover {
  color: var(--dark);
  background: transparent;
}

.phone-btn-next {
  margin-top: auto;
}

/* Form Group */
.form-group {
  margin-bottom: 14px;
}

/* Confirmation */
.confirmation-content {
  text-align: center;
  padding: 20px 0;
}

.confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: confirmPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes confirmPop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.confirm-details {
  background: var(--cream);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  text-align: right;
}

.confirm-details p {
  font-size: 0.82rem;
  color: var(--dark-light);
  margin-bottom: 6px;
}

.confirm-details p strong {
  color: var(--dark);
}

/* Home Indicator */
.iphone-home-indicator {
  width: 120px;
  height: 4px;
  border-radius: 4px;
  background: var(--dark);
  opacity: 0.15;
  margin: auto auto 8px;
  flex-shrink: 0;
}

/* Error Message */
.error-msg {
  font-size: 0.75rem;
  color: #E25C5C;
  margin-top: 4px;
}

/* Mobile Booking Fallback (unused — iPhone frame always shown) */
.booking-mobile-fallback {
  display: none;
}

/* ========== CONTACT ========== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-items {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 2px;
}

.waze-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 14px;
  background: #33ccff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.waze-btn:hover {
  background: #28b8e8;
  transform: translateY(-1px);
}
.waze-btn svg {
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-light);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
}

.contact-visual {
  position: relative;
  height: 400px;
}

.contact-deco {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deco-circle {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 2px solid var(--cream-dark);
  position: relative;
}

.deco-circle::before {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid var(--primary-light);
  opacity: 0.4;
}

.deco-circle::after {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.2;
}

.deco-line {
  position: absolute;
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, var(--primary-light), transparent);
  bottom: 0;
  left: 50%;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  padding: 40px 0;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--gray);
}

.footer-credit {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 8px;
  opacity: 0.7;
}

.footer-credit a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .about-grid {
    gap: 50px;
  }

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

  .contact-grid {
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
  }

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

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    max-width: 350px;
    margin: 0 auto;
  }

  .about-stats {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .gallery-item-tall {
    grid-row: span 1;
  }

  .gallery-item-wide {
    grid-column: span 1;
  }

  /* Scale iPhone frame for mobile */
  .iphone-frame {
    width: 280px;
    height: 570px;
    border-radius: 44px;
    padding: 10px;
  }

  .iphone-screen {
    border-radius: 36px;
  }

  .iphone-notch {
    width: 85px;
    height: 24px;
    top: 14px;
  }

  .booking-mobile-fallback {
    display: none;
  }

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

  .contact-visual {
    display: none;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 50px 0;
  }

  .hero-title {
    letter-spacing: 6px;
  }

  .about-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

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

  .iphone-frame {
    width: 260px;
    height: 530px;
    border-radius: 40px;
    padding: 8px;
  }

  .iphone-screen {
    border-radius: 34px;
  }

  .iphone-notch {
    width: 80px;
    height: 22px;
    top: 12px;
  }

  .step-title {
    font-size: 0.88rem;
  }

  .service-option {
    padding: 10px 12px;
  }

  .service-option-info h5 {
    font-size: 0.8rem;
  }
}

/* ======================================================
   ACCESSIBILITY (נגישות) - Israeli Standard SI 5568
   ====================================================== */

/* --- Skip to Content Link --- */
.skip-to-content {
  position: absolute;
  top: -100px;
  right: 0;
  background: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  z-index: 10000;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0 0 0 var(--radius-sm);
  transition: top 0.3s ease;
  text-decoration: none;
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--dark);
  outline-offset: 2px;
}

/* --- Focus Outlines (Keyboard Navigation) --- */
*:focus-visible {
  outline: 3px solid var(--primary) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

/* --- Accessibility Toggle Button (Floating) --- */
.a11y-trigger {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: none;
  font-size: 1.5rem;
  line-height: 1;
}

.a11y-trigger:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
}

.a11y-trigger svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* --- Accessibility Panel --- */
.a11y-panel {
  position: fixed;
  bottom: 86px;
  left: 24px;
  z-index: 9999;
  width: 320px;
  max-height: 80vh;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
  direction: rtl;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.a11y-panel.open {
  display: flex;
  animation: a11ySlideUp 0.3s ease;
}

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

.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--primary);
  color: var(--white);
}

.a11y-panel-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  font-family: var(--font-body);
}

.a11y-panel-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.a11y-panel-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.a11y-panel-body {
  padding: 16px 20px;
  overflow-y: auto;
  max-height: calc(80vh - 60px);
}

.a11y-section {
  margin-bottom: 16px;
}

.a11y-section-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--cream-dark);
}

.a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.a11y-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dark);
  text-align: center;
  line-height: 1.3;
  min-height: 72px;
}

.a11y-btn:hover {
  border-color: var(--primary-light);
  background: var(--cream-dark);
}

.a11y-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--dark);
}

.a11y-btn-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.a11y-font-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.a11y-font-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--cream-dark);
  background: var(--cream);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-family: var(--font-body);
}

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

.a11y-font-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  min-width: 40px;
  text-align: center;
}

.a11y-reset {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  background: none;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  text-align: center;
  transition: var(--transition);
}

.a11y-reset:hover {
  border-color: #e74c3c;
  color: #e74c3c;
}

.a11y-stmt-link {
  display: block;
  text-align: center;
  padding: 10px;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.a11y-stmt-link:hover {
  color: var(--primary-dark);
}

/* --- Accessibility Modes (applied to body) --- */

/* High Contrast */
body.a11y-high-contrast {
  background: #000 !important;
  color: #fff !important;
}

body.a11y-high-contrast * {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body.a11y-high-contrast img {
  filter: contrast(1.2);
}

body.a11y-high-contrast a,
body.a11y-high-contrast button {
  color: #ffff00 !important;
}

body.a11y-high-contrast .a11y-trigger {
  background: #ffff00 !important;
  color: #000 !important;
}

body.a11y-high-contrast .a11y-panel {
  border: 2px solid #fff !important;
}

body.a11y-high-contrast .a11y-panel-header {
  background: #333 !important;
}

body.a11y-high-contrast .a11y-btn.active {
  border-color: #ffff00 !important;
  background: #333 !important;
}

/* Grayscale - use pseudo-element to avoid breaking position:fixed */
body.a11y-grayscale::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  backdrop-filter: grayscale(100%);
  -webkit-backdrop-filter: grayscale(100%);
}

/* Link Highlighting */
body.a11y-highlight-links a {
  text-decoration: underline !important;
  outline: 2px solid var(--primary) !important;
  outline-offset: 2px !important;
  color: var(--primary) !important;
}

body.a11y-highlight-links.a11y-high-contrast a {
  outline-color: #ffff00 !important;
  color: #ffff00 !important;
}

/* Readable Font */
body.a11y-readable-font,
body.a11y-readable-font * {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.5px !important;
}

/* Stop Animations */
body.a11y-no-animations *,
body.a11y-no-animations *::before,
body.a11y-no-animations *::after {
  animation: none !important;
  transition: none !important;
}

/* Large Cursor */
body.a11y-large-cursor,
body.a11y-large-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M10 6 L10 50 L22 38 L34 56 L42 52 L30 34 L46 34 Z' fill='%23000000' stroke='%23ffffff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 5 5, auto !important;
}

/* Text Spacing */
body.a11y-text-spacing {
  letter-spacing: 0.12em !important;
  word-spacing: 0.16em !important;
}

body.a11y-text-spacing p,
body.a11y-text-spacing li,
body.a11y-text-spacing span,
body.a11y-text-spacing div {
  line-height: 2 !important;
}

/* --- Accessibility Statement Modal --- */
.a11y-stmt-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
  animation: a11yFadeIn 0.25s ease;
}

@keyframes a11yFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.a11y-stmt-modal {
  background: var(--white);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  direction: rtl;
  animation: a11ySlideUp 0.3s ease;
}

.a11y-stmt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: var(--primary);
  color: var(--white);
  flex-shrink: 0;
}

.a11y-stmt-modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.a11y-stmt-modal-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  padding: 0;
}

.a11y-stmt-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.a11y-stmt-modal-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
}

.a11y-stmt-modal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 24px;
  margin-bottom: 10px;
}

.a11y-stmt-modal-body h3:first-child {
  margin-top: 0;
}

.a11y-stmt-modal-body p,
.a11y-stmt-modal-body li {
  font-size: 0.95rem;
  color: var(--dark-light);
  line-height: 1.8;
  margin-bottom: 6px;
}

.a11y-stmt-modal-body ul {
  list-style: disc;
  padding-right: 24px;
  margin-bottom: 14px;
}

.a11y-stmt-modal-body .stmt-contact {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-top: 16px;
  border: 1px solid var(--cream-dark);
}

.a11y-stmt-modal-body .stmt-contact p {
  margin-bottom: 4px;
}

.a11y-stmt-modal-body .stmt-updated {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 18px;
  font-style: italic;
}

@media (max-width: 480px) {
  .a11y-stmt-overlay {
    padding: 12px;
  }

  .a11y-stmt-modal {
    max-height: 90vh;
    border-radius: var(--radius-sm);
  }

  .a11y-stmt-modal-header {
    padding: 16px 20px;
  }

  .a11y-stmt-modal-body {
    padding: 20px;
  }
}

/* --- Responsive Accessibility --- */
@media (max-width: 480px) {
  .a11y-panel {
    width: calc(100vw - 32px);
    left: 16px;
    bottom: 80px;
  }

  .a11y-trigger {
    width: 46px;
    height: 46px;
    bottom: 18px;
    left: 18px;
  }

  .a11y-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .a11y-btn {
    padding: 10px 6px;
    min-height: 60px;
    font-size: 0.72rem;
  }
}

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

/* --- Keyboard focus styles for interactive booking elements --- */
button.service-option:focus-visible,
button.time-slot:focus-visible {
  outline: 3px solid var(--primary) !important;
  outline-offset: 2px !important;
}

.ba-clickable:focus-visible {
  outline: 3px solid var(--primary) !important;
  outline-offset: 3px !important;
  border-radius: var(--radius-sm);
}

/* --- Invalid input styling --- */
input[aria-invalid="true"] {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.25);
}
