/* ---- Renk Paleti ve Temel Ayarlar ---- */
:root {
    --bg-color: #FEF9F3;
    --text-color: #4A4A4A;
    --green: #D4EFDF;
    --blue: #A9DFBF;
    --orange: #F5B7B1;
    --yellow: #FAD7A0;
    --heading-font: 'Nunito', sans-serif;
}

body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Header (Üst Menü) ---- */
header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 100; /* Diğer elementlerin üstünde kalması için */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

header .logo img {
    height: 70px;
    margin-right: 10px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li a {
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: var(--orange);
}

/* ---- Genel Bölüm Ayarları ---- */
section {
    padding: 60px 0;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* ---- HERO SLIDER STİLLERİ ---- */
.hero-slider-section {
    position: relative;
    padding-bottom: 180px;
    padding-top: 0; 
}
.swiper-container {
    width: 100%;
    height: 70vh;
    min-height: 500px;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide .slide-content h1 {
    font-size: 3.5rem;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 25px 40px;
    border-radius: 20px;
    display: inline-block;
}
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}
.swiper-pagination-bullet-active {
    background-color: #fff;
}

/* ---- DALGALI KATMAN STİLİ ---- */
.wavy-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    line-height: 15;
}

/* ---- HIZLI ERİŞİM BUTONLARI ---- */
.quick-links {
    margin-top: -220px;
    position: relative;
    z-index: 20;
}
.quick-links .container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    position: relative;
}
.quick-links .link-box {
    width: 290px;
    height: 120px;
    padding: 20px;
    border-radius: 25px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.quick-links .link-box:hover {
    transform: translateY(-10px);
}
#egitim-link { background-color: #2ECC71; }
#galeri-link { background-color: #E74C3C; }
#iletisim-link { background-color: #F1C40F; }

/* ---- Yorumlar ---- */
.testimonials {
    background-color: var(--green);
}
.testimonial-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}
.testimonial-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex-basis: 30%;
}

/* ---- Genel Sayfa Stilleri ---- */
.page-header {
    background-color: var(--blue);
    padding: 40px 0;
    text-align: center;
    color: #fff;
    border-radius: 0 0 30px 30px;
}
.page-header h1 {
    margin: 0;
    font-size: 2.8rem;
}
.page-header p {
    margin: 10px 0 0;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ---- Hakkımızda Sayfası ---- */
.about-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}
.about-text, .about-image {
    flex: 1;
}
.about-image img {
    width: 100%;
    border-radius: 20px;
}
.team {
    background-color: #fff;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.team-card {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}
.team-card h3 {
    margin: 10px 0 5px;
}
.team-card p {
    margin: 0;
    color: #777;
}

/* ---- Veli Köşesi ve Tablo Stilleri ---- */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.schedule-table th, .schedule-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #ddd;
}
.schedule-table thead {
    background-color: var(--orange);
    color: #fff;
    font-size: 1.1rem;
}
.schedule-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.schedule-table tbody tr:hover {
    background-color: var(--yellow);
}
.schedule-table tbody tr.today {
    background-color: #FFF3CD !important;
    font-weight: bold;
}

/* ---- İletişim Sayfası ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
}
.contact-info .map {
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    box-sizing: border-box; 
}
.contact-form button {
    background-color: var(--orange);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
.contact-form button:hover {
    background-color: #c0392b;
}

/* ---- Veli Köşesi Sekme Stilleri ---- */
.tabs {
    display: flex;
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 20px;
}
.tab-link {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 1.2rem;
    font-weight: 700;
    color: #888;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.tab-link.active {
    color: var(--text-color);
    border-color: var(--orange);
}
.tab-link:hover {
    color: var(--text-color);
}
.tab-content > .tab-pane {
    display: none; 
}

/* Sadece doğrudan altındaki aktif sekmeyi göster */
.tab-content > .tab-pane.active {
    display: block; 
}

/* ---- Bugünün Menüsü Kutusu Stilleri ---- */
.today-menu-box {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-left: 5px solid var(--orange);
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.today-menu-box h3 {
    margin-top: 0;
    text-align: left;
    font-size: 1.8rem;
    color: var(--text-color);
}
.today-menu-box .menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.today-menu-box .menu-items div {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
}
.today-menu-box .menu-items strong {
    display: block;
    margin-bottom: 5px;
    color: #495057;
}
.today-menu-box .menu-items p {
    margin: 0;
    font-size: 0.95rem;
}

/* ---- Blog ve Yazı Sayfası Stilleri ---- */
.post-card-full { background-color: #fff; padding: 30px; border-radius: 15px; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.post-card-full h2 { text-align: left; margin-top: 0; }
.post-card-full small { display: block; margin-bottom: 15px; color: #888; }
.post-content .container { max-width: 800px; }
.post-content .post-body { margin-top: 20px; line-height: 1.8; }
.post-content .post-body h1, .post-content .post-body h2, .post-content .post-body h3 { text-align: left; }
.post-content .post-body p { margin-bottom: 1.5em; }
.post-content .post-body ul, .post-content .post-body ol { margin-left: 20px; margin-bottom: 1.5em; }


/* ########## NİHAİ VE MODERN BLOG KARTI STİLLERİ ########## */

/* Ana grid yapısı (responsive) */
.posts-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr; /* Mobil için varsayılan tek sütun */
}
@media (min-width: 600px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet için 2 sütun */
    }
}
@media (min-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(4, 1fr); /* Masaüstü için 4 sütun */
    }
}

/* Tek bir kartın yeni modern yapısı */
.post-card {
    background-color: #fff;
    border-radius: 16px;
    border: 1px solid #F0F0F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    padding: 0;
}
.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #E0E0E0;
}

/* Kart içindeki resim */
.post-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Kartın metin içeriği için boşluklu alan */
.post-card-content {
    padding: 25px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

/* Kart başlığı (H3) ve içindeki link (a) */
.post-card-content h3 {
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
}
.post-card-content h3 a {
    color: var(--text-color) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}
.post-card-content h3 a:hover {
    color: var(--orange);
}

/* Özet metni (p) */
.post-card-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* "HAYALET BUTON" (Ghost Button) STİLİ */
.post-card a.read-more {
    display: inline-block;
    align-self: flex-start;
    background-color: transparent;
    color: var(--orange) !important;
    border: 2px solid var(--orange);
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto;
}
.post-card a.read-more:hover {
    background-color: var(--orange);
    color: #fff !important;
}

/* Eski hero'yu temizleme (slider kullanıldığı için) */
.hero {
    display: none;
}

/* ---- GALERİ SAYFASI STİLLERİ ---- */

.gallery-container {
    display: grid;
    /* Responsive grid: en az 280px genişliğinde sütunlar oluştur, sığdığı kadar yan yana koy */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; /* Resimler arası boşluk */
}

.gallery-item a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Resmin orantısını bozmadan alanı kaplar */
    display: block;
    transition: transform 0.4s ease;
}

/* Resmin üzerine gelince hafifçe büyüsün */
.gallery-item a:hover img {
    transform: scale(1.1);
}

/* Resmin üzerine gelince belirecek olan karartma ve ikon */
.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Normalde görünmez */
    transition: opacity 0.4s ease;
}

.gallery-item a:hover .overlay {
    opacity: 1; /* Üzerine gelince belirginleşir */
}

.gallery-item .overlay .icon {
    color: #fff;
    font-size: 40px;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.gallery-item a:hover .overlay .icon {
    transform: scale(1);
}

/* ---- VELİ KÖŞESİ ALT SEKME (SUB-TABS) STİLLERİ ---- */
/* Bu stiller, ana sekme stillerine benzer ama onlarla karışmaz */

.sub-tabs {
    display: flex;
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 20px;
    margin-top: 20px; /* Üstteki ana sekme çizgisinden ayırmak için */
}

.sub-tab-link {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.sub-tab-link.active {
    color: var(--text-color);
    border-color: var(--orange);
}

.sub-tab-link:hover {
    color: var(--text-color);
}

/* Alt sekme içeriğini gizler */
.sub-tab-content > .sub-tab-pane {
    display: none;
}

/* Sadece aktif olan alt sekme içeriğini gösterir */
.sub-tab-content > .sub-tab-pane.active {
    display: block;
}

/* ---- TEKİL YAZI SAYFASI (YAZI.PHP) STİLLERİ ---- */

/* Resmin içinde bulunduğu bölüm */
.post-featured-image {
    padding-top: 40px; /* Üstteki başlıkla arasına boşluk koyar */
    padding-bottom: 0;
}

/* Resmin kendisi için stiller */
.post-featured-image img {
    display: block; /* Ortalamak için gerekli */
    margin: 0 auto; /* Resmi yatayda ortalar */
    max-width: 100%; /* Resmin taşmasını engeller */
    width: 800px; /* Resmin maksimum genişliğini belirler */
    height: auto; /* Oranını korur */
    border-radius: 16px; /* Köşeleri yuvarlak yapar */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Hafif bir gölge verir */
}

/* Resimden sonraki metin bölümünün üst boşluğunu ayarlar */
.post-content {
    padding-top: 40px;
}

/* ---- S.S.S. SAYFASI STİLLERİ ---- */
.faq-section .container {
    max-width: 800px;
}
.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}
.faq-item summary {
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none; /* Ok işaretini kaldırır */
    position: relative;
    padding-right: 30px;
}
.faq-item summary::-webkit-details-marker {
    display: none; /* Chrome'da ok işaretini kaldırır */
}
.faq-item summary::after { /* Kendi ok işaretimizi ekleyelim */
    content: '+';
    position: absolute;
    right: 5px;
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-content {
    padding: 15px 10px;
    line-height: 1.7;
    color: #555;
}

/* ---- YENİ VE DÜZELTİLMİŞ FOOTER STİLLERİ ---- */

.site-footer {
    background-color: #2c3e50; /* Koyu mavi-gri */
    color: #bdc3c7; /* Açık gri metin */
    padding-top: 150px; /* Dalga için boşluk bırak */
    position: relative;
    /* Düzeltme: Üstündeki bölümün arkasında kalmaması için z-index ekliyoruz */
    z-index: 50; 
}

.footer-wave {
    position: absolute;
    top: 0; /* Dalganın yerini ayarlamak için */
    left: 0;
    width: 100%;
    /* Düzeltme: Dalganın yukarı taşmasını ve görünmesini sağlayan transform */
     
    line-height: 0;
}

.footer-content {
    position: relative; /* İçeriğin dalgadan etkilenmemesi için */
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column .logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
    display: flex; /* İkon ve yazıyı hizalamak için */
    align-items: flex-start;
}

.footer-column ul a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul a:hover {
    color: #fff;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
    font-size: 1rem; /* İkon boyutunu ayarlamak için */
}

.social-icons a:hover {
    background-color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* İkonlar için eklediğimiz CSS */
.contact-list i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    margin-top: 4px; /* İkonu metnin üst kısmıyla hizalamak için */
}
.testimonial-card .stars {
    color: #f1c40f; /* Sarı renk */
    font-size: 1.2rem;
}

/* ---- SLIDER OKLARINI DAHA BELİRGİN HALE GETİRME ---- */

.swiper-button-next,
.swiper-button-prev {
    color: #fff; /* Ok ikonunun rengi */
    background-color: rgba(0, 0, 0, 0.25); /* Yarı şeffaf siyah bir arkaplan */
    width: 50px;  /* Okun genişliği */
    height: 50px; /* Okun yüksekliği */
    border-radius: 50%; /* Tamamen yuvarlak yapar */
    transition: background-color 0.3s ease;
}

/* Okların içindeki ikon boyutunu ayarlar (Swiper bunu ::after ile yapar) */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Üzerine gelince arkaplanı biraz daha belirgin yap */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* ########## MOBİL UYUMLULUK (RESPONSIVE) STİLLERİ ########## */

/* --- Orta ve Küçük Ekranlar İçin Genel Kurallar (992px ve altı) --- */
@media (max-width: 992px) {
    /* Genel başlıkları biraz küçültelim */
    h2 {
        font-size: 2rem;
    }
    /* Hero slider'daki ana başlığı küçültelim */
    .swiper-slide .slide-content h1 {
        font-size: 2.5rem;
        padding: 20px 30px;
    }
}

/* --- Tablet ve Telefon Ekranları İçin (768px ve altı) --- */
@media (max-width: 768px) {

    /* 1. HEADER (ÜST MENÜ) */
    /* Menü ve logo alt alta gelsin */
    header .container {
        flex-direction: row; /* DÜZELTME: 'column' yerine 'row' yapıldı */
        justify-content: space-between;
        align-items: center;
    }
    
    /* 2. HIZLI ERİŞİM BUTONLARI */
    /* Butonlar artık alt alta dizilecek */
    .quick-links .container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    /* Butonların genişliği ekrana sığsın */
    .quick-links .link-box {
        width: 90%;
        max-width: 350px;
        height: 50px;      /* DÜZELTME: Kutulara daha ince bir yükseklik verildi */
        font-size: 1.3rem; /* DÜZELTME: Yazı boyutu mobil için küçültüldü */
    }

    /* 3. YORUM KARTLARI (Bizimle Mutlu Olanlar) */
    /* Kartlar alt alta gelsin */
    .testimonial-grid {
        flex-direction: column;
        align-items: center;
    }
    .testimonial-card {
        width: 90%;
        max-width: 400px;
    }

    /* 4. FOOTER (ALT BİLGİ) */
    /* Footer sütunları alt alta gelsin */
    .footer-grid {
        grid-template-columns: 1fr; /* Tek sütunlu yapı */
        text-align: center;
    }
    .footer-column .contact-list li,
    .footer-column .social-icons {
        justify-content: center; /* İkon ve yazıları ortala */
    }
    .footer-column ul a {
        display: inline-block;
        padding: 5px 0;
    }

    /* Diğer sayfa özel stilleri */
    .contact-grid {
        grid-template-columns: 1fr; /* İletişim sayfasındaki sütunları alt alta diz */
    }
    .about-section {
        flex-direction: column; /* Hakkımızda sayfasındaki resim ve yazıyı alt alta diz */
    }
}

/* --- Sadece Telefon Ekranları İçin (480px ve altı) --- */
@media (max-width: 480px) {
    /* Başlıkları mobil için daha da küçültelim */
    h2 {
        font-size: 1.8rem;
    }
    .swiper-slide .slide-content h1 {
        font-size: 1.9rem;
        padding: 15px 20px;
    }
    .page-header h1 {
        font-size: 2.2rem;
    }

    .swiper-slide .slide-content h1 {
        font-size: 2.5rem;
        padding: 20px 30px;
    }

    /* YENİ EKLENEN: Tablet için slider yüksekliği */
    .swiper-container {
        height: 60vh;
        min-height: 450px;
    }
}

/* --- Tablet ve Telefon Ekranları İçin (768px ve altı) --- */
@media (max-width: 768px) {
    /* ...diğer kurallarınız... */

    /* YENİ EKLENEN: Telefon için slider yüksekliği */
    .swiper-container {
        height: 50vh; /* Ekranın yarısı kadar */
        min-height: 350px;
    }
}

/* ########## HAMBURGER MENÜ STİLLERİ ########## */

/* Hamburger butonunu varsayılan olarak (masaüstünde) gizle */
.hamburger-button {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Her şeyin üstünde olması için */
}

.hamburger-button .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* --- MOBİL EKRAN KURALLARI (768px ve altı) --- */
@media (max-width: 768px) {
    /* Masaüstü menüsünü gizle */
    header nav ul {
        display: none;
    }
    
    /* Hamburger butonunu göster */
    .hamburger-button {
        display: block;
    }

    /* Mobil menünün kendisi (başlangıçta gizli ve ekran dışı) */
    /* --- YENİ VE GÜNCELLENMİŞ MOBİL MENÜ STİLLERİ --- */

/* Mobil menünün kendisi (başlangıçta gizli ve ekran dışı) */
.main-nav {
    position: fixed;
    top: 0;
    right: -75%; /* Ekranın %75'i sağ tarafta, dışarıda başlasın */
    width: 75%;  /* Genişliği ekranın %75'i kadar olsun */
    height: 100vh;
    background-color: #FFFFFF; /* Arkaplanı tam beyaz ve opak yapalım */
    box-shadow: -5px 0 20px rgba(0,0,0,0.15); /* Sol tarafına modern bir gölge ekleyelim */
    display: flex;
    justify-content: center; /* İçeriği dikeyde ortala */
    align-items: flex-start; /* İçeriği yatayda sola dayalı başlat */
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Daha yumuşak bir animasyon */
    z-index: 1000;
    padding-top: 120px; /* Linklerin yukarıdan başlaması için boşluk */
    box-sizing: border-box;
}

/* MENÜ AÇILDIĞINDA (JS ile .menu-open class'ı eklendiğinde) */
.menu-open .main-nav {
    right: 0; /* Ekranın içine, sağa hizalı olarak gelsin */
}

.menu-open .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Linkleri sola hizala */
    gap: 25px;
    width: 100%;
    padding-left: 40px; /* Linklere soldan boşluk ver */
    box-sizing: border-box;
}

.menu-open .main-nav ul li a {
    font-size: 1.6rem; /* Yazı boyutunu biraz ayarlayalım */
}

    /* Hamburger ikonunu "X" ikonuna dönüştürme animasyonu */
    .menu-open .hamburger-button {
        position: fixed; /* Menü açıldığında ekranın sağ üstünde sabit kalsın */
        top: 25px;
        right: 20px;
    }
    .menu-open .hamburger-button .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-open .hamburger-button .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-open .hamburger-button .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* --- Tablet ve Telefon Ekranları İçin (768px ve altı) --- */
@media (max-width: 768px) {

    /* 4. FOOTER (ALT BİLGİ) */
    .footer-grid {
        grid-template-columns: 1fr; /* Tek sütunlu yapı */
        text-align: center;
    }

    /* YENİ EKLENEN KURAL: Sütun içeriklerini ortalar */
    .footer-column {
        text-align: center;
    }

.footer-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-menu li {
        justify-content: center;
        width: auto;
    }

    .footer-menu a {
        padding: 5px 0;
        text-align: center;
    }
    }
    .footer-column ul {
        display: inline-block; /* Listenin kendisinin ortalanmasını sağlar */
        text-align: center;

    .footer-column .social-icons {
        justify-content: center; /* Sosyal ikonları ortalar */
    }
 
     
}

/* ---- SITE CREDIT (POWERED BY) STİLİ ---- */

.site-credit {
    padding: 15px 0;
    background-color: #22303f; /* Footer'dan bir ton daha koyu */
    text-align: center;
    font-size: 0.9rem;
    color: #aab2b9;
}

.site-credit a {
    display: inline-block;
    vertical-align: middle;
}

.site-credit img {
    height: 25px; /* Logo yüksekliği */
    margin-left: 8px;
    vertical-align: middle; /* Metinle aynı hizada durması için */
    opacity: 0.7;
    transition: opacity 0.3s;
}

.site-credit a:hover img {
    opacity: 1;
}

/* ---- SABİT WHATSAPP İKONU STİLİ ---- */
.whatsapp-fab {
    position: fixed; /* Sayfada sabit durmasını sağlar */
    bottom: 25px;    /* Alttan boşluk */
    right: 25px;     /* Sağdan boşluk */
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp yeşili */
    color: #FFF;
    border-radius: 50%; /* Daire şekli verir */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000; /* Her şeyin üstünde durur */
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: scale(1.1); /* Üzerine gelince hafifçe büyüsün */
}

/* ---- TABLOLARI MOBİLDE KAYDIRILABİLİR YAPMA ---- */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto; /* Yatayda taşan içeriğe kaydırma çubuğu ekler */
    -webkit-overflow-scrolling: touch; /* iOS cihazlarda daha akıcı kaydırma sağlar */
}

/* ---- HEADER HİZMET SAATLERİ STİLİ ---- */

.service-hours {
    text-align: right;
    margin-bottom: 8px; /* Menü linkleriyle arasına boşluk koyar */
    font-weight: 700;
    font-size: 0.9rem;
    color: darkred; /* Tema rengiyle uyumlu */
}

.service-hours i {
    margin-right: 5px; /* İkon ile yazı arasına boşluk */
}


/* ---- HEADER HİZMET SAATİ GÜNCELLEMESİ VE MOBİL VERSİYONU ---- */

/* Yeni sağ panel sarmalayıcısı için */
.header-right-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Masaüstü hizmet saati stili (önceki kodla aynı) */
.service-hours.desktop-only {
    text-align: right;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: darkred;
}

.service-hours.desktop-only i {
    margin-right: 5px;
}

/* Varsayılan olarak (masaüstünde) mobil çubuğu gizle */
.service-hours.mobile-only {
    display: none;
}


/* --- MOBİL EKRAN KURALLARI (768px ve altı) --- */
@media (max-width: 768px) {
    
    
    /* Gizlediğimiz mobil çubuğu görünür yap */
    .service-hours.mobile-only {
        display: flex; /* display: block yerine flex kullandık */
        justify-content: center; /* içeriği ortalamak için */
        align-items: center; /* içeriği ortalamak için */
        background-color: #f0f0f0; /* Hafif gri bir arkaplan */
        color: darkred;
        padding: 8px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    /* Mobil menü açıldığında artık hizmet saatine gerek yok, onu gizleyelim */
    .menu-open .main-nav .service-hours {
        display: none;
    }
    /* ########## MOBİLDE TEKRAR EDEN HİZMET SAATİ YAZISINI GİZLEME DÜZELTMESİ ########## */

@media (max-width: 768px) {
    /* Masaüstü için olan hizmet saatleri yazısını (.desktop-only) 
       sadece mobil ekranlarda gizle. */
    .service-hours.desktop-only {
        display: none;
    }
}
}

/* ---- VELİ YORUMLARI SAYFASI STİLLERİ ---- */
.testimonial-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* ---- "TÜMÜNÜ GÖR" BUTONU STİLİ ---- */
.see-all-link-container {
    text-align: center;
    margin-top: 40px;
}

.btn-see-all {
    display: inline-block;
    background-color: var(--orange);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn-see-all:hover {
    background-color: #c0392b;
}

/* ---- İLETİŞİM SAYFASI HARİTA MOBİL UYUM DÜZELTMESİ ---- */

/* .map div'i içindeki iframe'i hedefler */
.contact-info .map iframe {
    width: 100% !important;  /* Genişliğini her zaman %100 yapmaya zorla */
    max-width: 100%; /* Taşmayı kesin olarak engelle */
    height: 300px;     /* Yüksekliği sabit tutabiliriz */
    box-sizing: border-box; /* Kenar boşluklarının hesaba katılmasını sağlar */
}