/*ESTILO PARA PÁGINA HTML nossos_produtos.html (nossos produtos) */

@font-face {
    font-family: 'Avenue';
    src: url(FONTES/Avenue-de-Madison.ttf)
}

@font-face {
  font-family: 'Adobe Garamond';
  src: url(FONTES/adobe-garamond.otf);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, #header-fixo, #menu-mobile{
    background-color: #f7f1ec;
}

#titulo_produtos{
    text-align: center;
    font-family: 'Avenue';
    font-size: 57px;
    color: #634647;
    margin-top: 25px;
    margin-bottom: -5px;
}

/*************** GALERIA DE IMAGENS ***************/
.container{
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.gallery-wrapper{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Melhor scroll no iOS */
    padding: 10px 0;
}

.gallery{
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
}

.gallery img{
    width: 500px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/************ APRESENTAÇÃO DOS PRODUTOS ************************/
#titulo_prod1{
    font-family: 'Avenue';
    font-size: 50px;
    color: rgba(71, 8, 8, 0.589);
    text-align: center;
    margin-bottom: -5px;
    margin-top: 20px;
    padding: 0 15px;
}
  
.bolos {
    display: flex;
    flex-direction: row;     
    width: 100%;
    max-width: 1550px;
    align-items: center;
    justify-content: center;
    padding: 0px 0;
}

.bolos.laranja{
    background-color: #be5d01;
}
.bolos.chocolate{
    background-color: #6e2913;
}
.bolos.banana{
    background-color: #fdf86f;
}
.bolos.maracuja{
    background-color: #eea213;
}
.bolos.cenoura{
    background-color: #cf5006;
}
.bolos.maca{
    background-color: #b90504;
}
.bolos.fuba{
    background-color: #cca968;
}
.bolos.coco{
   background-color:#f9f4e3
}
.bolos.bolachas{
   background-color:#e4c99d
}
.bolos.bolinhos{
    background-color: #e79f69;
}
.bolos.panetones{
    background-color: #92513c
}
.bolos.torradas{
    background-color: #b38660;
}

.box{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Proporção 1:2:1 - imagem, texto, imagem */
.box-img{ 
    flex: 1; 
}
.box-text{ 
    flex: 2;  
    display: flex;
    flex-direction: column; 
}

.box img{
    width: 450px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.subtitulo{
    font-family: 'Adobe Garamond';
    color: white;
    font-size: 45px;
    text-align: center;
    margin-bottom: 15px;
}
.subtitulo.banana, .texto_bolo.banana, .texto_bolo.bolachas, .subtitulo.bolachas{
    color: black;
}
.texto_bolo{
    color: white;
    text-align: center;
    margin-right: 20px;
    margin-left: 20px;
    font-size: 17px;
    line-height: 1.5;
}

/* ========== RESPONSIVIDADE ========== */

/* TABLETS - 481px a 1024px */
@media (max-width: 1024px) {
    #titulo_produtos {
        font-size: 45px;
        margin-top: 50px;
    }

    .gallery-wrapper{
        margin-top: -10px;
    }
    
    #titulo_prod1 {
        font-size: 38px;
    }
    
    .gallery img {
        width: 350px;
        height: 180px;
    }
    
    .box img {
        width: 100%;
        max-width: 350px;
        height: 250px;
    }
    
    .subtitulo {
        font-size: 36px;
    }
    
    .texto_bolo {
        font-size: 16px;
    }
}

/* CELULARES - até 768px */
@media (min-width:481px) and (max-width: 768px) {
    #titulo_produtos {
        font-size: 45px;
        margin-top: 25px;
        margin-bottom: 5px;
    }
    #titulo_prod1 {
        font-size: 35px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

     .gallery-wrapper{
        margin-top: -10px;
    }
    .gallery {
        gap: 8px;
    }
    .gallery img {
        width: 280px;
        height: 150px;
    }
    
    /* Layout vertical para celular */
    .bolos {
        flex-direction: column;
        padding: 10px 0;
    }
    
    /* Reorganizando a ordem dos elementos para imagem - texto - imagem */
    .bolos.laranja,
    .bolos.chocolate,
    .bolos.maracuja,
    .bolos.cenoura,
    .bolos.fuba,
    .bolos.bolinhos,
    .bolos.torradas,
    .bolos.banana,
    .bolos.maca,
    .bolos.bolacha {
        flex-direction: column;
    }
    
    /* Resetando flex para layout vertical */
    .box {
        flex: none;
        width: 100%;
        padding: 10px 0px;
    }
    
    .box img {
        width: 100%;
        max-width: 100%;
        height:300px;
        max-height: 350px;
    }
    
    .subtitulo {
        font-size: 44px;
        margin-bottom: 10px;
    }
    
    .texto_bolo {
        font-size: 17px;
        margin: 0;
        padding: 0px 10px 5px 10px;
    }
}

/* CELULARES PEQUENOS - até 480px */
@media (max-width: 480px) {
    #titulo_produtos{
        font-size: 35px;
        padding-top: 20px;
    }

    #titulo_prod1 {
        font-size: 26px;
        letter-spacing: 1.2;
        margin-top: 20px;
        margin-bottom: 5px;
    }

     .gallery-wrapper{
        margin-top: -10px;
    }
    .gallery img {
        width: 220px;
        height: 130px;
    }
    
    .subtitulo {
        font-size: 40px;
    }
/* Layout vertical para celular */
    .bolos {
        flex-direction: column;
        padding: 10px 0;
    }
    
    /* Reorganizando a ordem dos elementos para imagem - texto - imagem */
    .bolos.laranja,
    .bolos.chocolate,
    .bolos.maracuja,
    .bolos.cenoura,
    .bolos.fuba,
    .bolos.bolinhos,
    .bolos.torradas, 
    .bolos.banana,
    .bolos.maca,
    .bolos.bolachas,
    .bolos.banana, 
    .bolos.maca, 
    .bolos.bolachas{
        flex-direction: column;
    }

    /* Resetando flex para layout vertical */
    .box {
        flex: none;
        width: 100%;
        padding: 10px 0px;
    }
    .box img {
        width: 100%;
        max-width: 100%;
        height:300px;
        max-height: 350px;
    }
    
    .subtitulo {
        font-size: 33px;
        margin-bottom: 10px;
    }
    
    .texto_bolo {
        font-size: 14px;
        margin: 0;
        padding: 0px 10px 5px 10px;
    }
}