/* Serkan DÖLEK CMS - Global Styles */
html, body { overflow-x: hidden; }
body { font-family: 'Roboto Condensed', sans-serif; transition: background-color 0.3s ease; }

/* İçerik taşmalarının başlıkları sağa itmesini engelle */
.prose {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.prose table {
    display: block;
    width: 100%;
    overflow-x: auto;
}

/* NAVBAR ANA YAPI */
#main-nav {
    position: fixed;
    top: 0;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100%;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* YAZI RENKLERİ (Aydınlık/Karanlık) */
.nav-link { color: #1a1a1a !important; } 
.dark .nav-link { color: #ffffff !important; }

/* SCROLL DURUMU (SİYAH PANEL) */
.nav-scrolled { 
    top: 5px !important;
    width: 90% !important;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(15px);
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.nav-scrolled .nav-link, .nav-scrolled span, .nav-scrolled button { color: #ffffff !important; }

@media (max-width: 767px) {
    .nav-scrolled {
        width: 96% !important;
    }
}

/* --- DROPDOWN (AÇILIR MENÜ) --- */
.desktop-dropdown {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 10000;
}
.group:hover > .desktop-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-box {
    display: flex !important;
    flex-direction: column !important;
    background-color: #ffffff !important;
    border-radius: 8px;
    padding: 4px !important;
    min-width: 240px;
    box-shadow: none !important; /* Gölge istenmediği için kaldırıldı */
    border: 1px solid rgba(0,0,0,0.1) !important;
    
    /* SCROLL TAMAMEN İPTAL */
    max-height: none !important; 
    overflow: visible !important; 
}

.dark .dropdown-box, .nav-scrolled .dropdown-box {
    background-color: rgba(25, 25, 25, 0.98) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* Dropdown Linkleri (EKSTRA KOMPAKT) */
.dropdown-box a { 
    color: #333 !important; 
    display: block; 
    width: 100%;
    padding: 5px 12px !important; /* Dikey boşluk (Yükseklik) minimize edildi */
    border-radius: 4px; 
    font-size: 13.5px; 
    line-height: 1.3; /* Satır yüksekliği daraltıldı */
    white-space: nowrap !important;
    transition: all 0.2s ease;
}

.dark .dropdown-box a, .nav-scrolled .dropdown-box a { color: #fff !important; }
.dropdown-box a:hover { background-color: #60cdff !important; color: #000 !important; }

/* Köprü */
.desktop-dropdown::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

/* --- HERO NEON GLOW --- */
@keyframes neon-blink {
    0%, 100% {
        box-shadow: 0 0 20px rgba(96, 205, 255, 0.7), 0 0 40px rgba(96, 205, 255, 0.4);
        border-color: #60cdff;
    }
    50% {
        box-shadow: 0 0 5px rgba(96, 205, 255, 0.2), 0 0 10px rgba(96, 205, 255, 0.1);
        border-color: rgba(96, 205, 255, 0.5);
    }
}

/* Ana sayfadaki hero imajını hedefle */
section img[src*="profile.jpg"] {
    animation: neon-blink 6s ease-in-out infinite;
    transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
    section img[src*="profile.jpg"] {
        animation: none;
    }
}

/* --- MOBİL MENÜ REZONSİF AYARLARI --- */
#mobile-menu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.hidden {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
}

#mobile-menu:not(.hidden) {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-sub-toggle svg {
    transition: transform 0.3s ease;
}

