/* =========================================
   1. HERO (GİRİŞ) BÖLÜMÜ TASARIMI
========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px); /* Navbar payı düşülmüştür */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); 
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    color: #ffffff;
}

.hero-baslik {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: serif, 'Times New Roman';
    letter-spacing: 1px;
}

.hero-alt-baslik {
    font-size: 22px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #f1f5f9;
}

.hero-butonlar {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.hero-btn:hover {
    background-color: #ffffff;
    color: #0f172a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* =========================================
   2. HOŞGELDİNİZ & PLATON SÖZÜ
========================================= */
.hosgeldin-section {
    padding: 80px 20px;
    background-color: #f8fafc;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-baslik {
    font-size: 36px;
    color: var(--primary-blue, #0ea5e9);
    margin-bottom: 20px;
    font-weight: 700;
}

.hosgeldin-metin {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 30px;
}

.platon-soz {
    font-size: 20px;
    font-style: italic;
    color: #1e293b;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-blue, #0ea5e9);
    display: inline-block;
    max-width: 800px;
}

.platon-soz span {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
}

/* =========================================
   3. ÇİFT GÖRSEL YAN YANA VE ÜZERİNDEKİ YAZI
========================================= */
.cift-gorsel-banner-section {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.cift-gorsel-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
}

.banner-resim-kutu {
    flex: 1;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.banner-resim-kutu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-resim-kutu:hover img {
    transform: scale(1.03);
}

.yazi-iceren-kutu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay-yazi {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.banner-hakkimda-link {
    font-size: 52px;
    font-family: serif, 'Times New Roman';
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 3px solid #ffffff;
    padding-bottom: 5px;
    margin-bottom: 15px;
    display: inline-block;
    transition: color 0.2s, border-color 0.2s;
}

.banner-hakkimda-link:hover {
    color: #38bdf8;
    border-color: #38bdf8;
}

.banner-alt-slogan {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.banner-alt-slogan.italic {
    font-style: italic;
    font-size: 18px;
    opacity: 0.9;
}

.ben-kimim-ozet-kutu {
    max-width: 900px;
    margin: 30px auto;
    background: #f8fafc;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    text-align: left;
}

.ben-kimim-baslik {
    font-size: 24px;
    color: var(--primary-blue, #0ea5e9);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.ben-kimim-metin {
    font-size: 16px;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.banner-buton-merkez {
    margin-top: 30px;
}

.guncel-yazilar-btn {
    display: inline-block;
    background: var(--primary-blue, #0ea5e9);
    color: #ffffff;
    border: 2px solid var(--primary-blue, #0ea5e9);
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.guncel-yazilar-btn:hover {
    background-color: #0284c7;
    border-color: #0284c7;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

.gelismis-cagrion-kutu {
    max-width: 900px;
    margin: 40px auto 10px auto;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 35px 40px;
    border-radius: 20px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gelismis-cagrion-kutu h3 {
    font-size: 26px;
    margin-bottom: 12px;
    font-family: serif;
    font-weight: 700;
    color: #38bdf8;
}

.gelismis-cagrion-kutu p {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.buyuk-dikkat-cekici-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
    padding: 16px 45px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.buyuk-dikkat-cekici-btn:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.6);
}

.buyuk-dikkat-cekici-btn i {
    transition: transform 0.3s ease;
}

.buyuk-dikkat-cekici-btn:hover i {
    transform: translateX(6px);
}

/* =========================================
   4. AYVALIK KBB & RENKLİ 6'LI KARTLAR
========================================= */
.ayvalik-kbb-section {
    padding: 80px 20px;
    background-color: #f8fafc;
    text-align: center;
}

.tiklanabilir-baslik-link {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s;
}

.tiklanabilir-baslik-link:hover {
    opacity: 0.85;
}

.bolum-cizgili-baslik {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 40px;
    font-weight: 700;
}

.renkli-kartlar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.renkli-kategori-kart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 20px;
    border-radius: 16px;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    gap: 15px;
    min-height: 160px;
}

.renkli-kategori-kart i {
    font-size: 38px;
}

.renkli-kategori-kart span {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.renkli-kategori-kart:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    filter: brightness(1.05);
}

/* Renk Geçişleri (Gradients) */
.kart-mavi { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.kart-yesil { background: linear-gradient(135deg, #10b981, #059669); }
.kart-mor { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.kart-turuncu { background: linear-gradient(135deg, #f59e0b, #d97706); }
.kart-koyu-yesil { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.kart-pembe { background: linear-gradient(135deg, #ec4899, #be185d); }

/* =========================================
   5. PRATİK BİLGİLER BÖLÜMÜ
========================================= */
.pratik-bilgiler-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.pratik-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
}

.pratik-gorsel {
    flex: 1;
    height: 450px;
}

.pratik-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pratik-icerik {
    flex: 1;
    padding: 40px;
}

/* Tıklanabilir Pratik Bilgiler Başlığı */
.tiklanabilir-baslik {
    font-size: 32px;
    font-family: serif;
    color: #0f172a;
    margin-bottom: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-block;
}

.tiklanabilir-baslik:hover {
    color: #0284c7;
}

.pratik-icerik ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pratik-icerik li {
    font-size: 16px;
    color: #334155;
    margin-bottom: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.pratik-icerik li::before {
    content: "•";
    color: var(--primary-blue, #0ea5e9);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* =========================================
   6. BÖLÜM: EN ALT İLETİŞİM ARKA PLAN RESMİ
========================================= */
.alt-iletisim-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../image/bademcik.jpg') !important;
    background-size: cover !important; 
    background-position: center center !important; 
    background-repeat: no-repeat !important;
    padding: 100px 20px !important; 
    color: #ffffff !important; 
    text-align: center;
}

.alt-iletisim-section h2 {
    color: #ffffff !important;
    margin-bottom: 20px;
}

.alt-iletisim-section p {
    color: #e2e8f0 !important; 
    margin-bottom: 30px;
    font-size: 16px;
}

.iletisim-yonlendir-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-blue, #0ea5e9);
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.iletisim-yonlendir-btn:hover {
    background-color: #0284c7;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

/* =========================================
   7. POPUP (HAKKIMDA MODAL) TASARIMI
========================================= */
.modal-arkaplan {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-icerik-kutu {
    background: #ffffff;
    width: 100%;
    max-width: 750px;
    max-height: 85vh;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalAcilis 0.3s ease-out forwards;
}

@keyframes modalAcilis {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-kapat-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
}

.modal-kapat-btn:hover {
    color: #0f172a;
}

.modal-gorsel-container {
    text-align: center;
    margin-bottom: 20px;
}

.modal-profil-resmi {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue, #0ea5e9);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.modal-baslik {
    color: var(--primary-blue, #0ea5e9);
    font-size: 26px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.modal-metin-alani p {
    color: #334155;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* =========================================
   8. YENİ: PRATİK BİLGİLER POP-UP (MODAL) TASARIMI
========================================= */
.pratik-bilgiler-modal {
    display: none; 
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); 
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pratik-bilgiler-modal.goster {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-icerik {
    background-color: #ffffff;
    margin: 15px;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    max-height: 85vh; 
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pratik-bilgiler-modal.goster .modal-icerik {
    transform: translateY(0);
}

.modal-baslik-alani {
    background: linear-gradient(135deg, #0284c7, #0284c7);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-baslik-alani h2 {
    margin: 0;
    font-size: 22px;
    color: white !important; /* Modal içi başlık kesin beyaz kalsın */
}

.modal-kapat-btn {
    color: white;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.modal-govde {
    padding: 25px;
    overflow-y: auto; 
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
}

.modal-govde p {
    margin-bottom: 20px;
    border-left: 3px solid #cbd5e1;
    padding-left: 15px;
}

.modal-govde p strong {
    color: #0f172a;
}

/* =========================================
   EL YAZISI FONTU UYGULAMALARI
========================================= */

/* Sadece bu spesifik başlıklar ve metinler el yazısı fontunu kullanacak */
.hero-baslik,
.banner-hakkimda-link,
.section-baslik,
.ben-kimim-baslik,
.bolum-cizgili-baslik,
.tiklanabilir-baslik,
.alt-iletisim-section h2 {
    font-family: 'Caveat', cursive !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
}

/* El yazısı fontları genelde küçük durduğu için boyutlarını biraz artırıyoruz */
.hero-baslik {
    font-size: 72px !important; 
}

.banner-hakkimda-link {
    font-size: 65px !important; 
}

.section-baslik,
.bolum-cizgili-baslik,
.tiklanabilir-baslik {
    font-size: 45px !important;
}

.alt-iletisim-section h2 {
    font-size: 48px !important;
}

.ben-kimim-baslik {
    font-size: 38px !important;
}

/* =========================================
   HOŞGELDİN, SLOGAN VE PRATİK BİLGİLER EL YAZISI UYARLAMASI
========================================= */
.hosgeldin-metin,
.banner-alt-slogan,
.pratik-icerik li {
    font-family: 'Caveat', cursive !important;
    font-weight: 600 !important; /* Başlıklar kadar kalın olmaması için 600 idealdir */
    letter-spacing: 1px !important;
}

/* 1. Hoşgeldin Metni Boyut Ayarı */
.hosgeldin-metin {
    font-size: 28px !important;
    line-height: 1.4 !important;
}

/* 2. Görsel Üzerindeki Slogan Boyut Ayarı */
.banner-alt-slogan {
    font-size: 34px !important;
}
.banner-alt-slogan.italic {
    font-size: 28px !important; /* 'Kalite asla tesadüf değildir' kısmı */
}

/* 3. Pratik Bilgiler Listesi Boyut ve Aralık Ayarı */
.pratik-icerik li {
    font-size: 24px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
}

/* Mobilde fontların çok devasa durmasını engeller */
@media (max-width: 768px) {
    .hero-baslik { font-size: 50px !important; }
    .banner-hakkimda-link { font-size: 48px !important; }
    .section-baslik, .bolum-cizgili-baslik, .tiklanabilir-baslik { font-size: 36px !important; }
    .alt-iletisim-section h2 { font-size: 38px !important; }
}

/* =========================================
   9. RESPONSIVE (MOBİL UYUMLULUK)
========================================= */
@media (max-width: 992px) {
    .renkli-kartlar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pratik-container {
        flex-direction: column;
    }
    .pratik-gorsel {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-baslik { font-size: 36px; }
    .hero-alt-baslik { font-size: 18px; }
    .cift-gorsel-container { flex-direction: column; }
    .banner-resim-kutu { height: 250px; }
    .banner-hakkimda-link { font-size: 38px; }
    .renkli-kartlar-grid { grid-template-columns: 1fr; }
    .modal-icerik-kutu { padding: 25px; }
    .ben-kimim-ozet-kutu { padding: 20px; }

    /* Ana sayfa arka plan görselini mobilde sağa hizalar */
    .hero-section { 
        background-position: 85% center !important; 
    }

    /* YENİ EKLENEN: Alt İletişim Banner'ının Mobilde Düzenli Görünmesi İçin */
    .alt-iletisim-section {
        padding: 60px 15px !important;
        background-position: center !important;
    }
    
    .alt-iletisim-section h2 {
        font-size: 26px !important;
        margin-bottom: 15px;
    }
    
    .alt-iletisim-section p {
        font-size: 14px !important;
        margin-bottom: 25px;
        line-height: 1.5;
        padding: 0 10px;
    }
}

/* =========================================
   POPUP (MODAL) KAPATMA ÇARPISI AYARLARI
========================================= */

/* 1. Çarpının beyaz çerçevenin dışına taşmasını engellemek için referans noktası belirliyoruz */
.modal-icerik-kutu, 
.modal-icerik {
    position: relative !important;
}

/* 2. Çarpı tuşunu sağ üst köşeye çivileyip direkt görünür yapıyoruz */
.modal-kapat-btn {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    background: transparent !important;
    border: none !important;
    font-size: 40px !important; /* Çarpının büyüklüğü */
    color: #64748b !important; /* Gri renk */
    cursor: pointer !important;
    z-index: 9999 !important;
    display: block !important;
    opacity: 1 !important; /* Fareyi beklemeden GÖRÜNÜR yapar */
    visibility: visible !important; /* Fareyi beklemeden GÖRÜNÜR yapar */
    line-height: 0.8 !important;
    transition: color 0.3s ease, transform 0.2s ease !important;
    text-decoration: none !important;
}

/* 3. Fare ile üzerine gelince mavi olup hafif büyüme efekti */
.modal-kapat-btn:hover {
    color: #0284c7 !important; /* Mavi tema rengin */
    transform: scale(1.1) !important;
}