﻿@import url('../fontsAndColors.css');

/* === NAVBAR STYLING === */
.navbar {
    background: var(--gg-cream);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 0.75rem 1.5rem;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Navbar brand */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-picture img {
    height: 48px;
    width: auto;
    margin-right: 0.75rem;
}

.navbar-brand-anchor-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

#anchorSpanFullText {
    display: none; /* hidden on desktop for cleaner look */
}

.anchor-span {
    font-family: 'BrandFont', cursive;
    font-size: 1.5rem;
    color: var(--gg-olive);
}

/* Nav links */
.navbar-nav .nav-link {
    font-family: 'PrimaryFontBold', serif;
    font-size: 1.05rem;
    margin: 0 0.5rem;
    padding: 0.5rem 0.75rem;
    color: var(--dark-text);
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--gg-coral);
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--gg-coral);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Active link */
.navbar-nav .nav-link.active {
    color: var(--gg-olive);
    font-weight: bold;
}

/* Toggler */
.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler-icon {
    filter: invert(30%);
}

/* Mobile */
@media (max-width: 992px) {
    #anchorSpanFullText {
        display: block; /* longer tagline for mobile */
        font-size: 0.85rem;
        color: var(--dark-text);
    }

    .anchor-span {
        font-size: 1.2rem;
    }

    .navbar-collapse {
        background: var(--gg-cream);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
    }
}
