﻿:root {
    --rosa-claro: rgb(235, 199, 206);
    --rosa-medio: rgb(228, 137, 164);
    --rosa-fondo: rgb(249, 230, 225);
    --rosa-profundo: rgb(209, 167, 180);
    --rosa-suave: rgb(250, 236, 239);
    --beige: #f5f5dc;
    --moka: #b89b82;
}

body {
    background-color: var(--rosa-suave);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



.contact-section {
    background-color: white;
    padding: 2rem 2rem;
    border-radius: 12px;
    margin: 20px 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--rosa-profundo); /* color igual al filtro */ /* rosa profundo */
    font-weight: 700;
}

.intro-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #444;
}

.contact-box h3,
.contact-form-box h3 {
    color: #973f5c;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-list {
    list-style: none;
    padding-left: 0;
}

    .contact-list li {
        margin-bottom: 15px;
        font-size: 1rem;
        color: #555;
    }

    .contact-list a {
        color: rgb(209, 167, 180);
        text-decoration: none;
    }

        .contact-list a:hover {
            text-decoration: underline;
        }

.icons {
    margin-top: 10px;
}

    .icons a {
        margin-right: 15px;
        font-size: 1.5rem;
        color: rgb(209, 167, 180);
        transition: transform 0.3s ease;
    }

        .icons a:hover {
            transform: scale(1.2);
            color: #a64d6c;
        }

.contact-form-box {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
        color: #333;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .form-group textarea {
        height: 120px;
        resize: vertical;
    }

button[type="submit"] {
    background-color: rgb(209, 167, 180);
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button[type="submit"]:hover {
        background-color: rgb(189, 147, 160);
    }


.logo-eterea-container {
    animation: fadeInLogo 1.5s ease-in-out;
}

.logo-eterea {
    max-height: 200px;
    width: auto;
    border-radius: 100px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
    animation: floatLogo 3s ease-in-out infinite;
}

    .logo-eterea:hover {
        transform: scale(1.05);
        cursor: pointer;
    }

/* Animación de entrada */
@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de flotación suave */
@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Separador visual entre bloques */
.linea-separadora {
    border: none;
    border-top: 2px solid var(--rosa-profundo);
    width: 60%;
    margin: 50px auto;
}

/* Ajustes visuales para los bloques */
.contact-box {
    background-color: var(--rosa-suave);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.titulo-contacto {
    color: var(--rosa-profundo);
    font-weight: bold;
    font-size: 1.6rem;
}

.section-subtitle {
    color: #973f5c;
    font-weight: 600;
    border-bottom: 2px solid #e2c3cc;
    padding-bottom: 6px;
    margin-bottom: 15px;
}

/* Contenedor flexible del mapa */
.map-container {
    position: relative;
    width: 100%;
    max-width: 1200px; /* opcional, para no hacerlo gigante en pantallas grandes */
    margin: 0 auto;
    padding-bottom: 56.25%; /* proporción 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    /* Mapa responsivo con zoom */
    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
        touch-action: pan-x pan-y; /* permite desplazamiento táctil */
    }

/* Ajustes adicionales por dispositivo */
@media (max-width: 768px) {
    .contact-section {
        padding: 12px !important;
    }
    .map-container {
        padding-bottom: 75%; /* proporción más alta en celulares */
    }

    #mapSelector {
        width: 80% !important;
    }
    .contact-box {
        padding: 15px 8px 8px 8px !important;
    }
}

@media (max-width: 480px) {
    .map-container {
        padding-bottom: 100%; /* cuadrado en pantallas muy pequeñas */
    }
}