@import url(../../base/colors.css);

   /* Celular pequeño (Mobile S - 320px) */
   @media (max-width: 479px) {
    .services {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-bg-light);
    }
    
    .container-padre {
        background-color: var(--color-bg-light);
        width: 95%;
        height: 95%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 0; 
    }
    
    .section__description {
        font-family: 'Bai Jamjuree', sans-serif;
        font-size: 1rem; 
        width: 90%;
        height: auto; 
        line-height: 1.4;
        text-align: center;
        padding-top: 0.8rem;
    }
    
    .gallery-container {
        display: flex;
        flex-direction: row; 
        gap: 0.5rem;
        width: 85%;
        height: 1%; 
        overflow-x: visible;
        padding-bottom: 1rem;
        margin-top: 2rem;
    }
    
    .gallery-item {
        width: 100%;
        height: auto;
        min-width: auto; 
        margin-bottom: 1.5rem; 
    }
    
    .gallery-title {
        font-family: 'Prata', serif;
        font-size: 1.1rem; 
        text-align: center;
        height: auto;
        padding-top: 0.5rem;
        width: 100%;
    }
    
    .gallery-image {
        width: 100%;
        height: 7rem; 
        border-radius: 0.125rem;
        object-fit: cover;
    } 
    
    .section__title {
        display: flex;
        align-items: center;
        gap: 0.3rem; 
        justify-content: center;
        width: 95%;
        height: auto;
        margin-bottom: 0.5rem;
        flex-wrap: nowrap; 
    }
    
    .title {
        font-family: 'Prata', serif;
        font-size: 1.1rem;
        color: var(--color-text-dark);
        width: 70%;
        text-align: center;
    }
    
    .title__line {
        width: 20%; 
        height: 0.1rem;
        background-color: var(--color-secondary);
        border: none;
    }
}
   /* Celular mediano */

@media (min-width: 480px) and (max-width: 767px){
    .services{
        display: flex;
        align-items: center;
        justify-content: center; 
        background-color: var(--color-bg-light);
    }
    
    .container-padre{
        background-color: var(--color-bg-light);
        width: 95%;
        height: 95%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0; 
    }
    
    .section__description {
        font-family: 'Bai Jamjuree', sans-serif;
        font-size: 0.9rem; 
        width: 90%;
        height: 25%;
        line-height: 1.5; 
        text-align: center;
        padding-top: 1rem;
        padding-bottom: 1.5rem;
    }
    
    .gallery-container {
        display: flex; 
        gap: 0.5rem;
        width: 100%; 
        height: 65%;
        padding-bottom: 1rem;
        margin-top: 12%;
    }
    
    .gallery-item {
        width: 33%;
        height: 100%;
        min-width: 130px; 
        transition: transform 0.3s ease;
    }
    
    .gallery-title {
        font-family: 'Prata', serif;
        font-size: 0.9rem; 
        text-align: center;
        height: auto;
        padding-top: 0.5rem;
        width: 100%;
    }
    
    .gallery-image {
        width: 100%;
        height: 65%; 
        border-radius: 0.125rem;
        object-fit: cover;
    } 
    
    .section__title {
        display: flex;
        align-items: center;
        gap: 0.5rem; 
        justify-content: center;
        width: 90%; 
        height: 10%;
        margin-bottom: 0.5rem;
    }
    
    .title{
        font-family: 'Prata', serif;
        font-size: 1.5rem; 
        color: var(--color-text-dark);
        width: 60%; 
        text-align: center;
    }
    
    .title__line{
        width: 28%; 
        height: 0.15rem;
        background-color: var(--color-secondary);
        border: none;
    }
}

 /* Tabletas pequeñas */
@media (min-width: 768px) and (max-width: 1023px) {
    .services {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-bg-light);
    }
    
    .container-padre {
        background-color: var(--color-bg-light);
        width: 95%;
        height: 95%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2.5rem 0;
    }
    
    .section__description {
        font-family: 'Bai Jamjuree', sans-serif;
        font-size: 1.1rem;
        width: 85%;
        height: auto;
        line-height: 1.6;
        text-align: center;
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }
    
    .gallery-container {
        display: flex;
        gap: 1.5rem;
        width: 90%;
        height: 60%;
        padding-bottom: 1.5rem;
    }
    
    .gallery-item {
        width: 33%;
        height: 100%;
        min-width: 200px;
        transition: transform 0.3s ease;
    }
    
    .gallery-title {
        font-family: 'Prata', serif;
        font-size: 1.3rem;
        text-align: center;
        height: auto;
        padding-top: 0.8rem;
        width: 100%;
    }
    
    .gallery-image {
        width: 100%;
        height: 75%;
        border-radius: 0.125rem;
        object-fit: cover;
    } 
    
    .section__title {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        justify-content: center;
        width: 85%;
        height: 15%;
    }
        .title {
        font-family: 'Prata', serif;
        font-size: 1.8rem;
        color: var(--color-text-dark);
        width: 55%;
        text-align: center;
    }
    
    .title__line {
        width: 30%;
        height: 0.18rem;
        background-color: var(--color-secondary);
        border: none;
    }

}