/* ===================== CONTACTO.CSS ===================== */

/* --- Reset y Body --- */
* { margin:0; padding:0; box-sizing:border-box; }
body, html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background-color: #0a1428;
    background-image: url('https://static.euronews.com/articles/stories/06/44/65/88/1440x810_cmsv2_d8afb9b6-414d-5d45-8269-10881e82cfe6-6446588.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.55);
    z-index: -1;
}

/* --- ENCABEZADO --- */
.contact-hero {
    width: 100%;
    min-height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #1c2435 0%, #24304a 100%);
    padding: 40px 20px;
    color: #fff;
    border-bottom: 3px solid #FFD700;
}
.hero-content { max-width: 750px; }
.hero-content h1 {
    font-size: 2.2rem;
    color: #FFD700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.hero-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: #e6e6e6;
}

/* --- FORMULARIO --- */
.form-section {
    max-width: 500px;
    margin: 60px auto;
    padding: 30px;
    border-radius: 12px;
    background: rgba(38,46,64,0.92);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.form-section h2 {
    text-align: center;
    font-size: 1.7rem;
    color: #FFD700;
    margin-bottom: 20px;
}
.form-section input,
.form-section textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #FFD700;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.form-section input:focus,
.form-section textarea:focus {
    border-color: #ffea80;
    outline: none;
    box-shadow: 0 0 10px #FFD700;
}
.form-section input::placeholder,
.form-section textarea::placeholder { color: rgba(255,255,255,0.7); }
.form-section button {
    width: 100%;
    background: #FFD700;
    color: #1c2435;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.form-section button:hover {
    background: #e6c200;
    transform: scale(1.03);
}

/* --- CONTACTO RÁPIDO --- */
.quick-contact {
    text-align: center;
    margin: 50px 0;
}
.quick-contact h3 {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 20px;
}
.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}
.contact-buttons a {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    border-radius: 50%;
    border: 1px solid #FFD700;
    background: transparent;
    color: #FFD700;
    transition: all 0.3s;
}
.contact-buttons a:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px #FFD700;
    background: #FFD700;
    color: #1f2637;
}
.contact-buttons a img {
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 0;
    background: none;
    filter: drop-shadow(0 0 6px #FFD700);
    transition: transform 0.3s ease, filter 0.3s ease;
}
.contact-buttons a img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 12px #FFD700);
}
.contact-buttons a.email img { width: 80px; height: 80px; }
.contact-buttons a.whatsapp img { width: 130px; height: 100px; }

/* --- REDES SOCIALES --- */
.social-section {
    text-align: center;
    margin: 60px 0;
}
.social-section h3 {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.social-buttons a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFD700;
    color: #262e40;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}
.social-buttons a:hover {
    transform: scale(1.15);
    background: #e6c200;
}

/* --- MAPA --- */
.map-container {
    width: 100%;
    max-width: 850px;
    height: 350px;
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FAQ --- */
.faq-section {
    max-width:900px;
    margin:40px auto;
    padding:40px;
    border-radius:12px;
    background: rgba(38,46,64,0.95);
    box-shadow:0 15px 30px rgba(0,0,0,0.5);
}
.faq-section h2 {
    text-align:center;
    font-size:2rem;
    color:#FFD700;
    margin-bottom:25px;
}
.faq-section details {
    margin-bottom:15px;
    padding:15px;
    border-radius:8px;
    background: rgba(255,255,255,0.05);
    cursor:pointer;
}
.faq-section details summary {
    font-weight:600;
    font-size:1.05rem;
}
.faq-section details[open] {
    background: rgba(255,215,0,0.1);
}

/* --- FOOTER --- */
footer {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px 10px;
    background: linear-gradient(135deg,#1f2637 0%,#262e40 100%);
}
footer p { font-size:0.95rem; }

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 30px; /* Aquí aumentamos el padding vertical para que sea más alta */
    background: rgba(56, 55, 141, 0.4);
    backdrop-filter: blur(7px);
    z-index: 1000;
    gap: 20px;
}
    nav a {
      color: white;
      text-decoration: none;
      font-size: 1.1rem;
      font-weight: 500;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #ffd700; /* Amarillo dorado */
    }

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Centra la sección de links */
    align-items: center;
    padding: 15px 30px;
    position: relative;
}

/* Logo a la izquierda */
.logo {
    position: absolute;
    left: 30px;
}



.logo-img {
    height: 40px; /* Ajusta tamaño del logo */
}

/* Links del menú */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    text-align: center;
}

/* Estilo de los enlaces */
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFD700;
}

/* Botón hamburguesa (oculto en escritorio) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    right: 30px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* --- Responsive Móviles --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; /* Empieza desde arriba */
        height: 100vh; /* Ocupa toda la altura de la pantalla */
        width: 250px; /* Más ancho que antes */
        right: -250px; /* Escondido fuera de pantalla */
        background-color: rgba(38, 46, 64, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0; /* Cuando se abre, ocupa todo el ancho */
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
