/*=========================================
    # Inicio Seccion
===========================================*/
.inicio-section {
    width: 100%;
    height: 90vh;
    max-height: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    position: relative;
}

.inicio-section .inicio-next-button {
    z-index: 10;
    width: 60px;
    position: absolute;
    right: 10px;
    top: 50%;
    transition: opacity 0.3s ease, transform 0.4s ease;
    opacity: 0.6;
}

.inicio-section .inicio-prev-button {
    z-index: 10;
    width: 60px;
    position: absolute;
    left: 10px;
    top: 50%;
    transition: all 0.3s ease;
    opacity: 0.6;
    rotate: 180deg;
}

@keyframes rotate {
    0% {
        rotate: 0deg;
    }
    100% {
        rotate: 365deg;
    }
}

.inicio-section .back-screen {
    width: 100%;
    height: 100vh;
    position: relative;
}

.inicio-section .back-screen .circle {
    width: 50px;
    height: 50px;
    position: absolute;
    top: calc(50% - 35px);
    left: calc(50% - 35px);
    border-radius: 100%;
    border: 8px white solid;
    border-top: 8px transparent solid;
    animation: rotate 1s ease infinite;
    opacity: 0.8;
}

.inicio-button:hover {
    opacity: 1;
}

.inicio-button:active {
    transform: scale(90%);
}

.inicio-img-container {
    position: absolute;
    width: auto;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    transition: transform 0.5s ease;
}

.inicio-img-container .inicio-img {
    height: 100%;
    animation: fadeOpacity 1.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
    
    user-select: none;
}

.point-nav {
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}


.point-nav .point {
    width: 12px;
    height: 11px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.point-nav .point-selected {
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}


/*=========================================
    # Services Section
===========================================*/

.services-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.services-section h1 {
    letter-spacing: 10px;
    width: 90%;
    bottom: 25px;
    left: 70px;
    font-size: var(--h2-title);
    color: aqua;
    margin-top: 70px;
    margin-bottom: 0px;
}

.services-section p {
    font-size: var(--h2-title);
    color: gray;
    width: 90%;
}


.services-container {
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin: 50px 0px;
}

.service-item {
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(40px);
}


.service-item .divisor {
    width: 50px;
    height: 1px;
    background-color: aqua;
}

.service-item img {
    width: clamp(120px, 8vw, 250px);;
    height: auto;
}

.service-item h2 {
    font-size: var(--h2-title);
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: lighter;
}

.service-item p {
    font-size: var(--p-title);
    color: gray;
    text-align: center;
}

.fadedIn {
    transform: translateY(-10px);
    opacity: 1;
}

/*=========================================
    # Projects Section
===========================================*/

.proyects-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.proyects-section h1 {
    letter-spacing: 10px;
    width: 90%;
    bottom: 25px;
    left: 70px;
    font-size: var(--h2-title);
    color: aqua;
    margin-top: 70px;
    margin-bottom: 0px;
    text-align: center;
}

.carrusel-container {
    margin-top: 40px;
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 10px 10px 5px rgba(0, 0, 0, 0.361);
}

.carrusel-button {
    z-index: 10;
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.692);
    transition: all 0.4s ease;
    user-select: none; 
    cursor: default;
}

.carrusel-button:hover {
    color: white;
}

.carrusel-button:active {
    transform: scale(180%);
}

.left-button {
    left: 30px;
}

.right-button {
    right: 30px;
}

.carrusel-slider {
    width: clamp(400px, 90vw, 900px);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    transition: all 1s ease;
    height: auto;
}

.carrusel-slider img {
    width: 100%;
    height: auto;
}

.point-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: absolute;
    bottom: 10px;
    margin: 0 auto;
}

.point {
    width: 9px;
    height: 9px;
    background-color: rgba(255, 255, 255, 0.557);
    border-radius: 50%;
    transition: all 0.4s ease;
    cursor: pointer;
}

.point-select {
    background-color: white;
    width: 25px;
    border-radius: 4px;
}

/*==========================================================
        # RESPONSIVE
==========================================================*/

/* Tablet */
@media (max-width: 1024px) {
    .inicio-img-container {
        height: 60vh;
    }

    .services-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
}

/* Móvil */
@media (max-width: 600px) {
    .inicio-img-container {
        height: 65vh;
    }

    .inicio-section .inicio-next-button,
    .inicio-section .inicio-prev-button {
        width: 36px;
    }

    .inicio-section {
        height: 80vh;
    }

    .services-section h1 {
        margin-top: 30px;
    }

    .services-container {
        flex-direction: column;
        gap: 24px;
    }

    .service-item {
        width: 100%;
        max-width: 260px;
    }

    .service-item img {
        width: auto;
        height: 90px;
    }
}