/* =========================================
   1. GLOBAL STYLES & VARIABLES
   ========================================= */
:root {
    --primary-gold: #D4AF37;
    --dark-bg: #121212;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --text-light: #F5F5F5;
    --logo-clr: linear-gradient(45deg, #B2AD81, black);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* =========================================
   2. PREMIUM GOLDEN SWEEP PRELOADER
   ========================================= */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.logo-reveal-wrapper {
    position: relative;
    width: 80%;
    max-width: 440px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-shadow {
    width: 100%;
    height: auto;
    filter: grayscale(100%) opacity(0.15);
}

.logo-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: 
        sweepReveal 2.2s cubic-bezier(0.77, 0, 0.175, 1) forwards,
        premiumPulse 1.5s ease-in-out 2.2s infinite alternate;
}

@keyframes premiumPulse {
    0% { 
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(178, 173, 129, 0.4)); 
    }
    100% { 
        transform: scale(1.04); /* A very elegant, subtle zoom */
        filter: drop-shadow(0 0 40px rgba(178, 173, 129, 0.9)); /* A richer, brighter gold glow */
    }
}
.light-beam {
    position: absolute;
    top: -20%;
    left: -50%;
    width: 20px;
    height: 140%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(178, 173, 129, 0.8) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    animation: lightSweep 2.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    pointer-events: none;
}

@keyframes sweepReveal {
    0% { clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

@keyframes lightSweep {
    0% { left: -50%; opacity: 0; }
    30% { opacity: 1; }
    100% { left: 150%; opacity: 0; }
}

.preloader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
}

/* =========================================
   3. NAVIGATION BAR & MOBILE SIDEBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
    background-color: #ffffff;
    padding: 9px 18px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 220px;
    transition: transform 0.3s ease;
    z-index: 1001; /* Keeps logo above overlay */
}

.logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Desktop Links */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.95rem;
    transition: color 0.3s ease, border 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* padding: 8px 2px; */
    border: 1px solid transparent;
}

.nav-links a:hover {
    border: 2px solid #B2AD81 !important;
    border-radius: 19px;
    color: #B2AD81 !important;
    padding: 8px 13px;
}

.active-navbar {
    border: 2px solid #B2AD81 !important;
    border-radius: 19px;
    color: #B2AD81 !important;
    padding: 8px 13px;
}

/* Nav Actions (Button + Hamburger) */
.nav-actions {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.btn-call-now {
    background: linear-gradient(45deg, #B2AD81, #5B5A50);
    color: #000;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 15px #5B5A50;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.btn-call-now:hover { transform: scale(1.05); }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- MOBILE SIDEBAR STYLES --- */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hamburger {
    display: none; /* Hidden on Desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    margin-left: 20px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #B2AD81;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger Animation to 'X' */
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- MOBILE SIDEBAR STYLES (Bulletproof Fix) --- */
@media (max-width: 1024px) {
    .navbar { 
        padding: 15px 5% !important; 
        background: rgba(18, 18, 18, 0.9) !important; 
    }
    .logo { 
        max-width: 150px !important; 
        padding: 6px 12px !important; 
    }
    .btn-call-now { 
        padding: 8px 18px !important; 
        font-size: 0.9rem !important; 
    }
    
    /* Ensure Hamburger is always on top */
    .hamburger { 
        display: flex !important; 
        z-index: 9999 !important; 
    } 
    
    /* THE FIX: Forces the Sidebar into View perfectly */
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        transform: translateX(120%) !important; /* Hides it smoothly off-screen */
        width: 280px !important;
        height: 100vh !important;
        background: #121212 !important; /* Solid dark background */
        border-left: 1px solid rgba(178, 173, 129, 0.3) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1) !important;
        z-index: 1005 !important;
    }

    /* Slides the menu perfectly into view when active */
    .nav-links.active {
        transform: translateX(0) !important;
        box-shadow: -15px 0 30px rgba(0,0,0,0.9) !important;
    }

    /* Forces the text links to be clearly visible */
    .nav-links a {
        display: block !important;
        margin: 15px 0 !important;
        font-size: 1.3rem !important;
        color: #F5F5F5 !important;
        width: 100% !important;
        text-align: center !important;
        border: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-links a:hover, .active-navbar {
        color: #B2AD81 !important;
        background: transparent !important;
    }
}
/* =========================================
   4. FOOTER SECTION 
   ========================================= */
.glass-footer {
    position: relative;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(178, 173, 129, 0.2);
    padding: 80px 5% 20px 5%;
    overflow: hidden;
    color: #e0e0e0;
}

.circle-3 {
    width: 300px;
    height: 300px;
    background: #B2AD81;
    bottom: -150px;
    right: -100px;
    opacity: 0.10;
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    animation: rotateElement 20s infinite linear;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-brand { flex: 1; min-width: 280px; max-width: 350px; }

.footer-logo {
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 20px;
    max-width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-logo img { width: 100%; height: auto; display: block; }
.footer-brand p { line-height: 1.6; color: #a0a0a0; margin-bottom: 25px; }

.footer-links, .footer-subscribe, .footer-contact { flex: 1; min-width: 220px; }

.footer-links h3, .footer-subscribe h3, .footer-contact h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-subscribe h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #B2AD81; 
}

.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 15px; }
.footer-links ul li a {
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links ul li a:hover { color: #B2AD81; transform: translateX(8px); }

.subscribe-form { display: flex; margin-bottom: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.callback-form { margin-bottom: 25px; }

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(178, 173, 129, 0.3);
    border-right: none;
    color: #fff;
    border-radius: 5px 0 0 5px;
    outline: none;
    font-size: 0.9rem;
    transition: border-color 0.3s;
    width: 100%;
}
.subscribe-form input:focus { border-color: #B2AD81; }

.subscribe-form button {
    min-width: fit-content;
    padding: 12px 15px;
    background: #B2AD81;
    color: #000;
    border: none;
    border-radius: 0 5px 5px 0;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.subscribe-form button:hover { background: #5B5A50; color: #fff; }

.social-links { display: flex; gap: 15px; justify-content: center;}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    transition: all 0.4s ease;
    border-radius: 50%;
}
.social-links a img { width: 30px; height: 30px; object-fit: contain; transition: transform 0.4s ease; }
.social-links a:hover { transform: translateY(-8px); box-shadow: 0 10px 20px rgba(178, 173, 129, 0.4); }
.social-links a:hover img { transform: scale(1.2) rotate(5deg); }

.footer-contact address { font-style: normal; }
.address-item { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: #a0a0a0; }
.address-item a { color: #a0a0a0; text-decoration: none; transition: color 0.3s ease; }
.address-item a:hover { color: #B2AD81; }

/* Footer Bottom & Creator Badge */
.footer-bottom {
    position: relative;
    text-align: center;
    padding-top: 40px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.9rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}

.creator-badge {
    margin-top: 20px;
    width:  fit-content;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 20px;
    border-radius: 30px;
    border: 4px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
}

.creator-badge:hover {
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
    transform: scale(1.02);
}

.created-text { font-size: 12px; color: white; font-weight: 400; }
.hidsign-glow {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    gap: 6px;
}

.glow-dot {
    width: 8px;
    height: 8px;
    background-color: #00f2fe;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f2fe, 0 0 20px #00f2fe;
    animation: pulse-dot 2s infinite;
}

/* --- Footer Responsive Layout --- */
@media (min-width: 1024px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
    .creator-badge { margin-top: 0; position: absolute; right: 16px; bottom: 20px; }
}

@media (max-width: 768px) {
    .footer-content { flex-direction: row; gap: 40px; }
    .footer-brand, .footer-links, .footer-subscribe, .footer-contact { width: 100%; max-width: 100%; }
    .glass-footer { padding: 50px 5% 20px 5%; }
    .footer-brand p {text-align: center;}
}

/* =========================================
   5. CUSTOM TOAST NOTIFICATION
   ========================================= */
.custom-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid #B2AD81;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(178, 173, 129, 0.2);
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    transform: translateX(150%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.custom-toast.show { transform: translateX(0); opacity: 1; }

.toast-icon {
    background: #B2AD81;
    color: #000;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}
.toast-message { color: #fff; font-size: 1rem; font-weight: 500; }

@media (max-width: 768px) {
    .custom-toast { bottom: 20px; right: 5%; width: 90%; justify-content: center; }
}

/* --- Center Footer Logo on Mobile & Tablet ONLY --- */
@media (max-width: 1024px) {
    .footer-brand {
        text-align: center; /* Centers the logo and the paragraph text */
    }
    
    .footer-logo {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}