/* Estilos para o vídeo de fundo */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Coloca o vídeo atrás do conteúdo */
    overflow: hidden;
}

#bg-video {
    object-fit: cover; /* Faz o vídeo cobrir toda a área da tela */
    width: 100%;
    height: 100%;
    filter: blur(2.5px); /* Aplica o efeito de desfoque */
}


.mt-5{
    margin-top: 0rem !important;
}

/* Estilos globais */
body {
    font-family: 'Verdana', serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    position: relative; /* Necessário para o conteúdo estar acima do vídeo */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /*aqui ajusta a altura dos botões*/
    padding: 3px 0px;
    z-index: 1001;  /* Garante que a navegação fique acima do cabeçalho */
}

h1 {
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 20px;
}

p {
    font-size: 1.2em;
    color: #fff;
    line-height: 1.6;
}

footer {
    background-color: #333;
    color: white;
    padding: 0px;
    text-align: center;
    font-size: 1em;
}

/* Estilos para o container principal */
.container {
    /* justify-content: center; */
    width: 100%;
}

.mt-4 {
    margin-top: 0em !important;
}

/* Alinhamento centralizado de textos */
.text-center {
    text-align: center;
}

.text-center p {
    font-size: 18px;
}

/* Estilo para a logo */
img.img-fluid {
    max-width: 800px;
    height: auto;
    padding: 0;
    /* margin: -1em 0 2em 0; */
}

/* Estilo para o botão "Seja um Franqueado" */
.btn-primary {
    background-color: #435F5B;
    color: white;
    padding: 8px 15px;
    border: none;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #368E88;
    transform: translateY(-5px);
}

/* Layout para as imagens e frases das vantagens */
.row {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}

.col-md-3 {
    width: 23%;
    text-align: center;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.col-md-3:hover {
    transform: translateY(-10px);
}

.col-md-3 img {
    width: 100%;
    height: auto;
    max-height: 150px;
    border-radius: 10px;
}

.col-md-3 p {
    font-size: 1.1em;
    color: #333;
    margin-top: 10px;
    font-weight: bold;
}

/* Rodapé */
.footer-content p {
    font-size: 12px;
    color: #FFF;
}



/* Responsividade */
@media screen and (max-width: 768px) {

    .nav-list {
        position: absolute;
        top: 69px;
        right: 0px;
        background-color: rgba(170, 171, 134, 0.9); /* Com 50% de transparência */
        width: 100%;
        height: 0;
        flex-direction: column;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
        z-index: 1004;
        color: #FFF;
    }
    /* Logo: Ajuste o tamanho em telas pequenas */
    img.img-fluid {
        /* align-items: center; */
        max-width: 100%;
        margin: 0;
    }

    /* Layout das imagens e frases das vantagens */
    .row {
        flex-direction: column;
        align-items: center;
    }

    .col-md-3 {
        width: 90%;
        margin-bottom: 20px;
    }

    /* Ajustando o tamanho dos textos e botões */
    h1 {
        font-size: 1.5em;
    }

    .btn-primary {
        padding: 8px 15px;
        border: none;
        font-size: 1em;
    }

    .text-center p {
        font-size: 16px;
    }

    /* Ajustando o padding e margem do rodapé */
    footer {
        padding: 0px;
    }
}

/* Responsividade extra para dispositivos menores */
@media screen and (max-width: 480px) {

    .nav-list {
        position: absolute;
        top: 69px;
        right: 0px;
        background-color: rgba(170, 171, 134, 0.9); /* Com 50% de transparência */
        width: 100%;
        height: 0;
        flex-direction: column;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
        z-index: 1004;
        color: #FFF;
    }
    h1 {
        font-size: 1.5em;
    }

    .btn-primary {
        padding: 8px 15px;
        border: none;
        font-size: 1em;
    }

    .col-md-3 {
        width: 100%;
        padding: 10px;
    }

    .text-center p {
        font-size: 14px;
    }
}

  /* rolagem dos botões */
  .scroll-fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
