/* Logo styling */
.navbar-brand img {
    width: 360px;
    height: auto;
}

/* Custom overline effect for nav links */
.nav-link.overline {
    position: relative;
    text-decoration: none;
    color: #000 !important;
    width: 260px;
    font-size: 2.25rem;
    line-height: 5rem;
    font-family: "Libre Franklin", sans-serif;
    font-weight: bold;
    border: none;
    background: none;
    flex-shrink: 0;
    padding-left: 0 !important;
}

.nav-link.overline::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 12px;
    background-color: #000;
    transition: background-color 0.3s ease;
}

.nav-link.overline:hover,
.nav-link.overline:focus {
    color: rgba(0, 0, 0, 0.6) !important;
}

.nav-link.overline:hover::before,
.nav-link.overline:focus::before {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Navbar customizations */
.navbar {
    background-color: #fff !important;
    position: sticky;
    top: 0;
    z-index: 10;
    padding-top: 1rem;
    padding-bottom: 3rem;
}

.navbar-toggler {
    border: 2px solid #000;
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments */
@media (max-width: 1600px) {
    .navbar-brand img {
        width: 300px;
    }

    .nav-link.overline::before {
        height: 10px;
    }

    .nav-link.overline {
        width: 200px;
        font-size: 1.5rem;
        line-height: 4rem;
    }
}

@media (max-width: 1300px) {
    .navbar {
        padding-bottom: 2rem;
    }

    .navbar-brand img {
        width: 280px;
    }

    .nav-link.overline {
        width: 150px;
    }

    .nav-link.overline::before {
        height: 8px;
    }

}

@media (max-width: 500px) {
    .navbar-brand img {
        width: 240px;
    }

    .nav-link.overline {
        font-size: 1.25rem;
    }
}

/* Mobile menu styling */
@media (max-width: 991.9px) {
    .navbar {
        padding-bottom: 1rem;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-link.overline::before {
        left: 0;
        width: 100%;
    }

    .navbar-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .navbar-nav::-webkit-scrollbar {
        height: 6px;
    }

    .navbar-nav::-webkit-scrollbar-track {
        background: transparent;
    }

    .navbar-nav::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 3px;
    }

    .navbar-nav::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0, 0, 0, 0.5);
    }
}