/*
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * Hawks Roleplay - Navigation Styles
 * © 2025 Hawks Roleplay. Tüm hakları saklıdır.
 * ⚠️  İzinsiz kullanım yasaktır.
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 153, 51, 0.3);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    border-bottom-color: rgba(255, 153, 51, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 0 40px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
    transition: all 0.3s ease;
}


.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff9933, #ff8800);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.logo-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.logo-icon:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.5);
}

.logo-text h2 {
    color: #ff9933;
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 153, 51, 0.3);
    transition: all 0.3s ease;
}

.logo-subtitle {
    color: #888888;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: -5px;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    background: rgba(15, 15, 15, 0.7);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 153, 51, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff9933, #ff8800);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 40px;
}

.nav-link i {
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-link span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #010101;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link.active {
    color: #010101;
    background: linear-gradient(135deg, #ff9933, #ff8800);
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.nav-link.active::before {
    opacity: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1001;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.btn-discord {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-discord::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-discord:hover::before {
    left: 100%;
}

.btn-discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.btn-discord i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-discord:hover i {
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.hamburger:hover {
    background: rgba(255, 153, 51, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: #ff9933;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    position: relative;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-center {
        display: none;
    }
    
    .nav-right {
        gap: 15px;
    }
    
    .btn-discord span {
        display: none;
    }
    
    .btn-discord {
        padding: 12px;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .logo-text h2 {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        flex-direction: column;
        background: rgba(1, 1, 1, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 153, 51, 0.2);
        border-radius: 20px;
        padding: 20px;
        width: calc(100% - 2rem);
        max-width: 400px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 15px 20px;
        border-radius: 12px;
        margin-bottom: 5px;
    }
    
    .nav-link i {
        font-size: 1.1rem;
        width: 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.8rem;
    }
    
    .logo-text h2 {
        font-size: 1.3rem;
    }
    
    .logo-subtitle {
        display: none;
    }
    
    .btn-discord {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff9933, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar.scrolled::after {
    transform: scaleX(1);
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu.active .nav-item {
    animation: slideInFromTop 0.3s ease forwards;
}

.nav-menu.active .nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-menu.active .nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-menu.active .nav-item:nth-child(3) { animation-delay: 0.3s; }