/* =====================================================
   MEDIAN DIGITAL - SIMPLE DROPDOWN STYLES
   BASİT DROPDOWN STİLLERİ
   ===================================================== */

/* =====================================================
   SERVICES DROPDOWN
   ===================================================== */

.services-dropdown {
    position: relative;
}

.services-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.services-button i {
    transition: transform 0.3s ease;
}

.services-button:hover i,
.services-dropdown:hover .services-button i {
    transform: rotate(180deg);
}

.services-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top center;
    width: 288px; /* w-72 */
}

.services-menu.opacity-0 {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) scale(0.95) translateY(-10px);
    pointer-events: none;
}

.services-menu.opacity-100 {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1) translateY(0);
    pointer-events: auto;
}

/* =====================================================
   MOBILE MENU STYLES
   ===================================================== */

.mobile-services-wrapper {
    position: relative;
}

#mobileServicesToggle i {
    transition: transform 0.3s ease;
}

#mobileServicesToggle.active i {
    transform: rotate(180deg);
}

#mobileServicesDropdown {
    overflow: hidden;
    transition: all 0.3s ease;
}

#mobileServicesDropdown.hidden {
    max-height: 0;
    opacity: 0;
}

#mobileServicesDropdown:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* =====================================================
   NAV LINK HOVER EFFECTS
   ===================================================== */

.nav-link {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #C4EF17, #7FE817);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::before {
    width: 100%;
}

/* =====================================================
   NAVBAR SCROLL EFFECT
   ===================================================== */

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dark nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(196, 239, 23, 0.1);
}

/* =====================================================
   MOBILE MENU BUTTON
   ===================================================== */

#mobileMenuBtn {
    transition: all 0.3s ease;
}

#mobileMenuBtn:hover {
    background: rgba(196, 239, 23, 0.2);
    transform: scale(1.05);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 768px) {
    .services-menu {
        width: 100vw;
        left: -1rem;
        right: -1rem;
        border-radius: 1rem;
    }
}