/* VIKO Academy Navigation Styles */
/* Version: 1.0.0 */

/* Navigation Base Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 120px;
}

/* Main Navigation Menu */
.main-nav {
    width: 100%;
    padding-top: 0.75rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    color: #1f2937;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid #f97316; /* 주황색 테두리 */
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    background: rgba(249, 115, 22, 0.1); /* 주황색 배경 */
    color: #f97316; /* 주황색 텍스트 */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3); /* 주황색 그림자 */
    border-color: #f97316; /* 주황색 테두리 유지 */
}

.nav-link i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.nav-link.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); /* 주황색 그라디언트 */
    color: white;
    border-color: #f97316; /* 주황색 테두리 */
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4); /* 주황색 그림자 */
}

.nav-link.active:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%); /* 더 진한 주황색 그라디언트 */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.5); /* 더 진한 주황색 그림자 */
    border-color: #ea580c; /* 더 진한 주황색 테두리 */
}

/* Navigation Top Section */
.nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    width: 100%;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #1f2937;
    font-weight: 700;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.lang-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

/* Authentication Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.auth-btn {
    padding: 0.4rem 0.8rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.auth-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.auth-btn.login {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.auth-btn.login:hover {
    background: #5a67d8;
    border-color: #5a67d8;
    transform: translateY(-1px);
}

.auth-btn.register {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.auth-btn.register:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-1px);
}

.auth-btn.logout {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.auth-btn.logout:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: translateY(-1px);
}

.auth-btn.admin {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: white;
}

.auth-btn.admin:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    transform: translateY(-1px);
}

/* Welcome Section */
.welcome-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.welcome-message {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #059669;
    font-size: 0.85rem;
    font-weight: 500;
}

.welcome-message i {
    font-size: 1rem;
}

.welcome-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: #10b981;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.welcome-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem;
        min-height: 100px;
    }
    
    .nav-top {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .nav-link i {
        font-size: 0.9rem;
        width: 14px;
    }
    
    .language-switcher {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .auth-buttons {
        order: 2;
    }
    
    .welcome-section {
        order: 4;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.5rem;
        min-height: 90px;
    }
    
    .nav-top {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .logo {
        order: 1;
    }
    
    .language-switcher {
        order: 2;
        width: auto;
    }
    
    .auth-buttons {
        order: 3;
    }
    
    .welcome-section {
        order: 4;
        width: auto;
    }
    
    .nav-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
}
