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

body {
    background-color: #050505; 
    color: #fff; 
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden; 
}

/* --- Top Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    cursor: pointer;
    z-index: 101; /* Keeps logo above mobile menu */
}

/* Hamburger Icon (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 101; /* Keeps hamburger above mobile menu */
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Menu Container */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: clamp(15px, 3vw, 35px);
    /* Perfectly center the links regardless of side element sizes */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, transform 0.2s;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.nav-links a:hover {
    color: #d4af37;
    transform: translateY(-2px);
}

.google-login {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.google-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* --- Backgrounds --- */

/* Mobile Background Image (Hidden on PC by default) */
#bg-image-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../assets/mobile-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -3; 
    will-change: transform;
    display: none; /* Hidden on PC */
}

/* PC & Tablet Background Image sits on top (z-index: -2). */
#bg-image-pc {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('../assets/background%20pc.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    will-change: transform;
    display: block; 
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: -1;
    pointer-events: none;
}

/* --- Content Sections --- */
#content {
    position: relative;
    z-index: 1;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    align-items: flex-start !important; 
    text-align: left !important;
    padding-left: 8% !important; 
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem) !important;
    letter-spacing: clamp(1px, 0.5vw, 3px) !important;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 0px 5px 20px rgba(0,0,0,0.7);
    opacity: 0;
    transform: translateY(50px);
}

.hero-content p.desc {
    font-size: clamp(1.2rem, 3vw, 2rem) !important;
    line-height: 1.4 !important;
    font-weight: 300;
    margin-bottom: 30px;
    color: #f5f5f5;
    opacity: 0;
    transform: translateY(50px);
    text-shadow: 0px 3px 10px rgba(0,0,0,0.6);
}

.luxury-details {
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    letter-spacing: clamp(2px, 0.5vw, 4px);
    text-transform: uppercase;
    color: #D4AF37; 
    font-weight: 600;
    opacity: 0;
    transform: translateY(50px);
    text-shadow: 0px 2px 5px rgba(0,0,0,0.8);
}

.step {
    /* min-height: 100vh removed to let sections fit their content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 60px 20px;
}

.step h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0; 
    transform: translateY(50px);
    text-shadow: 0px 4px 15px rgba(0,0,0,0.8);
}

.step p.desc {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 750px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0; 
    transform: translateY(50px);
    text-shadow: 0px 2px 10px rgba(0,0,0,0.8);
}

.boxes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1100px;
    margin-top: 20px;
    padding: 0 10px;
}

.box {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    text-align: left;
    opacity: 0; 
    transform: translateY(40px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s, background 0.3s;
}

.box:hover {
    transform: translateY(-10px) !important;
    background: rgba(0, 0, 0, 0.6);
}

.box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    margin-bottom: 12px;
    color: #D4AF37; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.box p {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    margin-bottom: 0;
    line-height: 1.5;
    color: #eee;
}

button#whatsapp-btn {
    padding: 15px 40px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: bold;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    opacity: 0; 
    transform: translateY(50px);
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0px 5px 15px rgba(37, 211, 102, 0.4);
    margin-top: 20px;
}

button#whatsapp-btn:hover {
    background-color: #1ebe5d;
    transform: translateY(-5px) !important;
}

.footer {
    padding: 50px 20px 20px 20px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    width: 100%;
}

.footer p {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 5px;
}

.footer .dev-credit {
    font-size: 0.8rem;
    color: #777;
    margin-top: 8px;
    letter-spacing: 0.8px;
}

.footer .dev-credit .dev-highlight {
    color: #D4AF37;
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 768px) {
    /* Show mobile background, hide PC image */
    #bg-image-mobile {
        display: block !important;
    }
    #bg-image-pc {
        display: none !important;
    }

    .navbar {
        padding: 20px 30px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    }
    
    /* Show Hamburger */
    .hamburger {
        display: block;
    }

    /* Transform nav-menu into a mobile sidebar */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%; /* Hidden off-screen to the LEFT */
        width: 65%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98); /* Deep dark solid background */
        box-shadow: 5px 0 15px rgba(0,0,0,0.5); /* Shadow on the right side */
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 15vh;
        padding-bottom: 40px;
        transition: left 0.4s ease-in-out;
        z-index: 100;
        gap: 0; /* Managed by inner elements now */
    }

    /* Class added via JS to slide in */
    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        position: static;
        transform: none;
        flex-direction: column;
        align-items: center;
        gap: 40px; /* Space out the links beautifully */
        width: 100%;
    }

    .nav-links a {
        font-size: 1.3rem;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    /* Push the login/logout button to the absolute bottom */
    #nav-auth-btn {
        margin-top: auto; 
        width: 80%;
        max-width: 250px;
        padding: 15px;
        font-size: 1.1rem;
    }
    
    /* Hamburger Toggle Animation */
    .hamburger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger.toggle .line2 {
        opacity: 0;
    }
    .hamburger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-section {
        padding-left: 5% !important;
        padding-right: 5% !important;
        text-align: center !important;
        align-items: center !important;
    }
}
/* --- Booking Form --- */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    margin: 20px auto 0;
    opacity: 0;
    transform: translateY(50px);
}
.booking-form input, .booking-form select {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1rem;
    outline: none;
    font-family: 'Poppins', sans-serif;
}
.booking-form input:focus, .booking-form select:focus {
    border-color: #D4AF37;
}
.booking-form select option {
    color: #000;
}
.booking-form button {
    padding: 15px;
    background: #D4AF37;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.booking-form button:hover {
    background: #b5952f;
}
/* --- Auth Modal --- */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #111;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    border: 1px solid #333;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}
.modal-content h2 {
    font-family: 'Playfair Display', serif; /* Or Poppins */
    text-align: center;
    margin-bottom: 25px;
    color: #D4AF37;
}
.close-modal {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #888;
}
.close-modal:hover { color: #fff; }

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.auth-form input {
    padding: 12px 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    outline: none;
}
.auth-form input:focus { border-color: #D4AF37; }
.auth-btn {
    padding: 12px;
    background: #D4AF37;
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}
.auth-btn:hover { background: #b5952f; }
.google-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #333;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}
.google-auth-btn:hover { background: #eee; }
.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}
.auth-switch span {
    color: #D4AF37;
    cursor: pointer;
    font-weight: 600;
}
.auth-switch span:hover { text-decoration: underline; }

/* Disabled Booking Form State */
.booking-locked {
    position: relative;
}
.booking-locked::after {
    content: "Please Login to Place an Order";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #D4AF37;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 5px;
    text-align: center;
    z-index: 10;
}

/* Client Galleries */
.client-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.client-gallery-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.client-gallery-item:hover {
    transform: translateY(-5px);
}

.client-gallery-item img, .client-gallery-item iframe {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border: none;
}

.client-gallery-item p {
    padding: 15px;
    font-size: 0.9rem;
    color: #ddd;
    text-align: center;
}

.package-price {
    font-size: 1.2rem;
    color: #D4AF37;
    margin: 10px 0;
    font-weight: 700;
}

.package-details {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 10px;
}


.gallery-toggle-btn {
    display: block;
    margin: 40px auto 10px;
    background: transparent;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    padding: 10px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.gallery-toggle-btn:hover {
    background: #D4AF37;
    color: #000;
}


/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

#lightbox-caption {
    margin-top: 15px;
    color: #ccc;
    font-size: 1.2rem;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Fix for dynamic boxes */
.dynamic-box {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


.pkg-modal-content {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    color: #fff;
    position: relative;
    border: 1px solid #D4AF37;
    max-height: 90vh;
    overflow-y: auto;
}


/* --- Founder Page Background --- */
#bg-image-founder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../assets/nadith-bg.jpg');
    background-size: cover;
    background-position: center 20%; /* Keep his face visible */
    z-index: -3; 
    will-change: transform;
}

/* Adjustments for founder page content */
.founder-profile {
    max-width: 800px;
    margin: 0 auto;
}
.founder-profile h2 {
    color: #D4AF37;
    margin-bottom: 10px;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Luxury Redesigned Package Cards --- */
.package-card {
    background: linear-gradient(165deg, rgba(26, 26, 32, 0.95) 0%, rgba(14, 14, 17, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 16px;
    padding: 0;
    text-align: left;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease;
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    z-index: 5;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(212, 175, 55, 0.22);
    border-color: rgba(212, 175, 55, 0.65);
}

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

/* Card Media Header */
.pkg-card-top {
    position: relative;
    width: 100%;
    height: 190px;
    background: #0d0d10;
    overflow: hidden;
}

.pkg-media-box {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1f1f26 0%, #0a0a0d 100%);
}

.pkg-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.package-card:hover .pkg-media-img {
    transform: scale(1.06);
}

.pkg-media-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(14, 14, 17, 1) 0%, rgba(14, 14, 17, 0.6) 40%, transparent 100%);
    pointer-events: none;
}

.pkg-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Category Badge (Floating Glass Pill) */
.pkg-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    background: rgba(14, 14, 17, 0.82);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #D4AF37;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin: 0;
}

/* Play Badge for Videos */
.pkg-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    background: rgba(14, 14, 17, 0.75);
    border: 1.5px solid #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 1.2rem;
    padding-left: 3px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.package-card:hover .pkg-play-badge {
    transform: translate(-50%, -50%) scale(1.1);
    background: #D4AF37;
    color: #000;
}

/* Card Body */
.pkg-card-body {
    padding: 14px 16px 16px 16px;
    display: flex;
    flex-direction: column;
}

.pkg-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.package-card:hover .pkg-title {
    color: #D4AF37;
}

.pkg-desc {
    font-size: 0.82rem;
    color: #8f8f99;
    line-height: 1.45;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer / Pricing */
.pkg-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 8px;
}

.pkg-price-group {
    display: flex;
    flex-direction: column;
}

.pkg-price-prefix {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #777;
    font-weight: 600;
    margin-bottom: 1px;
}

.pkg-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #D4AF37;
    margin: 0;
    text-shadow: none;
    line-height: 1.15;
}

.pkg-price span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #aaa;
    margin-right: 2px;
}

/* Order Now Action Button */
.pkg-order-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #D4AF37;
    border: 1px solid #D4AF37;
    color: #000;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.package-card:hover .pkg-order-now-btn,
.pkg-order-now-btn:hover {
    background: #f1c40f;
    border-color: #f1c40f;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.5);
}
