/* ELVIA2 Modern Navbar Styles */

/* Özel Font Import */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Orbitron:wght@400;700;900&display=swap');

/* Navbar Kompakt Yapı */
nav {
    padding: 8px 0 !important;
    min-height: 45px !important;
    font-size: 11px !important;
}

.nav--items {
    width: 45% !important;
}

nav a {
    padding: 8px 12px !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    margin: 0 2px !important;
}

/* Navbar İçerik Wrapper */
.nav--items {
    position: relative;
    overflow: visible !important;
}

/* Navbar Linkler - Geliştirilmiş */
nav a {
    position: relative !important;
    display: inline-block !important;
    color: #f4e4c1 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    padding: 15px 25px !important;
    margin: 0 5px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.8) !important;
    overflow: hidden !important;
    border-radius: 5px !important;
}

/* Hover Efekti - Gelişmiş */
nav a:hover {
    color: #ffd700 !important;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.15) 0%, 
        rgba(255, 215, 0, 0.25) 50%, 
        rgba(212, 175, 55, 0.15) 100%) !important;
    transform: translateY(-3px) scale(1.08) !important;
    text-shadow: 
        0 0 25px rgba(255, 215, 0, 1),
        0 0 50px rgba(255, 215, 0, 0.6),
        0 3px 6px rgba(0, 0, 0, 0.9) !important;
    box-shadow: 
        0 10px 30px rgba(212, 175, 55, 0.4),
        inset 0 0 20px rgba(255, 215, 0, 0.1) !important;
}

/* Çift Katmanlı Hover Efekti */
nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.6), 
        rgba(255, 255, 255, 0.4),
        rgba(255, 215, 0, 0.6),
        transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

nav a:hover::before {
    left: 100%;
}

/* Alt Çizgi Animasyonu */
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #d4af37, 
        #ffd700, 
        #fff, 
        #ffd700, 
        #d4af37);
    transition: width 0.4s ease;
    box-shadow: 
        0 0 10px #ffd700,
        0 0 20px rgba(255, 215, 0, 0.5);
}

nav a:hover::after {
    width: 100%;
}

/* Özel Market/Item Shop Butonu */
nav a.itemshop {
    background: linear-gradient(45deg, 
        rgba(139, 0, 0, 0.2), 
        rgba(255, 215, 0, 0.2)) !important;
    border: 2px solid rgba(255, 215, 0, 0.5) !important;
    border-radius: 8px !important;
    position: relative !important;
    overflow: hidden !important;
    animation: marketPulse 2s ease-in-out infinite !important;
}

@keyframes marketPulse {
    0%, 100% { 
        box-shadow: 
            0 0 10px rgba(255, 215, 0, 0.6),
            inset 0 0 10px rgba(255, 215, 0, 0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 
            0 0 25px rgba(255, 215, 0, 0.9),
            inset 0 0 15px rgba(255, 215, 0, 0.3);
        transform: scale(1.02);
    }
}

/* Market Butonu Özel Parıltı */
nav a.itemshop::before {
    content: '✦';
    position: absolute;
    top: 5px;
    right: 5px;
    color: #ffd700;
    font-size: 12px;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.5) rotate(180deg); }
}

/* Logo Özel Efektler */
nav .nav-logo {
    position: relative !important;
    display: inline-block !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    filter: 
        drop-shadow(0 0 20px #d4af37)
        drop-shadow(0 0 40px rgba(212, 175, 55, 0.5)) !important;
    animation: logoFloat 3s ease-in-out infinite !important;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        filter: drop-shadow(0 0 20px #d4af37) brightness(1);
    }
    25% { 
        transform: translateY(-5px) rotate(2deg) scale(1.05); 
        filter: drop-shadow(0 0 30px #ffd700) brightness(1.1);
    }
    50% { 
        transform: translateY(-10px) rotate(0deg) scale(1.1); 
        filter: drop-shadow(0 0 40px #ffd700) brightness(1.2);
    }
    75% { 
        transform: translateY(-5px) rotate(-2deg) scale(1.05); 
        filter: drop-shadow(0 0 30px #ffd700) brightness(1.1);
    }
}

nav .nav-logo:hover {
    animation: logoSpin 0.8s ease-in-out !important;
    filter: 
        drop-shadow(0 0 40px #ffd700)
        drop-shadow(0 0 60px rgba(255, 215, 0, 0.6))
        brightness(1.3) !important;
}

@keyframes logoSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Aktif Sayfa Vurgusu */
nav a.active {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.25) 0%, 
        rgba(255, 215, 0, 0.35) 50%, 
        rgba(212, 175, 55, 0.25) 100%) !important;
    color: #ffed4e !important;
    box-shadow: 
        inset 0 0 25px rgba(255, 215, 0, 0.3),
        0 0 20px rgba(212, 175, 55, 0.5) !important;
    border: 1px solid rgba(255, 215, 0, 0.4) !important;
    border-radius: 8px !important;
}

/* Scroll Durumu - Minimalist */
nav.scrolled {
    background: rgba(5, 5, 5, 0.95) !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(212, 175, 55, 0.08) !important;
}

/* Parçacık Efekti Stilleri */
.nav-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, #ffd700 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 6px #ffd700;
}

/* Ripple Efekti */
nav a .ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.7) 0%, transparent 70%);
    transform: scale(0);
    animation: rippleExpand 0.8s ease-out;
    pointer-events: none;
}

@keyframes rippleExpand {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    nav {
        padding: 1rem 0 !important;
    }
    
    nav a {
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
    }
    
    nav .nav-logo {
        transform: scale(0.8) !important;
    }
}

/* Ekstra Animasyonlar */
@keyframes glowPulse {
    0%, 100% { 
        text-shadow: 
            0 0 10px rgba(212, 175, 55, 0.5),
            0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% { 
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 215, 0, 0.5),
            0 0 60px rgba(255, 215, 0, 0.3);
    }
}

nav a {
    animation: glowPulse 3s ease-in-out infinite;
}

/* Neon Çerçeve Efekti */
nav {
    position: relative;
}

nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-image: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.5) 10%,
        rgba(255, 215, 0, 0.8) 50%,
        rgba(212, 175, 55, 0.5) 90%,
        transparent 100%) 1;
    pointer-events: none;
    animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
