#rotating-banner {
    position: relative;
    width: 100%;
    height: 110px;
    overflow: hidden;
    margin: 0 auto;
    background-color: #1e7554; /* ou a cor do seu site */
}

#rotating-banner .heads-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

#rotating-banner .heads-img.active {
    opacity: 1;
    pointer-events: auto;
}

#rotating-banner .banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

header {
    background-color: #1e7554;
    padding-top: 15px;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: #1e7554;
}
.nav-itens {
    display: flex;
    gap: 15px;
    font-size: 20px;
}
.nav-itens a{
    color: #ffffff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 0 1px 2px rgb(25, 0, 27);
} 
.nav-itens a:hover{ 
    background-color: #ffffff;
    color: #00606d;
    transform: translateY(-2px);
}

.nav-logo-container img{
    width: auto;
    filter: brightness(0.7);
}
nav.fixed {
    position: fixed;
    height: 60px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.social-icons {
    display: flex;
    gap: 15px;
}
.social-icons a {
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #a7f3d0; 
}
@media (max-width: 768px) {
    #rotating-banner {
        height: 80px;
    }
    
    header {
        padding-top: 10px;
    }
    
    nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px;
        justify-content: space-between;
        align-items: center;
        min-height: 100px;

    }
    .nav-logo-container{
        order: 1;
    }
    .nav-logo-container img{
        max-height: 30px;
    }
    .nav-fixed {
        /* height: auto !important; */
        gap: 5px;
        padding: 8px 10px ;
    }
    
    .nav-itens {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        font-size: 16px;
        width: 100%;
        order: 3;
    }
    
    .nav-itens a {
        padding: 6px 12px;
        font-size: 16px;
    }
    
    .social-icons {
        gap: 12px;
        order: 2;
    }
    
    .social-icons a {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    #rotating-banner {
        height: 60px;
    }
    
    .nav-itens {
        font-size: 14px;
        gap: 8px;
    }
    
    .nav-itens a {
        padding: 5px 10px;
        font-size: 14px;
    }
    
    .social-icons a {
        font-size: 18px;
    }
}