/**
 * Landing Page Styles
 */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Container ancho para destacados y venue */
.destacados .destacados-container,
.landing-venue .container {
    max-width: 1600px;
}

/* Hero Section - Usar los estilos del hero existente */
.landing-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

.landing-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Recorte ondulado en la parte inferior del hero */
.landing-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: white;
    z-index: 5;
    clip-path: polygon(
        0% 30%,
        5% 25%, 10% 20%, 15% 18%, 20% 20%, 25% 25%, 30% 30%,
        35% 32%, 40% 30%, 45% 25%, 50% 20%, 55% 18%, 60% 20%,
        65% 25%, 70% 30%, 75% 32%, 80% 30%, 85% 25%, 90% 20%,
        95% 18%, 100% 20%,
        100% 100%, 0% 100%
    );
}

.landing-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.landing-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.landing-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.landing-hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.landing-hero-waves {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 4;
}

/* Destacados en Landing - Fondo blanco */
.page-template-front-page .destacados-section {
    background: white;
}

.page-template-front-page .destacados-section h2 {
    text-align: center;
    color: var(--color-dark);
}

.page-template-front-page .destacados-card h3 {
    color: var(--color-dark);
}

.page-template-front-page .destacados-card p {
    color: var(--color-dark);
}

/* Tracks Section */
.landing-tracks {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.track-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.track-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.track-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.track-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.track-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Stats Section */
.landing-stats {
    padding: 6rem 0;
    background: var(--bg-card);
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.stats-text p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.stats-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stats-image {
    position: relative;
    aspect-ratio: 521 / 579;
}

.stats-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stats-decoration {
    position: absolute;
    top: 25px;
    right: -25px;
    width: 248px;
    height: 63px;
}

/* Venue Section */
.landing-venue {
    padding: 6rem 0;
    background: var(--bg-light);
}

.venue-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    align-items: stretch;
}

.venue-image {
    border-radius: 24px;
    overflow: hidden;
    height: 579px;
}

.venue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.venue-card {
    background: var(--color-dark);
    color: white;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.venue-card h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.625rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.venue-card p {
    font-size: clamp(1rem, 1.75vw, 1.3125rem);
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.75rem;
}

.venue-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: #061828;
    border: 1px solid #061828;
}

.btn-outline:hover {
    background: #061828;
    color: white;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--color-dark);
}

/* Sponsors Section */
.landing-sponsors {
    padding: 4rem 0;
    background: #E5EFF7;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    align-items: start;
}

.sponsor-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sponsor-column h3 {
    font-size: 14px;
    font-weight: 600;
    color: #061828;
    text-align: center;
    margin: 0;
}

.sponsor-logos-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

/* Newsletter Section */
.landing-newsletter {
    padding: 4rem 0;
    background: white;
    color: #061828;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.newsletter-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0;
    color: #061828;
}

/* Footer */
.site-footer {
    background: #1D70B7;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    max-height: 80px;
    width: auto;
    height: auto;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-social a {
    color: white;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-nav {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 14px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-nav span {
    color: rgba(255, 255, 255, 0.5);
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .venue-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .venue-image {
        height: 400px;
    }
    
    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .stats-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-image {
        order: -1;
    }
    
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .landing-hero {
        min-height: 500px;
    }
    
    .landing-hero-content {
        padding: 0 1rem;
    }
    
    .tracks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .venue-image {
        height: 300px;
    }
    
    .venue-card {
        padding: 2rem 1.5rem;
    }
    
    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sponsor-logo img {
        max-width: 140px;
    }
    
    .stats-buttons,
    .venue-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .stats-buttons .btn,
    .venue-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-right {
        align-items: center;
        width: 100%;
    }
    
    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .landing-hero::after {
        height: 80px;
    }
    
    .landing-stats,
    .landing-venue,
    .landing-tracks {
        padding: 3rem 0;
    }
    
    .track-card {
        padding: 1.5rem 1rem;
    }
    
    .venue-image {
        height: 250px;
    }
}
