/*estructura de la página*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #2C6B32; 
}

header {
    background-color: white; 
    padding: 10px 20px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    border-bottom: 4px solid #2C6B32;
}

header nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/*Contenedores (div's)*/

.banner {
    background-color: #98D5B2; 
    padding: 50px 0;
    text-align: center;
}

.banner h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.banner p {
    font-size: 1.5em;
}

.btn-primary {
    background-color: #2C6B32;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #1B4A23;
}

.services {
    display: flex;
    justify-content: space-around;
    padding: 50px;
    background-color: #F1F1F1;
}

.service {
    background-color: #FFFFFF;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    width: 25%;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service:hover {

    transition: all 300ms;
    background-color: #2C6B32;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* estética de elementos */

.logo{

    border-radius: 10px;
    padding: 10px;

}

footer {
    background-color: #2C6B32;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

img{

    height: 80px;

}

button{

    background-color: #2C6B32;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    transition: all 300ms;
}

button:hover{

    color: #2C6B32;
    background-color: white;
    cursor: pointer;
}

iframe{

    display: none;
}

#Sucursales{

    display: none;

}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .services {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    .service {
        width: 90%;
        margin: 0 auto 20px auto;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    .banner h1 {
        font-size: 2em;
    }
    .service {
        width: 100%;
        padding: 10px;
    }
    ul, li, button {
        font-size: 1em;
    }
    iframe {
        width: 100% !important;
        height: 180px !important;
    }
}