/* Header & Navigation Styles */
html {
    scrollbar-gutter: stable;
}

:root {
    --primary: #0a3821;
    --primary-dark: #072918;
    --secondary: #1a202c;
    --accent: #3182ce;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-body: #f8fafc;
    --radius-lg: 24px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(10, 56, 33, 0.98) 0%, rgba(7, 41, 24, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    min-height: 80px;
    gap: 40px;
}

/* Logo */
#logo-img {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-link:active {
    transform: scale(1);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transform: translateY(-2px);
}

.nav-link.active {
    color: white;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Partner Badge & Help Button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.partner-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.partner-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.partner-link:hover {
    transform: scale(1.1);
}

.partner-link:active {
    transform: scale(1);
}

.velux-logo-img {
    height: 22px;
    filter: brightness(1.1);
}

.help-button {
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
    padding: 0;
    /* Reset global button padding */
}

.help-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.help-button:active {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1) rotate(0deg);
    box-shadow: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
    order: 10;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Header Separator */
.header-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #0a3821 0%, #072918 100%);
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-menu.open {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-link {
        font-size: 1.5rem;
        width: 80%;
        text-align: center;
        padding: 15px;
    }

    .header-content {
        gap: 20px;
    }

    .header-actions .partner-badge {
        display: none !important;
    }
}