/* --- 4. Navigation --- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 1rem;
    z-index: 100;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: background 0.3s;
}
.nav-container:hover { background: rgba(255,255,255,0.8); }

.logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 800; font-size: 1.25rem; color: #111; cursor: pointer; }
.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #f97316, #ec4899);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.2);
}
.logo span { color: var(--primary-orange); }

.nav-links { display: flex; gap: 2rem; font-weight: 600; font-size: 0.9rem; color: #4b5563; }
.nav-links a:hover { color: var(--primary-orange); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.btn-light { font-weight: 600; font-size: 0.9rem; color: #4b5563; }
.btn-light:hover { color: #111; }

.btn-dark {
    background-color: #111827;
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: transform 0.2s, shadow 0.2s;
    justify-content: center !important;
}
.btn-dark:hover { background-color: #000; transform: scale(1.05); }

.hamburger { display: none; padding: 0.5rem; color: #4b5563; }

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    margin-top: 1rem;
    border-radius: 1rem;
    padding: 1.5rem;
    display: none; /* JS toggles this */
    flex-direction: column;
    gap: 1rem;
    transform-origin: top;
    animation: fadeInDown 0.3s ease-out;
    z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-weight: 700; font-size: 1.1rem;
    color: #374151;
    display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a:hover { color: var(--primary-orange); }
.divider { height: 1px; background: #e5e7eb; width: 100%; }

@media (max-width: 768px) {
    .navbar { padding: 1rem; }
    .nav-links, .btn-login, .btn-dark { display: none; } /* Hide Desktop Nav */
    .hamburger { display: block; }