/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    /* Reduced from 110px */
    filter: drop-shadow(0 0 15px var(--gold-primary));
    transition: 0.5s;
}

.logo img:hover {
    filter: drop-shadow(0 0 25px var(--gold-light));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.mobile-cta {
    display: none !important;
    /* Hidden on desktop */
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: 0.3s;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold-primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, var(--bg-color) 90%),
        linear-gradient(45deg, transparent 40%, rgba(197, 160, 40, 0.05) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: textShine 10s ease-in-out infinite;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

/* Authority Section */
.authority-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: center;
    /* Center globally */
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-weight: 300;
    text-align: center;
    /* Center globally */
}

.authority-grid {
    display: flex;
    justify-content: center;
    text-align: center;
}

.authority-content {
    max-width: 800px;
}

.authority-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Pain/Urgency Section */
.urgency-section {
    padding: var(--section-padding);
}

.pain-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.vs-divider {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold-dark);
    font-weight: bold;
}

/* Services */
.services-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    /* Reduced from 150px to fix void */
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-color) 100%);
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo {
    height: 40px;
    margin: 0 auto 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-links {
    color: var(--gold-dark);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {

    /* Compact Header on Mobile */
    :root {
        --section-padding: 60px 0;
    }

    .navbar {
        padding: 10px 0;
        /* Slightly more padding for larger logo */
        background: rgba(3, 3, 3, 0.95);
        /* Darker background */
    }

    .logo img {
        height: 90px;
        /* Reduced from 100px */
        /* Increased logo size */
    }

    /* Mobile Menu Toggle Logic handles display */
    /* .nav-links display handled by JS */

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content .subtitle {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    /* Restoring Mobile Menu Overlay */
    .mobile-cta {
        display: none !important;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1002;
        /* Above everything */
    }

    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--gold-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Hamburger Animation to X */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* Mobile Nav Overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background-color: #000000 !important;
        /* Force black */
        opacity: 1 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 9999 !important;
        /* Max Z-Index */
        margin: 0;
        padding: 0;
    }

    /* Ensure Toggle is above overlay */
    .mobile-menu-toggle {
        z-index: 10000 !important;
    }

    .nav-links.active {
        display: flex;
        /* Ensure it's flex when active */
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--text-primary);
        font-family: var(--font-heading);
        text-transform: uppercase;
    }

    .nav-links a:hover {
        color: var(--gold-primary);
    }

    /* Adjust button in mobile menu - High specificity to override components.css */
    .nav-links a.btn-primary {
        font-size: 1.2rem;
        /* Larger for touch */
        padding: 12px 30px;
        width: auto;
        /* Natural width */
        margin-top: 0;
        /* Let gap handle spacing */
    }

    /* Disable scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    .pain-comparison {
        display: flex;
        flex-direction: column;
        gap: 60px;
        /* Large gap to ensure no overlap */
        margin-top: 40px;
    }

    .vs-divider {
        margin: 0;
        transform: none;
        /* Reset rotation */
        font-size: 2rem;
        background: var(--bg-color);
        /* Hide line behind if needed */
        z-index: 2;
        padding: 0 20px;
    }

    .pain-card {
        padding: 40px 25px;
        width: 100%;
        /* Full width */
    }

    .pain-card h3 {
        font-size: 1.3rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}