/* --- --- --- TOP HEADER STYLES --- --- --- */
#topHeader {
    background-color: #fefce8; /* soft yellow */
    border-bottom: 2px solid #d4a017; /* warm highlight */
    padding: 12px 0;
}

#topHeaderText {
    font-size: 1.1rem;
    color: #5b4211;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

#topHeaderText strong {
    color: #3b6e22;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #topHeaderText {
        font-size: 1rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    #topHeaderText {
        font-size: 0.95rem;
        padding: 0 8px;
    }
}
/* --- --- --- TOP HEADER STYLES --- --- --- */

/* --- --- --- NAVBAR STYLES --- --- --- */
/* Base navbar styling */
.navbar {
    background: linear-gradient(180deg, #d4edc3 0%, #eafae5 100%);
    box-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    1px 1px 3px black,
    0 0 4px black; 
    padding: 0.7rem 1rem;
    transition: all 0.5s ease-in-out;
}

/* Navbar logo */
#nav-logo img {
    width: 80px !important;
    height: auto;
    padding: 5px;
    border-radius: 10px;
    background: #f5f5f5;
    transition: 0.5s ease-in-out;
    box-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    1px 1px 3px black,
    0 0 6px black; 
}

#nav-logo img:hover {
    background: #222;
    box-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    1px 1px 3px black,
    0 0 10px black; 
}

/* Navbar links */
.navbar-nav .nav-link {
    color: black;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0 10px;
    position: relative;
    transition: 0.5s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: black;
}

.navbar-nav .nav-link.active {
    font-weight: bold;
}

.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: black;
    transition: width 0.3s ease;
    margin-top: 3px;
}

.navbar-nav .nav-link.active::after {
    width: 100%;
    box-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    1px 1px 1px black;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Mobile toggle button */
.navbar-toggler {
    border: none;
    background: transparent;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Responsive text alignment */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 1rem;
        text-align: center;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem auto;
    }
}
/* --- --- --- NAVBAR STYLES --- --- --- */