
/* ============================================================ */
/* STICKY MENU */
/* ============================================================ */

/* Sticky State */
.main-navigation.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease-out;
    padding: 0; /* Tighten up */
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Container layout adjustment */
.main-navigation .container {
    display: flex;
    justify-content: center; /* Default centered nav */
    align-items: center;
    transition: all 0.3s;
}

.main-navigation.sticky .container {
    justify-content: space-between; /* Spread out when sticky */
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Sticky Brand (Logo + Text) - Hidden by default */
.sticky-brand {
    display: none;
    align-items: center;
    gap: 15px;
    color: #fff;
    text-decoration: none;
}

.main-navigation.sticky .sticky-brand {
    display: flex;
}

.sticky-brand img {
    height: 45px;
    width: auto;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
}

.sticky-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.sticky-title {
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #fff;
}

.sticky-subtitle {
    font-size: 0.75rem;
    color: var(--color-accent);
    font-style: italic;
    white-space: nowrap;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Adjust Nav links when sticky */
.main-navigation.sticky .main-nav > li > a {
    padding: 1.2rem 1rem;
    font-size: 0.9rem;
}
