/* ============================================
   LAVISH HAIRSTYLES – Shared Design System
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700;800&display=swap');

/* ===== CSS Variables ===== */
:root {
  --pink: #d63384;
  --deep-rose: #ff1493;
  --blush: #fff0f6;
  --soft-pink: #ffe6f0;
  --cream: #fff8fc;
  --plum: #5a2a4f;
  --dark-plum: #3b2f2f;
  --gold: #f4c150;
  --whatsapp: #25D366;
  --white: #ffffff;
  --header-height: 75px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--cream);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
}

/* ===== Page Load Animation ===== */
@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body>*:not(header):not(.floating-socials):not(.floating-ai-btn) {
  animation: pageReveal 0.6s ease both;
}

/* ============================================
   HEADER – Glassmorphism + Hamburger
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255, 248, 252, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(214, 51, 132, 0.1);
  box-shadow: 0 4px 30px rgba(214, 51, 132, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  min-height: var(--header-height);
}

.logo {
  height: 52px;
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

/* Desktop Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-plum);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 30px;
  position: relative;
  transition: color var(--transition), background var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--deep-rose));
  border-radius: 2px;
  transition: transform var(--transition);
}

.nav-links a:hover {
  color: var(--pink);
}

.nav-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* CTA Button in Nav */
.nav-cta {
  background: linear-gradient(135deg, var(--pink), var(--deep-rose));
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 35px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 15px rgba(214, 51, 132, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 6px 22px rgba(214, 51, 132, 0.5) !important;
  color: var(--white) !important;
}

/* Call Button */
.nav-call {
  background: rgba(214, 51, 132, 0.1) !important;
  color: var(--pink) !important;
  font-weight: 600 !important;
  border-radius: 35px !important;
  padding: 10px 20px !important;
  white-space: nowrap;
}

.nav-call::after {
  display: none !important;
}

.nav-call:hover {
  background: rgba(214, 51, 132, 0.18) !important;
}

/* ===== Hamburger Toggle ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  z-index: 10001;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--pink);
  border-radius: 3px;
  transition: all 0.35s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav Panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: rgba(255, 248, 252, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 24px 30px;
  box-shadow: 0 15px 40px rgba(214, 51, 132, 0.12);
  border-bottom: 2px solid rgba(214, 51, 132, 0.08);
  z-index: 9998;
  flex-direction: column;
  gap: 6px;
  animation: slideDown 0.3s ease;
}

.mobile-nav.open {
  display: flex;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav a {
  display: block;
  text-decoration: none;
  color: var(--dark-plum);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 14px 20px;
  border-radius: 14px;
  transition: all var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a:active {
  background: var(--blush);
  color: var(--pink);
  transform: translateX(6px);
}

.mobile-nav .nav-cta {
  text-align: center;
  margin-top: 10px;
  padding: 14px 24px !important;
  font-size: 1rem !important;
  display: block;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-page {
  height: 80vh;
  margin-top: 0;
}

.hero video,
.hero img.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(48%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(90, 42, 79, 0.3) 0%,
      rgba(214, 51, 132, 0.15) 50%,
      rgba(59, 47, 47, 0.5) 100%);
  z-index: 0;
}

.hero-content {
  z-index: 2;
  padding: 20px;
  max-width: 750px;
  animation: heroFadeIn 1s ease 0.3s both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  line-height: 1.15;
}

.hero-content p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 30px;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.3px;
}

.hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink), var(--deep-rose));
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 8px 25px rgba(214, 51, 132, 0.45);
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 35px rgba(214, 51, 132, 0.6);
}

/* ============================================
   FLOATING AI CHAT BUTTON
   ============================================ */
.floating-ai-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e84393, #d63384);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 18px rgba(214, 51, 132, 0.4), 0 0 0 0 rgba(214, 51, 132, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  animation: aiBtnFloat 3s ease-in-out infinite;
}

.ai-btn-label {
  position: absolute;
  bottom: 66px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: #d63384;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(214, 51, 132, 0.15);
  letter-spacing: 0.3px;
  pointer-events: none;
}

.floating-ai-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 28px rgba(214, 51, 132, 0.55), 0 0 0 8px rgba(214, 51, 132, 0.08);
}

.ai-btn-emoji {
  font-size: 1.6rem;
  line-height: 1;
  filter: brightness(1.2);
}

@keyframes aiBtnFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Tooltip */
.ai-btn-tooltip {
  position: absolute;
  left: 68px;
  background: white;
  color: #5a2a4f;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(-8px) scale(0.95);
  transition: all 0.25s ease;
  pointer-events: none;
}

.ai-btn-tooltip::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: white;
}

.floating-ai-btn:hover .ai-btn-tooltip {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (max-width: 768px) {
  .floating-ai-btn {
    width: 50px;
    height: 50px;
    bottom: 22px;
    left: 30px;
  }

  .ai-btn-emoji {
    font-size: 1.35rem;
  }

  .ai-btn-tooltip {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 85vh;
  }

  .hero-page {
    height: 65vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 75vh;
  }

  .hero-page {
    height: 55vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }
}

/* ============================================
   SECTIONS – General
   ============================================ */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--pink);
  font-size: 2.5rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  section {
    padding: 50px 16px;
  }

  h2 {
    font-size: 2rem;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 60px 20px;
}

.cta-section a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--whatsapp), #1ebe5d);
  color: var(--white);
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.05rem;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.35);
  transition: all var(--transition);
}

.cta-section a:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* ============================================
   FOOTER – Elegant Feminine
   ============================================ */
footer {
  background: linear-gradient(135deg, var(--plum) 0%, #4a1942 50%, var(--pink) 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: 50px 24px 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -30%;
  width: 160%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  animation: footerGlow 20s linear infinite;
}

@keyframes footerGlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand img {
  height: 45px;
  border-radius: 10px;
}

.footer-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.footer-socials img,
.footer-socials svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
}

.footer-credit {
  margin-top: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.3px;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 16px;
  }

  .footer-socials {
    justify-content: center;
  }
}

/* ============================================
   FLOATING SOCIAL ICONS
   ============================================ */
.floating-socials {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9990;
}

.floating-socials a {
  background: var(--white);
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 18px rgba(214, 51, 132, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.floating-socials a:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 25px rgba(214, 51, 132, 0.45);
}

.floating-socials img,
.floating-socials svg {
  width: 26px;
  height: 26px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
  display: none;
}

/* Fade-in on scroll (applied via JS) */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--whatsapp), #1ebe5d);
  color: var(--white);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(37, 211, 102, 0.35);
  transition: all var(--transition);
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn img {
  width: 24px;
  height: 24px;
}