body {
    overflow-x: hidden;
}

/* Navbar geral */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: transparent;
    transition: background 0.3s ease-in-out;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* Botão hambúrguer */
.navbar-toggler {
    border: none;
    background: transparent;
    position: relative;
    z-index: 2;
}

/* Menu no desktop */
.navbar-collapse {
    display: flex;
    justify-content: flex-end; /* Alinha os itens à direita por padrão */
    gap: 15px;
    padding: 0;
}

.navbar-nav {
    display: flex;
    gap: 15px;
}

.nav-item {
    padding: 10px 20px;
    color: white;
    transition: background-color 0.3s ease;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Menu no mobile */
@media (max-width: 768px) {
    /* Menu está inicialmente fora da tela */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%; /* Inicialmente ocupa a tela inteira */
        background-color: #333;
        transition: right 0.3s ease-in-out;
        flex-direction: column;
        justify-content: center;
        align-items: center; /* Centraliza horizontalmente */
        padding-top: 60px;
    }

    /* Quando o menu estiver visível */
    .navbar-collapse.show {
        right: 0;
        height: 50vh; /* Reduz a altura para 50% */
        align-items: center; /* Centraliza verticalmente */
    }

    .navbar-nav {
        flex-direction: column; /* Empilha os itens no mobile */
        gap: 20px; /* Espaço maior entre os itens */
        align-items: center; /* Garante que os itens fiquem centralizados horizontalmente */
        width: 100%; /* Garantir que ocupe toda a largura disponível */
    }

    .nav-item {
        padding: 10px;
    }

    /* Botão do menu no mobile */
    .navbar-toggler {
        position: absolute;
        top: 15px;
        right: 15px;
    }
}

/* Estilos do conteúdo do vídeo e seções subsequentes */
.box-video {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness(20%);
    object-fit: cover;
    z-index: 1;
}

.navbar {
    z-index: 3;
}

.content-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    color: white;
    text-align: center;
}

.content-video h1 {
    font-size: 8rem;
    font-weight: 700;
    background: linear-gradient(to right, #e41a1a, #f3449b, #228efa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .content-video h1 {
        font-size: 5rem;
    }
}

.container-2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #121313;
    padding: 5%;
}

.row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.column-1 {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.column-1 h2 {
    color: #ed8b00;
    font-weight: 100;
    font-size: 1.4rem;
}

.column-1 h1 {
    font-weight: 400;
    color: white;
}

.column-1 p {
    font-size: 1.2rem;
    font-weight: 200;
    color: white;
}

.column-2 {
    display: flex;
    justify-content: center;
}

.content-marca {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.content-marca img {
    width: 125px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.container-3 {
    background-color: #121313;
}

.carousel {
    max-width: 70%;
    margin: auto;
}

.carousel-image {
    width: 15%;
    border-radius: 5px;
}

.carousel-inner {
    .img-carousel {
        border-radius: 10px;
        margin: 20px 0;
    }

    h5 {
        font-size: 1.3rem;
        margin: 20px 0;
    }
}

.team {
    width: 100%;
    height: 100%;
    padding-bottom: 80px;

    .row {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

        .p-4 {
            display: flex;
            flex-direction: column;
            gap: 20px;

            h2 {
                font-size: 3rem;
                font-weight: 400;
            }

            p {
                font-size: 1.2rem;
            }

            .img-fluid {
                border-radius: 10px;
            }
        }
    }
}

.contact {
    background-color: #121313;
    color: white;
    padding: 5% 0;
    position: relative;
}

.contact .box {
    margin: -100px auto;
    padding: 50px;
    text-align: center;
    background-color: #ED8B00;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    z-index: 2;
}

.contact .h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact .btn {
    font-size: 1.2rem;
    padding: 10px 30px;
    background-color: white;
    color: black;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    border: none;
}

.contact .btn:hover {
    background-color: #FF5722;
    color: white;
}

@media (max-width: 768px) {
    .contact .box {
        padding: 20px;
        width: 90%;
    }

    .contact .h2 {
        font-size: 1.8rem;
    }

    .contact .btn {
        font-size: 1rem;
        padding: 8px 20px;
    }
}

@media (max-width: 767px) {
    .contact .box {
        width: 100%;
        padding: 20px;
        margin: -50px auto;
    }
}

@media (max-width: 767px) {
    .container-2 {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .content-marca {
        justify-content: center;
    }
}

.carousel-caption h5 {
    font-size: 1.3rem;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .carousel-caption h5 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 0.9rem;
    }
}
