/* Estilos gerais */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
} 

body{ 
    background-color: #f8f8ff; 
} 

/*__________________________________________________________________________________*/ 

header { 
    position: relative; 
    height:180px; 
    width:100%; 
    z-index: 999; 
    display: flex; 
    align-items: center; 
    padding: 0 20px;
    justify-content: space-between; 
} 

header::before { 
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-image: url('../imagens/banners\ nav\ loja.png'); 
    background-size:cover; 
    z-index: -1; 
} 

.logo img { 
    max-width: 300px;
    height: auto; 
} 

.social-icons { 
    display: flex; 
    gap: 20px; 
} 

.social-icons img { 
    width: 40px; 
    height: auto; 
} 


/* RESTANTE DO CSS */
nav { 
    font-family: 'Anton', sans-serif; 
    background-color: rgba(154, 13, 12, 1); 
    position: sticky; 
    top: 0; 
    z-index: 998; 
    padding: 20px 0; 
} 

nav ul { 
    display: flex; 
    justify-content: center; 
    list-style-type: none; 
    padding: 0; 
} 

nav ul li { 
    margin: 0 20px; 
} 

nav ul li a { 
    color: #f8f8ff; 
    text-decoration: none; 
    font-size: 18px; 
} 

nav ul li a:hover { 
    text-decoration: underline; 
} 

@media screen and (max-width: 1199px) {  

    nav{ 
        font-size: 16px; 
    } 

} 

@media screen and (max-width: 768px) { 
    .logo img{ 
        max-width: 200px; 
        height: auto; 
    } 

    header { 
        justify-content: center; 
        height: 150px; 
    } 

    .social-icons { 
        display: none; 
    } 
    
    header { 
        justify-content: center; 
    } 
    

    nav{ 
        font-size: 14px; 
    } 
} 

@media screen and (max-width: 500px){ 
    .logo img{ 
        max-width: 200px; 
        height: auto; 
    } 

    header { 
        justify-content: center; 
        height: 150px; 
    } 

    .social-icons { 
        display: none; 
    } 
    
    header { 
        justify-content: center; 
    } 

    nav{ 
        font-size: 12px; 
    } 
} 

/*__________________________________________________________________________________*/ 

footer { 
    background: linear-gradient(90deg, rgba(154, 13, 12, 1) 0%, rgba(154, 13, 12, 1) 42%, rgba(255, 220, 0, 1) 100%); 
    padding: 30px 20px; 
    color: #fff; 
    text-align: center; 
    overflow: hidden; 
    font-family: 'Oswald', sans-serif; 
} 

.footer-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    flex-wrap: wrap; 
    width: 90%; 
    max-width: 1200px; 
    margin: auto; 
    gap: 90px; 
} 

.facebook-widget, .instagram-widget { 
    flex: 1 1 340px; 
    min-width: 250px; 
    max-width: 340px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
} 

.instagram-widget iframe, .facebook-widget iframe { 
    width: 100%; 
    height: 400px; 
    border: none; 
    border-radius: 5px; 
} 

.footer-links { 
    flex: 1; 
    text-align: right; 
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
} 

.footer-links p { 
    margin: 10px; 
} 

.footer-links a { 
    color: #fff; 
    text-decoration: none; 
    font-size: 18px; 
    position: relative; 
    transition: all 0.3s ease-in-out; 
} 

.footer-links a::after { 
    content: ""; 
    position: absolute; 
    left: 50%; 
    bottom: -3px; 
    width: 0; 
    height: 2px; 
    background-color: #fff; 
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out; 
} 

.footer-links a:hover { 
    font-size: 20px; 
} 

.footer-links a:hover::after { 
    width: 100%; 
    left: 0; 
} 

@media (max-width: 1024px) { 
    .footer-container { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
    } 

    .footer-links { 
        display: none; 
    } 
} 

@media (max-width: 500px) { 
    footer { 
        padding: 20px 10px; 
    } 

    .footer-links a { 
        display: none; 
    } 
} 


/*__________________________________________________________________________________*/ 

.swiper-container { 
    text-align: center; 
    width: 100%; 
    height: 100%; 
    max-height: 530px; 
    overflow: hidden; 
} 

.swiper-slide { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    opacity: 0; 
    transition: opacity 0.8s ease-in-out; 
} 

.swiper-slide-active { 
    opacity: 1; 
} 

.swiper-slide img { 
    display: flex; 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
} 

.swiper-button-next, 
.swiper-button-prev { 
    color: white; 
    z-index: 10; 
} 

.swiper-pagination-bullet { 
    background-color: rgba(255, 255, 255, 0.6); 
} 

.swiper-pagination-bullet-active { 
    background-color: white; 
} 

@media (max-width: 768px) { 
    .swiper-container { 
        height: 300px; 
    } 
} 

/*__________________________________________________________________________________*/ 

.content { 
    margin-top: 0px; 
    margin-bottom: 0px; 
    padding: 0px; 
    text-align: center; 
    position: relative; 
} 

/*__________________________________________________________________________________*/ 

.content-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
    padding: 20px; 
    font-family: 'Oswald', sans-serif; 
} 

.card { 
    background-color: #fff; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    overflow: hidden; 
    max-width: 300px; 
    width: 100%; 
    text-align: center; 
    transition: transform 0.3s; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
} 

.card:hover { 
    transform: scale(1.05); 
} 

.card img { 
    width: 100%; 
    height: auto; 
} 

.card h3 { 
    font-size: 1.5rem; 
    margin: 10px 0; 
} 

.card p { 
    font-size: 1rem; 
    margin: 10px 15px; 
    color: #666; 
} 


.card a { 
    display: inline-block; 
    margin: 10px 0 20px; 
    padding: 12px 20px; 
    text-decoration: none; 
    color: #f8f8ff; 
    transition: all 0.3s ease-in-out; 
    background-color: #9a0d0c; 
    max-width: max-content; 
    border-radius: 7px; 
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); 
} 

.card a:hover { 
    color: #9a0d0c; 
    background-color: #f8f8ff; 
    transform: scale(1.05); 
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); 
} 

@media (max-width: 768px) { 
    .content-grid { 
        flex-direction: column; 
        align-items: center; 
    } 

    .card { 
        width: 90%; 
    } 
} 

@media (max-width: 480px) { 
    .card { 
        width: 100%; 
    } 
} 

/*__________________________________________________________________________________*/ 

.overlay { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.8); 
    justify-content: center; 
    align-items: center; 
    z-index: 1000; 
    padding: 20px; 
} 

.overlay-content { 
    text-align: center; 
    max-width: 90%; 
} 

.overlay-img { 
    max-width: 35%; 
    cursor: pointer; 
    transition: transform 0.3s; 
} 

.overlay-img:hover { 
    transform: scale(1.05); 
} 

@media (max-width: 768px) { 
    .overlay img { 
        max-width: 100%; 
        height: auto; 
    } 
} 

@media (max-width: 480px) { 
    .overlay img { 
        max-width: 100%; 
        height: auto; 
    } 
} 

@media (max-width: 1199px){ 
    .overlay img { 
        max-width: 55%; 
    } 
} 

.close-button { 
    font-size: 30px; 
    color: white; 
    cursor: pointer; 
    position: absolute; 
    top: 20px; 
    right: 30px; 
} 



/* Setas do overlay */
.arrow {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    transition: 0.3s;
    z-index: 2001;
}

.arrow:hover {
    color: #ccc;
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

/* Ajusta imagem única no overlay */
.overlay-content img {
    max-width: 90%;
    max-height: 90vh;
    transition: transform 0.3s;
}

.overlay-content img:hover {
    transform: scale(1.02);
}




/*__________________________________________________________________________________*/ 

.botao-flutuante { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    width: 50px; 
    height: 50px; 
    background: #9a0d0c; 
    color: #ffdc00; 
    font-size: 24px; 
    font-weight: bold; 
    border: none; 
    border-radius: 50%; 
    cursor: pointer; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
    transition: all 0.3s ease-in-out; 
    z-index: 1000; 
    outline: none; 
} 

.botao-flutuante:hover { 
    background: #fff; 
    color: #9a0d0c; 
    transform: scale(1.1); 
} 

.botao-flutuante:active { 
    background: #ffdc00 !important; 
    color: #9a0d0c !important; 
} 

@media (max-width: 768px) { 
    .botao-flutuante { 
        width: 40px; 
        height: 40px; 
        font-size: 20px; 
        bottom: 15px; 
        right: 15px; 
    } 
} 

@media (max-width: 500px) { 
    .botao-flutuante { 
        width: 40px; 
        height: 40px; 
        font-size: 18px; 
        bottom: 10px; 
        right: 10px; 
    } 
}





/* Esconde o botão em telas grandes */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 10px 20px;
}

/* Esconde a lista em mobile por padrão */
.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Estilo responsivo */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        background-color: rgba(154, 13, 12, 1);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    .nav-list.show {
        display: flex;
    }

    .nav-list li {
        margin: 15px 0;
        text-align: center;
    }
}


/* ___________________________ */
.page-title {
    color: #fff;
    font-size: 18px;
    margin-left: 10px;
    
}

/* Só aparece no mobile */
@media screen and (max-width: 768px) {
    nav {
        display: flex;
        align-items: center;
        justify-content: start;
    }

    .page-title {
        display: inline-block;
    }
}

/* No desktop, escondemos */
@media screen and (min-width: 769px) {
    .page-title {
        display: none;
    }
}
