/* HEADER PROFISSIONAL - POSTO VEREDA */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #FF6B35;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* LOGO SVG OTIMIZADA */
.nav-logo .logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-logo .logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
}

.nav-link {
    color: #2D5016;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #FF6B35, #ff8c5a);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* LINK ATIVO */
.nav-link.active {
    background: linear-gradient(135deg, #2D5016, #4a7024) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.4);
}

.nav-link.active::before {
    display: none;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 107, 53, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: #FF6B35;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

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

/* MOBILE RESPONSIVO */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
        width: 80%;
        text-align: center;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 12px;
        background: rgba(45, 80, 22, 0.05);
        margin-bottom: 0.5rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-logo .logo {
        height: 45px;
        max-width: 150px;
    }
}

/* TABLET RESPONSIVO */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 1rem 3%;
    }
    
    .nav-menu {
        gap: 0.3rem;
    }
    
    .nav-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* MOBILE PEQUENO */
@media (max-width: 480px) {
    .nav-logo .logo {
        height: 40px;
        max-width: 120px;
    }
    
    .nav-container {
        padding: 0.8rem 3%;
    }
}
