/* OFSAqua genel: üst bilgi, yan sütun, alt bilgi (eskiden şablonlarda satır içiydi) */
/* --- Üst bilgi --- */
/* Modern Header Wrapper - KOYU GLASSMORPHISM */
.modern-header-wrapper {
    background: rgba(37, 47, 79, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.modern-header-wrapper.scrolled {
    padding: 10px 0;
    background: rgba(37, 47, 79, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Logo Styles */
.modern-logo {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-text-gradient {
    font-size: 28px;
    font-weight: 800;
    color: #ECEFF1;
    text-shadow: 0 2px 10px rgba(102, 187, 106, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.logo-link:hover .logo-text-gradient {
    transform: scale(1.05);
    color: #66BB6A;
    text-shadow: 0 0 15px rgba(102, 187, 106, 0.5);
}

.logo-image {
    max-height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
    background: rgba(102, 187, 106, 0.15);
    border-color: rgba(102, 187, 106, 0.3);
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #ECEFF1;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Modern Navbar */
.modern-navbar {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    padding-right: 30px;
}

.nav-menu-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0 20px 0 0;
    flex-wrap: nowrap;
}

/* Max 5 menü için genişlik kontrolü */
.nav-menu-list li {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}


.nav-menu-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: rgba(236, 239, 241, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-menu-list li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 187, 106, 0.2) 0%, rgba(102, 187, 106, 0.1) 100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.nav-menu-list li a:hover::before,
.nav-menu-list li.current-menu-item a::before {
    left: 0;
}

.nav-menu-list li a:hover,
.nav-menu-list li.current-menu-item a {
    color: #66BB6A;
    background: rgba(102, 187, 106, 0.15);
    border-color: rgba(102, 187, 106, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.2);
}

.nav-menu-list li a i {
    font-size: 16px;
}

/* Mobile Close Button (X) */
.mobile-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-close i {
    color: #ECEFF1;
    font-size: 20px;
}

.mobile-close:hover {
    background: rgba(239, 83, 80, 0.2);
    border-color: rgba(239, 83, 80, 0.4);
}

.mobile-close:hover i {
    color: #EF5350;
}

/* Mobile Overlay (Arka Plan Karartma) - KÜÇÜK & YUMUŞAK */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 0.5 -> 0.3 (daha açık) */
    z-index: 998;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Responsive - Mobile */
@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-close {
        display: flex;
    }
    
    .modern-navbar {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: auto;
        max-height: 70vh; /* 80vh -> 70vh (daha küçük) */
        background: rgba(37, 47, 79, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        padding: 70px 15px 20px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
        overflow-y: auto; /* Scroll gerekirse göster */
        overflow-x: hidden; /* Yatay scroll asla */
        border-radius: 15px 0 0 15px;
        margin-top: 10px;
    }
    
    /* Scrollbar stilini küçült */
    .modern-navbar::-webkit-scrollbar {
        width: 4px;
    }
    
    .modern-navbar::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }
    
    .modern-navbar::-webkit-scrollbar-thumb {
        background: rgba(102, 187, 106, 0.5);
        border-radius: 10px;
    }
    
    .modern-navbar::-webkit-scrollbar-thumb:hover {
        background: rgba(102, 187, 106, 0.7);
    }
    
    .modern-navbar.active {
        right: 0;
    }
    
    .nav-menu-list {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 0;
    }
    
    .nav-menu-list li a {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .modern-header-wrapper {
        padding: 12px 0;
    }
    
    .logo-text-gradient {
        font-size: 24px;
    }
    
    .logo-image {
        max-height: 38px;
    }
}

/* --- Yan sütun --- */
/* Modern Sidebar Widgets */
.modern-sidebar-widget {
    background: rgba(37, 47, 79, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.modern-sidebar-widget:hover {
    box-shadow: 0 12px 35px rgba(102, 187, 106, 0.15);
    border-color: rgba(102, 187, 106, 0.2);
}

/* Widget Header */
.widget-header {
    color: #ECEFF1;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(102, 187, 106, 0.3);
}

.widget-header i {
    color: #66BB6A;
    font-size: 20px;
}

/* Widget Items */
.widget-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.widget-item:hover {
    background: rgba(102, 187, 106, 0.1);
    border-color: rgba(102, 187, 106, 0.3);
    transform: translateX(5px);
}

/* Item Number Badge */
.item-number {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Item Content */
.item-content {
    flex: 1;
    min-width: 0;
}

.item-content a {
    color: rgba(236, 239, 241, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

.item-content a:hover {
    color: #66BB6A;
}

/* Item Meta */
.item-meta {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(236, 239, 241, 0.6);
}

.item-meta i {
    color: #66BB6A;
    margin-right: 4px;
}

/* Category Item */
.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.category-item:hover {
    background: rgba(102, 187, 106, 0.1);
    border-color: rgba(102, 187, 106, 0.3);
    transform: translateX(5px);
}

.category-item a {
    color: rgba(236, 239, 241, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    flex: 1;
    transition: color 0.3s ease;
}

.category-item a:hover {
    color: #66BB6A;
}

.category-item a i {
    color: #66BB6A;
    margin-right: 8px;
}

/* Category Count Badge */
.category-count {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

/* --- Alt bilgi --- */
/* Modern Glassmorphism Footer - KOYU VERSİYON */
.modern-footer {
    background: rgba(37, 47, 79, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 40px auto 20px !important;
    padding: 40px 30px 20px !important;
    max-width: 1200px !important;
}

.footer-column-title {
    color: #ECEFF1 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column-title i {
    color: #66BB6A;
    font-size: 20px;
}

.footer-description {
    color: rgba(236, 239, 241, 0.75) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* Footer Links - KOYU VERSİYON */
.footer-helpful-links a,
.footer-social-links a,
.footer-link-hover,
.footer-menu-vertical a {
    color: rgba(236, 239, 241, 0.8) !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px !important;
    padding: 10px 15px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.footer-helpful-links a:hover,
.footer-social-links a:hover,
.footer-link-hover:hover,
.footer-menu-vertical a:hover {
    color: #66BB6A !important;
    background: rgba(102, 187, 106, 0.15) !important;
    border-color: rgba(102, 187, 106, 0.3) !important;
    transform: translateX(5px) !important;
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.2) !important;
}

.footer-menu-vertical {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Footer Copyright - KOYU VERSİYON */
.footer-copyright-modern {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright-modern span {
    color: rgba(236, 239, 241, 0.65) !important;
    font-size: 14px !important;
}

.footer-copyright-modern a {
    color: #66BB6A !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease !important;
}

.footer-copyright-modern a:hover {
    color: #81C784 !important;
    text-shadow: 0 0 10px rgba(102, 187, 106, 0.3);
}

/* --- v1.1.0: satır içi stillerden taşınanlar --- */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 10px; top: 10px; z-index: 100000; background: #fff; color: #00838F; padding: 10px 15px; border-radius: 6px; }

.ofsaqua-giris-dugme { background: #dc3545 !important; border-color: #dc3545 !important; color: #fff !important; font-weight: bold !important; text-transform: uppercase !important; transition: all .3s ease !important; padding: 12px; border-radius: 6px; font-size: 14px; }
.ofsaqua-giris-dugme:hover, .ofsaqua-giris-dugme:focus { background: #1ab188 !important; border-color: #1ab188 !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26, 177, 136, .3); }

.ofsaqua-yan-giris { background: rgba(77, 77, 77, .8); border-radius: 4px; box-shadow: 0 4px 10px 4px rgba(19, 35, 47, .3); padding: 20px; margin-bottom: 20px; }
.ofsaqua-yan-giris .title { color: #1ab188; font-weight: bold; margin-bottom: 20px; font-size: 1.5rem; }
.ofsaqua-yan-giris .inp-group { background: rgba(255, 255, 255, .1); border-radius: 6px; padding: 10px; }
.ofsaqua-yan-giris .ikon { color: #1ab188; }
.ofsaqua-yan-giris input { background: transparent; border: none; color: #fff; outline: none; font-size: 14px; }
.ofsaqua-yan-giris input::placeholder { color: rgba(255, 255, 255, .7); }

/* Menü linkleri (eskiden her linkte onmouseover/satır içi stil vardı) */
.nav-menu-list li a:focus-visible { outline: 2px solid #66BB6A; outline-offset: 2px; }

/* Başlık etiketleri değişen yerler eski görünümünü korusun */
.footer-column-title.h6 { margin-top: 0; }

/* Mobil menü kapalıyken sayfayı yana taşırmasın (başlıktaki backdrop-filter, sabit menünün kapsayıcısı olur) */
@media (max-width: 992px) {
    .modern-header-wrapper { overflow-x: clip; }
}
