/* ============================================
   NAVBAR / NAVİGASYON STİLLERİ
   ============================================ */

/* Ana Navbar */
.navbar-custom {
    background: transparent;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.navbar-custom.navbar-scrolled {
    background: rgba(26, 36, 25, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Logo / Marka */
.navbar-brand {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand .logo-grow {
    color: #4CAF50;
    transition: all 0.3s ease;
}

.navbar-brand .logo-it {
    color: white;
    transition: all 0.3s ease;
}

/* Nav Linkler */
/**
.navbar-nav {
    gap: 0.5rem;
}
    */

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 12px 20px !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.2) 100%);
    border-radius: 12px;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scale(1);
}

.nav-link:hover,
.nav-link.active {
    color: #4CAF50 !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #4CAF50;
    border-radius: 3px;
}

/* Navbar Toggler (Mobil Menü Butonu) */
.navbar-toggler {
    border: none;
    padding: 10px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(76, 175, 80, 0.2);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.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%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Nav Phone */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-phone:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

.nav-phone i {
    font-size: 0.9rem;
}

/* Mega Menu */
.mega-dropdown {
    position: static !important;
}

.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 36, 25, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-radius: 0 0 24px 24px;
    padding: 50px 0;
    margin-top: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: megaMenuSlide 0.3s ease;
}

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

.mega-menu-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mega-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mega-menu-item.featured {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    border: none;
}

.mega-menu-item.featured:hover {
    background: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.3);
}

.mega-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: white;
    color: #1a2419;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mega-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.mega-icon.bg-success {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.mega-icon.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.mega-menu-item:hover .mega-icon {
    transform: scale(1.1) rotate(5deg);
}

.mega-menu-item h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.mega-menu-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.mega-menu-item.featured p {
    color: rgba(255, 255, 255, 0.9);
}

/* Dropdown Menu */
.dropdown-menu {
    background: rgba(26, 36, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px;
    margin-top: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    animation: dropdownSlide 0.2s ease;
}

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

.dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:hover {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    transform: translateX(5px);
}

.dropdown-item.active {
    background: #4CAF50;
    color: white;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

/* Mobil Menü */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(26, 36, 25, 0.98);
        border-radius: 20px;
        padding: 25px;
        margin-top: 15px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(20px);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /**
    .navbar-nav {
        gap: 0.5rem;
    }
    */
    
    .nav-link {
        padding: 15px 20px !important;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .mega-menu {
        position: static !important;
        transform: none !important;
        padding: 20px;
        border-radius: 16px;
        margin-top: 10px;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .mega-menu-item {
        margin-bottom: 15px;
    }
    
    .navbar .d-flex {
        flex-direction: column;
        gap: 15px !important;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar .btn-primary-custom {
        width: 100%;
    }
    
    .nav-phone {
        justify-content: center;
    }
}

/* Animasyonlar */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-custom.fixed-top {
    animation: slideDown 0.5s ease;
}