
/* NAVBAR */

.navbar {
    padding: 17px 43px;
    transition: all 0.4s ease;
}

.navbar.navbar-initial {
    background-color: var(--primary-green);
    border-radius: 15px;
    margin: 15px 100px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

/* Ao rolar, remove o border-radius e o margin */
.navbar.scrolled {
    padding: 10px 90px;
    background-color: var(--primary-green) !important;
    border-radius: 0;
    margin: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem 0rem 1rem !important;
    margin: 0 0.2rem;
    position: relative;
    font-size: 1.1em;
    color: #fff !important;
    opacity: 1 !important;
}

.navbar .nav-link {
    position: relative;
    color: #fff !important;
    transition: color 0.3s ease;
}

/* Linha animada */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: var(--primary-orange); /* ou --primary-color */
    transition: width 0.3s ease;
}

/* Ao passar o mouse */
.navbar .nav-link:hover::after {
    width: 100%;
}

.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: var(--primary-orange);
}


.btn-reserva {
    background-color: var(--primary-orange);
    color: #fff;
    font-weight: bold;
    padding: 8px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.3s ease;
}


.btn-reserva:hover {
    background-color: var(--secondary-orange);
}

/* offcanva mobile */
.offcanvas {
    background-color: var(--primary-green);
}

.offcanvas .nav-link {
    color: #fff !important;
    font-size: 1.2rem;
    padding: 10px 0;
}
.offcanvas .nav-link.active {
    position: relative;
}

.offcanvas .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-orange);
}

/* FIM NAVBAR */
@media (min-width: 992px) {
    .navbar.navbar-initial {
        background-color: var(--primary-green);
        border-radius: 15px;
        margin: 15px 30px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
    }

    .navbar.scrolled {
        border-radius: 0;
        margin: 0;
    }
}

@media (max-width: 992px) {

    .navbar {
        padding: 20px 0;
        transition: all 0.4s ease;
    }

    .navbar.scrolled {
        padding: 2px 0;
        background-color: var(--primary-yellow) !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
}