/* style.css (CORRECTED AND MERGED) */
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #fff;
    background-color: #000;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #D4A017;
    font-family: 'Great Vibes', cursive;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(90deg, #D4A017, #B8860B);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(212, 160, 23, 0.5);
}

/* --- Header Styles --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    transition: background-color 0.3s;
    z-index: 2000;
}

#header.sticky {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    /* Use space-between for desktop to put the toggle on the side */
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: #D4A017;
    cursor: pointer;
    z-index: 2001;
}

.mobile-nav-menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 2000;
}

.menu-left, .menu-right {
    list-style: none;
    display: flex;
    align-items: center;
}

.menu-left li, .menu-right li {
    margin: 0 15px;
}

.menu-left a, .menu-right a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
    padding-bottom: 2px;
}

.menu-left a:hover, .menu-right a:hover {
    color: #D4A017;
}

.menu-left a::after, .menu-right a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #D4A017;
    transition: width 0.3s;
}

.menu-left a:hover::after, .menu-right a:hover::after {
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #D4A017;
    font-family: 'Great Vibes', cursive;
}

.logo-svg {
    height: 60px;
    width: auto;
}

.logo.logo-center {
    font-size: 36px;
    padding: 0 40px;
}

.enquiry-btn {
    background: linear-gradient(90deg, #900C3F, #7E1215);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 400;
    transform: none;
    box-shadow: none;
}

.enquiry-btn:hover {
    box-shadow: 0 4px 8px rgba(144, 12, 63, 0.5);
    transform: scale(1.05);
}

/* --- Hero Section Styles --- */
.hero-visual-grid {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    overflow: hidden;
}

.hero-visual-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Reduced opacity for video visibility */
    z-index: 9;
}

.central-video-wrapper {
    /* Changed to absolute positioning to act as a background for the section */
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8; /* Below the overlay and content */
    overflow: hidden;
}

.central-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-grid-container {
    position: relative;
    min-height: 100vh;
    z-index: 15;
    padding: 100px 20px 0;
}

.makeup-types-grid {
    /* Using absolute positioning for desktop/tablet circular layout */
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.makeup-type-item {
    /* Default is absolute position for desktop/tablet */
    position: absolute; 
    width: 350px; /* Base width */
    text-align: center;
    color: #fff;
    padding: 0; /* Remove padding from outer element */
    background: none; /* Remove background from outer element */
    border-radius: none;
    transform: translate(-50%, -50%);
}

/* DESKTOP/TABLET CIRCULAR POSITIONS */
.bridal-makeup { top: 20%; left: 25%; }
.bridesmaid-makeup { top: 20%; left: 75%; }
.maternity-makeup { top: 50%; left: 15%; }
.party-makeup { top: 50%; left: 85%; }
.fashion-makeup { top: 80%; left: 25%; }
.draping-service { top: 90%; left: 50%; }
.nail-art { top: 80%; left: 75%; }


.heart-btn {
    position: relative;
    width: 120px;
    height: 108px;
    margin: 0 auto 10px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    display: block;
}

.heart-btn::before,
.heart-btn::after {
    content: "";
    position: absolute;
    left: 60px;
    top: 0;
    width: 60px;
    height: 96px;
    background: transparent;
    border: 4px solid #D4A017;
    border-radius: 50% 50% 0 0;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
    transition: box-shadow 0.3s;
}

.heart-btn::after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

.heart-btn:hover {
    transform: scale(1.1);
}

.heart-btn:hover::before,
.heart-btn:hover::after {
    box-shadow: 0 0 15px #D4A017, 0 0 25px #D4A017, 0 0 40px #fff;
    animation: glitter 1.5s infinite alternate;
}

@keyframes glitter {
    from {
        box-shadow: 0 0 10px rgba(212, 160, 23, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(212, 160, 23, 1), 0 0 35px rgba(255, 255, 255, 0.8);
    }
}

.script-text {
    font-size: 36px;
    color: #D4A017;
    font-family: 'Great Vibes', cursive;
    line-height: 1;
    display: block;
}

.tagline {
    font-size: 14px;
    color: #ccc;
    max-width: 300px;
    margin: 0 auto;
}

/* --- Rest of Original Styles --- */
.services {
    padding: 80px 0;
    text-align: center;
}
.services h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
}
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.service-card {
    width: calc(14% - 20px);
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.3);
}
.why-choose {
    padding: 80px 0;
    text-align: center;
}
.why-choose h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.3);
}
.why-item h3 {
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    color: #fff;
}
.gallery {
    padding: 80px 0;
    text-align: center;
}
.gallery h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s, filter 0.3s;
    animation: float 6s ease-in-out infinite;
}
.gallery-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.see-more {
    display: inline-block;
    margin: 20px 0;
    color: #D4A017;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}
.see-more::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #D4A017;
    transition: width 0.3s;
}
.see-more:hover::after {
    width: 100%;
}
.social-follow {
    margin-top: 20px;
}
.testimonials {
    padding: 80px 0;
    text-align: center;
}
.testimonials h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.contact {
    padding: 80px 0;
    text-align: center;
}
.contact h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
}
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}
.contact-form-map {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group {
    position: relative;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: #fff;
}
.form-group label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    transition: 0.3s;
    pointer-events: none;
    padding: 0 5px;
    background: #000;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.8rem;
    color: #D4A017;
}
.full {
    grid-column: span 2;
}
.map {
    flex: 1;
    height: 300px;
}
footer {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid #D4A017;
}
.footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.footer-menu li {
    margin: 0 15px;
}
.footer-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-menu a:hover {
    color: #D4A017;
}
.social-icons {
    margin: 20px 0;
}
.social-icon {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
}
.social-icon:hover {
    background: #D4A017;
    transform: scale(1.1);
}
.copyright {
    font-size: 14px;
}
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* --- Tablet Media Query (max-width: 992px) --- */
@media (max-width: 992px) {
    /* Header: Show toggle, hide full menu */
    nav {
        justify-content: space-between;
        padding: 15px 20px;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .mobile-nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
        z-index: 1999;
    }
    .mobile-nav-menu.active {
        display: flex;
    }
    .menu-left, .menu-right {
        flex-direction: column;
        width: 100%;
    }
    .menu-left li, .menu-right li {
        margin: 10px 0;
    }
    .logo.logo-center {
        order: -1;
        padding: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Hero: Maintain absolute positioning but adjust for smaller screen */
    .hero-visual-grid {
        padding-top: 100px;
        min-height: 120vh; /* Allow for more vertical space */
    }
    .makeup-type-item {
        width: 250px;
    }
    .heart-btn {
        width: 90px;
        height: 81px;
    }
    .heart-btn::before,
    .heart-btn::after {
        width: 45px;
        height: 72px;
        left: 45px;
    }
    .heart-btn::after {
        left: 0;
    }
    .script-text {
        font-size: 30px;
    }
    
    /* Repositioned for 7 items on tablet */
    .bridal-makeup { top: 15%; left: 15%; }
    .bridesmaid-makeup { top: 15%; left: 85%; }
    .maternity-makeup { top: 40%; left: 5%; }
    .party-makeup { top: 40%; left: 95%; }
    .fashion-makeup { top: 65%; left: 15%; }
    .draping-service { top: 90%; left: 50%; } 
    .nail-art { top: 65%; left: 85%; }

    /* Other sections */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Mobile Media Query (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Header: Simplified for mobile */
    nav {
        padding: 10px 15px;
        /* Ensure logo is centered and toggle is on the side */
        justify-content: flex-start;
    }
    .logo.logo-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        padding: 0;
    }
    .mobile-menu-toggle {
        /* Position toggle correctly on the far left */
        position: relative; 
        z-index: 2001;
        margin-right: auto; /* Push center logo away */
    }

    /* Hero: STABILIZATION FIX - Switch to Stacking */
    .hero-visual-grid {
        min-height: 150vh; /* Minimum height to accommodate stacked items */
        height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .central-video-wrapper {
        /* Video as full background on mobile too, but low priority */
        z-index: 8;
    }
    .visual-grid-container {
        /* FIX: Switch to a stacking layout */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        gap: 20px;
    }

    /* FIX: Override absolute positioning for all hero items */
    .makeup-type-item {
        position: static; 
        transform: none;
        width: 90%; 
        margin-top: 20px;
        /* Add subtle background for better readability over the video */
        background: rgba(0, 0, 0, 0.5); 
        padding: 15px;
        border-radius: 10px;
    }

    /* FIX: Mobile Heart Button Sizing (Slightly larger for visibility) */
    .heart-btn {
        width: 70px;
        height: 63px;
    }
    .heart-btn::before,
    .heart-btn::after {
        width: 35px;
        height: 56px;
        left: 35px;
        border-width: 3px;
    }
    .heart-btn::after {
        left: 0;
    }
    .script-text {
        font-size: 28px;
    }

    /* Other sections */
    .services-grid, .why-grid, .gallery-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .services-grid, .why-grid {
        gap: 20px;
    }
    .service-card {
        width: 100%;
    }
    .contact-methods, .contact-form-map {
        flex-direction: column;
    }
}