:root {
    --shader-angle: 150deg;
}

/* Sección hero */
.heroSection {
    position: relative; /* Clave para posicionar el shape divider abajo */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;

    background-image: url('../assets/images/backgrounds/1b456377a9dce67a7dc3630260aa7572.gif');
    /* 
    background-image: url('../assets/images/backgrounds/index_bkg_pixelArt.gif');            probar entre estos 2 fondos
    background-image: url('../assets/images/backgrounds/1b456377a9dce67a7dc3630260aa7572.gif');
    */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.heroText{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.heroContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color3);
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
    margin-top: -100px;

    background: linear-gradient(90deg, #f7f7f88a 0%, #0708088a 100%);
    border: solid 4px var(--color0);
    border-radius: 80px;
}

.hero-logo {
    width: 250px;
}

/* h1 del titulo */
h1 {
    font-size: 5em;
    -webkit-text-stroke: #000 1px;
    font-weight: bold;
    padding-bottom: 1em;
}
.inverse {
    color: #000;
    -webkit-text-stroke-color: #fff;
}
/* botones */
.hero-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}
.heroBtn {
    background-color: var(--color0); 
    color: var(--color3);
    border: 2px solid var(--color2);
    padding: 12px 40px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;

    transition: background-color 0.5s ease-in-out, color 0.3s;
}

.heroBtn:hover {
    background-color: var(--color5);
    color: var(--color3);
}

/* SHAPE DIVIDER - EFECTO PARALLAX (efecto de profundidad) */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    
    background-image: url('../assets/images/backgrounds/hierba-shape-divider3.png');
    background-repeat: repeat-x;
    background-position: bottom end;
    background-size: contain;
    
    height: 300px;
    z-index: 3;
    
    display: flex;
    align-items: flex-end;

    pointer-events: none; /* NO TOCAR, arregla un problema con los botones */
}

.franja-negra {
    width: 100%;
    background-color: black;
    height: 25px;
}

/* =========================================
   SECCIÓN ABOUT 
   ========================================= */
.about-section {
    background-color: black;
    color: var(--color3);
    padding: 6rem 5%;
    position: relative;
    z-index: 4;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--color0);

    border-radius: 40px;
    padding: 4em;

}

.about-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color6);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}
.btn-learn-more {
    background-color: var(--color1); 
    color: var(--color3);
    border: none;
    padding: 1em 3em;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    border: solid 2px var(--color2);
    font-family: 'Cinzel', serif;

    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, padding 0.4s ease-in-out;
}

.btn-learn-more:hover {
    background-color: var(--color2);
    color: var(--color0);
    padding: 1em 5em;
}

.about-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.about-video video {
    width: 110%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
    background-color: #2a2a2a;

    border: solid 4px var(--color3);
}

.watch-trailer-text {
    background-color: var(--color3);
    color: var(--color0);
    padding: .5em 2.5em;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 10px;
    text-align: center;
    
    margin-top: -10px; 
    position: relative;
    z-index: 2;
}

/* =========================================
   MEDIA QUERIES     
   ========================================= */
@media (min-width: 850px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}
@media (max-width: 768px) {
    
    .heroContent {
        padding: 1.5rem;
        border-radius: 30px;
        width: 90%;
        margin-top: -50px;
    }

    .hero-logo {
        width: 180px;
    }

    h1 {
        font-size: 3em;
        padding-bottom: 0.5em;
    }

    .hero-buttons {
        flex-direction: column; 
        gap: 1rem;
        width: 100%;
    }

    .heroBtn {
        width: 100%; 
    }

    .shape-divider {
        height: 120px; 
    }

    .about-section {
        padding: 3rem 5%;
    }

    .about-content {
        padding: 2em 1.5em; 
        border-radius: 20px;
    }

    .about-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .btn-learn-more {
        width: 100%;
        text-align: center;
        padding: 1em;
    }

    .btn-learn-more:hover {
        padding: 1em; 
    }

    .about-video video {
        width: 100%;
    }
}