/* Premium Logo Glow & Büyütme */
.logo img.premium-logo {
    height: 70px !important; /* 1536px ekranlarda taşmayı önlemek için optimum devasa boyut */
    width: auto !important;
    filter: drop-shadow(0 0 10px rgba(255, 62, 77, 0.5));
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: left center;
}
.premium-logo:hover {
    filter: drop-shadow(0 0 25px rgba(255, 62, 77, 0.9));
    transform: scale(1.05); /* Hover'da daha fazla büyü */
}

/* Küçük ekranlarda (Laptoplar ve 1536px Standart Monitörler) logonun menüyle çakışmasını (overlap) önle */
@media (max-width: 1650px) {
    .nav-search { display: none !important; } /* Arama kutusunu gizleyip yer aç */
    .logo img.premium-logo { height: 62px !important; }
}
@media (max-width: 1350px) {
    .nav-actions { display: none !important; } /* Butonu gizleyip yer aç */
    .logo img.premium-logo { height: 55px !important; }
}

/* Dropdown Base - Desktop */
.nav-item-dropdown {
    position: relative;
}
.dropdown-menu.glass-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 62, 77, 0.2);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(255,62,77,0.15);
    z-index: 1000;
    pointer-events: none;
}
.dropdown-menu.glass-dropdown::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}
@media (min-width: 1101px) {
    .nav-item-dropdown:hover .dropdown-menu.glass-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
    .nav-item-dropdown:hover .dropdown-toggle i {
        transform: rotate(180deg);
    }
}
.dropdown-menu li {
    list-style: none;
    width: 100%;
}
.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.dropdown-menu li a:hover {
    color: #fff;
    background: rgba(255,62,77,0.1);
    padding-left: 26px;
}

/* 
 * OVERRIDE HAMBURGER & MOBILE VIEW (Trigger at 1100px instead of 768px)
 */
@media (max-width: 1100px) {
    .hamburger { display: flex !important; z-index: 5200; }
    .nav-search { display: none !important; }
    .nav-actions { display: none !important; }
    
    .nav-menu {
        display: none;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5,5,5,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 90px;
        padding-bottom: 40px;
        gap: 12px;
        z-index: 5000;
        overflow-y: auto;
    }
    .nav-menu.open { display: flex !important; }
    
    .nav-menu li { width: 100%; text-align: center; padding: 0 20px; }
    
    .nav-link {
        display: block;
        padding: 14px 20px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.05);
        background: rgba(255,255,255,0.02);
        width: 100%;
    }
    
    /* Mobile Dropdown */
    .dropdown-menu.glass-dropdown {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 0;
        min-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 8px;
    }
    .dropdown-menu.glass-dropdown::before { display: none; }
    
    .dropdown-menu li { padding: 0; }
    .dropdown-menu li a {
        background: rgba(230,57,70,0.05);
        border: 1px solid rgba(230,57,70,0.1);
        border-radius: 8px;
        justify-content: center;
        padding: 12px;
        font-size: 0.95rem;
    }
    .dropdown-menu li a:hover {
        padding-left: 12px;
        background: rgba(230,57,70,0.15);
    }
}
