/* Rashidat Spa - Unified Elegant Amethyst Styling Sheet */

:root {
  --background: 0 0% 100%;
  --foreground: 278 36% 12%;
  --card: 0 0% 100%;
  --card-foreground: 278 36% 12%;
  --popover: 0 0% 100%;
  --popover-foreground: 278 36% 12%;
  --primary: 281 72% 44%;
  --primary-foreground: 0 0% 100%;
  --secondary: 288 55% 96%;
  --secondary-foreground: 278 36% 12%;
  --muted: 285 36% 95%;
  --muted-foreground: 276 16% 42%;
  --accent: 288 55% 94%;
  --accent-foreground: 281 72% 34%;
  --destructive: 0 72% 51%;
  --destructive-foreground: 0 0% 100%;
  --success: 142 71% 38%;
  --success-foreground: 0 0% 100%;
  --warning: 38 92% 50%;
  --warning-foreground: 278 36% 12%;
  --info: 199 89% 48%;
  --info-foreground: 0 0% 100%;
  --border: 286 28% 88%;
  --input: 286 28% 88%;
  --ring: 281 72% 44%;
  --radius: 0.625rem;

  --shadow-sm: 0 1px 2px hsl(var(--foreground) / 0.05);
  --shadow-md: 0 4px 12px hsl(var(--foreground) / 0.08);
  --shadow-lg: 0 12px 32px hsl(var(--foreground) / 0.12);
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  background: none;
  border: none;
}

/* Common Layout Elements */
.max-w-7xl {
  max-width: 80rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.overflow-hidden {
  overflow: hidden;
}

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

.font-semibold {
  font-weight: 600;
}

.font-italic {
  font-style: italic;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.text-primary {
  color: hsl(var(--primary));
}

.text-success {
  color: hsl(var(--success));
}

.text-warning {
  color: hsl(var(--warning));
}

.bg-white {
  background-color: hsl(var(--background));
}

.bg-soft-purple {
  background-color: hsl(var(--secondary) / 0.5);
}

.border-t {
  border-top: 1px solid hsl(var(--border));
}

.border {
  border: 1px solid hsl(var(--border));
}

.rounded-xl {
  border-radius: 0.8rem;
}

.hidden {
  display: none !important;
}

.w-full {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border: 1px solid hsl(var(--border));
}

.btn-secondary:hover {
  background-color: hsl(var(--accent));
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: hsl(var(--foreground));
  box-shadow: none;
}

.btn-ghost:hover {
  background-color: hsl(var(--accent));
}

.btn-outline-white {
  background-color: hsl(var(--primary-foreground) / 0.1);
  color: hsl(var(--primary-foreground));
  border: 1px solid hsl(var(--primary-foreground) / 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background-color: hsl(var(--primary-foreground) / 0.2);
  transform: translateY(-2px);
}

/* Navbar styles */
.fixed-nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1rem;
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border) / 0.7);
  transition: all 0.3s ease;
}

.glass {
  background: hsl(var(--popover) / 0.74);
  backdrop-filter: blur(18px);
}

.nav-scrolled {
  background: hsl(var(--primary) / 0.85);
  border-color: hsl(var(--primary-foreground) / 0.18);
  box-shadow: var(--shadow-md);
}

.nav-scrolled .nav-link,
.nav-scrolled .nav-brand,
.nav-scrolled .btn-ghost {
  color: hsl(var(--primary-foreground));
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: hsl(var(--foreground));
}

.brand-sparkle {
  color: hsl(var(--primary));
}
.nav-scrolled .brand-sparkle {
  color: hsl(var(--primary-foreground));
}

.nav-links-desktop {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 64rem) {
  .nav-links-desktop {
    display: flex;
  }
}

.nav-link {
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  color: hsl(var(--foreground));
}

.nav-link:hover,
.nav-link.active {
  background-color: hsl(var(--accent));
  color: hsl(var(--primary));
}

.nav-scrolled .nav-link:hover,
.nav-scrolled .nav-link.active {
  background-color: hsl(var(--primary-foreground) / 0.2);
  color: hsl(var(--primary-foreground));
}

.nav-actions-desktop {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 64rem) {
  .nav-actions-desktop {
    display: flex;
  }
}

.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 9999px;
  cursor: pointer;
  color: hsl(var(--foreground));
}
.nav-scrolled .hamburger-btn {
  color: hsl(var(--primary-foreground));
}

@media (min-width: 64rem) {
  .hamburger-btn {
    display: none;
  }
}

/* Mobile dropdown menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  margin-top: 0.5rem;
  background-color: hsl(var(--popover));
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.mobile-link:hover,
.mobile-link.active {
  background-color: hsl(var(--accent));
  color: hsl(var(--primary));
}

.mobile-actions {
  padding-top: 0.5rem;
  border-top: 1px solid hsl(var(--border));
}

/* Hero elements */
.hero-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-slides-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, hsl(278 36% 8% / 0.82), hsl(281 72% 28% / 0.52), hsl(278 36% 8% / 0.42));
}

.hero-overlay-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1rem 3rem 1rem;
}

.hero-text-content {
  max-width: 48rem;
}

.hero-badge {
  display: inline-flex;
  border-radius: 9999px;
  background-color: hsl(var(--primary) / 0.2);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary-foreground));
  border: 1px solid hsl(var(--primary-foreground) / 0.3);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
  line-height: 1.2;
}

@media (min-width: 40rem) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-description {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: hsl(var(--primary-foreground) / 0.9);
}

.hero-ctas {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 40rem) {
  .hero-ctas {
    flex-direction: row;
  }
}

/* Sections & Luxe BG */
.section-pad {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 64rem) {
  .section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.luxe-bg {
  background: radial-gradient(circle at top left, hsl(var(--primary) / 0.16), transparent 34rem), linear-gradient(180deg, hsl(var(--background)), hsl(var(--secondary) / 0.62));
}

.section-heading {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem auto;
}

.heading-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.heading-title {
  font-size: 2rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 0.5rem;
}

@media (min-width: 40rem) {
  .heading-title {
    font-size: 2.5rem;
  }
}

.heading-title-small {
  font-size: 1.75rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 0.5rem;
}

.heading-text {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
}

/* Featured Services Grid */
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-cols: 1fr;
}

@media (min-width: 48rem) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.featured-service-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  transition: all 0.3s ease;
}

.featured-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 100%;
  object-cover: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.featured-service-card:hover .card-img {
  transform: scale(1.05);
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--primary) / 0.92) 0%, hsl(var(--primary) / 0.35) 60%, transparent 100%);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: hsl(var(--primary-foreground));
}

.card-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.card-content p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* Testimonials / Why Choose Us */
.grid-half-cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 64rem) {
  .grid-half-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card-container {
  display: flex;
  align-items: center;
}

.testimonial-card {
  border-radius: var(--radius);
  padding: 2rem;
  width: 100%;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid hsl(var(--primary) / 0.2);
}

.testimonial-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.testimonial-author {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-top: 1.5rem;
}

.testimonial-review {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.6;
}

.why-choose-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}

@media (min-width: 30rem) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  padding: 1rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

/* Stylists grid */
.stylists-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .stylists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .stylists-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stylist-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.stylist-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.stylist-info {
  padding: 1.5rem;
}

.stylist-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.stylist-info .role {
  color: hsl(var(--primary));
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.stylist-info .exp {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-top: 0.75rem;
}

.features-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Stats */
.bg-primary-block {
  background-color: hsl(var(--primary));
}

.stats-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}

@media (min-width: 64rem) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  padding: 1rem;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.faq-trigger:hover {
  background-color: hsl(var(--accent));
}

.faq-arrow {
  transition: transform 0.2s;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer-container {
  padding: 0 1.25rem 1.25rem 1.25rem;
}

.faq-answer {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Footer Section */
.site-footer {
  border-top: 1px solid hsl(var(--border));
}

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

@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--primary));
}

.footer-desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  max-width: 24rem;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.social-circle {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: hsl(var(--card));
  color: hsl(var(--primary));
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.social-circle:hover {
  transform: translateY(-2px);
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-md);
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

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

.footer-link {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.footer-link:hover {
  color: hsl(var(--primary));
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.info-item svg {
  color: hsl(var(--primary));
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-hours {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-hours svg {
  color: hsl(var(--primary));
  margin-top: 0.125rem;
}

.developer-credit {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-style: italic;
  color: hsl(var(--primary));
}

.developer-credit:hover {
  letter-spacing: 0.05em;
  transition: letter-spacing 0.2s;
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: calc(100% - 2rem);
  max-width: 24rem;
}

.toast-notification {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideIn 0.3s ease;
}

.toast-body {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
}

.toast-content {
  flex-grow: 1;
}

.toast-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.toast-close {
  cursor: pointer;
  color: hsl(var(--muted-foreground));
}

.toast-close:hover {
  color: hsl(var(--foreground));
}

/* Global Animations */
.fade-up {
  animation: fadeUp 0.65s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
