/* 
   GLOWKAYA BEAUTY & MAKEUP STUDIO - ULTA-PREMIUM MASTER STYLESHEET
   Aesthetic: Luxury Rose Gold, Beauty Pink & Cream Ivory
   Inspired by elite cosmetic brands (Chanel, Dior Beauty, Charlotte Tilbury)
   Targeted Local SEO: Best Parlor in Manjri, Pune
*/

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* 1. CASCADE LAYERS INITIALIZATION */
@layer reset, base, theme, components, utilities;

@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }
  
  body {
    min-block-size: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
  }
  
  img, picture {
    max-inline-size: 100%;
    display: block;
    height: auto;
  }
  
  button, input, select, textarea {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
}

@layer base {
  :root {
    /* TYPOGRAPHY */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-script: 'Alex Brush', cursive, Georgia, serif;
    
    /* PALETTE - LUXURIOUS IVORY CREAM & BEAMING ROSES */
    --bg-ivory: #FFFDFB;           /* Extremely pure glowing warm ivory background */
    --bg-cream: #FAF2EE;           /* Deep elegant cream tint for section separation */
    --surface-white: #FFFFFF;      /* Clean solid card surface */
    
    /* BRAND BRAND COLORS (Logo Magenta-Pink blended with Champagne Gold) */
    --brand-pink: #E01E8B;         /* Vibrant brand logo pink */
    --brand-pink-rgb: 224, 30, 139;
    --brand-magenta-dark: #7A0A45;  /* Deep majestic wine for headers/text links */
    --brand-pink-light: #FCE8F3;   /* Softest blush pink for micro surfaces */
    
    --brand-gold: #DDB892;         /* Rich champagne gold accent */
    --brand-gold-dark: #B08968;    /* Deep gold for borders and fine lines */
    --brand-gold-gradient: linear-gradient(135deg, #ECC8AF 0%, #DDB892 50%, #B08968 100%);
    --brand-pink-gradient: linear-gradient(135deg, #F744A6 0%, #E01E8B 50%, #7A0A45 100%);
    
    --text-charcoal: #2E2220;      /* Dark slate-copper for ultra-sharp readability */
    --text-muted: #6E5B58;         /* Mid-tone copper for descriptors */
    
    /* SHADOWS & DECORATIONS */
    --border-color: rgba(221, 184, 146, 0.22); /* Delicate champagne gold border */
    --border-color-hover: rgba(224, 30, 139, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    
    --shadow-soft: 0 10px 40px -10px rgba(46, 34, 32, 0.04);
    --shadow-medium: 0 20px 50px -15px rgba(46, 34, 32, 0.08);
    --shadow-luxe: 0 30px 60px -20px rgba(224, 30, 139, 0.12), 0 4px 20px rgba(221, 184, 146, 0.08);
    
    /* ANIMATIONS & TIMING */
    --transition-luxe: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  body {
    background-color: var(--bg-ivory);
    color: var(--text-charcoal);
    font-family: var(--font-body);
    font-size: 1.05rem;
    overflow-x: hidden;
  }

  ::selection {
    background-color: var(--brand-pink-light);
    color: var(--brand-magenta-dark);
  }

  /* Custom styled scrollbars */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--bg-ivory);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--brand-gold);
    border-radius: 4px;
    border: 2px solid var(--bg-ivory);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--brand-pink);
  }

  :focus-visible {
    outline: 2px solid var(--brand-pink);
    outline-offset: 4px;
  }
}

@layer theme {
  /* Fluid typography matching elite fashion websites */
  h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-charcoal);
    letter-spacing: -0.01em;
  }

  h1 {
    font-size: clamp(2.4rem, 1.5rem + 4.5vw, 5rem);
    font-weight: 500;
  }

  h2 {
    font-size: clamp(1.8rem, 1.2rem + 3vw, 3.5rem);
    position: relative;
    padding-bottom: 1.25rem;
  }
  
  h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--brand-gold-gradient);
    border-radius: 2px;
  }
  
  .text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  h3 {
    font-size: clamp(1.3rem, 1.1rem + 1vw, 2.1rem);
    font-weight: 500;
  }

  p {
    color: var(--text-muted);
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
    margin-bottom: 1.5rem;
    font-weight: 300;
  }

  .font-script {
    font-family: var(--font-script) !important;
    font-size: clamp(2.2rem, 1.8rem + 3vw, 4.2rem) !important;
    color: var(--brand-pink) !important;
    text-shadow: 1px 1px 0 rgba(221, 184, 146, 0.15);
    display: block;
    margin-bottom: 0.15rem;
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: normal;
  }

  .container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 3vw, 3rem);
  }

  .grid {
    display: grid;
    gap: 2.5rem;
  }

  .grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
  .grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@layer components {
  /* TOP ANNOUNCEMENT BAR */
  .announcement-bar {
    background-color: var(--brand-magenta-dark);
    color: var(--bg-ivory);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    padding-block: 0.6rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(221, 184, 146, 0.2);
  }

  .announcement-link {
    color: var(--brand-gold);
    font-weight: 700;
    transition: var(--transition-luxe);
    text-decoration: underline;
    margin-left: 0.5rem;
  }
  
  .announcement-link:hover {
    color: var(--surface-white);
  }

  /* SITE NAVIGATION HEADER */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 253, 251, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(221, 184, 146, 0.15);
    transition: var(--transition-luxe);
    padding-block: 1rem;
  }

  .site-header--shrink {
    padding-block: 0.4rem;
    box-shadow: var(--shadow-soft);
    background-color: rgba(255, 253, 251, 0.95);
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-link img {
    height: clamp(40px, 6vw, 65px);
    width: auto;
    object-fit: contain;
    transition: var(--transition-luxe);
  }

  .nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
  }

  .nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-charcoal);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding-block: 0.5rem;
    transition: var(--transition-luxe);
  }

  .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--brand-pink-gradient);
    transition: var(--transition-luxe);
    transform: translateX(-50%);
  }

  .nav-link:hover, 
  .nav-link.active {
    color: var(--brand-pink);
    font-weight: 500;
  }

  .nav-link:hover::after, 
  .nav-link.active::after {
    width: 80%;
  }

  .mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    cursor: pointer;
    z-index: 1001;
  }

  .mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--text-charcoal);
    transition: var(--transition-luxe);
  }

  /* BUTTONS & LUXURY CTA */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0px; /* Luxury square sharp borders or squircle. Square cuts convey extreme high professionalism. */
    border: 1px solid transparent;
    transition: var(--transition-luxe);
    min-block-size: 48px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }

  .btn-primary {
    background: var(--brand-pink-gradient);
    color: var(--surface-white);
    box-shadow: 0 10px 30px rgba(224, 30, 139, 0.15);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(224, 30, 139, 0.3);
  }

  .btn-secondary {
    background-color: transparent;
    color: var(--text-charcoal);
    border: 1px solid var(--text-charcoal);
  }

  .btn-secondary:hover {
    background-color: var(--text-charcoal);
    color: var(--bg-ivory);
    transform: translateY(-2px);
  }

  .btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
    border-radius: 4px;
  }
  
  .btn-whatsapp:hover {
    background-color: #20BA56;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.3);
  }

  /* FLOATING WHATSAPP CTA PULSER */
  .floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
    transition: var(--transition-bounce);
    cursor: pointer;
  }

  .floating-whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #25D366;
    z-index: -1;
    animation: pulse-whatsapp 2s infinite;
  }

  .floating-whatsapp:hover {
    transform: scale(1.1) rotate(8deg);
  }

  @keyframes pulse-whatsapp {
    0% {
      transform: scale(1);
      opacity: 0.6;
    }
    100% {
      transform: scale(1.5);
      opacity: 0;
    }
  }

  /* LUXURY GLASS CARDS */
  .card-premium {
    background-color: var(--surface-white);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-luxe);
    position: relative;
  }

  .card-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-gold-gradient);
    opacity: 0;
    transition: var(--transition-luxe);
  }

  .card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-luxe);
    border-color: var(--brand-gold);
  }

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

  .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--brand-pink);
    margin-bottom: 2rem;
    transition: var(--transition-luxe);
  }
  
  .card-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.25;
    fill: none;
  }

  .card-premium:hover .card-icon {
    color: var(--brand-gold-dark);
    transform: scale(1.05);
  }

  /* FORMS & Luxury INPUTS */
  .form-group {
    margin-bottom: 2rem;
  }

  .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-charcoal);
    margin-bottom: 0.75rem;
  }

  .form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-ivory);
    border: 1px solid var(--border-color);
    border-radius: 0px;
    color: var(--text-charcoal);
    transition: var(--transition-luxe);
    outline: none;
  }

  .form-control:focus {
    border-color: var(--brand-pink);
    background-color: var(--surface-white);
    box-shadow: 0 0 0 4px rgba(224, 30, 139, 0.08);
  }

  .form-control:user-invalid {
    border-color: #E05A67;
    background-color: #FFFDFD;
  }

  .invalid-feedback {
    display: none;
    color: #E05A67;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-weight: 400;
  }

  .form-control:user-invalid + .invalid-feedback {
    display: block;
  }

  /* FOOTER ARCHITECTURE */
  .site-footer {
    background-color: var(--bg-cream);
    border-top: 1px solid var(--border-color);
    padding-block: 6rem 3rem;
    color: var(--text-muted);
    font-size: 0.95rem;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 5rem;
  }

  .footer-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
  }

  .footer-links li {
    margin-bottom: 0.9rem;
    list-style: none;
  }

  .footer-link {
    color: var(--text-muted);
    transition: var(--transition-luxe);
    display: inline-block;
  }

  .footer-link:hover {
    color: var(--brand-pink);
    transform: translateX(4px);
  }

  .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-contact-item svg {
    color: var(--brand-gold-dark);
    flex-shrink: 0;
    margin-top: 0.25rem;
  }

  .footer-bottom {
    border-top: 1px solid rgba(221, 184, 146, 0.2);
    padding-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }
}

/* 2. RESPONSIVE MEDIA SCALES */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--surface-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 8rem 3rem 3rem 3rem;
    gap: 2.5rem;
    box-shadow: -15px 0 45px rgba(46, 34, 32, 0.08);
    transition: var(--transition-luxe);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* 3. NATIVE SCROLL-DRIVEN ENTRANCE ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(50px) scale(0.97);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    @keyframes fade-in {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .reveal-on-scroll {
      animation: reveal-up auto linear backwards;
      animation-timeline: view();
      animation-range: entry 5% entry 35%;
    }

    .fade-on-scroll {
      animation: fade-in auto linear backwards;
      animation-timeline: view();
      animation-range: entry 5% entry 35%;
    }
  }
}
