﻿/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-color: #f3f3f3;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Encabezado 
header {
    background-color: #000;
    color: white;
    padding: 20px 0;
} */

    header h1 {
        font-size: 2em;
        margin: 0;
    }

    header p {
        font-size: 1.2em;
        margin-top: 5px;
    }

/* Sección con imagen de fondo */
.hero {
    position: relative;
    background: url('../Images/cover.jpeg') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    width : auto;
}

    /* Capa de sombra */
    .hero .overlay {
        background: rgba(0, 0, 0, 0.5); /* Sombra oscura */
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    }

    .hero h2 {
        font-size: 2.5em;
        margin: 0;
    }

    .hero p {
        font-size: 1.2em;
        margin-top: 10px;
    }

/* Tarjetas de servicios */
.grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

    .card img {
        width: 100%;
        border-radius: 10px;
    }

    .card h3 {
        margin: 15px 0 5px;
        font-size: 1.3em;
        color: #333;
    }

    .card p {
        color: #555;
    }

/* Footer */
footer {
    background-color: #000;
    color: white;
    padding: 15px 0;
    margin-top: 30px;
}

/* Sección de contacto */
.contacto {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    margin: 30px auto;
    width: 90%;
   /*max-width: 600px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .contacto h2 {
        font-size: 2em;
        color: #333;
    }

    .contacto p {
        font-size: 1.1em;
        color: #555;
        margin: 10px 0;
    }

    .contacto a {
        color: #000;
        text-decoration: none;
        font-weight: bold;
    }

        .contacto a:hover {
            color: #ff5733;
        }

/* Iconos redes sociales */
.redes {
    margin-top: 15px;
}

    .redes a {
        display: inline-flex;
        align-items: center;
        background-color: #000;
        color: white;
        padding: 10px 15px;
        border-radius: 5px;
        text-decoration: none;
        font-size: 1.1em;
    }

        .redes a img {
            width: 20px;
            height: 20px;
            margin-right: 10px;
        }

        .redes a:hover {
            background-color: #ff5733;
        }
