/* Mobil Responsive CSS - Sadece mobil cihazlar için */

/* Tablet ve mobil için (992px ve altı) */
@media (max-width: 992px) {
    /* Mobil menü toggle butonu göster */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .menu-container {
        display: flex;
        padding-left: 60px;
    }
    
    .menu-left,
    .menu-right {
        display: none;
    }
    
    /* Logo ortada kalır */
    .logo-container {
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .logo {
        max-width: 120px; /* Mobilde logo küçültüldü */
    }
    
    /* Slider altındaki menüleri mobilde gizle */
    .slider-bottom-menu {
        display: none;
    }
    
    /* Sol sidebar menüyü gizle */
    .left-sidebar-menu {
        display: none;
    }
    
    body:has(.left-sidebar-menu) .page-detail,
    body:has(.left-sidebar-menu) .photo-gallery-page,
    body:has(.left-sidebar-menu) .video-gallery-page,
    body:has(.left-sidebar-menu) .yonetim-page {
        margin-left: 0;
        width: 100%;
    }
    
    /* Yönetim sayfası grid ayarları */
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .modal-member-content {
        grid-template-columns: 1fr;
    }
    
    .modal-member-image {
        height: 300px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Haberler Container Mobil */
    .news-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Haberler Slider Mobil */
    .news-slider-wrapper {
        height: 450px !important;
    }
    
    .news-slide-image {
        height: 220px !important;
    }
    
    .news-slide-text {
        padding: 15px !important;
    }
    
    .news-slide-title {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    
    .news-slide-description {
        font-size: 13px !important;
        margin-bottom: 10px !important;
    }
    
    .news-slide-date {
        font-size: 11px !important;
    }
    
    .news-slider-nav {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }
    
    .news-slider-prev {
        left: 10px !important;
    }
    
    .news-slider-next {
        right: 10px !important;
    }
    
    .news-slider-pagination {
        bottom: 15px !important;
        padding: 0 15px !important;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .news-pagination-all {
        padding: 8px 15px !important;
        font-size: 12px !important;
    }
    
    .news-slider-numbers {
        gap: 5px !important;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .news-number-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }
}

/* Sadece mobil için (768px ve altı) */
@media (max-width: 768px) {
    .top-menu {
        top: 40px; /* Menü bandı biraz daha aşağı kaydırıldı */
    }
    
    /* Logo ortada kalır */
    .logo-container {
        top: 65px; /* Logo da menü bandına göre ayarlandı */
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .logo {
        max-width: 100px; /* Mobilde logo küçültüldü */
    }
    
    body {
        padding-top: 80px;
    }
    
    /* Mobil menüyü tam ekran yap ve en önde olsun */
    .mobile-menu-slide {
        top: 0 !important; /* Tam ekranı kaplasın */
        left: -100% !important; /* Varsayılan olarak kapalı */
        width: 100% !important;
        height: 100vh !important; /* Tam ekran yüksekliği */
        z-index: 100000 !important; /* En önde olsun */
    }
    
    /* Mobil menü aktif olduğunda açık olsun */
    .mobile-menu-slide.active {
        left: 0 !important; /* Aktif olduğunda açık */
    }
    
    /* Overlay'i de tam ekran yap */
    .mobile-menu-overlay {
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important; /* Tam ekran yüksekliği */
        z-index: 99999 !important; /* Menünün hemen altında */
    }
    
    /* Mobil menü açıkken sosyal medya ve telefonu arkaya al */
    .social-media-icons {
        z-index: 1 !important; /* Mobil menü açıkken arkada kalsın */
    }
    
    .phone-number {
        z-index: 1 !important; /* Mobil menü açıkken arkada kalsın */
    }
    
    /* Kapat butonunu görünür yap ve en üstte olsun */
    .mobile-menu-close {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 100001 !important; /* En üstte olsun */
        position: relative;
        pointer-events: auto !important; /* Tıklanabilir olsun */
        cursor: pointer !important;
    }
    
    /* Mobil menü header'ını en üstte tut */
    .mobile-menu-header {
        z-index: 100002 !important; /* Kapat butonundan da üstte */
        position: sticky;
        top: 0;
    }
    
    /* Mobil menü içeriğini flex yap */
    .mobile-menu-slide {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .mobile-menu-content {
        flex: 1;
        overflow-y: auto;
    }
    
    /* Mobil menü alt kısım - Sosyal medya ve telefon */
    .mobile-menu-footer {
        background-color: #f8f9fa;
        border-top: 1px solid #e0e0e0;
        padding: 15px 20px;
        margin-top: auto;
        position: sticky;
        bottom: 0;
        z-index: 100003;
    }
    
    .mobile-menu-footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }
    
    .mobile-menu-social {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    
    .mobile-social-icon {
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(34, 74, 152, 0.7);
        color: #fff;
        border-radius: 50%;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 14px;
    }
    
    .mobile-social-icon:hover {
        background-color: rgba(34, 74, 152, 0.9);
        transform: translateY(-2px) scale(1.1);
        color: #fff;
    }
    
    .mobile-menu-phone {
        display: flex;
        align-items: center;
    }
    
    .mobile-phone-link {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background-color: rgba(34, 74, 152, 0.7);
        color: #fff;
        border-radius: 25px;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 14px;
        font-weight: 500;
    }
    
    .mobile-phone-link:hover {
        background-color: rgba(34, 74, 152, 0.9);
        transform: translateY(-2px);
        color: #fff;
    }
    
    .mobile-phone-link i {
        font-size: 16px;
    }
    
    /* Masaüstü slider yapısını mobilde gizle */
    .quick-actions-container {
        display: none !important;
    }
    
    /* Mobil Hızlı İşlemler - Sadece mobilde görünür, blok blok şekilde */
    .quick-actions-mobile-section {
        display: block !important;
        width: 100%;
        background-color: #fff;
        padding: 10px 0 !important; /* Yan boşlukları kaldır, sadece üst/alt padding */
        margin-top: 0 !important; /* Slider ile arasındaki boşluğu kaldır */
    }
    
    /* Hızlı işlemler bölümünün üst margin'ini tamamen kaldır */
    .block-quick-actions {
        margin-top: 63vh !important; /* Slider yüksekliği */
    }
    
    .quick-actions-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Mobil hızlı işlemler için üst boşluğu tamamen kaldır */
    .quick-actions-mobile-section {
        margin-top: -50px !important; /* Slider ile arasındaki boşluğu tamamen kaldır */
        padding-top: 10px !important; /* Üst padding minimum */
        padding-bottom: 15px !important;
    }
    
    .quick-actions-mobile-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 5px; /* Çok az yan boşluk */
    }
    
    /* Başlık ve açıklamayı gizle */
    .quick-actions-mobile-header {
        display: none !important;
    }
    
    .quick-actions-mobile-title {
        display: none !important;
    }
    
    .quick-actions-mobile-description {
        display: none !important;
    }
    
    .quick-actions-mobile-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        width: 100%;
        /*padding: 0 5px; *//* Çok az yan boşluk */
    }
    
    .quick-action-mobile-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px 8px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
        min-height: 110px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .quick-action-mobile-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        color: #0080c9;
    }
    
    .quick-action-mobile-card i {
        font-size: 32px;
        color: #0080c9;
        margin-bottom: 8px;
        transition: all 0.3s ease;
    }
    
    .quick-action-mobile-card:hover i {
        transform: scale(1.1);
    }
    
    .quick-action-mobile-icon {
        font-size: 32px;
        color: #0080c9;
        margin-bottom: 8px;
        transition: all 0.3s ease;
    }
    
    .quick-action-mobile-card:hover .quick-action-mobile-icon {
        transform: scale(1.1);
    }
    
    .quick-action-mobile-label {
        font-size: 11px;
        font-weight: 600;
        text-align: center;
        line-height: 1.2;
        color: #333;
        transition: color 0.3s ease;
    }
    
    .quick-action-mobile-card:hover .quick-action-mobile-label {
        color: #0080c9;
    }
    
    /* Dropdown oklarını düzelt */
    .mobile-menu-item {
        position: relative;
    }
    
    .mobile-menu-link {
        padding-right: 20px; /* Toggle butonu kaldırıldı, padding'i azalt */
    }
    
    .mobile-submenu-toggle {
        display: none !important; /* Toggle butonunu gizle */
    }
    
    /* Mobil Footer - Yeni Tasarım */
    .site-footer {
        display: block !important;
        background-color: #0039a6 !important;
        color: #ffffff !important;
        padding: 40px 20px !important;
        margin-top: 0 !important;
        text-align: center !important;
    }
    
    /* Footer arka plan dekoratif metni mobilde gizle */
    .site-footer::before {
        display: none !important;
    }
    
    /* Footer container mobil düzeni */
    .footer-container {
        max-width: 1100px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    /* Menü sütunlarını mobilde gizle */
    .footer-menus-section {
        display: none !important;
    }
    
    /* İletişim bölümü mobil düzeni */
    .footer-contact-section {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Logo mobilde gizle */
    .footer-logo {
        display: none !important;
    }
    
    /* Masaüstü iletişim bilgilerini mobilde gizle */
    .footer-contact-desktop {
        display: none !important;
    }
    
    /* Mobil iletişim bilgileri - Yeni Tasarım */
    .footer-contact-mobile {
        display: block !important;
        width: 100% !important;
    }
    
    /* 1. Bölüm: Çağrı Merkezi */
    .call-center {
        margin-bottom: 30px !important;
    }
    
    .call-center p {
        margin: 0 !important;
        font-size: 1.1rem !important;
        color: #ffffff !important;
        font-weight: 400 !important;
    }
    
    .call-center .phone-number {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-top: 10px !important;
    }
    
    .call-center .phone-icon {
        font-size: 2.5rem !important;
        margin-right: 12px !important;
        color: #ffffff !important;
    }
    
    .call-center .number {
        font-size: 2.5rem !important;
        font-weight: 700 !important;
        margin: 0 !important;
        color: #ffffff !important;
        line-height: 1.2 !important;
    }
    
    @media (max-width: 480px) {
        .call-center .phone-icon {
            font-size: 2rem !important;
            margin-right: 10px !important;
        }
        
        .call-center .number {
            font-size: 2rem !important;
        }
        
        .call-center p {
            font-size: 1rem !important;
        }
        
        .contact-details {
            font-size: 0.9rem !important;
        }
        
        .footer-contact-mobile .social-media a {
            font-size: 1.5rem !important;
            margin: 0 10px !important;
        }
    }
    
    /* 2. Bölüm: İletişim Bilgileri */
    .contact-details {
        font-style: normal !important;
        line-height: 1.7 !important;
        font-size: 1rem !important;
        color: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .contact-details p {
        margin: 5px 0 !important;
        color: #ffffff !important;
    }
    
    .contact-details strong {
        font-weight: 700 !important;
        color: #ffffff !important;
    }
    
    .contact-details a {
        color: #ffffff !important;
        text-decoration: none !important;
    }
    
    .contact-details a:hover {
        text-decoration: underline !important;
    }
    
    /* 3. Bölüm: Sosyal Medya */
    .footer-contact-mobile .social-media {
        margin-top: 30px !important;
        padding-top: 30px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .footer-contact-mobile .social-media a {
        color: #ffffff !important;
        font-size: 1.8rem !important;
        margin: 0 15px !important;
        text-decoration: none !important;
        transition: opacity 0.2s ease !important;
        display: inline-block !important;
    }
    
    .footer-contact-mobile .social-media a:hover {
        opacity: 0.8 !important;
    }
    
    /* Footer bottom - Servis ikonları ve copyright - Mobilde gizle veya basitleştir */
    .footer-bottom {
        display: none !important;
    }
    
    /* Sosyal Medya İkonları - Mobil */
    .social-media-icons {
        top: 5px;
        left: 10px;
        gap: 8px;
        flex-direction: row !important;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    /* Telefon Numarası - Mobil */
    .phone-number {
        top: 5px;
        right: 10px;
    }
    
    .phone-link {
        padding: 6px 12px;
        font-size: 12px;
        gap: 6px;
    }
    
    .phone-link i {
        font-size: 14px;
    }
    
    /* Haberler Slider 768px ve altı */
    .news-slider-wrapper {
        height: 420px !important;
    }
    
    .news-slide-image {
        height: 200px !important;
    }
    
    .news-slide-text {
        padding: 12px !important;
    }
    
    .news-slide-title {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }
    
    .news-slide-description {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }
    
    .news-slide-date {
        font-size: 10px !important;
    }
    
    .news-slider-nav {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
    }
    
    .news-slider-prev {
        left: 8px !important;
    }
    
    .news-slider-next {
        right: 8px !important;
    }
    
    .news-slider-pagination {
        bottom: 12px !important;
        padding: 0 12px !important;
    }
    
    .news-pagination-all {
        padding: 7px 14px !important;
        font-size: 11px !important;
    }
    
    .news-number-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }
    
    /* Yönetim sayfası mobil ayarları */
    .yonetim-page {
        padding: 20px 10px;
    }
    
    .yonetim-page .row {
        flex-wrap: wrap;
    }
    
    .main-content {
        width: 100%;
        margin-left: 0;
    }
    
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .member-image {
        height: 200px;
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .party-filters {
        gap: 10px;
    }
    
    .party-filter-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    /* Detay sayfası mobil ayarları */
    .page-content {
        padding: 20px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .page-header-image {
        max-width: 100%;
    }
}

/* Çok küçük ekranlar (480px ve altı) */
@media (max-width: 480px) {
    .logo {
        max-width: 90px; /* Çok küçük ekranlarda logo daha da küçültüldü */
    }
    
    /* Yönetim sayfası küçük ekran ayarları */
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .member-info {
        padding: 15px;
    }
    
    .member-name {
        font-size: 16px;
    }
    
    .modal-member-content {
        gap: 20px;
    }
    
    /* Haberler Slider Çok Küçük Ekranlar */
    .news-slider-wrapper {
        height: 400px !important;
    }
    
    .news-slide-image {
        height: 180px !important;
    }
    
    .news-slide-text {
        padding: 12px !important;
    }
    
    .news-slide-title {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }
    
    .news-slide-description {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }
    
    .news-slide-date {
        font-size: 10px !important;
    }
    
    .news-slider-nav {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }
    
    .news-slider-prev {
        left: 5px !important;
    }
    
    .news-slider-next {
        right: 5px !important;
    }
    
    .news-slider-pagination {
        bottom: 10px !important;
        padding: 0 10px !important;
        flex-direction: column;
        gap: 8px;
    }
    
    .news-pagination-all {
        padding: 6px 12px !important;
        font-size: 11px !important;
        width: 100%;
        text-align: center;
    }
    
    .news-slider-numbers {
        gap: 4px !important;
        justify-content: center;
        width: 100%;
    }
    
    .news-number-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }
}

/* Büyük tablet ve küçük masaüstü (1200px ve altı) */
@media (max-width: 1200px) {
    .members-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

