@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:wght@400;500;600;700;800&display=swap');
/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Contenedor principal */
.container {
    font-family: "Lobster", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Encabezado y navegación */
header {
    background-color: #fff;
    color: #f79621;
    text-align: center;
    padding: 2em 1em;
}

header h1 {
    font-size: 2.5em;
}

.navbar {
    background-color: #312e2f;
    display: flex;
    justify-content: center;
    gap: 1em; /* Espacio entre los enlaces */
    flex-wrap: wrap; /* Por si en móviles se apilan */
}

.navbar a {
    float: left;
    display: block;
    color: #fffffe;
    text-align: center;
    padding: 1em;
    text-decoration: none;
    transition: background 0.3s;
}

.navbar a:hover {
    background-color: #f79621;
}

/* Hero */
.hero {
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    color: white;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text h2 {
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero-text p {
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero-text .btn {
    display: inline-block;
    margin-top: 20px;
    background-color: white;
    color: #f79621;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.hero-text .btn:hover {
    background-color: #e0e0e0;
}

/* Secciones */
.section {
    padding: 60px 20px;
    text-align: center;
}

.section p{
    margin: auto;
    max-width: 1000px;
    line-height: 1.6;  /* o 1.8 para más espacio */
    margin-bottom: 1em; 
}

.section.light {
    background-color: #f7f7f7;
}

.section h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: #ffd108;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.modal-contenido {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.cerrar {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    max-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 200px;
}

.card h3 {
    margin: 10px 0 5px;
}

.card p {
    padding: 0 10px 10px;
}

button {
    background-color: #f79621;
    font-family: "Poppins", sans-serif;
    color: #fffffe;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 1em;
}

button:hover {
    background-color: #ffd108;
}

/* Formulario */
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 5px;
    font-family: "Poppins", sans-serif;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #ffd108;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #f79621;
}

/* Footer */
footer {
    background-color: #f79621;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

footer .redes a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

footer .redes a:hover {
    text-decoration: underline;
}

.oculto {
    display: none;
}

.card a {
    color: #f79621;
    text-decoration: none; /* Elimina el subrayado */
}

.card a:hover {
  /* Opcional: Puedes agregar un estilo al pasar el mouse para indicar que es un enlace */
  text-decoration: underline; /* Por ejemplo, mostrar un subrayado al pasar el cursor */
  /* color: #007bff; /* O cambiar el color ligeramente */
}

iframe {
    border-radius: 2em;
    border: none;
    width: 400px;
    height: 300px;
    padding: 20px;
}

/* 🌐 RESPONSIVE DESIGN - Adaptación a pantallas pequeñas */
@media screen and (max-width: 1024px) {
    .hero-text h2 {
        font-size: 2.5rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .card {
        max-width: 45%;
    }

    iframe {
        width: 100%;
        height: 250px;
    }
}

@media screen and (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .navbar {
        flex-direction: column;
        gap: 0;
    }

    .navbar a {
        padding: 0.8em;
    }

    .grid {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 90%;
    }

    .contact-form {
        padding: 0 1rem;
    }

    iframe {
        width: 100%;
        height: 220px;
    }
}

@media screen and (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .card {
        max-width: 100%;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.9em;
    }

    .contact-form button {
        font-size: 0.9em;
    }

    button {
        font-size: 0.9em;
    }

    iframe {
        width: 100%;
        height: 200px;
    }
}
