/*Luis Villalobos*/


@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

/*======RESETEARLO POR DEFAULT======*/

*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}


* {
    
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif; 
    box-sizing: border-box;

}

header {
    width: 100%;
    height: 80px;
    background-color: #121213;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
    position: fixed; 
    top: 0;       
    left: 0;
    z-index: 1000;
}

.bars {

    display: none;

}

.nav-bar ul {

    display: flex;

}

.nav-bar ul li a {

    display: block;
    color: #ffffff;
    font-size: 18px; 
    padding: 10px 25px; 
    border-radius: 15px;
    transition: 0.2s;
    margin: 0 5px;

}


.nav-bar ul li a:hover {

    color: #0f0d0d;
    background-color: #ffe00e;

}


@media (max-width:900px) {

    header {

        padding: 0px 30px;
    
    }

    .bars {

        display: block;
        cursor: pointer;

    }

    .bars .line {

        width: 30px;
        height: 3px;
        background-color: #fff;
        margin: 6px 0px;
    }

    .nav-bar{

        height: 0px;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100vw;
        background-color: #202124;
        transition: 0.5s;
        overflow:hidden;
    }

    
    .nav-bar.active { 

        height: 450px;

    }

    .nav-bar ul {

        display: block;
        width: fit-content;
        margin: 80px auto 0 auto;
        text-align: center;
        transition: 0.5s;

    }
    
    .nav-bar ul li a {
        margin-bottom: 20px;
        text-align: center;
    }

    .nav-bar ul li a {

        margin-bottom: 20px;

    }

}

/*============================================================================================*/


.home {

    padding: 145px 0;   
    align-items: center;
    justify-content: center;
    background-color: #282825;

}

.home__container {

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

}

.home__content {

    display: flex;
    flex-direction: column;
    justify-content: center;

}

.home__title {

    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;

}

.home__description {

    font-size: 1.2rem;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 30px;

}

.home__buttons{

    display: flex;
    justify-content: left;
    align-items: center;
    gap: 2rem;

}

.home__images img {
    width: 100%;
    height: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); 
}

.home__images img:hover {
    box-shadow: 0 0 30px hsla(76, 97%, 43%, 0.3);
}


@media screen and (max-width: 768px) {

    .home__container {

        grid-template-columns: 1fr;
        text-align: center;

    }

    .home__content {

        align-items: center;

    }

    .home__title {

        font-size: 2.5rem;

    }

    .home__description {

        font-size: 1rem;

    }

    .button, .button__link {

        font-size: 0.9rem;

    }

    .home__images img {

        align-items: center;

    }
}

/*==============BOTONES==========*/

.button{

    display: inline-flex;
    background: #ffe00e;
    color: #131212;
    border-radius: 15px;
    font-weight: var(--font-semi-bold);
    padding: 1rem 2rem;
    transition: box-shadow .4s;

}

.button:hover{

    box-shadow: 0 8px 32px hsla(76, 94%, 49%, 0.3);
    color: var(--white-color);

}

.button__link{

    display: flex;
    align-items: center;
    column-gap: .25rem;
    color: #ffe00e;

}

.button__link span{

    font-weight: var(--font-semi-bold);

}

.button__link i{

    font-size: 1.5rem;
    transition: transform .4s;

}

.button__link:hover i{

    transform: translateX(.25rem);

}


/*=====================ANIMACIONES INICIO========================*/

@keyframes fadeInScale {

    0% {
        opacity: 0;
        transform: scale(0.9); 
    }
    100% {
        opacity: 1;
        transform: scale(1); 
    }

}


.home {

    padding: 180px 0;
    align-items: center;
    justify-content: center;
    background-color: #282825;

}

.home__container {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 50px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInScale 2s forwards; 

}

.home__content {

    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeInScale 2s forwards;

}

.home__images img {

    width: 100%;
    height: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 1.15); 
    animation: fadeInScale 2s forwards; 

}

.home__title, .home__description, .home__buttons {

    animation: fadeInScale 1s forwards; 

}

@media screen and (max-width: 768px) {
    .home__container {
        grid-template-columns: 1fr; 
        gap: 30px; 
    }

    .home__title {
        font-size: 2.5rem; 
    }

    .home__description {
        font-size: 1rem; 
    }
}

@media screen and (max-width: 480px) {
    .home__title {
        font-size: 2rem; 
    }

    .home__description {
        font-size: 0.9rem; 
    }
}

/*=========================GALERIA============================*/

/* Estilo general para la sección de galería */
.gallery-section {
    text-align: center;
    padding: 230px 0;
    background-color: #f8f8f8;
}

.gallery-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

/* Contenedor de la galería */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* Estilo para cada elemento de la galería */
.gallery-item {
    position: relative;
    overflow: hidden;
    width: calc(33.333% - 10px);
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Estilo para imágenes y videos */
.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    .gallery-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 100%;
    }
}




/*=====================FOOTER========================*/

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    overflow: hidden; /* Para ocultar elementos que se salen del contenedor */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    margin: 10px;
    opacity: 0; /* Comienza oculto */
    transform: translateY(20px); /* Desplazamiento inicial */
    transition: opacity 2s ease, transform 2s ease; /* Transiciones */
}

.footer-section.animate {
    opacity: 1; /* Final visible */
    transform: translateY(0); /* Regresar a la posición original */
}

.footer-section h3 {
    color: #ffe00e;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section ul {
    margin: 0;
    padding: 0;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a,
.footer-section .social-links a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.footer-section .social-links {
    display: flex;
    justify-content: space-between;
}

.footer-bottom {
    text-align: center;
    padding: 10px;
    background-color: #222;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section .social-links {
        justify-content: center;
    }
}