/* Unified Navigation Styles */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 26, 46, 0.1);
}

.logo {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    height: 40px;
    width: auto;
}

.logo-text {
    display: inline-grid;
    vertical-align: middle;
    margin-right: -0.15em;
}

.logo-short,
.logo-full {
    grid-area: 1 / 1;
    background: linear-gradient(135deg, var(--electric), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.7s ease, max-width 1s ease;
}

.logo-short {
    opacity: 1;
    max-width: 4em;
}

.logo-full {
    opacity: 0;
    max-width: 0;
}

.logo:hover .logo-short {
    opacity: 0;
    max-width: 0;
}

.logo:hover .logo-full {
    opacity: 1;
    max-width: 30em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--deep);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--electric), var(--lavender));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links > li > a.active {
    color: var(--electric);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-dropdown > a::after {
    display: none !important;
}

.nav-dropdown > a.active::after {
    display: block !important;
    transform: scaleX(1);
}

.dropdown-arrow {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -0.5rem;
    background: white;
    border-radius: 2px;
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.1);
    padding: 0.4rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin-top: 0.4rem;
    list-style: none;
    border: 1px solid rgba(26, 26, 46, 0.1);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.25rem;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--ocean);
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--soft);
    color: var(--deep);
}

.nav-cta {
    background: linear-gradient(135deg, var(--electric), var(--lavender));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 69, 96, 0.4);
}

/* Status indicator (not clickable) */
.nav-cta-status {
    background: var(--navy);
    cursor: default;
    box-shadow: none;
}

.nav-cta-status:hover {
    transform: none;
    box-shadow: none;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu span {
    width: 25px;
    height: 2px;
    background: var(--deep);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }
}
