/* =============================================
   SheryShee Makeover — Shared Stylesheet
   Premium Beauty Salon & Academy
   ============================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600;1,700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --rose:        #D4789A;
  --rose-dark:   #B85C7E;
  --rose-light:  #EBA4BD;
  --peach:       #F5C5A3;
  --gold:        #D4AF37;
  --gold-light:  #F0D060;
  --plum:        #4A1942;
  --plum-light:  #6B2D5E;
  --cream:       #FDF6F9;
  --nude:        #E8C9B0;
  --champagne:   #F7E7CE;
  --pastel:      #FFB6C1;
  --coral:       #E88080;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--cream);
  color: #333;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--rose), var(--plum)); border-radius: 4px; }

/* =============================================
   GRADIENTS
   ============================================= */
.gradient-primary  { background: linear-gradient(135deg, #D4789A 0%, #B85C7E 50%, #4A1942 100%); }
.gradient-gold     { background: linear-gradient(135deg, #F7E7CE 0%, #D4AF37 60%, #B8860B 100%); }
.gradient-rose     { background: linear-gradient(135deg, #FFB6C1 0%, #D4789A 60%, #B85C7E 100%); }
.gradient-plum     { background: linear-gradient(135deg, #6B2D5E, #4A1942); }

.gradient-hero {
  background: linear-gradient(135deg,
    rgba(74,25,66,0.90) 0%,
    rgba(180,92,126,0.72) 50%,
    rgba(212,120,154,0.45) 100%);
}

/* Animated gradient text */
.gradient-text {
  background: linear-gradient(135deg, #D4AF37, #D4789A, #4A1942, #D4AF37);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes gradientShift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-14px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 16px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 0 38px rgba(37,211,102,0.80); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0);     }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0);  }
  50%       { transform: translateY(7px); }
}

.float-animation  { animation: float 4s ease-in-out infinite; }
.scroll-indicator { animation: scrollBounce 1.6s ease-in-out infinite; }

/* Hero entrance */
.hero-title    { animation: slideInLeft 0.9s ease forwards; }
.hero-subtitle { animation: slideInLeft 0.9s ease 0.18s forwards; opacity: 0; }
.hero-text     { animation: slideInLeft 0.9s ease 0.36s forwards; opacity: 0; }
.hero-buttons  { animation: slideInUp   0.9s ease 0.54s forwards; opacity: 0; }

/* =============================================
   COMPONENTS — BUTTONS
   ============================================= */
.btn-primary {
  background: linear-gradient(135deg, #D4789A, #B85C7E);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 0.48s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(212,120,154,0.60);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #D4AF37, #B8860B);
  color: #4A1942;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-gold:hover {
  box-shadow: 0 8px 28px rgba(212,175,55,0.60);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--rose);
  color: var(--rose);
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 24px rgba(212,120,154,0.40);
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }

/* =============================================
   COMPONENTS — CARDS
   ============================================= */
.card-hover { transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94); }
.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 55px rgba(212,120,154,0.18);
}

.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.img-zoom:hover img { transform: scale(1.10); }

/* =============================================
   NAVIGATION
   ============================================= */
.nav-link { position: relative; transition: color 0.3s ease; }
.nav-link::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.navbar-scrolled {
  background: rgba(253,246,249,0.97) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 32px rgba(212,120,154,0.14);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-menu.open { max-height: 430px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-slide { display: none; animation: fadeIn 0.45s ease; }
.testimonial-slide.active { display: block; }

/* =============================================
   FAQ
   ============================================= */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer.open { max-height: 220px; }

/* =============================================
   GALLERY & LIGHTBOX
   ============================================= */
.gallery-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(74,25,66,0.7), rgba(212,120,154,0.5));
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.35s ease;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item img { transition: transform 0.55s ease; display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-item:hover img { transform: scale(1.10); }

.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 16px;
}
.lightbox.active { display: flex; }
.lightbox img { max-height: 90vh; max-width: 90vw; border-radius: 16px; object-fit: contain; }

.filter-btn {
  border: 2px solid var(--rose);
  color: var(--rose);
  border-radius: 9999px;
  padding: 8px 22px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(212,120,154,0.40);
}

/* =============================================
   MISC UI
   ============================================= */
.section-divider {
  width: 72px; height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  border-radius: 2px;
  margin: 0 auto 20px;
}
.section-divider.left { margin-left: 0; }

.star { color: var(--gold); }

/* Progress bar */
.progress-bar {
  position: fixed; top: 0; left: 0;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--plum));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Stat divider */
.stat-item { position: relative; }
.stat-item::after {
  content: '';
  position: absolute; right: 0; top: 20%;
  height: 60%; width: 1px;
  background: linear-gradient(transparent, var(--rose), transparent);
}
.stat-item:last-child::after { display: none; }

/* Page hero */
.page-hero {
  min-height: 460px;
  display: flex; align-items: flex-end;
  padding-bottom: 64px;
  padding-top: 100px;
  margin-top: 80px; /* offset for fixed navbar (h-20 = 80px) */
  position: relative;
  overflow: hidden;
}

/* WhatsApp floating */
.whatsapp-float {
  animation: pulseGlow 2.2s ease-in-out infinite;
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9000;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(37,211,102,0.40);
  transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.12); }

/* Mobile sticky footer — hide on desktop */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 8500;
  display: grid; grid-template-columns: repeat(3,1fr);
  background: #fff;
  border-top: 1px solid rgba(212,120,154,0.18);
  box-shadow: 0 -4px 24px rgba(212,120,154,0.12);
}
@media (min-width: 768px) {
  .mobile-cta-bar  { display: none !important; }
  .whatsapp-float  { bottom: 32px; right: 32px; }
}

/* add bottom padding on mobile so content isn't hidden behind sticky bar */
@media (max-width: 767px) {
  footer { padding-bottom: 72px !important; }
}
