/*
Theme Name: Rüyam Özel Eğitim
Theme URI: 
Author: Fırat KARAKAŞ
Description: Rüyam Özel Eğitim Merkezi için özel tasarım modern bento-grid tema.
Version: 1.1
Text Domain: ruyam
*/

/* =========================================
   1. RESET & DEĞİŞKENLER
========================================= */
:root {
    --primary-color: #1a4942; --accent-color: #d4af37; --bg-light: #f8f9fa; --text-dark: #2d3748; --text-light: #718096;
    --logo-pink: #e91e63; --logo-orange: #ff9800; --logo-blue: #03a9f4; --logo-green: #cddc39; --logo-darkblue: #2c3e50;
    --bg-erken: #eef2f5; --bg-stat: #f4ece4; --bg-program: #e6efec; --bg-blog: #1a4942;
    --radius-lg: 24px; --radius-md: 12px; --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: var(--text-dark); background-color: var(--bg-light); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* =========================================
   2. BUTONLAR VE RENKLER
========================================= */
.btn { display: inline-block; padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); }
.btn-green { background-color: #68a678; color: #ffffff; padding: 12px 28px; border-radius: 40px; }
.btn-green:hover { background-color: #538b62; transform: translateY(-2px); }
.bg-pink { background-color: var(--logo-pink); } .bg-blue { background-color: var(--logo-blue); } .bg-green { background-color: var(--logo-green); } .bg-orange { background-color: var(--logo-orange); } .bg-darkblue { background-color: var(--logo-darkblue); }
.text-pink { color: var(--logo-pink); } .text-blue { color: var(--logo-blue); } .text-green { color: var(--logo-green); } .text-orange { color: var(--logo-orange); } .text-darkblue { color: var(--logo-darkblue); }

/* =========================================
   3. MODERN BAŞLIKLAR
========================================= */
.section-title { display: flex; flex-direction: column; align-items: center; margin-bottom: 40px; }
.modern-heading { display: inline-block; font-size: 2.2rem; font-weight: 700; padding: 12px 45px; border-radius: 50px; margin-bottom: 15px; letter-spacing: -1px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.heading-pink { background-color: #fdf2f8; color: #db2777; border: 2px solid #fce7f3; }
.heading-blue { background-color: #f0f9ff; color: #0284c7; border: 2px solid #e0f2fe; }
.heading-orange { background-color: #fff7ed; color: #ea580c; border: 2px solid #ffedd5; }

/* =========================================
   4. HEADER (ÜST MENÜ)
========================================= */
.site-header { background-color: #ffffff; padding: 10px 0; box-shadow: 0 2px 15px rgba(0,0,0,0.03); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 70px; }
.main-nav ul { display: flex; align-items: center; }
.main-nav li { display: flex; align-items: center; }
.main-nav li:not(:last-child)::after { content: "|"; margin: 0 15px; color: #cbd5e1; font-size: 1.1rem; }
.main-nav a { color: #334155; font-weight: 500; font-size: 1.05rem; }
.main-nav a:hover { color: #5c9f6a; }

/* =========================================
   5. HERO BÖLÜMÜ
========================================= */
.hero-section { background-color: #e5f0f9; width: 100%; overflow: hidden; }
.hero-container { display: flex; align-items: center; max-width: 1600px; margin: 0 auto; position: relative; }
.hero-image { flex: 1.3; font-size: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; min-height: 550px; -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(to right, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%); }
.hero-text { flex: 0.7; padding: 60px 80px 60px 0; margin-left: -180px; z-index: 10; position: relative; }
.hero-text h1 { font-size: 3.5rem; color: #1e293b; line-height: 1.1; margin-bottom: 25px; font-weight: 700; letter-spacing: -1px; }
.hero-text p { font-size: 1.4rem; color: #334155; font-weight: 400; }

/* =========================================
   6. BENTO GRID VE PROGRAMLAR
========================================= */
.bento-section { padding: 100px 0; }
.span-full { grid-column: 1 / -1; } .span-2 { grid-column: span 2; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; grid-auto-rows: minmax(220px, auto); }
.bento-card { border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; justify-content: center; transition: var(--transition); }
.bento-erken { background-color: #514236; padding: 0; flex-direction: row; align-items: center; overflow: hidden; height: 270px; }
.bento-erken:hover, .bento-stat:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.bento-erken .card-content { flex: 0.8; padding: 30px 0 30px 40px; z-index: 2; color: #fff; }
.bento-erken h2 { font-size: 1.6rem; margin-bottom: 10px; color:#fff; } .bento-erken h3 { font-size: 1.3rem; margin-bottom: 8px; color:#fff; } .bento-erken p { font-size: 1.05rem; opacity: 0.95; color:#fff; }
.bento-erken .card-image { flex: 1.2; height: 100%; margin-left: -40px; }
.bento-erken .card-image img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0) 90%); mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0) 90%); }
.bento-stat { background-color: #fbf8f1; border: 1px solid #f0e6d2; align-items: center; padding: 30px 20px; }
.bento-stat h3 { font-size: 1.6rem; color: #1e293b; margin-bottom: 5px; }
.bento-stat .stat-number { font-size: 5rem; font-weight: 700; color: #b59b81; line-height: 1; }

.programs-grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.program-link-card { background-color: #ffffff; border-radius: var(--radius-md); padding: 35px 25px; display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #f1f5f9; border-top: 4px solid transparent; transition: all 0.3s ease; }
.program-link-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.p-icon { width: 60px; height: 60px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px; color: #ffffff; }
.program-link-card h3 { font-size: 1.35rem; color: #1e293b; margin-bottom: 10px; }
.program-link-card p { font-size: 0.95rem; color: #64748b; flex-grow: 1; }
.p-link { font-size: 0.95rem; font-weight: 600; display: flex; align-items: center; gap: 5px; transition: gap 0.3s; }
.program-link-card:hover .p-link { gap: 10px; }
.border-pink:hover { border-top-color: var(--logo-pink); } .border-blue:hover { border-top-color: var(--logo-blue); } .border-green:hover { border-top-color: var(--logo-green); } .border-orange:hover { border-top-color: var(--logo-orange); } .border-darkblue:hover { border-top-color: var(--logo-darkblue); }

/* =========================================
   7. VELİ GÖRÜŞLERİ CAROUSEL
========================================= */
.reviews-bento { background-color: transparent; box-shadow: none; padding: 20px 0 40px 0; }
.reviews-header { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-bottom: 50px; }
.google-badge { font-size: 1.1rem; color: #334155; } .google-badge .g-icon { color: #4285F4; font-weight: bold; } .google-badge .stars { color: #fbbc05; letter-spacing: 2px; }
.reviews-carousel-wrapper { display: flex; align-items: center; gap: 20px; }
.reviews-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; }
.nav-btn { width: 45px; height: 45px; border-radius: 50%; background-color: #fdfaf5; border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; transition: all 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.05); cursor: pointer; }
.nav-btn:hover { background-color: #fff; transform: scale(1.05); }
.review-card { background-color: #fdfaf5; border: 1px solid #eaddc4; border-radius: 20px; padding: 55px 25px 30px; position: relative; text-align: center; transition: transform 0.3s; }
.review-card:hover { transform: translateY(-3px); }
.avatar-wrapper { position: absolute; top: -40px; left: 50%; margin-left: -40px; width: 80px; height: 80px; z-index: 10; background-color: #ffffff; border-radius: 50%; padding: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.review-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.verified-badge { position: absolute; top: -2px; right: -2px; background-color: #1877f2; color: #ffffff; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #ffffff; z-index: 15; }

/* =========================================
   8. SİMETRİK YAPI: VİDEO, ÖĞRENCİ VE HABERLER
========================================= */
.vn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: 100%; }
.video-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; min-height: 300px; height: 300px; border: 1px solid #e2e8f0; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.video-card img, .video-card video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.video-card:hover img { transform: scale(1.05); }
.play-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.video-card:hover .play-overlay { background: rgba(0,0,0,0.2); }
.play-icon {
    width: 75px; /* Boyutlar aynı kalsın */
    height: 75px;
    background-color: rgba(45, 55, 72, 0.85);
    border-radius: 50%;
    
    /* YENİ: Saf Merkezleme Kodları */
    display: flex !important;
    align-items: center !important; /* Dikey olarak tam ortalar */
    justify-content: center !important; /* Yatay olarak tam ortalar */
    
    transition: all 0.3s ease; /* Hover efekti için */
}
.video-card:hover .play-icon { background-color: var(--logo-blue); transform: scale(1.1); }
.video-ribbon { position: absolute; top: 30px; left: -40px; background-color: var(--logo-pink); color: #ffffff; padding: 8px 45px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; transform: rotate(-45deg); z-index: 20; box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4); }

.student-card { background-color: #fdfaf5; border: 1px solid #eaddc4; border-radius: var(--radius-lg); padding: 20px 25px; display: flex; align-items: center; gap: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: transform 0.3s ease; }
.student-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.student-avatar { width: 85px; height: 85px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.08); flex-shrink: 0; }
.student-avatar img { width: 100%; height: 100%; object-fit: cover; }
.student-badge { background-color: var(--logo-orange); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 8px; }
.student-info h4 { font-size: 1.25rem; color: #1e293b; margin: 0 0 5px 0; font-weight: 600; }
.student-info p { font-size: 0.9rem; color: #475569; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.news-card { border-radius: var(--radius-lg); background-color: transparent; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-list li { display: flex; align-items: center; gap: 15px; background-color: #f8fafc; padding: 12px 15px; border-radius: 16px; border: 1px solid #e2e8f0; transition: all 0.3s ease; cursor: pointer; }
.news-list li:hover { background-color: #ffffff; border-color: var(--logo-blue); box-shadow: 0 5px 15px rgba(3, 169, 244, 0.08); transform: translateX(5px); }
.news-thumb { width: 60px; height: 60px; border-radius: 12px; background-color: #e2e8f0; flex-shrink: 0; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-list li:hover .news-thumb img { transform: scale(1.1); }
.news-content { display: flex; flex-direction: column; justify-content: center; }
.news-date { font-size: 0.8rem; color: #64748b; margin-bottom: 4px; }
.news-list a { font-size: 0.95rem; color: #1e293b; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list li:hover a { color: var(--logo-blue); }
.all-news-link { font-weight: 600; color: var(--logo-darkblue); display: flex; align-items: center; gap: 5px; transition: all 0.3s ease; }
.all-news-link:hover { color: var(--logo-pink); gap: 10px; }

/* =========================================
   9. UZMAN KADROMUZ & İLETİŞİM
========================================= */
.expert-team-section { width: 100%; overflow: hidden; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.team-card { background-color: #ffffff; border-radius: 20px; padding: 25px 15px; text-align: center; border: 1px solid #f1f5f9; transition: transform 0.3s ease; }
.team-card:hover { transform: translateY(-8px); border-color: var(--logo-blue); }
.team-avatar { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 15px auto; overflow: hidden; border: 3px solid #f8fafc; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 1.15rem; color: #1e293b; margin-bottom: 5px; } .team-role { font-size: 0.9rem; color: var(--logo-blue); font-weight: 500;}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; } .contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid #e2e8f0; border-radius: var(--radius-md); font-family: 'Poppins', sans-serif; }
.map-container { width: 100%; height: 100%; min-height: 400px; background-color: #e2e8f0; border-radius: 24px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; }

/* =========================================
   10. FOOTER
========================================= */
.site-footer { background-color: #e5f0f9; color: #334155; padding: 70px 0 20px 0; border-top: 1px solid #cddde8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; margin-bottom: 40px; }
.site-footer h4 { color: #1e293b; font-size: 1.2rem; margin-bottom: 20px; font-weight: 600; }
.site-footer p { line-height: 1.6; color: #475569; }
.footer-links ul { padding: 0; } .footer-links li { margin-bottom: 12px; } .footer-links a:hover { color: var(--logo-blue); padding-left: 5px; }
.contact-details { padding: 0; } .contact-details li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; line-height: 1.5; } .contact-details a:hover { color: var(--logo-pink); }
.footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid #cbd5e1; font-size: 0.9rem; color: #64748b; }

/* =========================================
   11. ERİŞİLEBİLİRLİK PANELİ (HAFIZALI)
========================================= */
.accessibility-panel { position: fixed !important; bottom: 30px !important; right: 30px !important; z-index: 9999 !important; }
.accessibility-panel::after { content: ""; position: absolute; bottom: 60px; right: 0; width: 60px; height: 25px; background: transparent; z-index: 1; }
.acc-toggle { width: 60px !important; height: 60px !important; background-color: var(--logo-darkblue) !important; color: #fff !important; border: none !important; border-radius: 50% !important; font-size: 1.8rem !important; cursor: pointer !important; box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important; transition: transform 0.3s !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.acc-toggle:hover { transform: scale(1.1) !important; }
.acc-menu { position: absolute !important; bottom: 75px !important; right: 0 !important; background: #fff !important; border-radius: 12px !important; box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important; padding: 10px !important; display: none !important; flex-direction: column !important; gap: 5px !important; width: 200px !important; }
.accessibility-panel:hover .acc-menu { display: flex !important; }
.acc-menu button { background: transparent !important; border: none !important; padding: 12px 15px !important; text-align: left !important; cursor: pointer !important; border-radius: 8px !important; font-family: 'Poppins', sans-serif !important; font-weight: 500 !important; color: #334155 !important; width: 100% !important; font-size: 0.95rem !important; }
.acc-menu button:hover { background: #f1f5f9 !important; color: var(--logo-blue) !important; }
.acc-menu button.active { background-color: var(--logo-blue) !important; color: #ffffff !important; font-weight: 600 !important; } .acc-menu button.active::after { content: " ✓"; float: right; font-weight: bold; }

body.dyslexia-font * { font-family: 'Comic Sans MS', 'Trebuchet MS', sans-serif !important; letter-spacing: 0.05em !important; word-spacing: 0.1em !important; line-height: 1.8 !important; }
body.high-contrast, body.high-contrast * { background-color: #000000 !important; color: #ffff00 !important; border-color: #ffff00 !important; box-shadow: none !important; } body.high-contrast img, body.high-contrast video { filter: grayscale(100%) contrast(120%) !important; }
body.large-text { font-size: 115% !important; } body.large-text h1, body.large-text h2, body.large-text h3 { font-size: 120% !important; } body.large-text p, body.large-text a, body.large-text span { font-size: 115% !important; }

/* =========================================
   12. MOBİL UYUM
========================================= */
@media (max-width: 1100px) { .hero-container { flex-direction: column; } .hero-image { width: 100%; } .hero-image img { min-height: 400px; -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%); } .hero-text { margin-left: 0; margin-top: -120px; padding: 20px 30px; text-align: center; } .hero-text h1 { font-size: 2.5rem; } }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } .vn-grid { grid-template-columns: 1fr; } .video-card { min-height: 250px; height: 250px; } }
@media (max-width: 900px) { .reviews-container { grid-template-columns: repeat(2, 1fr); } .footer-grid, .contact-grid { grid-template-columns: 1fr; } .footer-about { text-align: center; } }
@media (max-width: 768px) { .bento-grid { grid-template-columns: 1fr; } .programs-grid-6 { grid-template-columns: repeat(2, 1fr); } .span-2 { grid-column: span 1; } .bento-erken { flex-direction: column; height: auto; } .bento-erken .card-content { padding: 30px; } .bento-erken .card-image { margin-left: 0; width: 100%; height: 200px; } .bento-erken .card-image img { -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 90%); mask-image: linear-gradient(to top, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 90%); } }
@media (max-width: 600px) { .programs-grid-6, .team-grid, .reviews-container { grid-template-columns: 1fr; } .nav-btn { display: none; } }

/* =========================================
   13. İÇ SAYFALAR (SINGLE & PAGE DÜZENİ)
========================================= */
.dynamic-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
}

.dynamic-content p {
    margin-bottom: 20px;
}

/* Makale İçi Başlıklar */
.dynamic-content h2, .dynamic-content h3, .dynamic-content h4 {
    color: #1e293b;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Makale İçi Listeler */
.dynamic-content ul, .dynamic-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.dynamic-content ul li {
    list-style-type: disc;
    margin-bottom: 8px;
}

/* WordPress Editöründen Eklenen Resimler */
.dynamic-content img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* Alıntı (Blockquote) Tasarımı */
.dynamic-content blockquote {
    background-color: #f8fafc;
    border-left: 5px solid var(--logo-blue);
    padding: 20px;
    font-style: italic;
    font-size: 1.15rem;
    color: #334155;
    border-radius: 0 12px 12px 0;
    margin: 30px 0;
}

/* Mobil için İç Sayfa Ayarları */
@media (max-width: 768px) {
    .page-content-section .container {
        padding: 30px 20px !important;
    }
    .page-hero .modern-heading {
        font-size: 1.8rem !important;
        padding: 10px 25px !important;
    }
}



/* =========================================
   GÜÇLENDİRİLMİŞ ERİŞİLEBİLİRLİK EFEKTLERİ
========================================= */
/* 1. Disleksi Fontu */
body.dyslexia-font, body.dyslexia-font * {
    font-family: 'Comic Sans MS', 'Trebuchet MS', sans-serif !important;
    letter-spacing: 1px !important;
    line-height: 1.8 !important;
}

/* 2. Yüksek Kontrast (Tamamen Siyah Zemin, Sarı Yazı) */
body.high-contrast, body.high-contrast * {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
    box-shadow: none !important;
}
body.high-contrast img, body.high-contrast video {
    filter: grayscale(100%) contrast(120%) !important;
}

/* 3. Metni Büyüt */
body.large-text, body.large-text p, body.large-text a, body.large-text span, body.large-text li {
    font-size: 115% !important;
}
body.large-text h1, body.large-text h2, body.large-text h3, body.large-text h4 {
    font-size: 125% !important;
}





/* =========================================
   AKTİF ERİŞİLEBİLİRLİK BUTONU TASARIMI
========================================= */
.acc-menu button.active {
    background-color: var(--logo-blue, #03a9f4) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Aktif butonun sağına tik işareti ekler */
.acc-menu button.active::after {
    content: " ✓";
    float: right;
    font-weight: bold;
}




/* =========================================
   15. MOBİL MENÜ (HAMBURGER YAPI)
========================================= */
/* Masaüstünde gizli olacaklar */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 2.2rem;
    color: var(--logo-darkblue, #2c3e50);
    cursor: pointer;
    transition: transform 0.3s;
}

/* Sadece Mobil Ekranlar İçin (Tablet ve Telefon) */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block; /* Hamburgeri göster */
    }
    
    .desktop-only {
        display: none !important; /* Ücretsiz değerlendirme butonunu mobilde kalabalık yapmasın diye gizledik */
    }

    /* Ana Menüyü Gizle ve Dikey (Açılır) Hale Getir */
    .main-nav {
        display: none; /* Varsayılan olarak kapalı */
        position: absolute;
        top: 100%; /* Başlığın tam bittiği yerden başlar */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 30px;
        z-index: 99;
        border-top: 1px solid #f1f5f9;
    }

    /* JS ile eklenecek "Açık" sınıfı */
    .main-nav.show-mobile-menu {
        display: flex !important;
        flex-direction: column;
    }

    .main-nav ul {
        flex-direction: column; /* Linkleri alt alta diz */
        align-items: flex-start;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #f8fafc;
        padding: 15px 0;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    /* Aradaki | işaretlerini mobilde kaldır */
    .main-nav li:not(:last-child)::after {
        content: none !important; 
    }

    .main-nav a {
        display: block;
        font-size: 1.2rem;
        color: #1e293b;
        font-weight: 600;
        width: 100%;
    }
}


/* =========================================
   16. BLOG / HABER LİSTESİ SAYFASI
========================================= */
/* Kart Hover Efekti */
.blog-card:hover { 
    transform: translateY(-5px) !important; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important; 
}
.blog-card:hover .blog-card-image img { 
    transform: scale(1.05) !important; 
}
.blog-card h3 a:hover {
    color: var(--logo-blue) !important;
}

/* Modern Sayfalama (Pagination) */
.modern-pagination { display: flex; justify-content: center; margin-top: 20px; }
.modern-pagination .nav-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center;}
.modern-pagination a, .modern-pagination span { 
    display: inline-block; 
    padding: 10px 18px; 
    background: #fff; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    color: #334155; 
    font-weight: 600; 
    transition: all 0.3s ease; 
}
.modern-pagination a:hover { 
    background: var(--logo-blue); 
    color: #fff; 
    border-color: var(--logo-blue); 
    transform: translateY(-2px);
}
.modern-pagination .current { 
    background: var(--logo-blue); 
    color: #fff; 
    border-color: var(--logo-blue); 
}




/* =========================================
   17. ARAMA KUTUSU VE MENÜ DÜZELTMESİ
========================================= */

/* 1. Menü kelimelerinin alt alta kaymasını kesin olarak engeller */
.main-navigation li a, .main-menu li a {
    white-space: nowrap !important;
}

/* 2. Modern Sihirli Arama Kutusu */
.modern-header-search {
    position: relative;
    margin-right: 15px;
    display: flex;
    align-items: center;
}
.modern-header-search form {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 30px;
    padding: 2px;
    border: 1px solid transparent;
    transition: all 0.4s ease;
}
/* Fareyle üzerine gelince kutuyu belirginleştir */
.modern-header-search:hover form,
.search-hover-input:focus {
    border-color: #e2e8f0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
/* Input (yazı alanı) başlangıçta gizli ve 0 genişlikte */
.search-hover-input {
    width: 0;
    opacity: 0;
    padding: 0;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    color: #334155;
    transition: width 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}
/* Üzerine gelince sola doğru uzat */
.modern-header-search:hover .search-hover-input,
.search-hover-input:focus {
    width: 160px;
    opacity: 1;
    padding: 0 10px;
}
/* Büyüteç Butonu */
.search-hover-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    transition: transform 0.3s ease;
}
.search-hover-btn:hover {
    transform: scale(1.1);
}


/* =========================================
   18. HEADER (ÜST MENÜ) SIKIŞTIRMA VE TEK SATIR ZORLAMASI
========================================= */

/* Menü kelimelerini tek satıra zorla ve fontu bir tık küçült */
.main-navigation ul {
    gap: 10px !important; /* Menüler arasındaki boşluğu azalttık */
}

.main-navigation li a, 
.main-menu li a {
    white-space: nowrap !important; /* ASLA alt satıra inme */
    font-size: 0.95rem !important; /* Alandan tasarruf için fontu çok hafif kıstık */
    padding: 10px 5px !important; 
}

/* Menü aralarındaki dikey çizgilerin ( | ) sağını solunu daraltalım */
.main-navigation li::after {
    margin: 0 5px !important; 
}

/* Yeşil butonu tek satıra zorla ve biraz incelt */
.header-right .btn,
.header-right .btn-green {
    white-space: nowrap !important; /* ASLA alt satıra inme */
    padding: 10px 20px !important; /* Butonun iç boşluğunu daralttık */
    font-size: 0.95rem !important;
    margin-right: 15px !important; /* Arama butonuyla arasına mesafe koyduk */
}

/* Üst alanın genel yapısını yayalım */
.site-header .container {
    max-width: 1300px !important; /* Konteyneri biraz daha genişlettik ki rahatlasınlar */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* =========================================
   19. MOBİL YATAY KAYMA (OVERFLOW) ÇÖZÜMÜ
========================================= */
html, body {
    max-width: 100%;
    overflow-x: hidden; /* X ekseninde (sağa-sola) taşmaları kesinlikle gizle/yasakla */
}