/* Variables con colores vibrantes y modernos */
:root {
    --bg-dark: #070913;
    --bg-card: #11152a;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --accent: #f59e0b;
    --accent-hover: #fbbf24;
    --primary: #4f46e5;
    --secondary: #9333ea;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Efectos de Animación de Scroll */
.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }

/* Navegación */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: transparent;
    transition: all 0.4s ease;
    z-index: 1000;
}

nav.scrolled {
    background-color: #000000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    padding: 15px 5%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 20px;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.social-icons a {
    color: var(--text-main);
    margin-left: 15px;
    font-size: 1.2rem;
    transition: transform 0.3s, color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--accent);
    transform: translateY(-3px) scale(1.1);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('img/coro.jpg') center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.ministerio {
    color: var(--accent);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
}

.gradient-text {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #e5e7eb;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, var(--accent), #eab308);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

.w-100 {
    width: 100%;
    border: none;
    cursor: pointer;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.pulse-anim {
    animation: pulse 2s infinite;
}

/* Secciones Generales */
.section {
    padding: 100px 5%;
}

.bg-gradient {
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-card), var(--bg-dark));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title span {
    color: var(--accent);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Última Alabanza */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto 40px auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.listen-on {
    text-align: center;
}

.platforms {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.platform-btn.spotify {
    background: linear-gradient(45deg, #1DB954, #1ed760);
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.platform-btn.deezer {
    background: linear-gradient(45deg, #FF0092, #ff33a6);
    box-shadow: 0 4px 15px rgba(255, 0, 146, 0.3);
}

.platform-btn:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

/* Quiénes Somos */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: #d1d5db;
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--accent);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* Imagen optimizada para móviles y PC */
.image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.img-quienes-somos {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    position: relative;
    z-index: 2;
}

/* Contacto */
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(17, 21, 42, 0.7);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

/* Footer */
footer {
    background-color: #030408;
    padding: 60px 20px 30px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-social {
    margin-bottom: 30px;
}

.social-hover {
    color: var(--text-muted);
    font-size: 1.8rem;
    margin: 0 15px;
    transition: all 0.3s;
    display: inline-block;
}

.social-hover:hover {
    color: var(--accent);
    transform: translateY(-5px) scale(1.1);
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.creditos {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .gradient-text {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .social-icons {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }

    /* Menú móvil optimizado */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(7, 9, 19, 0.95); /* Tono oscuro casi opaco */
        backdrop-filter: blur(15px); /* Efecto cristal limpio */
        padding: 30px 0;
        text-align: center;
        box-shadow: 0 15px 30px rgba(0,0,0,0.8);
        border-bottom: 2px solid var(--accent);
        border-radius: 0 0 20px 20px;
        gap: 0; /* Reseteamos el gap anterior para controlarlo con padding */
    }

    .nav-links.active a {
        font-size: 1.2rem;
        padding: 15px 0;
        display: block; /* Ayuda a que el área táctil sea más grande */
    }
    
    .nav-links.active a::after {
        display: none; /* Quitamos la línea de hover en celular para mantenerlo limpio */
    }

    .gradient-text {
        font-size: 2.8rem;
    }
    
    .contact-wrapper {
        padding: 30px 20px;
    }
}