/* Header Component - Minimal & Timeless Design */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navbar */
.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 64px;
    position: relative;
}

/* Navbar Brand - Minimal */
.navbar-brand {
    display: flex;
    align-items: center;
    grid-column: 1;
    justify-self: start;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.brand-link:hover {
    color: #ffffff;
}

.brand-logo {
    width: 24px;
    height: 24px;
    color: #ffffff;
    opacity: 1;
    flex-shrink: 0;
}

.brand-text {
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Navbar Toggle (Mobile) - Minimal */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    grid-column: 3;
    justify-self: end;
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navbar Menu */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 48px;
    justify-content: center;
    grid-column: 2;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #00ffff;
}

.nav-link:hover {
    color: #ffffff;
}

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

/* Navbar Actions - Minimal */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    grid-column: 3;
    justify-self: end;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-outline:hover {
    background: transparent;
    border-color: rgba(0, 255, 255, 0.4);
    color: #00ffff;
}

.btn-outline i {
    font-size: 14px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .header-container {
        padding: 0 24px;
    }

    .navbar {
        height: 60px;
        display: flex;
        justify-content: space-between;
    }

    .navbar-brand {
        grid-column: auto;
        justify-self: auto;
    }

    .navbar-toggle {
        display: flex;
        grid-column: auto;
        justify-self: auto;
    }

    .navbar-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
        gap: 32px;
        transform: translateX(-100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        grid-column: auto;
        justify-content: flex-start;
    }

    .navbar-menu.active {
        transform: translateX(0);
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 0;
        font-size: 12px;
    }

    .navbar-actions {
        width: 100%;
        justify-content: flex-start;
        grid-column: auto;
        justify-self: auto;
    }

    .btn-outline {
        width: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .navbar {
        height: 56px;
    }

    .header-container {
        padding: 0 20px;
    }

    .brand-link {
        font-size: 18px;
    }

    .brand-logo {
        width: 20px;
        height: 20px;
    }

    .navbar-menu {
        top: 56px;
        padding: 24px 20px;
    }
}
