/* Estilos generales y variables se mantienen del CSS anterior */
:root {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --text-color: #333;
    --background-color: #f5f7fa;
    --card-background: #fff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #128C7E;
  }
  
  /* General styles */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
  }
/* Estilos para el banner */
.banner {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 300px;
    max-height: 500px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
}

.banner-content h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.banner-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

/* Estilos para la sección de ubicación */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #f0f2f5;
    --text-color: #333;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

.ubicacion {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--secondary-color);
}

.ubicacion h2 {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.ubicacion-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.mapa, .ubicacion-info {
    flex: 1;
}

.mapa iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.ubicacion-info {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.ubicacion-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.ubicacion-info p {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #1557b0;
}

@media (max-width: 768px) {
    .ubicacion-container {
        flex-direction: column;
    }

    .mapa iframe {
        height: 300px;
    }

    .ubicacion-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ubicacion {
        padding: 2rem 1rem;
    }

    .mapa iframe {
        height: 250px;
    }
}

/* Estilos para el formulario de contacto */
/* Estilos para el contenedor principal */
/* Sección de contacto */
.contacto {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.contact-header {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Contenedor principal */
.contacto-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contacto-info {
    flex: 1 1 40%;
    text-align: left;
}

.contacto-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.contacto-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.contacto-info img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Formulario */
.contacto-form {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.25);
    outline: none;
}

.contacto-form textarea {
    height: 150px;
    resize: vertical;
}

/* Botón */
.cta-button {
    padding: 12px 25px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(26, 115, 232, 0.3);
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .contacto-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contacto-info, .contacto-form {
        flex-basis: 100%;
        text-align: center;
    }

    .contacto-info img {
        margin: 0 auto;
    }

    .contacto-form input,
    .contacto-form textarea {
        font-size: 1rem;
        padding: 10px;
    }

    .cta-button {
        width: 100%;
        padding: 10px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-header {
        font-size: 2rem;
    }

    .contacto-info h3 {
        font-size: 1.6rem;
    }

    .contacto-info p {
        font-size: 1rem;
    }

    .contacto-form input,
    .contacto-form textarea {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 10px 20px;
        width: 100%;
    }

    .contacto-container {
        gap: 1rem;
    }

    .contacto {
        padding: 20px 10px;
    }
}

