/* navbar.css - Modern Victorian Navigation */
.glitter-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 15, 15, 0.95) 0%,
        rgba(45, 27, 27, 0.95) 50%,
        rgba(26, 22, 17, 0.95) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glitter-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(201, 169, 97, 0.03) 25%,
        rgba(107, 71, 136, 0.03) 50%,
        rgba(201, 169, 97, 0.03) 75%,
        transparent 100%
    );
    pointer-events: none;
}

.glitter-navbar.scrolled {
    background: linear-gradient(
        135deg,
        rgba(15, 15, 15, 0.98) 0%,
        rgba(45, 27, 27, 0.98) 50%,
        rgba(26, 22, 17, 0.98) 100%
    );
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(201, 169, 97, 0.25);
}

.glitter-nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    position: relative;
}

/* Logo Styles */
.glitter-nav-logo a {
    text-decoration: none;
    display: block;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glitter-nav-logo a:hover {
    transform: translateY(-1px);
}

.glitter-logo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.glitter-logo-text {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--deep-purple) 50%, var(--warm-gold) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    animation: glitter-gradient-shift 6s ease-in-out infinite;
    position: relative;
}

.glitter-logo-subtitle {
    font-family: 'Merriweather', serif;
    font-size: 0.75rem;
    color: var(--muted-text);
    font-weight: 300;
    margin-top: 2px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Navigation Menu */
.glitter-nav-menu {
    display: flex;
    align-items: center;
}

.glitter-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    align-items: center;
}

.glitter-nav-item {
    position: relative;
}

.glitter-nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-size: 1.2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.glitter-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--warm-gold) 0%, var(--deep-purple) 50%, var(--warm-gold) 100%);
    background-size: 200% 200%;
    animation: glitter-gradient-shift 6s ease-in-out infinite;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px;
    transform-origin: center;
}

.glitter-nav-link:hover {
    color: var(--warm-white);
    text-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
    background: none;
    border: none;
    box-shadow: none;
}

.glitter-nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Active state */
.glitter-nav-link.active {
    color: var(--warm-gold);
    background: none;
    border: none;
    box-shadow: none;
}

.glitter-nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Mobile Toggle */
.glitter-nav-toggle {
    display: none;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(201, 169, 97, 0.05);
}

.glitter-nav-toggle:hover {
    background: rgba(201, 169, 97, 0.1);
    transform: scale(1.05);
}

.glitter-hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.glitter-bar {
    width: 26px;
    height: 3px;
    background: linear-gradient(90deg, var(--warm-gold), var(--deep-purple));
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Mobile Styles */
@media screen and (max-width: 1024px) {
    .glitter-nav-container {
        padding: 0 2rem;
    }
    
    .glitter-nav-list {
        gap: 1.5rem;
    }
    
    .glitter-nav-link {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 768px) {
    .glitter-nav-container {
        padding: 0 1.5rem;
        height: 75px;
    }
    
    .glitter-logo-text {
        font-size: 1.7rem;
    }
    
    .glitter-logo-subtitle {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
    
    .glitter-nav-toggle {
        display: flex;
    }
    
    .glitter-nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: linear-gradient(
            180deg,
            rgba(15, 15, 15, 0.98) 0%,
            rgba(45, 27, 27, 0.98) 50%,
            rgba(26, 22, 17, 0.98) 100%
        );
        backdrop-filter: blur(20px) saturate(180%);
        transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
    }
    
    .glitter-nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 30% 20%, rgba(201, 169, 97, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 70% 80%, rgba(107, 71, 136, 0.03) 0%, transparent 50%);
        pointer-events: none;
    }
    
    .glitter-nav-menu.active {
        left: 0;
    }
    
    .glitter-nav-list {
        flex-direction: column;
        gap: 0.5rem;
        padding: 3rem 2rem;
        align-items: stretch;
        width: 100%;
    }
    
    .glitter-nav-item {
        width: 100%;
    }
    
    /* Mobile nav-links get rectangle background instead of line */
    .glitter-nav-link {
        padding: 1.5rem 2rem !important;
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 0.5rem;
        border-radius: 12px;
        background: rgba(201, 169, 97, 0.05) !important;
        border: 1px solid rgba(201, 169, 97, 0.1) !important;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    /* Remove line effect completely on mobile */
    .glitter-nav-link::after {
        display: none !important;
    }
    
    .glitter-nav-link:hover {
        background: rgba(201, 169, 97, 0.15) !important;
        border-color: rgba(201, 169, 97, 0.3) !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(201, 169, 97, 0.1) !important;
    }
    
    .glitter-nav-link.active {
        background: rgba(201, 169, 97, 0.2) !important;
        border-color: rgba(201, 169, 97, 0.4) !important;
    }
    
    .glitter-nav-toggle.active .glitter-bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .glitter-nav-toggle.active .glitter-bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .glitter-nav-toggle.active .glitter-bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Animations */
@keyframes glitter-gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Body padding adjustment */
body {
    padding-top: 85px;
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 75px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
