/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: none;
    color: #333;
    overflow-x: hidden;
    position: relative;
}

/* Fondo con imagen y overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/fondo-pagozar.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: brightness(1.1) contrast(1.05);
    z-index: -2;
}

body.overlay-medium::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 54, 107, 0.6), rgba(232, 124, 62, 0.4));
    z-index: -1;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    transition: all 0.3s ease;
    min-height: 40px;
}

.navbar-scrolled {
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 0;
}

.navbar .container {
    display: flex;
    justify-content: flex-end;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 80px 0 60px;
    color: white;
    background: transparent;
}

/* Logo central */
.main-logo-container {
    margin-bottom: 20px;
}

.main-logo {
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(232, 124, 62, 0.5));
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* TÍTULO PRINCIPAL */
.main-title-above-logo {
    font-family: 'Playfair Display', serif !important;
    font-size: 3.8rem !important;
    font-weight: 800 !important;
    color: #E87C3E !important;
    text-shadow: 
        2px 2px 0 #000,
        4px 4px 0 rgba(0,0,0,0.5),
        0 0 30px #E87C3E !important;
    margin: 10px 0 15px 0 !important;
    letter-spacing: 4px !important;
    display: block !important;
    width: 100% !important;
    line-height: 1.2 !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 9999 !important;
    background: transparent !important;
    border: none !important;
}

.main-title-above-logo::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #1C366B, #E87C3E, #1C366B, transparent);
    border-radius: 2px;
}

/* Media Queries - Título */
@media (max-width: 992px) {
    .main-title-above-logo {
        font-size: 3.2rem !important;
    }
}

@media (max-width: 768px) {
    .main-title-above-logo {
        font-size: 2.8rem !important;
        letter-spacing: 3px !important;
    }
    
    .main-title-above-logo::after {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .main-title-above-logo {
        font-size: 2.4rem !important;
        letter-spacing: 2px !important;
    }
    
    .main-title-above-logo::after {
        width: 100px;
        height: 3px;
        bottom: -10px;
    }
}

@media (max-width: 360px) {
    .main-title-above-logo {
        font-size: 2rem !important;
    }
}

/* Títulos secundarios */
.hero-section .lead {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 8px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-section .sub-lead {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease 0.4s both;
}

/* Reproductor */
.player-wrapper {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease 0.6s both;
}

/* Botón Señal en Vivo */
.live-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.8s both, pulse 2s infinite;
}

.live-indicator {
    width: 12px;
    height: 12px;
    background: #ff4444;
    border-radius: 50%;
    animation: blink 1s infinite;
}

/* Estilos para la sección Quiénes somos */
.about-section {
    margin: 50px 0 30px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: #E87C3E;
    border-radius: 3px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 20px;
}

.about-content p.highlight {
    font-size: 1.2rem;
    font-style: italic;
    border-left: 4px solid #E87C3E;
    padding-left: 20px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.about-content strong {
    color: #E87C3E;
    font-weight: 600;
}

/* Texto de Redes Sociales */
.social-text {
    margin: 40px 0 20px;
    animation: fadeInUp 1s ease 1s both;
}

.social-text h3 {
    font-size: 1.8rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.social-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #E87C3E;
    border-radius: 3px;
}

/* Social Cards */
.social-card {
    display: flex;
    align-items: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.social-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    transition: transform 0.3s ease;
}

.social-card:hover .social-icon {
    transform: scale(1.1);
}

.social-card.tiktok .social-icon {
    background: #000;
}

.social-card.instagram .social-icon {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
}

.social-card.facebook .social-icon {
    background: #1877f2;
}

.social-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #E87C3E;
}

.social-info p {
    margin-bottom: 5px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.social-info small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* Contact Section */
.contact-section {
    margin-top: 60px;
    padding: 40px 0 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease 1.2s both;
}

.contact-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-card {
    display: flex;
    align-items: center;
    padding: 25px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.45);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #E87C3E;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #E87C3E;
}

.contact-info p,
.contact-info a {
    margin: 0;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}

.contact-card.whatsapp .contact-icon {
    color: #1C366B;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px 0;
    margin-top: 40px;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Media Queries generales */
@media (max-width: 992px) {
    .main-logo {
        max-width: 260px;
    }
    
    .hero-section .lead {
        font-size: 1.4rem;
    }
    
    .hero-section .sub-lead {
        font-size: 1.1rem;
    }
    
    .social-text h3 {
        font-size: 1.4rem;
    }
    
    .contact-title {
        font-size: 1.3rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 70px 0 40px;
    }
    
    .main-logo {
        max-width: 200px;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .hero-section .sub-lead {
        font-size: 1rem;
    }
    
    .about-section {
        padding: 25px;
        margin: 30px 0 20px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .about-content p.highlight {
        font-size: 1rem;
        padding-left: 15px;
    }
    
    .social-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .social-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .social-text h3 {
        font-size: 1.2rem;
    }
    
    .contact-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0 30px;
    }
    
    .main-logo {
        max-width: 160px;
    }
}

/* Clases de utilidad */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}