/* Navbar */
.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 3px solid;
    border-image: linear-gradient(135deg, #065f46 0%, #047857 25%, #ffd700 75%, #fbbf24 100%) 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(6, 95, 70, 0.1);
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        border-image: linear-gradient(135deg, #065f46 0%, #047857 25%, #ffd700 75%, #fbbf24 100%) 1;
        box-shadow: 0 4px 20px rgba(6, 95, 70, 0.1);
    }
    50% {
        border-image: linear-gradient(135deg, #ffd700 0%, #fbbf24 25%, #065f46 75%, #047857 100%) 1;
        box-shadow: 0 4px 30px rgba(255, 215, 0, 0.3);
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    position: relative;
}

.nav-logo {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.logo-img {
    height: 300px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    margin-left: 350px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 15px 22px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #065f46, #ffd700);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #065f46;
    background: transparent;
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: #065f46;
    background: transparent;
    font-weight: 600;
}

.nav-link.active::after {
    width: 80%;
    background: linear-gradient(135deg, #065f46, #ffd700);
}

.nav-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Dropdown Menü */
.dropdown {
    position: relative;
}

.dropdown-toggle:hover i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a1a1a;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #065f46, #ffd700);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    color: #065f46;
    transform: translateX(5px);
}

.dropdown-item:hover::after {
    width: calc(100% - 40px);
}

.dropdown-item i {
    font-size: 1rem;
    color: #ffd700;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.dropdown-item:hover i {
    transform: scale(1.1);
}

/* Responsive Navbar */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
        height: 90px;
    }
    
    .logo-img {
        height: 140px;
    }
    
    .nav-menu {
        margin-left: 200px;
    }
    
    .nav-link {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    
    .dropdown-menu {
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 80px;
    }
    
    .logo-img {
        height: 120px;
    }
    
    .nav-menu {
        margin-left: 150px;
    }
    
    .nav-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        height: 75px;
    }
    
    .logo-img {
        height: 100px;
    }
    
    .nav-menu {
        margin-left: 120px;
    }
}
