/* ===========================
   VARIABLES & RESET
=========================== */
:root {
  --brand-pink: #CF145A;
  --brand-color: #CF145A;
  --brand-blue: #CF145A; /* Note: This makes headings Pink too. Change to #006f9f if you want Blue headings. */
  
  --purple-indigo: #CF145A;
  --cta-purple: #CF145A;
  --cta-hover: #A00F45;
  
  --bg-main: #F5F3FA;
  --white: #FFFFFF;

  --heading-dark: #2E2B4F;
  --text-body: #5F6B73;
  --text-muted: #8A9AA3;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  --transition: 0.3s ease-in-out;
  --shadow-card: 0 10px 30px rgba(0, 111, 159, 0.1);
  --shadow-hover: 0 15px 40px rgba(207, 20, 90, 0.2);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body { 
    font-family: var(--font-body);
    background: var(--bg-main); 
    color: var(--text-body); 
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-dark);
    line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.salon-timing {
  margin-top: 20px;
  color: #ffffff;
  font-size: 1rem;
  opacity: 0.95;
}
.salon-timing strong {
  color: #ffffff;
}


/* ===========================
   UTILITIES
=========================== */
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--brand-pink);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(207, 20, 90, 0.3);
}

.btn-primary:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(207, 20, 90, 0.4);
}

.btn-outline {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: var(--white);
}

/* ===========================
   HEADER & NAV
=========================== */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-container {
    height: 80px; display:flex; align-items:center; justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.logo span { color: var(--brand-pink); }

.logo img {
    height: 75px; 
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display:flex; list-style:none; gap: 2rem; align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--heading-dark);
    position: relative;
}

.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--brand-pink); transition: var(--transition);
}

.nav-link:hover { color: var(--brand-pink); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--brand-pink); }
.nav-link.active::after { width: 100%; }

.mobile-toggle { display: none; font-size: 1.5rem; color: var(--heading-dark); }

/* ===========================
   HERO SECTION
=========================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 111, 159, 0.5), rgba(46, 43, 79, 0.6)), url('images/hero.jpg') no-repeat center center/cover;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    
    /* Animation */
    opacity: 0;
    animation: zoomInFade 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    
    /* Animation */
    opacity: 0;
    animation: zoomInFade 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.hero-content .btn {
    opacity: 0;
    animation: slideUpFade 0.8s ease-out forwards;
    animation-delay: 1s; 
}

/* ===========================
   SECTIONS GENERAL
=========================== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--heading-dark);
}

.section-subtitle {
    color: var(--brand-pink);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

/* ===========================
   SERVICES
=========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    
    /* Animation */
    opacity: 0;
    animation: slideUpFade 1.2s ease-out forwards;
}

.service-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.service-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 { 
    margin-bottom: 1rem; 
    font-size: 1.5rem; 
    color: var(--brand-blue);
}

/* Service Card Delays */
.services-grid .service-card:nth-child(1) { animation-delay: 1.2s; }
.services-grid .service-card:nth-child(2) { animation-delay: 1.7s; }
.services-grid .service-card:nth-child(3) { animation-delay: 2.2s; }
.services-grid .service-card:nth-child(4) { animation-delay: 2.7s; }

/* ===========================
   SPECIAL OFFERS
=========================== */
.offers-section {
    background: linear-gradient(135deg, var(--bg-main) 0%, #E8F4FA 100%);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.offer-link {
    display: block;
    height: 100%;
    opacity: 0; /* Hidden until animated */
}

.offer-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.offer-link:hover .offer-card { 
    transform: scale(1.02); 
    box-shadow: var(--shadow-hover);
}

.offer-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.offer-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* ZIGZAG BADGE STYLE */
.star-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 85px; 
    height: 85px;
    
    /* Zigzag Polygon */
    clip-path: polygon(
        50% 0%, 63% 15%, 80% 10%, 85% 28%, 100% 35%, 
        90% 50%, 100% 65%, 85% 72%, 80% 90%, 63% 85%, 
        50% 100%, 37% 85%, 20% 90%, 15% 72%, 0% 65%, 
        10% 50%, 0% 35%, 15% 28%, 20% 10%, 37% 15%
    );
    
    background-color: #d11a5b;
    color: white;
    z-index: 10;
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    transform: rotate(15deg); 
}

/* Offers Animations */
.offers-section .section-subtitle,
.offers-section .section-title {
    opacity: 0; 
}

.offers-section .section-subtitle.start-animation,
.offers-section .section-title.start-animation {
    animation: slideDownFade 1s ease-out forwards;
}
.offers-section .section-title.start-animation { animation-delay: 0.5s; }

.offers-grid .offer-link.start-animation {
    animation: zoomInFade 1s ease-out forwards;
}
.offers-grid .offer-link:nth-child(1).start-animation { animation-delay: 0.8s; }
.offers-grid .offer-link:nth-child(2).start-animation { animation-delay: 1.2s; }
.offers-grid .offer-link:nth-child(3).start-animation { animation-delay: 1.6s; }

/* ===========================
   WELCOME SECTION
=========================== */
.welcome-section { background: #F5F3FA; }
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.welcome-img {
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

/* Welcome Animations */
.welcome-text .section-subtitle, .welcome-text .section-title, .welcome-text p, .welcome-text .btn, .welcome-img-wrapper {
    opacity: 0;
}
.welcome-text .section-subtitle.start-animation { animation: slideInLeft 1s ease-out forwards; animation-delay: 0.2s; }
.welcome-text .section-title.start-animation { animation: slideInLeft 1s ease-out forwards; animation-delay: 0.4s; }
.welcome-text p:nth-of-type(1).start-animation { animation: slideInLeft 1s ease-out forwards; animation-delay: 0.6s; }
.welcome-text p:nth-of-type(2).start-animation { animation: slideInLeft 1s ease-out forwards; animation-delay: 0.8s; }
.welcome-text .btn.start-animation { animation: slideInLeft 1s ease-out forwards; animation-delay: 1.0s; }
.welcome-img-wrapper.start-animation { animation: slideInRight 1.2s ease-out forwards; animation-delay: 0.4s; }

/* ===========================
   HOME FUNCTION SERVICE
=========================== */

/* ===========================
   HOME FUNCTION SERVICE (UPDATED WITH SPACING)
=========================== */
/* ===========================
   HOME FUNCTION SERVICE (WITH ANIMATION)
=========================== */

/* 1. Animation Keyframes defined here */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); 
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-function-service {
   background: linear-gradient(135deg, var(--bg-main) 0%, #F5F3FA 100%);
    padding: 80px 20px;
    text-align: center;
    /* Parent container is visible, children will animate */
    opacity: 1; 
}

.home-function-service .container { 
    max-width: 900px; 
    margin: auto; 
}

/* --- Common Animation Settings for All Elements --- */

.home-function-service .section-title,
.home-function-service .section-subtitle,
.home-function-service p,
.home-function-service .service-list li,
.home-function-service .cta-btn {
    opacity: 0; /* Hidden initially */
    transform: translateY(30px);
    transition: all 0.5s ease;
}


.home-function-service.show .section-title,
.home-function-service.show .section-subtitle,
.home-function-service.show p,
.home-function-service.show .service-list li,
.home-function-service.show .cta-btn {
    animation: fadeInUp 0.8s ease forwards;
}

/* --- Specific Styling & Delays (One by One Effect) --- */

/* 1. TITLE */
.home-function-service .section-title {
    color: var(--brand-pink);
    font-weight: bold;
    margin-bottom: 15px;
    animation-delay: 0.2s; 
}

/* 2. SUBTITLE */
.home-function-service .section-subtitle {
    color: var(--heading-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    animation-delay: 0.4s; 
}

/* 3. PARAGRAPH */
.home-function-service p:not(.section-subtitle) {
    margin-bottom: 40px;
    line-height: 1.8;
    color: var(--text-body);
    animation-delay: 0.6s; 
}

/* 4. LIST STYLING */
.home-function-service .service-list {
    list-style: disc;
    padding-left: 20px;
    max-width: 600px;
    display: table;
    margin: 0 auto 50px auto;
    text-align: left;
}

/* 5. LIST ITEMS ANIMATION (One by One) */
.home-function-service .service-list li {
    font-size: 17px;
    margin-bottom: 15px;
    color: var(--heading-dark);
    line-height: 1.8;
}


.home-function-service.show .service-list li:nth-child(1) { animation-delay: 0.8s; }
.home-function-service.show .service-list li:nth-child(2) { animation-delay: 0.9s; }
.home-function-service.show .service-list li:nth-child(3) { animation-delay: 1.0s; }
.home-function-service.show .service-list li:nth-child(4) { animation-delay: 1.1s; }
.home-function-service.show .service-list li:nth-child(5) { animation-delay: 1.2s; }
.home-function-service.show .service-list li:nth-child(6) { animation-delay: 1.3s; }

/* 6. BUTTON */
.home-function-service .cta-btn {
    display: inline-block;
    background: var(--cta-purple);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 40px;
    font-size: 17px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    
    
    animation-delay: 1.5s; 
}

.home-function-service .cta-btn:hover {
    background: var(--cta-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
}

.client-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--brand-pink);
}

.stars { color: #FFD700; margin-bottom: 1rem; }
.client-name { font-weight: 700; color: var(--brand-blue); margin-top: 1rem; display: block; }

/* Testimonial Animations */
.testimonials-grid .testimonial-card.start-animation { animation: slideUpFade 1.2s ease-out forwards; }
.testimonials-grid .testimonial-card:nth-child(1).start-animation { animation-delay: 0.8s; }
.testimonials-grid .testimonial-card:nth-child(2).start-animation { animation-delay: 1.3s; }
.testimonials-grid .testimonial-card:nth-child(3).start-animation { animation-delay: 1.8s; }

/* ===========================
   BOOKING SECTION
=========================== */
.booking-section {
    background: linear-gradient(rgba(0, 111, 159, 0.9), rgba(207, 20, 90, 0.8)), url('images/hero/booking-hero.jpg') center/cover;
    color: var(--white);
}

.booking-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--heading-dark);
}

.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h4 { color: var(--white); margin-bottom: 1.5rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.8rem; }
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--brand-pink); }

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: var(--text-muted);
}

/* ===========================
   ANIMATION KEYFRAMES (CONSOLIDATED)
=========================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

@keyframes zoomInFade {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideDownFade {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
    .hero-content h1 { font-size: 3rem; }
    
    .mobile-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 80px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    .nav-menu.active { transform: translateY(0); }
    .welcome-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .logo img { height: 40px; }
    .home-function-service .section-title { font-size: 26px; }
    .home-function-service .service-desc,
    .home-function-service .service-list li { font-size: 16px; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
}

/* ===========================================
   CRITICAL FIX: FORCE FORM VISIBILITY
   Ensures the form shows up even if animation fails
=========================================== */
.booking-form {
    opacity: 1 !important;        
    transform: none !important;  
    visibility: visible !important; 
    display: block !important;
}
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Mobile view adjustment */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 26px;
    line-height: 55px;
    right: 15px;
    bottom: 15px;
  }
}

.advanced-machinery {
  background: #F5F3FA;
}

.advanced-machinery .service-card img {
  width: 100%;
  height: 280px;          
  object-fit: contain;   
  background: #fff;
  padding: 15px;
}
