/* =================================================================
   UNIVERSAL HEADER STYLES (PREMIUM)
   ================================================================= */

:root {
    --text-main: #F5F5F0;
    --text-muted: rgba(245, 245, 240, 0.5);
    --frame-color: rgba(255, 255, 255, 0.15);
    --bg-dark: #090909;
}

/* GLOBAL RESETS (Ensures header and pages layout correctly) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER WRAPPER */
.header {
    padding: 20px 40px;
    border-bottom: 1px solid var(--frame-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(9, 9, 9, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    /* Fixed so it stays on top of hero sections */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Fallback for sticky context if needed */
.header.sticky-header {
    position: sticky;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.3s;
    z-index: 1010;
}

.logo:hover {
    opacity: 0.8;
}

.logo span {
    font-weight: 300;
    opacity: 0.5;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.05em;
    transition: color 0.3s, opacity 0.3s;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.tg-btn-nav {
    border: 1px solid var(--frame-color);
    padding: 8px 18px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.tg-btn-nav:hover {
    background: var(--text-main);
    color: var(--bg-dark) !important;
}

.tg-btn-nav svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Burger Menu (Mobile) */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 25px;
    cursor: pointer;
    z-index: 1010;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

/* Mobile Menu */
@media (max-width: 1024px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(9, 9, 9, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 18px;
        letter-spacing: 0.1em;
        color: var(--text-main);
    }

    .tg-btn-nav {
        margin-top: 20px;
        font-size: 14px;
        padding: 12px 24px;
    }

    /* Burger Animation */
    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* Mobile Padding Adjustment */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .logo {
        font-size: 18px;
    }
}

/* BREADCRUMBS STYLES (Global) */
.breadcrumbs {
    padding: 20px 40px;
    display: flex;
    gap: 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-family: 'Manrope', sans-serif;
    margin-top: 73px;
    /* Offset for fixed header */
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 15px 20px;
        margin-top: 61px;
    }
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--text-main);
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumbs .current {
    color: var(--text-main);
}