/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

/* CSS Variables - Exact match from React project */
:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 222.2 47.4% 11.2%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 222.2 84% 4.9%;
  --radius: 0.5rem;

  /* Theme For Her - Exact colors from React */
  --her-primary: #69432b;
  --her-secondary: #ECC0A7;
  --her-tertiary: #D4B896;
  --her-background: #FAF8F5;
  --her-text: #5A4A3A;
  --her-accent: #F0E6D6;
  --her-border: #E8DDD0;

  /* Theme For Him - Exact colors from React */
  --him-primary: #3A2E2E;
  --him-secondary: #ECC0A7;
  --him-background: #222222;
  --him-text: #FFFFFF;
  --him-accent: #4A3F3F;
  --him-border: #2C2C2C;
}

.dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;
    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;
    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;
    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%;
    --current-logo-color: var(--color-primary-her);
}

/* Base styles with higher specificity */
* {
  border-color: hsl(var(--border)) !important;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
}

body {
  background-color: hsl(var(--background)) !important;
  color: hsl(var(--foreground)) !important;
}

/* For Her Theme Styles - Higher specificity to override Bootstrap */
body.theme-her,
.theme-her body,
.theme-her {
  font-family: 'Quicksand', 'Open Sans', sans-serif !important;
}

body.theme-her,
.theme-her .app-container {
  background-color: var(--her-background) !important;
  color: var(--her-text) !important;
}

/* Button overrides with higher specificity */
.theme-her .btn.btn-primary,
.theme-her .btn-primary {
  background: linear-gradient(to right, var(--her-primary), var(--her-tertiary), var(--her-secondary)) !important;
  color: white !important;
  border-radius: 9999px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.theme-her .btn.btn-primary:hover,
.theme-her .btn-primary:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px) !important;
  background: linear-gradient(to right, var(--her-primary), var(--her-tertiary), var(--her-secondary)) !important;
  color: white !important;
}

.theme-her .btn.btn-primary:focus,
.theme-her .btn-primary:focus {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
  background: linear-gradient(to right, var(--her-primary), var(--her-tertiary), var(--her-secondary)) !important;
  color: white !important;
}

.theme-her .btn.btn-primary:active,
.theme-her .btn-primary:active {
  background: linear-gradient(to right, var(--her-primary), var(--her-tertiary), var(--her-secondary)) !important;
  color: white !important;
}

/* Card overrides */
/*.theme-her .card {
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px) !important;
  border-radius: 1rem !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  border: 1px solid var(--her-border) !important;
}

.theme-her .card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}*/

    .theme-her .card {
        --tw-border-opacity: 1;
        background-color: rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
        backdrop-filter: blur(4px) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        animation-duration: 0.3s !important;
        overflow: hidden !important;
        border-radius: 1rem !important;
        border: 1px solid rgba(232, 221, 208, var(--tw-border-opacity)) !important;
    }

        .theme-her .card:hover {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
        }


/* Form control overrides */
.theme-her .form-control,
.theme-her .form-select {
  border-radius: 9999px !important;
  border: 1px solid var(--her-border) !important;
  background-color: white !important;
  padding: 0.5rem 1rem !important;
}

.theme-her .form-control:focus,
.theme-her .form-select:focus {
  border-color: var(--her-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(105, 67, 43, 0.25) !important;
}

/* For Her hero section with warm beige glassmorphism */
.theme-her .hero-section {
  background: linear-gradient(135deg, 
    rgba(105, 67, 43, 0.3) 0%, 
    rgba(212, 184, 150, 0.2) 50%, 
    rgba(236, 192, 167, 0.4) 100%) !important;
  backdrop-filter: blur(8px) !important;
}

.theme-her .glass-card {
  background-color: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px) !important;
  border-radius: 1rem !important;
  box-shadow: 0 8px 32px rgba(139, 107, 71, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

/* For Him Theme Styles - Higher specificity to override Bootstrap */
body.theme-him,
.theme-him body,
.theme-him {
  font-family: 'Montserrat', 'Roboto', sans-serif !important;
}

body.theme-him,
.theme-him .app-container {
  background-color: var(--him-background) !important;
  color: var(--him-text) !important;
}

.theme-him .btn.btn-primary,
.theme-him .btn-primary {
  background-color: var(--him-secondary) !important;
  color: var(--him-primary) !important;
  font-weight: 700 !important;
  padding: 0.75rem 1.5rem !important;
  transition: all 0.3s ease !important;
  border: none !important;
  border-radius: 0 !important;
}

.theme-him .btn.btn-primary:hover,
.theme-him .btn-primary:hover {
  background-color: rgba(236, 192, 167, 0.9) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
  color: var(--him-primary) !important;
}

.theme-him .btn.btn-primary:focus,
.theme-him .btn-primary:focus {
  background-color: rgba(236, 192, 167, 0.9) !important;
  color: var(--him-primary) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.theme-him .btn.btn-primary:active,
.theme-him .btn-primary:active {
  background-color: rgba(236, 192, 167, 0.9) !important;
  color: var(--him-primary) !important;
}

/*.theme-him .card {
  background-color: var(--him-accent) !important;
  border-radius: 0 !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  border-left: 4px solid var(--him-secondary) !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

.theme-him .card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
}*/

    .theme-him .card {
        --tw-border-opacity: 1;
        background-color: var(--him-accent) !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
        backdrop-filter: blur(4px) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        animation-duration: 0.3s !important;
        overflow: hidden !important;
        border-radius: 1rem !important;
        border: 1px solid rgba(44, 44, 44, var(--tw-border-opacity)) !important; /* him-border */
    }

.theme-her .card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
}

.theme-him .form-control,
.theme-him .form-select {
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 2px solid var(--him-border) !important;
  background-color: transparent !important;
  padding: 0.5rem 1rem !important;
  color: var(--him-text) !important;
}

.theme-him .form-control:focus,
.theme-him .form-select:focus {
  border-bottom-color: var(--him-secondary) !important;
  background-color: transparent !important;
  color: var(--him-text) !important;
  box-shadow: none !important;
}

/* For Him brutalist design */
.theme-him .brutalist-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.25rem !important;
}

@media (min-width: 768px) {
  .theme-him .brutalist-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
  }
}

.theme-him .brutalist-card {
  background-color: var(--him-primary) !important;
  border-left: 4px solid var(--him-secondary) !important;
  padding: 1rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.3s ease !important;
}

.theme-him .brutalist-card:hover {
  transform: translateX(4px) !important;
}

.theme-him .bold-header {
  color: var(--him-secondary) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.025em !important;
}

@media (min-width: 768px) {
  .theme-him .bold-header {
    font-size: 2.25rem !important;
  }
}

.theme-him .wood-texture {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233A2E2E' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E") !important;
}

/* Animation Classes - Exact match from React */
.hover-scale {
  transition: transform 0.2s ease !important;
}

.hover-scale:hover {
  transform: scale(1.05) !important;
}

.underline-animation {
  position: relative !important;
  display: inline-block !important;
}

.underline-animation::after {
  content: '' !important;
  position: absolute !important;
  width: 100% !important;
  transform: scaleX(0) !important;
  height: 2px !important;
  bottom: 0 !important;
  left: 0 !important;
  background-color: currentColor !important;
  transform-origin: bottom right !important;
  transition: transform 0.3s ease !important;
}

.underline-animation:hover::after {
  transform: scaleX(1) !important;
  transform-origin: bottom left !important;
}

/* Keyframe animations - Exact match from React */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse-soft {
  0% {
    box-shadow: 0 0 0 0 rgba(139, 107, 71, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(139, 107, 71, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(139, 107, 71, 0);
  }
}

@keyframes pulse-bold {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite !important;
}

.theme-her .pulse-animation {
  animation: pulse-soft 2s infinite !important;
}

.theme-him .pulse-animation {
  animation: pulse-bold 2s infinite !important;
}

.theme-her .cta-button {
  background: linear-gradient(to right, var(--her-primary), var(--her-tertiary), var(--her-secondary)) !important;
  color: white !important;
  border-radius: 9999px !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.theme-her .cta-button:hover {
  box-shadow: 0 5px 15px rgba(139, 107, 71, 0.4) !important;
  transform: translateY(-2px) !important;
  background: linear-gradient(to right, var(--her-primary), var(--her-tertiary), var(--her-secondary)) !important;
  color: white !important;
}

.theme-him .cta-button {
  background-color: var(--him-secondary) !important;
  color: var(--him-primary) !important;
  font-weight: 700 !important;
  padding: 1rem 2rem !important;
  transition: all 0.3s ease !important;
  border: none !important;
  border-radius: 0 !important;
}

.theme-him .cta-button:hover {
  background-color: rgba(236, 192, 167, 0.9) !important;
  box-shadow: 0 5px 15px rgba(58, 46, 46, 0.6) !important;
  transform: translateX(4px) !important;
  color: var(--him-primary) !important;
}

/* Button ripple effect */
.ripple-effect {
  position: relative !important;
  overflow: hidden !important;
}

.ripple-effect::after {
  content: '' !important;
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  pointer-events: none !important;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%) !important;
  background-repeat: no-repeat !important;
  background-position: 50% !important;
  transform: scale(10, 10) !important;
  opacity: 0 !important;
  transition: transform 0.5s, opacity 1s !important;
}

.ripple-effect:active::after {
  transform: scale(0, 0) !important;
  opacity: 0.3 !important;
  transition: 0s !important;
}

/* Service cards with exact styling from React */
.service-card-her {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(212, 184, 150, 0.2) 50%, 
    rgba(240, 230, 214, 0.6) 100%) !important;
  backdrop-filter: blur(8px) !important;
  border-radius: 1rem !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

.service-card-her:hover {
  box-shadow: 0 10px 25px -5px rgba(139, 107, 71, 0.3) !important;
  transform: translateY(-5px) !important;
}

.service-card-him {
  background-color: var(--him-accent) !important;
  border-left: 4px solid var(--him-secondary) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  border-radius: 0 !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

.service-card-him:hover {
  box-shadow: 0 10px 25px -5px rgba(58, 46, 46, 0.5) !important;
  transform: translateX(8px) !important;
}

/* Navbar styling with higher specificity */
.theme-her .navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid var(--her-border) !important;
}

.theme-her .navbar-brand,
.theme-her .nav-link {
  color: var(--her-text) !important;
  font-weight: 500 !important;
}

.theme-her .nav-link:hover {
  color: var(--her-primary) !important;
}

.theme-him .navbar {
  background-color: var(--him-accent) !important;
  border-bottom: 2px solid var(--him-secondary) !important;
}

.theme-him .navbar-brand,
.theme-him .nav-link {
  color: var(--him-text) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.theme-him .nav-link:hover {
  color: var(--him-secondary) !important;
}

/* Hero section styling */
.hero-section {
  position: relative !important;
  height: 100vh !important;
  min-height: 600px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-slide {
  height: 100vh !important;
  min-height: 600px !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative !important;
}

.hero-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  align-items: center !important;
}

/* Theme-specific body styling */
body.theme-her {
  background-color: var(--her-background) !important;
  color: var(--her-text) !important;
}

body.theme-him {
  background-color: var(--him-background) !important;
  color: var(--him-text) !important;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(120, 119, 108, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(120, 119, 108, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(120, 119, 108, 0.3) 0%, transparent 50%) !important;
}

/* Card hover effects */
.salon-card,
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

    .salon-card:hover,
    .service-card:hover {
        --tw-scale-x: 1.05;
        --tw-scale-y: 1.05;
        transform: translate(0, 0) rotate(0) skew(0) skewY(0) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    }

/*.theme-him .salon-card:hover,
.theme-him .service-card:hover {
  transform: translateX(8px) !important;
}*/

/* Testimonial cards */
.testimonial-card {
  transition: transform 0.3s ease !important;
}

.testimonial-card:hover {
  transform: translateY(-3px) !important;
}

/* Image styles */
.card-img-top-wrapper {
  height: 200px !important;
  overflow: hidden !important;
}

.card-img-top {
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

.card:hover .card-img-top {
  transform: scale(1.05) !important;
}

/* Avatar placeholders */
.avatar-placeholder {
  width: 50px !important;
  height: 50px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-weight: bold !important;
}

.team-avatar {
  width: 80px !important;
  height: 80px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-weight: bold !important;
  font-size: 1.5rem !important;
}

/* Booking progress steps */
.progress-steps {
  margin-bottom: 2rem !important;
}

.step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: relative !important;
  flex: 1 !important;
}

.step-circle {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background-color: #e9ecef !important;
  color: #6c757d !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: bold !important;
  margin-bottom: 0.5rem !important;
  transition: all 0.3s ease !important;
}

.step.active .step-circle {
  background-color: var(--her-primary) !important;
  color: white !important;
}

.theme-him .step.active .step-circle {
  background-color: var(--him-secondary) !important;
  color: var(--him-primary) !important;
}

.step.completed .step-circle {
  background-color: #28a745 !important;
  color: white !important;
}

.step-label {
  font-size: 0.875rem !important;
  text-align: center !important;
  color: #6c757d !important;
}

.step.active .step-label {
  color: var(--her-primary) !important;
  font-weight: 600 !important;
}

.theme-him .step.active .step-label {
  color: var(--him-secondary) !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-section {
    height: 70vh !important;
    min-height: 500px !important;
  }
  
  .hero-slide {
    height: 70vh !important;
    min-height: 500px !important;
  }
  
  .step {
    flex-direction: row !important;
    justify-content: flex-start !important;
  }
  
  .step-circle {
    margin-right: 1rem !important;
    margin-bottom: 0 !important;
  }
}

/* Utility classes */
.min-vh-100 {
  min-height: 100vh !important;
}

.object-cover {
  object-fit: cover !important;
}

.shadow-lg {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Contact form styling */
.contact-icon {
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Gallery images */
.gallery-image {
  height: 200px !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
  cursor: pointer !important;
}

.gallery-image:hover {
  transform: scale(1.05) !important;
}

/* Time slot buttons */
.time-slot {
  margin: 0.25rem !important;
  min-width: 100px !important;
}

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

.theme-him .time-slot.selected {
  background-color: var(--him-secondary) !important;
  border-color: var(--him-secondary) !important;
  color: var(--him-primary) !important;
}

/* Booking options */
.salon-option, 
.service-option, 
.staff-option {
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.salon-option:hover, 
.service-option:hover, 
.staff-option:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.theme-him .salon-option:hover,
.theme-him .service-option:hover,
.theme-him .staff-option:hover {
  transform: translateX(4px) !important;
}

.salon-option.selected, 
.service-option.selected, 
.staff-option.selected {
  border: 2px solid var(--her-primary) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}

.theme-him .salon-option.selected,
.theme-him .service-option.selected,
.theme-him .staff-option.selected {
  border: 2px solid var(--him-secondary) !important;
}

/* Booking steps */
.booking-step {
  display: none !important;
}

.booking-step.active {
  display: block !important;
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out !important;
}

/* Theme modal styling */
.theme-modal .modal-content {
  border-radius: 1rem !important;
  border: none !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

.theme-btn {
  border-radius: 0.5rem !important;
  padding: 2rem !important;
  border: 2px solid transparent !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.theme-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.theme-btn[data-theme="her"] {
  background: linear-gradient(135deg, var(--her-background), var(--her-accent)) !important;
  color: var(--her-text) !important;
  border-color: var(--her-primary) !important;
}

.theme-btn[data-theme="him"] {
  background: linear-gradient(135deg, var(--him-background), var(--him-accent)) !important;
  color: var(--him-text) !important;
  border-color: var(--him-secondary) !important;
}


.gender-her {
    border-radius: 0.5rem !important;
    padding: 2rem !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, var(--her-background), var(--her-accent)) !important;
    color: var(--her-text) !important;
    border-color: var(--her-primary) !important;
}

.gender-him {
    border-radius: 0.5rem !important;
    padding: 2rem !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, var(--him-background), var(--him-accent)) !important;
    color: var(--him-text) !important;
    border-color: var(--him-secondary) !important;
}


.gender-her:hover , .gender-him:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}


/* Hero Slider Styles - Exact match from React HeroSlider component */
.hero-slider-section {
  position: relative !important;
  height: 600px !important;
  overflow: hidden !important;
}

.hero-slider {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.hero-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  transition: opacity 1s ease-in-out !important;
}

.hero-slide.active {
  opacity: 1 !important;
}

.hero-slide-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.hero-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.4) !important;
}

.hero-content {
  position: relative !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
}

.hero-text {
  text-align: center !important;
  color: white !important;
  max-width: 800px !important;
  padding: 0 1rem !important;
}

.hero-title {
  font-size: 2.5rem !important;
  font-weight: bold !important;
  margin-bottom: 1.5rem !important;
  color: white !important;
  animation: fadeInUp 1s ease-out !important;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem !important;
  }
}

.hero-subtitle {
  font-size: 1.125rem !important;
  margin-bottom: 2rem !important;
  color: white !important;
  animation: fadeInUp 1s ease-out 0.2s both !important;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem !important;
  }
}

.hero-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  align-items: center !important;
  animation: fadeInUp 1s ease-out 0.4s both !important;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row !important;
    justify-content: center !important;
  }
}

.hero-btn-primary {
  padding: 0.75rem 1.5rem !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  border: none !important;
}

.theme-her .hero-btn-primary {
  background-color: white !important;
  color: var(--her-primary) !important;
}

.theme-her .hero-btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: var(--her-primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.theme-him .hero-btn-primary {
  background-color: var(--him-secondary) !important;
  color: var(--him-primary) !important;
}

.theme-him .hero-btn-primary:hover {
  background-color: rgba(236, 192, 167, 0.9) !important;
  color: var(--him-primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.hero-btn-secondary {
  padding: 0.75rem 1.5rem !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  background-color: transparent !important;
  border: 2px solid white !important;
  color: white !important;
}

.theme-her .hero-btn-secondary:hover {
  background-color: white !important;
  color: var(--her-primary) !important;
}

.theme-him .hero-btn-secondary {
  border-color: var(--him-secondary) !important;
  color: var(--him-secondary) !important;
}

.theme-him .hero-btn-secondary:hover {
  background-color: var(--him-secondary) !important;
  color: var(--him-primary) !important;
}

/* Navigation Arrows */
.hero-nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  color: white !important;
  transition: all 0.3s ease !important;
  z-index: 3 !important;
  cursor: pointer !important;
}

.hero-nav-prev {
  left: 1rem !important;
}

.hero-nav-next {
  right: 1rem !important;
}

.theme-her .hero-nav-btn {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

.theme-her .hero-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

.theme-him .hero-nav-btn {
  background-color: rgba(236, 192, 167, 0.2) !important;
}

.theme-him .hero-nav-btn:hover {
  background-color: rgba(236, 192, 167, 0.3) !important;
}

/* Slide Indicators */
.hero-indicators {
  position: absolute !important;
  bottom: 1rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 0.5rem !important;
  z-index: 3 !important;
}

.hero-indicator {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  border: none !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.hero-indicator.active {
  background-color: white !important;
}

.theme-him .hero-indicator.active {
  background-color: var(--him-secondary) !important;
}

/* Fade in animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Section Styling */
.services-title {
  margin-bottom: 3rem !important;
}

.theme-her .services-title {
  color: var(--her-primary) !important;
}

.theme-him .services-title {
  color: var(--him-secondary) !important;
}

.service-image {
  height: 200px !important;
  object-fit: cover !important;
  width: 100% !important;
}

.service-title {
  margin-bottom: 1rem !important;
}

.theme-her .service-title {
    color: rgb(31 41 55 / var(1, 1)) !important;
}

.theme-him .service-title {
  color: var(--him-text) !important;
}

.service-text {
  margin-bottom: 1.5rem !important;
}

.theme-her .service-text {
    color: rgb(75 85 99 / var(1, 1)) !important;
}

.theme-him .service-text {
  color: var(--him-text) !important;
}

.service-link {
  text-decoration: none !important;
}

/* Featured Salons Section */
.featured-salons-section {
  background-color: var(--her-background) !important;
}

.theme-him .featured-salons-section {
  background-color: var(--him-background) !important;
}

.featured-title {
  margin-bottom: 1rem !important;
}

.theme-her .featured-title {
  color: var(--her-text) !important;
}

.theme-him .featured-title {
  color: var(--him-text) !important;
}

.featured-subtitle {
  margin-bottom: 3rem !important;
}

.theme-her .featured-subtitle {
  color: var(--her-text) !important;
}

.theme-him .featured-subtitle {
  color: var(--him-text) !important;
}

.salon-title {
  margin-bottom: 0.75rem !important;
}

.theme-her .salon-title {
  color: var(--her-text) !important;
}

.theme-him .salon-title {
  color: var(--him-text) !important;
}

.salon-text {
  margin-bottom: 1rem !important;
}

.theme-her .salon-text {
  color: var(--her-text) !important;
}

.theme-him .salon-text {
  color: var(--him-text) !important;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--her-accent) !important;
}

.theme-him .testimonials-section {
  background-color: var(--him-accent) !important;
}

.testimonials-title {
  margin-bottom: 3rem !important;
}

.theme-her .testimonials-title {
  color: var(--her-text) !important;
}

.theme-him .testimonials-title {
  color: var(--him-secondary) !important;
}

.testimonial-card {
  border-radius: 0.5rem !important;
  transition: transform 0.3s ease !important;
}

.theme-her .testimonial-card {
  background-color: white !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.theme-him .testimonial-card {
  background-color: var(--him-primary) !important;
  border: 1px solid var(--him-border) !important;
}

.testimonial-card:hover {
  transform: translateY(-3px) !important;
}

.testimonial-name {
  margin-bottom: 0.25rem !important;
}

.theme-her .testimonial-name {
  color: var(--her-text) !important;
}

.theme-him .testimonial-name {
  color: white !important;
}

.testimonial-text {
  margin-bottom: 1rem !important;
}

.theme-her .testimonial-text {
  color: var(--her-text) !important;
}

.theme-him .testimonial-text {
  color: var(--him-text) !important;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--her-primary), var(--her-secondary)) !important;
  color: white !important;
}

.theme-him .cta-section {
  background: linear-gradient(135deg, var(--him-primary), var(--him-accent)) !important;
}

.cta-title {
  margin-bottom: 1.5rem !important;
  color: white !important;
}

.cta-text {
  margin-bottom: 2rem !important;
  color: white !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.theme-her .cta-button {
  background-color: white !important;
  color: var(--her-primary) !important;
  border-radius: 9999px !important;
  border: none !important;
  text-decoration: none !important;
}

.theme-her .cta-button:hover {
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: var(--her-primary) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-2px) !important;
}

.theme-him .cta-button {
  background-color: var(--him-secondary) !important;
  color: var(--him-primary) !important;
  border-radius: 0 !important;
  border: none !important;
  text-decoration: none !important;
}

.theme-him .cta-button:hover {
  background-color: rgba(236, 192, 167, 0.9) !important;
  color: var(--him-primary) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
  transform: translateX(4px) !important;
}

/* Responsive adjustments for hero slider */
@media (max-width: 768px) {
  .hero-slider-section {
    height: 500px !important;
  }
  
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .hero-nav-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }
  
  .hero-nav-prev {
    left: 0.5rem !important;
  }
  
  .hero-nav-next {
    right: 0.5rem !important;
  }
}

/* Ensure proper z-index stacking */
.hero-slider {
  z-index: 1 !important;
}

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

.hero-nav-btn,
.hero-indicators {
  z-index: 3 !important;
}



/* Text Color Override */
.theme-her .text-primary {
    color: var(--her-primary) !important;
}

.theme-him .text-primary {
    color: var(--him-secondary) !important;
}

/* Background Color Override */
.theme-her .bg-primary {
    background-color: var(--her-primary) !important;
    color: white !important; /* Optional: Ensure readable text */
}

.theme-him .bg-primary {
    background-color: var(--him-primary) !important;
    color: white !important;
}


/* Her Theme - Outline Primary Button */
.theme-her .btn-outline-primary {
    color: var(--her-primary) !important;
    border-color: var(--her-primary) !important;
    background-color: transparent !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

    .theme-her .btn-outline-primary:hover,
    .theme-her .btn-outline-primary:focus,
    .theme-her .btn-outline-primary:active {
        background-color: var(--her-primary) !important;
        color: white !important;
        border-color: var(--her-primary) !important;
    }

        .theme-her .btn-outline-primary:hover a.nav-link,
        .theme-her .btn-outline-primary:focus a.nav-link,
        .theme-her .btn-outline-primary:active a.nav-link {
            color: white !important;
        }


/* Him Theme - Outline Primary Button */
.theme-him .btn-outline-primary {
    color: var(--him-primary) !important;
    border-color: var(--him-primary) !important;
    background-color: transparent !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

    .theme-him .btn-outline-primary:hover,
    .theme-him .btn-outline-primary:focus,
    .theme-him .btn-outline-primary:active {
        background-color: var(--him-primary) !important;
        color: var(--him-text) !important;
        border-color: var(--him-primary) !important;
    }



.theme-her .text-primary {
    --tw-text-opacity: 1;
    color: rgb(105 67 43 / var(--tw-text-opacity, 1));
    font-weight: 500;
}

.card-details {
    padding:2rem;
}

/* Date Picker Container */
.date-picker-container {
    background-color: white !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.theme-him .date-picker-container {
    background-color: var(--him-primary) !important;
    border: 1px solid var(--him-border) !important;
}

.date-display {
    max-width: 200px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 0.5rem 1rem !important;
    background-color: white !important;
}

.theme-him .date-display {
    background-color: var(--him-accent) !important;
    border-color: var(--him-border) !important;
    color: white !important;
}

.week-navigation {
    display: flex !important;
    align-items: center !important;
}

    .week-navigation .btn {
        width: 36px !important;
        height: 36px !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

.theme-her .week-navigation .btn {
    border-color: var(--her-primary) !important;
    color: var(--her-primary) !important;
}

    .theme-her .week-navigation .btn:hover {
        background-color: var(--her-primary) !important;
        color: white !important;
    }

.theme-him .week-navigation .btn {
    border-color: var(--him-secondary) !important;
    color: var(--him-secondary) !important;
}

    .theme-him .week-navigation .btn:hover {
        background-color: var(--him-secondary) !important;
        color: var(--him-primary) !important;
    }

/* Weekly Calendar */
.weekly-calendar {
    margin-top: 1rem !important;
}

.day-item {
    background-color: #f8f9fa !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 1rem 0.5rem !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-height: 80px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.theme-him .day-item {
    background-color: var(--him-accent) !important;
    border-color: var(--him-border) !important;
}

.day-item:hover:not(.disabled) {
    border-color: var(--her-primary) !important;
    background-color: rgba(105, 67, 43, 0.1) !important;
}

.theme-him .day-item:hover:not(.disabled) {
    border-color: var(--him-secondary) !important;
    background-color: rgba(236, 192, 167, 0.1) !important;
}

.day-item.selected {
    background-color: var(--her-primary) !important;
    border-color: var(--her-primary) !important;
    color: white !important;
}

.theme-him .day-item.selected {
    background-color: var(--him-secondary) !important;
    border-color: var(--him-secondary) !important;
    color: var(--him-primary) !important;
}

.day-item.today {
    background-color: var(--her-secondary) !important;
    border-color: var(--her-primary) !important;
    color: var(--her-primary) !important;
    font-weight: 600 !important;
}

.theme-him .day-item.today {
    background-color: var(--him-accent) !important;
    border-color: var(--him-secondary) !important;
    color: var(--him-secondary) !important;
}

.day-item.disabled {
    background-color: #f5f5f5 !important;
    color: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.day-name {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    margin-bottom: 0.25rem !important;
    opacity: 0.8 !important;
}

.day-number {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
}

/* Time Slots Grid */
.time-slots-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
}

.time-slot {
    background-color: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 0.75rem 1rem !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    color: #333 !important;
}

.theme-him .time-slot {
    background-color: var(--him-accent) !important;
    border-color: var(--him-border) !important;
    color: white !important;
}

.time-slot:hover {
    border-color: var(--her-primary) !important;
    background-color: rgba(105, 67, 43, 0.1) !important;
    color: var(--her-primary) !important;
}

.theme-him .time-slot:hover {
    border-color: var(--him-secondary) !important;
    background-color: rgba(236, 192, 167, 0.1) !important;
    color: var(--him-secondary) !important;
}

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

.theme-him .time-slot.selected {
    background-color: var(--him-secondary) !important;
    border-color: var(--him-secondary) !important;
    color: var(--him-primary) !important;
}

.theme-her {
    --current-logo-color: var(--color-primary-her);
}

.theme-him {
    --current-logo-color: var(--color-primary-him);
}

/* SVG Logo Styling */
.theme-her .logo-header-her,
.theme-her .logo-footer-her,
.theme-him .logo-header-him,
.theme-him .logo-footer-him {
    display: block;
    width:200px;
}

    .theme-her .logo-header-him,
    .theme-her .logo-footer-him,
    .theme-him .logo-header-her,
    .theme-him .logo-footer-her {
        display: none;
    }



.accordion-button:not(.collapsed) {
    color: #5a4a3a;
    background-color: #ecc0a7;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}