﻿
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    isolation: isolate;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: brightness(0.15);
    object-fit: cover;
}


.hero-content {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}



/*INICIO HERO CONTENT*/


.carousel-slide-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .carousel-slide-home.active {
        opacity: 1;
        z-index: 2;
    }


.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
}

    .carousel-controls button {
        background-color: transparent;
        border: none;
        color: #FFFFFF77;
        font-size: 2rem;
        padding: 0.5rem .75rem;
        cursor: pointer;
        border-radius: 50%;
        transition: background 0.3s;
        margin: 0;
    }

        .carousel-controls button:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }


.carousel-indicators {
    position: absolute;
    /*bottom: 20px;*/

    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background-color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: background-color 0.3s;
        padding: .5rem;
    }

        .carousel-indicators button.active {
            background-color: white;
        }


/*FIM HERO CONTENT*/

