/* Estilos generales */
body {
    font-family: 'Jaro', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100vh;
}

/* Estilos de la navegación */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #da001d;
    padding: 10px 20px;
    position: relative;
}

.nav-logo {
    height: 84px;
    width: 210px;
    color: white;
    font-weight: bold;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000; /* Borde negro */
}
.nav-logo > img {
    width: 100%;
    height: 100%;
}
.nav-toggle {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.cont-nav {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-element {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
    border-radius: 10px;
}

.nav-element:hover {
    background-color: #be2841;
}
/* Estilos de la sección de servicios */
.services-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.services-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.service-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item h3 {
    font-size: 1.5em;
    color: #555;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1em;
    color: #666;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .services-section h2 {
        font-size: 2em;
    }

    .service-item h3 {
        font-size: 1.3em;
    }

    .service-item p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .services-section h2 {
        font-size: 1.8em;
    }

    .service-item h3 {
        font-size: 1.2em;
    }

    .service-item p {
        font-size: 0.9em;
    }
}
/* FOOTER ESTILOS*/
footer{
    background-color: #da001d;
    position: relative;
    padding: 10px;
}
.redes {
    font-size: 34px;
    text-decoration: none;
    color: #ededed;
    width: 30%;
    display: flex;
    justify-content: space-evenly;
}
.redes > a{
    color: #ededed;
    margin-top: 10px;
    transition: color 0.3s;
}
.redes > a:hover {
    color: #f94144;
}

/* Media Query para dispositivos móviles */
@media (max-width: 600px) {
    .nav-toggle {
        display: block;
    }

    .cont-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color:#da001d;
        position: absolute;
        top: 100%;
        left: 0;
    }

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

    .nav-element {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        margin: 10px;
    }
    li {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .redes{
        width: 90%;
    }
}