/**
 * HEADER - SkalRO
 * Header épico viking com navegação
 */

/* =============================================
   HEADER PRINCIPAL
   ============================================= */

.viking-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(44, 24, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--viking-border);
    transition: all 0.3s ease;
}

.viking-header.scrolled {
    background: rgba(44, 24, 16, 0.98);
    box-shadow: 0 4px 20px var(--viking-shadow-strong);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.header-logo {
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

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

.header-logo .logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
    transition: all 0.3s ease;
}

.header-logo:hover .logo-img {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.7));
    transform: scale(1.05);
}

/* =============================================
   NAVEGAÇÃO
   ============================================= */

.header-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header-nav a {
    color: var(--viking-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--viking-gradient-gold);
    transition: width 0.3s ease;
}

.header-nav a:hover {
    color: var(--viking-gold);
}

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

.header-nav a.active {
    color: var(--viking-gold);
}

.header-nav a.active::after {
    width: 100%;
}

/* =============================================
   BOTÃO CTA NO HEADER
   ============================================= */

.header-cta {
    display: flex;
    gap: 1rem;
}

.header-cta .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #B8860B 0%, #8B6914 50%, #B8860B 100%);
    border-color: #8B6914;
    color: #F5DEB3 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.header-cta .btn:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 50%, #D4AF37 100%);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
    color: #2C1810 !important;
    text-shadow: none;
}

/* =============================================
   MENU MOBILE
   ============================================= */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--viking-border);
    color: var(--viking-gold);
    font-size: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background: var(--viking-bg-card);
    border-color: var(--viking-gold);
}

/* =============================================
   SPACER PARA HEADER FIXO
   ============================================= */

.header-spacer {
    height: 90px;
}

/* =============================================
   RESPONSIVIDADE
   ============================================= */

@media (max-width: 1024px) {
    .header-nav {
        gap: 1.5rem;
    }
    
    .header-nav a {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-nav {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: rgba(44, 24, 16, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 2px solid var(--viking-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .header-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .header-nav a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .header-nav a:last-child {
        border-bottom: none;
    }
    
    .header-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .header-cta .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
        height: 75px;
    }
    
    .header-spacer {
        height: 75px;
    }
    
    .header-logo {
        font-size: 1.5rem;
    }
    
    .header-nav {
        top: 75px;
    }
}

