/* Font Awesome İkonları için CDN */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Fıstık Yeşili Menü Stilleri */
.navbar-pistachio {
    background: linear-gradient(135deg, #A4D65E 0%, #8BC34A 50%, #689F38 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(139, 195, 74, 0.3);
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Navbar arkaplan animasyonu */
.navbar-pistachio::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Scroll durumunda navbar efekti */
.navbar-pistachio.scrolled {
    background: linear-gradient(135deg, #8BC34A 0%, #689F38 50%, #558B2F 100%);
    box-shadow: 0 4px 20px rgba(85, 139, 47, 0.4);
    padding: 0.5rem 0;
}

/* Marka Stilleri */
.navbar-pistachio .navbar-brand {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #FFEB3B, #FFC107);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    transition: all 0.3s ease;
}

.brand-icon i {
    color: #6D4C41;
    font-size: 1.2rem;
}

.brand-text {
    background: linear-gradient(45deg, #ffffff, #E8F5E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-pistachio .navbar-brand:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.navbar-pistachio .navbar-brand:hover .brand-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

/* Menü Linkleri */
.navbar-pistachio .nav-link {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    margin: 0 0.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-icon {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Hover efektleri */
.navbar-pistachio .nav-link::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: all 0.6s ease;
}

.navbar-pistachio .nav-link:hover::before {
    left: 100%;
}

.navbar-pistachio .nav-link:hover {
    color: #2E7D32;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
}

.navbar-pistachio .nav-link:hover .nav-icon {
    color: #A4D65E;
    transform: scale(1.2) rotate(10deg);
}

/* Aktif link stili */
.navbar-pistachio .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Toggler Stilleri (Mobil) */
.navbar-pistachio .navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 0.5rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-pistachio .navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.navbar-pistachio .navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobil Responsive Stiller */
@media (max-width: 991.98px) {
    .navbar-pistachio {
        padding: 0.75rem 0;
    }
    
    .navbar-pistachio .navbar-brand {
        font-size: 1.5rem;
    }
    
    .brand-icon {
        width: 35px;
        height: 35px;
    }
    
    .brand-icon i {
        font-size: 1rem;
    }
    
    .navbar-collapse {
        background: rgba(139, 195, 74, 0.95);
        backdrop-filter: blur(20px);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 15px;
        box-shadow: 0 8px 32px rgba(139, 195, 74, 0.3);
    }
    
    .navbar-pistachio .nav-link {
        margin: 0.25rem 0;
        justify-content: flex-start;
        padding: 1rem 1.5rem;
        border-radius: 12px;
    }
    
    .navbar-pistachio .nav-link:hover {
        transform: translateX(10px);
        margin-left: 0.5rem;
    }
    
    .nav-icon {
        margin-right: 1rem;
        font-size: 1.1rem;
    }
}

/* Tablet görünümü */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar-pistachio .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }
}

/* Küçük ekranlar */
@media (max-width: 576px) {
    .navbar-pistachio .navbar-brand {
        font-size: 1.3rem;
    }
    
    .brand-icon {
        width: 30px;
        height: 30px;
    }
    
    .brand-icon i {
        font-size: 0.9rem;
    }
    
    .navbar-pistachio .nav-link span {
        font-size: 0.95rem;
    }
}