/* ==== Variables & Global Styles ==== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&display=block');

:root {
    --bg-color: #111111;
    --card-bg: #1c1c1c;
    --text-primary: #ededed;
    --text-secondary: #aaaaaa;
    --accent-glow: rgba(0, 100, 255, 0.25);
    --font-sans: 'Archivo', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* Hide scrollbar for a cleaner look */
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a,
button,
input,
select,
textarea,
.service-panel,
.event-type-card,
.date-toggle-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

a {
    color: var(--text-primary);
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

.accent-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
}

.section-padding {
    padding: 150px 5vw;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2rem;
    line-height: 0.9;
    letter-spacing: -2px;
}

/* ==== Accessibility / SEO ==== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==== Glow Overlay ==== */
.glow-border {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    box-shadow: inset 0 0 100px 10px var(--accent-glow);
    z-index: 9999;
}

/* ==== Navbar ==== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.65) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}



.nav-links a {
    margin-left: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-outline {
    border: 1px solid var(--text-primary);
    padding: 10px 24px;
    border-radius: 4px;
    display: inline-block;
}

/* Get a Quote CTA */
.btn-book {
    background: var(--text-primary);
    color: #000 !important;
    padding: 10px 24px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 700 !important;
    letter-spacing: 1.5px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
}

.btn-book:hover {
    background: #aaaaaa;
    opacity: 1 !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

/* Active state — when user is ON the enquiry page */
.btn-book-active {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ==== Mobile Hamburger ==== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    left: 0;
    transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
    width: 70%;
    left: 30%;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ==== Hero Section ==== */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 1)), url('assets/hero.webp') center/cover no-repeat;
}

.marquee-container {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    opacity: 0.15;
    white-space: nowrap;
    user-select: none;
}

.marquee-inner {
    display: flex;
    font-size: clamp(8rem, 20vw, 25rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-primary);
}

.marquee-inner span {
    padding-right: 50px;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 5vw;
    margin-top: 15vh;
    max-width: 1000px;
}

.hero-text-wrap {
    display: flex;
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 4px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 300;
    overflow: hidden;
    /* For line reveals */
}

/* .hero-word is needed for the staggered word intro */
.hero-word {
    transform: translateY(100%);
    opacity: 0;
}

.scroll-indicator {
    margin-top: 80px;
    font-size: 2rem;
    font-weight: 300;
}

/* ==== About Section ==== */
.about {
    position: relative;
}

.huge-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.85;
    letter-spacing: -2px;
    margin-bottom: 3rem;
}

/* Used for custom text splitting animation */
.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

.word {
    display: inline-block;
    transform: translateY(100%);
    will-change: transform;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8vw;
    align-items: center;
    margin-top: 60px;
}

.about-image-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text-wrapper {
    max-width: 800px;
}

.lead-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.4;
    color: var(--text-secondary);
}

.lead-text .accent-serif {
    color: var(--text-primary);
}

/* ==== Premium Services Horizontal Section ==== */
.services-pin-section {
    height: 100vh;
    overflow: hidden;
    background-color: #0c0c0c;
    position: relative;
}

.services-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5vw;
    padding-top: 100px;
}

.services-header {
    margin-bottom: 40px;
}

.services-horizontal-track {
    display: flex;
    gap: 5vw;
    width: max-content;
    /* Critical for horizontal GSAP scroll */
}

.service-panel {
    width: 60vw;
    height: 60vh;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.panel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    /* For internal parallax */
}

.bg-wedding {
    /* Using a subtle dark linear gradient simulating an elegant image */
    background-image: linear-gradient(to bottom, rgba(26, 26, 26, 0.4), rgba(42, 32, 32, 0.8)), url('assets/wedding.webp');
    background-blend-mode: overlay;
}

.bg-corporate {
    background-image: linear-gradient(to bottom, rgba(16, 21, 26, 0.5), rgba(10, 16, 21, 0.8)), url('assets/corporate.webp');
    background-blend-mode: overlay;
}

.bg-birthday {
    background-image: linear-gradient(to bottom, rgba(34, 18, 25, 0.4), rgba(13, 10, 15, 0.9)), url('assets/birthday.webp');
    background-blend-mode: overlay;
}

.bg-college {
    background-image: linear-gradient(to bottom, rgba(14, 25, 34, 0.5), rgba(10, 15, 20, 0.9)), url('assets/college.webp');
    background-blend-mode: overlay;
}

.bg-singer {
    background-image: linear-gradient(to bottom, rgba(35, 28, 15, 0.4), rgba(18, 14, 10, 0.9)), url('assets/singer.webp');
    background-blend-mode: overlay;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 50px;
    width: 100%;
    z-index: 2;
}

.panel-content h3 {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
}

.panel-content p {
    font-size: 1.2rem;
    max-width: 600px;
    color: var(--text-secondary);
}

/* ==== Testimonials Section ==== */
.testimonials {
    scroll-margin-top: 40px;
    padding-top: 80px;
    padding-bottom: 120px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.testimonial-item {
    background: var(--card-bg);
    padding: 60px;
    border-radius: 4px;
    border-left: 2px solid var(--text-secondary);
}

.quote {
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 40px;
}

.author {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.author .accent-serif {
    display: block;
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-top: 10px;
}

/* ==== Footer ==== */
.footer {
    background-color: #050505;
    padding: 80px 5vw 30px 5vw;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-info h3 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-info a {
    color: var(--text-secondary);
}

.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-bottom {
    text-align: center;
    color: #444;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
}

/* ==== WhatsApp Float ==== */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-float svg {
    margin-left: 1px;
    margin-top: -1px;
}

/* Initial GSAP states */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    will-change: transform, opacity;
}

/* ==== Luxury Features: Cursor, Preloader, Modal ==== */

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050505;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-text {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(3rem, 6vw, 7rem);
    font-weight: 700;
    color: #c49a45;
    letter-spacing: 5px;
    text-transform: uppercase;
    overflow: hidden;
}



/* Image Parallax Hover */
.service-panel {
    cursor: pointer;
}

.service-panel .panel-image {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-panel:hover .panel-image {
    transform: scale(1.15) !important;
    /* overrides gsap slightly but gsap scrubs it, we use GSAP in JS instead */
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    /* until active */
    visibility: hidden;
}

.contact-modal.active {
    pointer-events: all;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contact-modal.active .modal-overlay {
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background-color: #0a0a0a;
    border-left: 1px solid #222;
    padding: 60px 40px;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-modal.active .modal-content {
    transform: translateX(0%);
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

.close-modal:hover {
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

.modal-direct-contact {
    margin-bottom: 40px;
    font-family: var(--font-sans);
    color: var(--text-secondary);
}

.modal-direct-contact p {
    font-size: 1rem;
    margin-bottom: 5px;
}

.modal-direct-contact .phone-link {
    font-size: 1.8rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 300;
    display: inline-block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 4px;
    transition: border-color 0.3s ease;
}

.modal-direct-contact .phone-link:hover {
    border-color: var(--text-primary);
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    padding: 10px 0;
    color: white;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    outline: none;
    resize: none;
}

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: white;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #888;
    pointer-events: none;
    transition: 0.3s ease all;
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 0.85rem;
    color: white;
}

/* Custom Error States Validation */
.input-group.error input,
.input-group.error textarea {
    border-bottom-color: #ff4444;
}

.input-group.error label {
    color: #ff4444;
}

/* Media Queries */
@media (max-width: 900px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #050505;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateY(-100%);
        transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        padding: 0;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        margin: 0;
        font-size: 2rem;
    }

    .nav-links .btn-book {
        font-size: 1.2rem;
        padding: 12px 24px;
        margin-top: 20px;
        width: auto;
    }

    .btn-outline {
        margin-top: 20px !important;
    }

    .huge-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-pin-section {
        height: auto;
        padding: 50px 0;
    }

    .services-horizontal-track {
        flex-direction: column;
        width: 100%;
        gap: 30px;
    }

    .service-panel {
        width: 90vw;
        height: 50vh;
        margin: 0 auto;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 600px) {
    .huge-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .panel-content h3 {
        font-size: 2.5rem;
    }

    .panel-content p {
        font-size: 1rem;
    }

    .quote {
        font-size: 1.2rem;
    }

    .testimonial-item {
        padding: 40px 20px;
    }

    .footer-info h3 {
        font-size: 2rem;
    }

    .contact-modal .modal-content {
        padding: 60px 20px;
    }

    .close-modal {
        right: 20px;
        top: 20px;
        font-size: 2rem;
    }
}