/* ============================================
   HEADER DARK THEME - 100% BLACK
   Tema escuro profissional e moderno
   ============================================ */

/* Navbar 100% PRETA */
header .navbar-default {
    background-color: #000000 !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    min-height: 90px !important;
    padding: 10px 0 !important;
}

/* Container do navbar */
header .navbar-header {
    float: left !important;
}

/* Garantir que o menu fique à direita */
header .navbar-collapse {
    float: right !important;
}

header .navbar-collapse .navbar-nav {
    margin: 0 !important;
}

/* Logo/Brand */
header .navbar-brand,
header .navbar-default .navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    padding: 15px 20px !important;
    margin: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
}

header .navbar-brand img {
    max-height: 80px !important;
    width: auto !important;
    display: block !important;
    filter: brightness(1.2) contrast(1.1) !important;
}

header .navbar-brand:hover,
header .navbar-brand:focus {
    color: #00D9A3 !important;
    text-shadow: 0 0 20px rgba(0, 217, 163, 0.6);
    transform: scale(1.05);
    background-color: rgba(0, 217, 163, 0.1) !important;
    box-shadow: 0 0 20px rgba(0, 217, 163, 0.3) !important;
}

/* Links do menu - Texto branco no preto */
header .navbar-nav > li > a {
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 18px;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover nos links - Acento verde neon */
header .navbar-nav > li > a:hover,
header .navbar-nav > li > a:focus {
    color: #00D9A3 !important;
    background-color: rgba(0, 217, 163, 0.1) !important;
    border-radius: 4px;
    text-shadow: 0 0 10px rgba(0, 217, 163, 0.5);
}

/* Link ativo com underline verde neon */
header .navbar-nav > li.active > a,
header .navbar-nav > li.active > a:hover,
header .navbar-nav > li.active > a:focus {
    color: #00D9A3 !important;
    background-color: transparent !important;
    border-bottom: 3px solid #00D9A3;
    text-shadow: 0 0 10px rgba(0, 217, 163, 0.5);
}

/* Dropdown menu - Dark */
header .dropdown-menu {
    background-color: #1a1a1a !important;
    border: 1px solid #333333;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    overflow: hidden;
}

header .dropdown-menu > li > a {
    color: #ffffff !important;
    transition: all 0.3s ease;
    padding: 12px 20px;
}

header .dropdown-menu > li > a:hover {
    background-color: #00D9A3 !important;
    color: #000000 !important;
}

/* Menu hambúrguer mobile - Verde neon */
header .navbar-toggle {
    border-color: #00D9A3 !important;
    background-color: rgba(0, 217, 163, 0.2) !important;
    transition: all 0.3s ease;
}

header .navbar-toggle:hover,
header .navbar-toggle:focus {
    background-color: rgba(0, 217, 163, 0.3) !important;
    box-shadow: 0 0 15px rgba(0, 217, 163, 0.4);
}

header .navbar-toggle .icon-bar {
    background-color: #00D9A3 !important;
    box-shadow: 0 0 5px rgba(0, 217, 163, 0.6);
}

/* Mobile responsivo - Preto total */
@media (max-width: 767px) {
    header .navbar-default {
        background-color: #000000 !important;
    }

    header .navbar-header {
        float: none !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    header .navbar-brand {
        float: none !important;
    }

    header .navbar-brand img {
        max-height: 60px !important;
    }

    header .navbar-collapse {
        background-color: #0a0a0a !important;
        border-top: 2px solid #00D9A3;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
        float: none !important;
    }

    header .navbar-nav > li > a {
        padding: 12px 20px;
        border-left: 3px solid transparent;
    }

    header .navbar-nav > li > a:hover {
        border-left: 3px solid #00D9A3;
        background-color: rgba(0, 217, 163, 0.1) !important;
    }

    header .navbar-nav > li.active > a {
        border-left: 3px solid #00D9A3;
        border-bottom: none;
        background-color: rgba(0, 217, 163, 0.15) !important;
    }
}

/* Desktop - telas maiores */
@media (min-width: 768px) {
    header .navbar-header {
        width: auto !important;
    }

    header .navbar-brand {
        float: left !important;
    }

    header .navbar-collapse {
        width: auto !important;
    }

    header .navbar-nav {
        float: right !important;
    }

    header .navbar-nav > li {
        float: left !important;
    }

    header .navbar-nav > li > a {
        line-height: 70px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Efeito de brilho sutil */
header {
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00D9A3, transparent);
    opacity: 0.3;
}

/* Transições suaves */
header * {
    transition: all 0.3s ease;
}
