/* =========================================
   1. GENEL AYARLAR VE TYPOGRAPHY
   ========================================= */
body {
    font-family: 'Lato', 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333; /* Tam siyah yerine koyu gri, gözü yormaz */
    background-color: #f4f6f9; /* Hafif gri arka plan, beyaz kartları öne çıkarır */
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* =========================================
   2. NAVBAR / MENÜ TASARIMI
   ========================================= */
.menu {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between; /* Logo solda, menü sağda */
    align-items: center;
    padding: 0 5%;
    height: 80px;
    border-bottom: 3px solid #2e86c1;
}

.genclikLogo {
    width: 120px;
    padding: 5px;
}

.menu > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.menu > ul > li {
    display: inline-block;
    margin-left: 5px;
}

.menu > ul > li > a {
    display: block;
    color: #555;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px; /* Font büyütüldü */
    border-radius: 4px;
    text-transform: uppercase;
}

.menu > ul > li > a:hover,
.menu > ul > li.active > a {
    background-color: #2e86c1;
    color: #fff;
}

/* =========================================
   3. PROFESYONEL FORM KARTLARI (CARD UI)
   ========================================= */
/* Formları saran ana kapsayıcı */
.container {
    padding: 30px 15px;
    width: 100%;
    max-width: 1170px;
    margin: auto;
    background-color: transparent; /* Arka planı body rengine bıraktık */
}

/* Form Kartı Tasarımı */
.form-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 5px solid #2e86c1; /* Üstte marka çizgisi */
    margin-bottom: 40px;
    margin-top: 20px;
}

/* Ara Başlıklar (Örn: Öğrenci Bilgileri) */
.form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2e86c1;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Sayfa Ana Başlığı */
.araBaslik {
    text-align: center;
    margin: 40px 0 20px 0;
    color: #2c3e50;
}

.araBaslik > div {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
}

/* =========================================
   4. FORM ELEMANLARI (INPUT & SELECT)
   ========================================= */
.form-group {
    margin-bottom: 20px; /* Elemanlar arası boşluk */
    position: relative;
}

.form-control, .form-Email {
    display: block;
    width: 100%;
    height: 50px !important; /* Daha yüksek, modern inputlar */
    padding: 6px 15px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #f9f9f9; /* Çok hafif gri */
    border: 1px solid #e0e0e0;
    border-radius: 5px !important; /* Hafif oval köşeler */
    transition: all 0.3s ease;
    box-shadow: none;
}

.form-control:focus, .form-Email:focus {
    border-color: #2e86c1;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(46, 134, 193, 0.1);
    outline: 0;
}

/* Placeholder rengini modernleştirme */
::placeholder {
    color: #aaa !important;
    font-weight: 400;
    opacity: 1;
}

/* Uyarı Mesajları */
.uyariForm {
    color: #e74c3c;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
    display: none; /* JS ile açılacak */
    padding-left: 2px;
}

/* Radio Button Grupları */
.kapsaForm {
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.kapsaForm span {
    color: #2e86c1;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

/* =========================================
   5. BUTONLAR
   ========================================= */
.butonOnay {
    width: 100%;
    background-color: #2e86c1;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(46, 134, 193, 0.3);
}

.butonOnay:hover {
    background-color: #1a5276;
    transform: translateY(-2px); /* Yukarı kalkma efekti */
    box-shadow: 0 6px 12px rgba(46, 134, 193, 0.4);
}

.btn {
    border-radius: 4px;
}

/* =========================================
   6. MODAL (POP-UP) PENCERELER
   ========================================= */
.modal-header {
    background-color: #2e86c1;
    color: #fff !important;
    text-align: center;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    padding: 20px;
}

.modal-header h5 {
    color: #fff;
    margin: 0;
    font-size: 18px;
}

.modal-body {
    background-color: #fff; /* Eski turkuaz rengi kaldırıldı */
    padding: 30px;
    font-size: 16px;
    text-align: center;
    color: #555;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 15px;
    background-color: #f9f9f9;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* =========================================
   7. İLETİŞİM SAYFASI & HARİTALAR
   ========================================= */
.adresIletisim {
    width: 100%;
    max-width: 1170px;
    margin: 40px auto;
}

#akdAfyon, #ikdAfyon {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.sideSol {
    width: 100%;
}

.adresYazi {
    background-color: #2c3e50;
    color: #fff;
    padding: 30px;
}

.yerAdres, .sabitTel, .cepTel, .email {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.gMap {
    height: 350px;
    width: 100%;
}

/* İkon Font Ayarları (Eski koddan korundu) */
.yerAdres:before { font-family: 'WebHostingHub-Glyphs'; content: '\f220'; padding-right: 10px; color: #f1c40f; }
.sabitTel:before { font-family: 'WebHostingHub-Glyphs'; content: '\f148'; padding-right: 10px; color: #f1c40f; }
.cepTel:before { font-family: 'WebHostingHub-Glyphs'; content: '\f15b'; padding-right: 10px; color: #f1c40f; }
.email:before { font-family: 'WebHostingHub-Glyphs'; content: '\f136'; padding-right: 10px; color: #f1c40f; }

/* =========================================
   8. FOOTER
   ========================================= */
footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
    font-size: 14px;
}

footer a {
    color: #fff;
    font-weight: bold;
}

/* =========================================
   9. RESPONSIVE (MOBİL UYUMLULUK)
   ========================================= */
@media screen and (max-width: 768px) {
    /* Menü mobilde dikey olsun */
    .menu {
        height: auto;
        flex-direction: column;
        padding: 10px;
    }

    .menu > ul {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .menu > ul > li {
        width: 100%;
        margin: 5px 0;
        text-align: center;
    }
    
    .menu > ul > li > a {
        background-color: #f0f0f0; /* Mobilde butonlar karışmasın diye */
    }

    .genclikLogo {
        width: 100px;
    }
    
    .form-card {
        padding: 20px;
    }

    .split-column {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .araBaslik > div {
        font-size: 20px;
    }
}