/* Unified Header Styles - Ported from index.html for consistency */

:root {
    /* Colors */
    --black: #0A0A0A;
    --white: #FFFFFF;
    --neon-orange: #FF6B00;
    --hot-pink: #FF0080;
    --electric-blue: #00D4FF;
    --deep-purple: #5D00FF;
    --gray-dark: #1A1A1A;
    --gray-medium: #2A2A2A;
    --gray-light: #CCCCCC;

    /* Theme variables */
    --bg-primary: var(--black);
    --bg-secondary: var(--gray-dark);
    --bg-tertiary: var(--gray-medium);
    --text-primary: var(--white);
    --text-secondary: var(--gray-light);
    --border-color: rgba(255, 255, 255, 0.1);
}

/* Light Mode Override */
[data-theme="light"] {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F8F8;
    --bg-tertiary: #EEEEEE;
    --text-primary: #0A0A0A;
    --text-secondary: #555555;
    --gray-dark: #F8F8F8;
    --gray-medium: #EEEEEE;
    --gray-light: #555555;
    --border-color: rgba(0, 0, 0, 0.1);
}

/* Typography needed for header */
.display-font {
    font-family: 'Bebas Neue', cursive !important;
    letter-spacing: 0.05em;
}

.impact-font {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 700;
    text-transform: uppercase;
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--border-color);
    height: 80px;
    transition: all 0.3s ease;
    overflow: visible;
}

[data-theme="light"] .nav-wrapper {
    background: rgba(255, 255, 255, 0.98);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo img {
    width: 40px;
    height: 40px;
    /* Ensure object fit to prevent distortion if aspect ratio differs */
    object-fit: contain;
}

.nav-logo span {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: 'Inter', sans-serif;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-orange);
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--neon-orange);
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--hot-pink);
    transition: left 0.3s;
    z-index: -1;
}

.nav-cta:hover::before {
    left: 0;
}

.nav-cta:hover {
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    /* Tablet adjustments can go here if needed */
}

@media (max-width: 768px) {
    .nav-wrapper {
        padding: 0 15px;
    }

    .nav-content {
        padding: 0;
    }

    .nav-menu {
        position: fixed !important;
        top: 80px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 80px) !important;
        background: var(--bg-primary) !important;
        background-color: var(--bg-primary) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 40px 20px !important;
        transition: left 0.3s ease !important;
        z-index: 99999 !important;
        overflow-y: auto !important;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3) !important;
        display: flex !important;
        border-right: 1px solid var(--border-color) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 10001;
        padding: 10px;
        margin-right: -10px;
    }

    .nav-toggle i {
        transition: transform 0.3s ease;
    }

    .nav-menu a {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-primary);
        text-decoration: none;
        display: block;
        font-size: 18px;
    }

    .nav-menu .nav-link {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu .nav-cta {
        margin-top: 20px;
        text-align: center;
        width: 100%;
        display: block;
        padding: 15px 30px;
    }

    /* Ensure light mode visibility */
    [data-theme="light"] .nav-menu {
        background-color: var(--bg-primary);
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    }
}
