/* Estilos específicos para la página de inicio (index.php) */

#hero {
    min-height: 90vh;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero .hero-background-image {
    filter: brightness(0.65) saturate(1.05);
    transform: scale(1.02);
    transition: transform 0.6s ease, filter 0.4s ease;
}

#hero:hover .hero-background-image {
    transform: scale(1.03);
}

#hero .hero-content-container {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    min-height: 90vh;
}

#hero .hero-content-container .container {
    max-width: 920px;
    text-align: center;
    padding: 140px 0 80px;
}

#hero h1 {
    font-size: clamp(3rem, 5vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

#hero p {
    margin: 0 auto 2rem;
    max-width: 680px;
    color: var(--text-color-muted);
    font-size: 1.05rem;
    line-height: 1.85;
}

#hero .cta-button {
    padding: 1.25rem 2.2rem;
    font-size: 1rem;
    border-radius: 999px;
    box-shadow: 0 20px 55px rgba(111, 196, 31, 0.25);
}

#videos {
    padding: 60px 0 0;
}

#videos .container {
    padding-bottom: 40px;
}

#videos h2 {
    margin-bottom: 1.75rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.video-card {
    background: linear-gradient(180deg, rgba(31, 31, 31, 0.98), rgba(18, 18, 18, 0.98));
    border: 1px solid rgba(111, 196, 31, 0.16);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(111, 196, 31, 0.28);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.video-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background-color: #000;
}

.video-embed-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.video-info h3 {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 1.35rem;
    color: var(--text-color);
    line-height: 1.2;
}

.video-info p {
    margin: 0;
    color: var(--text-color-muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

.view-more-videos {
    display: flex;
    justify-content: center;
    margin-top: 1.8rem;
}

.view-more-videos .cta-button {
    min-width: 220px;
}

#about {
    position: relative;
    padding: 70px 0 80px;
    background-color: var(--bg-color-alt);
}

#about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 30%);
    pointer-events: none;
}

#about .container {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px;
    display: grid;
    grid-template-columns: minmax(220px, 260px) 1fr;
    gap: 28px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

.profile-pic {
    width: 100%;
    max-width: 240px;
    border-radius: 24px;
    border: 2px solid rgba(111, 196, 31, 0.14);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
    object-fit: cover;
}

.about-text h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.about-text p {
    margin: 0 0 18px;
    color: var(--text-color-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}

#community {
    padding: 60px 0 80px;
}

#community .container {
    display: grid;
    gap: 24px;
    justify-items: center;
}

#community p {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    color: var(--text-color-muted);
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 680px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.social-links a:hover {
    transform: translateY(-4px);
    background: rgba(111, 196, 31, 0.12);
    border-color: rgba(111, 196, 31, 0.28);
}

.social-links svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

@media (max-width: 920px) {
    #hero .hero-content-container .container {
        padding: 100px 0 60px;
    }

    #about .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    #hero {
        min-height: 75vh;
    }

    #hero h1 {
        font-size: clamp(2.4rem, 10vw, 3.4rem);
    }

    .videos-grid,
    .social-links {
        grid-template-columns: 1fr;
    }

    .video-info {
        padding: 20px;
    }
}
