/* ==========================================================================
   1. GENEL SIFIRLAMA, TEMEL AYARLAR VE YATAY KİLİTLEME
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F8F9FA;
    color: #2D3142;
    padding-top: 80px !important; /* Sabit menünün (Navbar) altında boşluk bırakır */
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
}

/* ==========================================================================
   2. SABİT NAVİGASYON (NAVBAR) VE LOGO SİSTEMİ
   ========================================================================== */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-height: 80px !important;
    padding: 10px 10% !important;
    background-color: #1A2B4C; /* Derin Gece Mavisi */
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.logo-container {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    height: 65px !important;
}

.logo-container .site-logo {
    height: 100% !important;
    width: auto !important;
    max-height: 65px !important;
    object-fit: contain !important;
    display: block !important;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center !important;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #E5A93C; /* Almanya Altını */
}

.btn-nav {
    background-color: #E5A93C;
    padding: 8px 16px;
    border-radius: 4px;
    color: #1A2B4C !important;
    font-weight: 600 !important;
}

/* Hamburger Butonu (Masaüstünde Gizli) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   3. GİRİŞ ALANI (HERO SECTION)
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(26, 43, 76, 0.85), rgba(26, 43, 76, 0.85)), url('images/BUNDES.jpg');
    background-size: cover;
    background-position: center;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.9;
}

.btn-main {
    display: inline-block;
    background-color: #E5A93C;
    color: #1A2B4C;
    text-decoration: none;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn-main:hover {
    transform: translateY(-3px);
    background-color: #d4962b;
}

/* ==========================================================================
   4. HİZMETLERİMİZ BÖLÜMÜ (SON KUTULARI ORTALAYAN YENİ FLEX YAPISI)
   ========================================================================== */
.services-section {
    padding: 80px 10%;
    background-color: #F8F9FA;
}

.services-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; /* Altta kalan 2 kutuyu otomatik ortalar */
    gap: 30px !important;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border-top: 4px solid #1A2B4C;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Masaüstünde yan yana tam 3 kutu sığacak şekilde hesaplanır */
    flex: 0 0 calc((100% - 60px) / 3) !important;
    width: calc((100% - 60px) / 3) !important;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-top-color: #E5A93C;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 20px;
    color: #1A2B4C;
    margin-bottom: 15px;
}

.service-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
}

/* ==========================================================================
   5. ÜNİVERSİTELER BÖLÜMÜ VE REKABETÇİ SLIDER SİSTEMİ
   ========================================================================== */
.universities {
    padding: 80px 0; /* İçerik kaydırıcı kenarlara tam esnesin diye sağ-sol sıfırlandı */
    background-color: #FFFFFF;
}

/* ==========================================================================
   TÜM SİTE GENELİ BAŞLIK VE ALT BAŞLIK MERKEZLEME
   ========================================================================== */

/* Sitedeki tüm ana başlıkları ve alt açıklamaları yatayda tamamen ortalar */
.section-title {
    text-align: center !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 40px !important;
}

.section-title h2 {
    font-size: 32px !important;
    color: #1A2B4C !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    text-align: center !important;
}

.section-title p {
    color: #6B7280 !important;
    font-size: 16px !important;
    text-align: center !important;
    max-width: 700px !important;
    margin: 0 auto !important; /* Alt başlık metninin de ortalanmasını garanti eder */
}

/* Üniversiteler alanı için özel ek seçici temizliği */
.uni-section .section-title,
.uni-section .section-subtitle {
    text-align: center !important;
    padding-left: 0 !important;
}

/* Mobil Cihazlar İçin Başlık Boyutları */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 24px !important;
    }
    .section-title p {
        font-size: 14px !important;
        padding: 0 15px !important;
    }
}

.slider-container {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 45px !important; 
    box-sizing: border-box !important;
}

.uni-grid { 
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important; 
    gap: 20px !important; 
    padding: 15px 0 30px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
}

.uni-grid::-webkit-scrollbar {
    display: none !important; 
}

/* Her ekrana tam sığan dinamik 4'lü kart yapısı */
.uni-card {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 calc((100% - 60px) / 4) !important; 
    width: calc((100% - 60px) / 4) !important;
    max-width: calc((100% - 60px) / 4) !important;
    scroll-snap-align: start !important; 
    margin-bottom: 0 !important;
    background-color: #F8F9FA;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.uni-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.uni-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.uni-info {
    padding: 25px;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.uni-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1A2B4C;
}

.uni-loc {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.uni-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #4A4A4A;
    min-height: 75px !important; /* Açıklama kutularını hizalar */
    margin-bottom: 15px !important;
}

.uni-meta {
    border-top: 1px solid #EAEAEA;
    padding-top: 10px !important;
    margin-top: auto !important;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
}

/* Slider Fade Efektli Ok Butonları */
.slide-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid #ddd !important;
    border-radius: 50% !important;
    color: #333 !important;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-container:hover .slide-btn { opacity: 1; }
.slide-btn:hover { background-color: #f9f9f9 !important; }
.prev-btn { left: 0 !important; }
.next-btn { right: 0 !important; }

/* ==========================================
   6. NOT HESAPLAMA BÖLÜMÜ
   ========================================== */
.calculator-section {
    padding: 80px 10%;
    background-color: #F8F9FA;
}

.calc-container {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.calc-box, .result-box {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1A2B4C;
}

.form-group select, .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #2D3142;
}

.result-box {
    background-color: #1A2B4C;
    color: white;
    padding: 30px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.result-box h3 {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.result-value {
    font-size: 54px;
    font-weight: 700;
    color: #E5A93C;
    margin-bottom: 15px;
}

.result-text {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

/* ==========================================
   7. ÖN DEĞERLENDİRME FORMU
   ========================================== */
.contact-section {
    padding: 80px 10%;
    background-color: #FFFFFF;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #F8F9FA;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.form-group input.error, .form-group select.error {
    border-color: #DC2626;
    background-color: #FEF2F2;
}

.form-group input[type="file"] {
    padding: 8px;
    background-color: white;
    font-size: 13px;
}

.success-box {
    text-align: center;
    padding: 30px;
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 6px;
    color: #065F46;
    animation: fadeIn 0.4s ease;
}

.success-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #059669;
}

.success-box h3 {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.success-box p {
    font-size: 15px;
    line-height: 1.6;
}
/* KVKK Kutusu Tasarımı */
.kvkk-group {
    margin-top: 25px;
    margin-bottom: 25px;
    background-color: #F3F4F6; /* Form arka planından hafifçe ayırır */
    padding: 15px;
    border-radius: 6px;
    border: 1px dashed #D1D5DB; /* Dikkat çekmesi için kesik çizgili kenarlık */
}

.kvkk-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px;
    font-size: 13px !important;
    font-weight: normal !important;
    color: #4B5563 !important;
    cursor: pointer;
    line-height: 1.5;
    margin-bottom: 0 !important;
}

.kvkk-label input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0; /* Mobilde yazılar uzasa da kutuyu ezmez */
}

.kvkk-label a {
    color: #1A2B4C;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.kvkk-label a:hover {
    color: #E5A93C;
}

/* ==========================================
   8. DETAY AÇILIR PENCERE (MODAL SİSTEMİ)
   ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000 !important;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.open { display: flex; }

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.85);
    color: #1F2937;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s, transform 0.2s;
    z-index: 150;
}

.close-btn:hover {
    background-color: #FFFFFF;
    color: #000000;
    transform: scale(1.05);
}

.modal-location {
    color: #888;
    margin: 5px 0 15px 0;
}

hr {
    border: 0;
    border-top: 1px solid #EAEAEA;
    margin-bottom: 20px;
}

.modal-desc {
    margin-bottom: 25px !important;
    line-height: 1.6;
    color: #4A4A4A;
}

.modal-slider {
    position: relative;
    overflow: hidden;
    height: 320px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.modal-slider .prev, 
.modal-slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #FFFFFF !important;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
    z-index: 10;
    user-select: none;
}

.modal-slider .prev { left: 15px; }
.modal-slider .next { right: 15px; }
.modal-slider .prev:hover, .modal-slider .next:hover { background-color: rgba(0, 0, 0, 0.8); }

.modal-map {
    width: 100%;
    height: 180px;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.modal-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    flex: 1;
    background-color: #F8F9FA;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #1A2B4C;
}

#modalLink {
    display: block !important;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.btn-close-modal {
    display: block !important;
    width: 100%;
    padding: 14px;
    background-color: #F3F4F6;
    color: #4B5563;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    transition: background-color 0.2s, color 0.2s;
}

.btn-close-modal:hover { background-color: #E5E7EB; color: #1F2937; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   9. YUKARI ÇIK VE FOOTER TASARIMI
   ========================================== */
#backtotop {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 45px !important;
    height: 45px !important;
    background-color: #1F2937 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background-color 0.2s, transform 0.2s !important;
    z-index: 9999 !important;
}

#backtotop.show { opacity: 1 !important; pointer-events: auto !important; }
#backtotop:hover { background-color: #4B5563 !important; transform: scale(1.05) !important; }

body:has(#uniModal.open) #backtotop, #uniModal.open ~ #backtotop {
    opacity: 0 !important;
    pointer-events: none !important;
}

.main-footer {
    background-color: #1A2B4C;
    color: #FFFFFF;
    padding: 60px 10% 20px 10%;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand { max-width: 400px; }
.footer-brand h3 { font-size: 24px; margin-bottom: 15px; color: #E5A93C; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: #D1D5DB; }
.footer-links h4 { font-size: 16px; margin-bottom: 15px; color: #FFFFFF; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: #D1D5DB; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links ul li a:hover { color: #E5A93C; }
.footer-bottom { text-align: center; padding-top: 20px; font-size: 12px; color: #9CA3AF; }
/* Footer Logo Düzenlemesi */
.footer-logo-container {
    display: inline-block !important;
    height: 50px !important; /* Logonun footer'daki yüksekliği */
    margin-bottom: 15px !important; /* Altındaki açıklama yazısıyla olan boşluk */
    text-decoration: none !important;
}

.footer-logo {
    height: 100% !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* ==========================================================================
   10. MEDİA QUERİES (YENİ 1028PX SINIRI - TABLET VE MOBİL BİRLEŞİK)
   ========================================================================== */

/* 1028px ve altındaki tüm cihazlarda (Tabletler ve Telefonlar) hamburger menü devreye girer */
@media screen and (max-width: 1028px) {
    body { padding-top: 65px !important; }
    .navbar { min-height: 65px !important; padding: 10px 20px !important; }
    .navbar nav { display: contents; }
    .menu-toggle { display: flex; } /* Hamburger butonunu görünür yapar */
    
    .logo-container { height: 45px !important; }
    .logo-container .site-logo { max-height: 45px !important; }

    /* Normal linkleri gizler ve açılır dikey menüye dönüştürür */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1A2B4C;
        padding: 25px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        gap: 20px;
        text-align: center;
        z-index: 99;
    }
    .nav-links.active { display: flex; }
    .nav-links li { margin-left: 0; }

    .hero, .services-section, .universities, .calculator-section, .contact-section, .main-footer {
        padding: 50px 5% !important;
    }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }

    /* Hizmet kutularını tabletlerde yan yana 2 adet, telefonlarda tekli yapar */
    .service-card, .service-box {
        flex: 0 0 calc((100% - 30px) / 2) !important;
        width: calc((100% - 30px) / 2) !important;
    }

    .slider-container { padding: 0 15px !important; }
    
    /* Mobil/Tablet Slider İçin Ana Taşıyıcı Düzenlemesi */
    .uni-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 15px 4% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Büyük tabletlerde yan yana 2 kart sığdırır, küçük ekranlarda tekli genişliğe düşer */
    .uni-card {
        flex: 0 0 calc((100% - 20px) / 2) !important;
        width: calc((100% - 20px) / 2) !important;
        max-width: calc((100% - 20px) / 2) !important;
        min-width: 280px !important;
        scroll-snap-align: start !important;
        margin-bottom: 0 !important;
    }

    /* Ekran iyice küçüldüğünde (Telefon boyutunda) her seferinde tam tek kart gösterir */
    @media (max-width: 768px) {
        .service-card, .service-box {
            flex: 0 0 100% !important;
            width: 100% !important;
        }
        .uni-card {
            flex: 0 0 92% !important;
            width: 92% !important;
            max-width: 92% !important;
            min-width: 92% !important;
            scroll-snap-align: center !important;
        }
    }

    .uni-img { height: 200px !important; }
    .uni-info h3 { font-size: 20px !important; line-height: 1.4 !important; white-space: normal !important; }
    .uni-desc { min-height: auto !important; }
    .slide-btn { display: none !important; }

    .calc-container, .footer-container { flex-direction: column; padding: 25px; gap: 25px; }
    .footer-container { text-align: center; gap: 30px; }
    .result-value { font-size: 42px; }
    .form-container { padding: 25px; }
    .form-grid { grid-template-columns: 1fr; }

    .modal-content { padding: 20px; max-height: 90vh; overflow-y: auto; }
    .modal-slider { height: 200px; }
}

/* ÇOK KÜÇÜK MOBİL EKRANLAR (Maksimum 480px) */
@media screen and (max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .nav-links { font-size: 14px; }
    .btn-main, .btn-nav { padding: 10px 15px; font-size: 14px; }
    .modal-stats { flex-direction: column; gap: 10px; }
}
/* ==========================================================================
   FOOTER MOBİL VE TABLET MERKEZLEME AYARI
   ========================================================================== */

@media screen and (max-width: 1028px) {
    /* Footer içindeki sütun yapısını dikey tek sütun yapar ve merkeze çeker */
    .footer-container {
        flex-direction: column !important;
        align-items: center !important; /* Tüm blokları yatayda ortalar */
        text-align: center !important;  /* Tüm metinleri merkeze hizalar */
        gap: 35px !important;
        padding: 0 20px !important;
    }

    /* Sol tarafta kalan marka ve açıklama alanını genişleterek ortalar */
    .footer-brand {
        max-width: 100% !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-brand h3, 
    .footer-brand p {
        text-align: center !important; /* Yazıların sola yaslanmasını engeller */
        width: 100% !important;
    }

    /* Hızlı menü alanının listesini ve linklerini ortalar */
    .footer-links {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-links ul {
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Liste elemanlarını tam merkeze dizer */
    }

    .footer-links ul li {
        text-align: center !important;
        width: 100% !important;
    }
   .footer-brand .footer-logo-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
}
