/*
Theme Name: Muğla fit Tema
Theme URI: https://muglafit.com
Author: Secrect Developer
Description: Modern Sağlık Hizmet. Tailwind CSS ve Lucide Icons ile güçlendirilmiştir.
Text Domain: ber-dent
*/

/* ==========================================================================
   1. DEĞİŞKENLER VE SIFIRLAMA
   ========================================================================== */
/* Temel CSS Yapısı - Müşteri Renk Paleti Entegre Edilmiş Hali */

body, html { 
    margin: 0; 
    padding: 0; 
    width: 100%; 
    overflow-x: hidden; 
}

:root {
    /* Müşteri Renk Kodları */
    --primary: #803e77;    /*Mor- Vurgu rengi */
    --secondary: #7f7e7e;  /* Gri - Yardımcı renk */
    --dark: #111316;       /* Koyu Antrasit - Arkaplan ve Başlıklar */
    
    /* Yardımcı Tonlar */
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #333333;       /* Okunabilirlik için hafif yumuşatılmış siyah */
    --transition: all 0.3s ease;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

/* Mobilde alt menü tıklandığında görünür yap */
@media (max-width: 991px) {
    .dropdown-item.submenu-active .sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}

.section-padding { padding: 80px 0; }

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

a { 
    text-decoration: none; 
    transition: var(--transition); 
    color: #000; /* Linklerde birincil renk kullanımı */
}

a:hover {
    color: var(--dark);
}

ul { list-style: none; }

/* Global Grid Sistemi */
.grid-2, .grid-3 { 
    display: grid; 
    gap: 30px; 
    align-items: center; 
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* SİTE BAŞLIKLARI*/
.section-header { 
    text-align: center; 
    margin-bottom: 50px; 
}

.section-header h2 {
    color: var(--dark); /* Ana başlıklar en koyu renkte */
    font-size: 2.5rem;
}

.section-header span {
    color: #ffff; /* Üst küçük başlık bronz renginde */
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 13px;
    display: block;
    text-transform: uppercase;
    margin-bottom: 5px;
	padding: 5px;
}

/* Opsiyonel: Seperatör veya Alt Çizgi için gri kullanımı */
.section-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--secondary); /* Gri renk burada dengeleyici */
    margin: 15px auto 0;
}
/* ==========================================================================
   2. HEADER, LOGO, MENÜ & NAVİGASYON
   ========================================================================== */
/* --- 1. GENEL HEADER VE KONTEYNIR --- */
.site-header {
    background: #ffff;
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* --- 2. LOGO --- */
.logo img {
    height: 50px;
    width: auto;
    display: block;
    filter: contrast(110%);
}

/* --- 3. MASAÜSTÜ MENÜ --- */
.main-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu a {
    color: rgb(15,15,15);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: 0.3s;
}

/* Masaüstü Dropdown */
.dropdown-item { position: relative; }
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu a {
    color: #333333 !important;
    padding: 10px 20px;
    display: block;
    border-bottom: 1px solid #f8f9fa;
}

/* --- 4. MOBİL DÜZENLEMELER (991px Altı) --- */

/* Hamburger İkonu Çizimi */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 10001;
}

.mobile-nav-toggle span {
    width: 28px;
    height: 3px;
    background: #000000;
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 991px) {
    .mobile-nav-toggle { display: flex; }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%; /* Başlangıçta gizli */
        width: 280px;
        height: 100vh;
        background: #80693e;
        padding: 80px 20px 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }

    .nav-container.active { right: 0 !important; }

    .main-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .main-menu li { width: 100%; color: #0000 }

    .main-menu a {
        font-size: 17px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        display: block;
		color:#000;
    }

    /* Mobil Alt Menü (Dropdown) Açılma Durumu */
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none; /* JS ile açılacak */
        background: rgba(0,0,0,0.1);
        transform: none;
        box-shadow: none;
        width: 100%;
    }

    .dropdown-item.submenu-active .sub-menu {
        display: block !important;
    }
    
    /* Hamburger Animasyonu (X olma durumu) */
    .mobile-nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* Sayfa Kaymasını Engelleme */
body.no-scroll { overflow: hidden; }


/* ==========================================================================
   3. ÖZEL BÖLÜMLER (HERO, STATS, INTRO)
   ========================================================================== */
/* Masaüstü VİDEO Ayarları */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Masaüstünde ekranın %70'ini kaplar */
    min-height: 400px; 
    overflow: hidden; /* Logoları dışarıda bırakmak için bu satır kritiktir */
    background: #000;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Videonun en altta kalmasını sağlar */
}

/* iframe (YouTube) için özel uyumluluk düzenlemesi */
.fill-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 Görüntü Oranı */
    min-height: 100%; 
    min-width: 177.77vh; /* Orantılı genişlik */
    
    /* YouTube yazılarını ve logosunu dışarıda bırakmak için videoyu büyütüyoruz */
    transform: translate(-50%, -50%) scale(1.3); 
    
    display: block;
    pointer-events: none; /* Videonun tıklanmasını engeller, logoları pasif kılar */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* YouTube detaylarını daha iyi gizlemek için hafif koyulaştırıldı */
    pointer-events: none;
    z-index: 2; /* Formun altında, videonun üstünde yer alır */
}

/* Mobil Cihazlar İçin (Telefonlar) */
@media (max-width: 768px) {
    .hero-video-section {
        height: 50vh; 
        min-height: 300px;
    }

    .fill-video {
        /* Mobilde logoları gizlemek için daha yüksek oranda büyütme gerekebilir */
        width: 300vw; 
        height: 168.75vw;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* /* ================================================================
   1. FORM MASAÜSTÜ GÖRÜNÜMÜ (1025px ve Üzeri)
   ================================================================ */
@media screen and (min-width: 1025px) {
    /* Ana Kapsayıcıyı Videonun Altına Sabitle */
    .ber-mobile-form-container {
        display: flex !important;
        position: absolute;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
        max-width: 1100px;
        
        /* Tıklama ve Katman Ayarları */
        z-index: 99999 !important; 
        pointer-events: auto !important; 
        
        /* Görsel Stil */
        background: rgba(0, 0, 0, 0.6); 
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 15px 30px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Form İç Elemanlarını Yan Yana Diz */
    .ber-custom-contact-form {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 20px !important;
        width: 100% !important;
        pointer-events: auto !important;
    }

    .ber-custom-contact-form h3 {
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .ber-input-group {
        flex: 1;
        margin-bottom: 0 !important;
    }

    .ber-input-group input {
        width: 100%;
        height: 45px;
        padding: 0 15px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: #ffffff !important; /* Yazarken netlik için opak beyaz */
        color: #222;
        font-size: 14px;
        outline: none;
        position: relative;
        z-index: 100000;
        pointer-events: auto !important;
        cursor: text;
    }

    .ber-submit-btn {
        flex-shrink: 0;
        height: 45px;
        padding: 0 35px;
        background-color: #933c93; 
        color: #fff;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 15px;
        font-weight: 700;
        text-transform: uppercase;
        transition: all 0.3s ease;
        position: relative;
        z-index: 100000;
        pointer-events: auto !important;
    }

    .ber-submit-btn:hover {
        background-color: #a6733a; /* Hover rengini biraz açtım */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    /* Video üzerindeki yazıları daha okunur kılmak için overlay */
    .video-overlay {
        background: rgba(0, 0, 0, 0.4);
        pointer-events: none; /* Overlay tıklamayı engellememeli */
    }
}

/* ================================================================
   2. FORM MOBİL GÖRÜNÜM (1024px ve Altı)
   ================================================================ */
@media screen and (max-width: 1024px) {
    .video-overlay {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        z-index: 10;
        background: rgba(0, 0, 0, 0.4);
        pointer-events: auto !important;
    }

    .ber-mobile-form-container {
        display: block !important;
        position: relative;
        z-index: 999;
        pointer-events: auto !important;
        width: 90%;
        max-width: 350px;
        margin: 0 auto;
    }

    .ber-custom-contact-form h3 {
        color: #ffffff;
        text-align: center;
        margin-bottom: 20px;
        font-size: 1.4rem;
        font-weight: 600;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    }

    .ber-input-group {
        margin-bottom: 15px;
    }

    .ber-custom-contact-form input {
        width: 100% !important;
        padding: 12px 15px !important;
        background: #ffffff !important;
        border: none;
        border-radius: 10px;
        font-size: 14px;
        color: #333;
        outline: none;
        position: relative;
        z-index: 30;
        pointer-events: auto !important;
        -webkit-appearance: none;
    }

    .ber-submit-btn {
        width: 100%;
        padding: 13px;
        background: #6d28d9;
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.3s ease;
        margin-top: 10px;
        pointer-events: auto !important;
    }

    .ber-submit-btn:hover {
        background: #0056b3;
    }
}

/* ==========================================================================
   4. TEDAVİLER (TREATMENTS)
   ========================================================================== */
/* Genel Bölüm Ayarları */
.treatments-section {
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.sub-title {
    color: #88571dbd;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

/* --- GÜNCELLENEN KISIM: GRID YAPISI --- */
.treatments-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 2'den 3'e çıkarıldı */
    gap: 30px;
    margin: 0 auto 30px auto;
    max-width: 1200px; /* 3 kartın daha rahat sığması için 1000px'den 1200px'e genişletildi */
}

.showcase-card {
    position: relative;
    height: auto; /* Yazının sığması için otomatik yapıldı */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: #fff; /* Alt kısım için beyaz zemin */
    display: flex;
    flex-direction: column;
}

.showcase-card img {
    width: 100%;
    height: 500px; /* 3 sütun olacağı için çok dikey durmaması adına 600px'den 500px'e dengelendi */
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.showcase-overlay {
    position: relative; /* absolute yerine relative: Yazı aşağı indi */
    inset: auto;
    background: #ffffff; /* Karartma kaldırıldı */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-decoration: none;
}

.showcase-overlay h4 {
    color: #333333; /* Beyaz yerine koyu gri yazı */
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease; /* Hover'da rengin daha yumuşak değişmesi için eklendi */
}

/* Hover Efektleri */
.showcase-card:hover img {
    transform: scale(1.1);
}

.showcase-card:hover h4 {
    color: #6d28d9; /* Eski klinik mavisi (#007bff) yerine yeni kurumsal mor renk eklendi */
}

/* Mobil Uyumluluk */
@media (max-width: 991px) {
    .treatments-grid-new {
        grid-template-columns: repeat(2, 1fr); /* Tablette 2 yana geçer, 3. kart alta ortalanır */
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .treatments-grid-new {
        grid-template-columns: 1fr; /* Mobilde alt alta 1'erli sıralanır */
        max-width: 500px;
    }
    
    .showcase-card img {
        height: 400px; /* Mobilde ekrana tam oturması için yükseklik ayarlandı */
    }
    
    .showcase-overlay h4 {
        font-size: 1.2rem;
    }
}
/* ==========================================================================
   5. DOKTORLAR BÖLÜMÜ
   ========================================================================== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 sütundan 2 sütuna indirildi */
    gap: 40px; /* Kartlar arası boşluk daha ferah olması için 30'dan 40'a çıkarıldı */
    max-width: 900px; /* İki kartın ekranda çok fazla sünüp genişlemesini engeller */
    margin: 0 auto; /* Kartları sayfanın tam merkezine hizalar */
}

.doctor-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: 1px solid #f3e8ff; /* Muğla Fit estetiğine uygun çok hafif lila çerçeve */
}

.doctor-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 40px rgba(109, 40, 217, 0.1); /* Hover durumunda estetik mor gölge */
}

.doctor-img {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görselin kutuyu doldurmasını sağlar */
    object-position: center 25%; /* Yatayda ortala, dikeyde üstten %25'e odaklan */
    transition: transform 0.5s ease;
}

/* Oynat Butonu Overlay */
.play-button-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: #6d28d9; /* Eski klinik rengi silindi, yeni Muğla Fit moru eklendi */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    padding-left: 5px; /* Üçgeni ortalamak için */
}

.doctor-card:hover .play-button-overlay { opacity: 1; }
.doctor-card:hover .doctor-img img { transform: scale(1.05); } /* Fare üzerine gelince resim hafifçe büyür */

/* DİKEY VİDEO MODAL TASARIMI */
.v-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.v-modal-content {
    position: relative;
    width: auto;
    height: 85vh; /* Ekran yüksekliğinin %85'i */
    aspect-ratio: 9 / 16; /* Dikey formatı zorlar */
    background: #000;
    border-radius: 15px;
    overflow: hidden;
}

.v-modal-content video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Videonun kesilmesini önler */
}

.v-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.v-close:hover {
    color: #8b5cf6; /* Çarpı işaretinin üzerine gelince açık mor olur */
}

/* Mobil Ayarlar */
@media (max-width: 768px) {
    .doctors-grid { 
        grid-template-columns: 1fr; /* Mobilde alt alta dizer */
        max-width: 450px; /* Mobilde kartın fazla büyümesini önler */
    }
    .v-modal-content { 
        height: 80vh; 
        width: 90%; 
    }
    .doctor-img {
        height: 480px; /* Mobilde yükseklik biraz dengelendi */
    }
}
/* ==========================================================================
   5. TEK BİR MOBİL SORGU (992PX ALTI)
   ========================================================================== */
@media (max-width: 992px) {
    .mobile-nav-toggle { display: flex; }

    .nav-container {
        position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh; background: var(--white);
        z-index: 10000; padding: 80px 20px; transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    .nav-container.active { right: 0; }

    .main-menu { flex-direction: column; gap: 0; }
    .main-menu li { width: 100%; border-bottom: 1px solid #eee; }
    .main-menu a { padding: 15px 0; display: block; }

    .sub-menu { position: static; display: none; opacity: 1; visibility: visible; box-shadow: none; background: #f9f9f9; transform: none; }
    .dropdown-item.submenu-active .sub-menu { display: block; }

    /* Grids & Hero */
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-video-section { height: 60vh; }

    /* Components */
    .contact-box { flex-direction: column; margin-top: 0; gap: 20px; text-align: center; }
    .carousel-track img { width: 100%; }
    .intro-img img { width: 85%; margin: 0 auto; box-shadow: none; }
    
    /* Stats */
    .stat-number { font-size: 2.8rem; }
}

/* ==========================================================================
   BUTON STANDARTLARI
   ========================================================================== */
.cta-btn {
    background-color: var(--secondary);
    color: var(--white) !important; /* Diğer link renkleri ezmesin */
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.cta-btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* ==========================================================================
   INSTAGRAM VİTRİN BÖLÜMÜ
   ========================================================================== */
.instagram-showcase-section {
    background-color: var(--light);
    overflow: hidden;
}

/* Üst Başlık ve Profil Alanı */
.ig-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border: 1px solid rgba(207, 163, 78, 0.2);
}

.ig-profile-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.ig-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.ig-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
}

.ig-text .sub-title {
    margin-bottom: 5px;
}

.ig-text h2 {
    color: var(--dark);
    font-size: 1.8rem;
    margin-bottom: 5px;
    line-height: 1.2;
}

.ig-text p {
    color: var(--text);
    margin: 0;
    font-size: 0.95rem;
}

.ig-follow-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white) !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ig-follow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
}

/* Video Grid Yapısı */
.ig-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ig-video-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    display: block;
    aspect-ratio: 9 / 16; /* Instagram Reels dikey formatı */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.ig-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
}

.ig-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ig-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ig-play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    color: #6d28d9; /* Muğla Fit Moru */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    padding-left: 5px;
    transform: scale(0.9); /* Sayfa açıldığında standart boyutunda durur */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Butonu arka plandan ayırmak için şık bir gölge */
}
/* Hover Efektleri */
.ig-video-card:hover .ig-thumbnail img {
    transform: scale(1.08);
}

.ig-video-card:hover .ig-overlay {
    opacity: 1;
}

.ig-video-card:hover .ig-play-icon {
    transform: scale(1);
    background: #6d28d9; /* Hover durumunda arka plan mor olur */
    color: #ffffff; /* Hover durumunda ikon beyaz olur */
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .ig-header-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px;
    }
    .ig-profile-info {
        flex-direction: column;
        gap: 15px;
    }
    .ig-video-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablette 2 sütun */
    }
}

@media (max-width: 576px) {
    .ig-video-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobilde yan yana 2 video */
        gap: 10px;
    }
    
    .ig-play-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
/* ==========================================================================
   FOOTER ALANI (ÇAKIŞMA ÖNLEYİCİ YAPILANDIRMA)
   ========================================================================== */
footer {
    background-color: #ffffff; /* Temiz beyaz arkaplan */
    color: #4b5563; /* Beyaz üzerinde rahat okunan yumuşak koyu gri */
    padding: 80px 0 30px;
    font-family: 'Poppins', sans-serif;
    border-top: 1px solid #f3e8ff; /* Footer'ı ayırmak için çok hafif lila bir üst çizgi */
}

/* Sadece footer içindeki grid yapısını hedefler */
footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Masaüstünde 3 sütun */
    gap: 50px;
    padding: 10px;
}

footer h3, footer h4 {
    color: #4c1d95; /* Derin ve estetik mor başlıklar */
    margin-bottom: 25px;
    font-weight: 700;
}

footer h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
}

footer h4 {
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

/* Başlık altına şık bir çizgi */
footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px; /* Biraz daha belirgin durması için 2px'den 3px'e çıkarıldı */
    background: #8b5cf6; /* Canlı mor vurgu çizgisi */
    border-radius: 2px;
}

footer p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    padding: 15px 0; /* Hizalamanın bozulmaması için padding sağ-sol sıfırlandı */
}

/* Sosyal Medya İkon Alanı */
/* Sosyal Medya İkon Alanı */
.footer-social {
    display: flex;
    justify-content: center; /* İkonları yatayda tam ortaya hizalar */
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #f5f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #6d28d9;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid #ede9fe;
}

/* Hover Efektleri */
.footer-social a:hover {
    background: #6d28d9;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(109, 40, 217, 0.3);
}

/* Mobilde ortalamak için (Eğer footer mobilde ortalıysa) */
@media (max-width: 992px) {
    .footer-social {
        justify-content: center;
    }
}

/* --- FOOTER MOBİL UYUMLULUK --- */
@media (max-width: 992px) {
    footer .footer-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
        gap: 40px;
        text-align: center;
    }

    footer h4::after {
        left: 50%;
        transform: translateX(-50%); /* Çizgiyi mobilde ortalar */
    }
    
    footer {
        padding: 60px 0 20px;
    }
}
/* Kaydırmalı Yorumlar ve Logo Sabitleme */
.testimonial-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 10px 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.testimonial-wrapper::-webkit-scrollbar { display: none; }

.testimonial-card {
    flex: 0 0 380px;
    scroll-snap-align: start;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #f0f0f0;
}

.testimonial-card .platform-logo {
    height: 35px; /* Tüm logoları aynı yüksekliğe sabitler */
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

@media (max-width: 768px) {
    .testimonial-card { flex: 0 0 85%; }
}

/* İletişim Sayfası - Modern & Dinamik Karakter */
:root {
    --primary-color: #8f7546; /* Mevcut temanıza göre rengi güncelleyebilirsiniz */
    --accent-color: #f0f7ff;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.06);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    margin-top: 50px;
    align-items: stretch;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* Kartın soluna renkli bir aksan çizgisi ekleyelim */
.info-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border-color: transparent;
}

.info-card:hover::before {
    transform: scaleY(1);
}

.icon-box {
    font-size: 28px;
    margin-right: 25px;
    background: var(--accent-color);
    color: #8f7546;
    width: 70px;
    height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    transition: var(--transition);
}

.info-card:hover .icon-box {
    background: #8f7546;
    color: var(--white);
    transform: rotate(-10deg);
}

.info-text h4 {
    margin: 0 0 8px 0;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 700;
}

.info-text p, .info-text a {
    margin: 0;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color:#8f7546;
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 550px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 8px solid var(--white);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.2) contrast(1.1); /* Haritaya modern bir hava katalım */
    transition: var(--transition);
}

.contact-map:hover iframe {
    filter: grayscale(0) contrast(1);
}

/* Mobil Uyumluluk Revizesi */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-map {
        min-height: 400px;
        order: 2; /* Mobilde haritayı aşağı alalım */
    }
    
    .contact-info-cards {
        order: 1;
    }

    .info-card {
        padding: 20px;
    }

    .icon-box {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 24px;
    }
}

/* Whatsapp Button SABİTLEME VE ANA TASARIM */
.wa-sticky-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999999;
}

.wa-btn-main {
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    
    /* Animasyonları Başlatıyoruz */
    animation: wa-float 3s ease-in-out infinite, wa-pulse 2s infinite;
    transition: all 0.3s ease-in-out;
}

/* 2. SÜREKLİ YÜZME EFEKTİ */
@keyframes wa-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* 3. DALGALANMA (PULSE) EFEKTİ */
@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 4. SCROLL ESNASINDA TİTREME (JS İLE ÇALIŞIR) */
@keyframes wa-shake-scroll {
    0% { transform: scale(1.1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(10deg); }
    50% { transform: scale(1.1) rotate(-10deg); }
    75% { transform: scale(1.1) rotate(10deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}

/* 5. HOVER VE YAZI BALONU */
.wa-btn-main:hover {
    background-color: #128c7e;
    transform: scale(1.15) !important;
    animation-play-state: paused; /* Üzerine gelince hareketi durdur */
}

.wa-tooltip {
    position: absolute;
    right: 85px;
    background: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.wa-btn-main:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    right: 90px;
}

/* 6. MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .wa-sticky-container {
        bottom: 20px;
        right: 20px;
    }
    .wa-btn-main {
        width: 55px;
        height: 55px;
        font-size: 32px;
    }
    .wa-tooltip { display: none; } /* Mobilde yazıyı gizlemek ekranı temiz tutar */
}

/* Muğla Fit - Bilgi Bölümü v2 */
.bd-v2-section {
    padding: 80px 0;
    background-color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.bd-v2-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
}

.bd-v2-intro h2 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.bd-v2-intro p {
    color: var(--text);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Satır Yapısı */
.bd-v2-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.bd-v2-row:last-child {
    margin-bottom: 0;
}

/* Masaüstü Zikzak Ayarı: Çift sayılı satırlarda metni başa, resmi sona alır */
@media (min-width: 993px) {
    .bd-v2-row:nth-child(even) .bd-v2-content {
        order: 1;
    }
    .bd-v2-row:nth-child(even) .bd-v2-img-box {
        order: 2;
    }
}

/* ======================================================
GÜNCELLENEN KISIM: GÖRSEL VE VİDEOLARI KARE YAPMA
======================================================
*/
.bd-v2-img-box img,
.bd-v2-img-box video {
    width: 100%;
    aspect-ratio: 1 / 1;       /* Hepsini kusursuz kare boyutuna zorlar */
    object-fit: cover;         /* Çerçeveye sündürmeden, en iyi açıyla oturtur */
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;            /* Alt kısımdaki boşlukları engeller */
}

.bd-v2-content h3 {
    color: var(--primary);
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.bd-v2-content p {
    color: var(--text);
    line-height: 1.7;
    font-size: 1rem;
}

/* --- Mobil ve Tablet Uyumluluk (992px altı) --- */
@media (max-width: 992px) {
    .bd-v2-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }

    /* Mobilde her zaman görseli (order: 1) üste, metni (order: 2) alta alır */
    .bd-v2-img-box {
        order: 1 !important;
    }
    .bd-v2-content {
        order: 2 !important;
        text-align: center;
    }

    .bd-v2-intro h2 { font-size: 1.8rem; }
    .bd-v2-content h3 { font-size: 1.5rem; }
}

/* Blog Genel Konteynırı */
.blog-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    color: #1a2b4b; /* Kurumsal Mavi */
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Kart Izgarası */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Blog Kartı Tasarımı */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card-image {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff; 
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Kart İçeriği */
.blog-card-content {
    padding: 25px;
}

.post-date {
    font-size: 13px;
    color: #888;
}

.post-title {
    margin: 10px 0;
    font-size: 1.25rem;
}

.post-title a {
    text-decoration: none;
    color: #1a2b4b;
    transition: 0.3s;
}

.post-title a:hover {
    color: #00a8e1;
}

.post-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #4c1d95;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

/* Sayfalama */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination .page-numbers {
    padding: 10px 18px;
    background: #f4f7f9;
    color: #1a2b4b;
    margin: 0 5px;
    text-decoration: none;
    border-radius: 5px;
}

.pagination .current {
    background: #1a2b4b;
    color: #fff;
}


/* Yazılar Yapısı */
/* Sadece Yazı Sayfalarında Geçerli Özel CSS */

/* 1. Genel Konteynır Ayarı */
.single-post #ber-single-wrapper {
    background-color: #fafafb !important;
    padding-bottom: 80px;
    width: 100% !important;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.single-post .ber-custom-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px;
}

/* 2. Üst Başlık (Hero) Alanı */
.single-post .ber-post-hero {
    background: #ffffff;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 50px;
}

.single-post .ber-post-hero h1 {
    font-size: 42px;
    color: #1a1a1a;
    margin: 15px 0;
    line-height: 1.2;
    font-weight: 800;
}

.single-post .ber-breadcrumb { font-size: 13px; color: #888; margin-bottom: 10px; }
.single-post .ber-breadcrumb a { color: #6d28d9; text-decoration: none; font-weight: 600;}

.single-post .ber-cat-wrapper a {
    background: #f3e8ff;
    color: #6d28d9;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

/* 3. İki Sütunlu Grid (Flexbox) */
.single-post .ber-main-flex {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* 4. Sol Sidebar Formu - Optimize Edildi */
.single-post .ber-sidebar-form {
    flex: 0 0 360px; 
}

/* 5. Sidebar Kart Yapısı (Yeni WhatsApp Tasarımı) */
.single-post .ber-sticky-card {
    position: sticky;
    top: 100px;
    background: #ffffff;
    padding: 40px 30px; 
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f1f1;
    z-index: 10;
}

/* 6. YAZILAR FORM YAPISI */
.single-post .lead-form {
    display: flex;
    flex-direction: column; 
    width: 100%;
}

.single-post .lead-form input {
    width: 100%; 
    display: block;
    padding: 16px 20px;
    margin-bottom: 15px; 
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    font-size: 16px;
    color: #1a1a1a;
    box-sizing: border-box; 
    transition: all 0.3s ease;
}

.single-post .lead-form input:focus {
    border-color: #25D366;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

/* 7. WhatsApp Butonu */
.single-post .lead-form button {
    width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 18px;
    background: #25D366; /* Orijinal WhatsApp Yeşili */
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0; 
}

/* Hover Etkisi */
.single-post .lead-form button:hover {
    background: #1ebc59;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* 8. Responsive (Masaüstü ve Mobil Uyumluluk) */
@media (min-width: 991px) {
    .single-post .ber-sidebar-form {
        flex: 0 0 32% !important; 
        max-width: 32% !important;
    }
}

@media (max-width: 991px) {
    .single-post .ber-main-flex {
        flex-direction: column; 
    }

    .single-post .ber-sidebar-form {
        width: 100%;
        max-width: 100%;
        flex: none;
        order: -1; 
    }

    .single-post .ber-sticky-card {
        position: static; 
        margin-bottom: 30px;
    }

    .single-post .ber-main-article {
        width: 100%;
    }
}
/* Ber Dent Journey Slider */
.journey-carousel-wrapper {
    position: relative;
    padding: 20px 0;
}

.journey-track {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox için */
    padding-bottom: 30px;
}

.journey-track::-webkit-scrollbar { display: none; } /* Chrome/Safari için */

.journey-slide {
    flex: 0 0 calc(33.333% - 17px); /* Masaüstünde 3 sütun */
    scroll-snap-align: start;
}

.journey-card-inner {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    height: 100%;
    transition: var(--transition);
}

.journey-img-box {
    position: relative;
    height: 500px;
    width: 400px;
}

.journey-img-box img {
    width: 150%;
    height: 100%;
    object-fit: cover;
}

.step-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background:#6d28d9;
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.journey-body {
    padding: 30px 20px;
    text-align: center;
}

.journey-body h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.journey-body p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

/* Navigasyon Buton Stilleri */
.journey-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.j-nav-btn {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.j-nav-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .journey-slide { flex: 0 0 70%; } /* Tablette %70 genişlik */
}

@media (max-width: 768px) {
    .journey-slide { flex: 0 0 85%; } /* Mobilde tek kart odaklı */
    .journey-nav { display: none; } /* Mobilde kaydırma hareketi yeterli */
}

/* ANA SAYFA Blog Bölümü Genel Ayarlar */
/* --- MODERN BLOG GENEL YAPISI --- */
.modern-blog-section {
    padding: 100px 0;
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif; /* Sitenizdeki fontu buraya yazın */
}

.modern-blog-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- BAŞLIK ALANI (Header) --- */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

/* --- BER DENTAL GÜNCEL BAŞLIĞI --- */
.header-text .sub-title {
    font-family: inherit;      /* Sitenizin kendi yazı tipini (fontunu) otomatik çeker, böylece %100 uyumlu olur */
    font-size: 25px;           /* Sitedeki diğer üst başlıklarla orantılı boyut */
    font-weight: 700;          /* Yazı kalınlığı */
    text-transform: uppercase; /* Yazıyı otomatik olarak büyük harfe çevirir */
    letter-spacing: 2px;       /* Harfler arasını açarak modern ve "Dental" bir görünüm verir */
    color: #861d88bd;            /* Sitenizle uyumlu koyu gri. (Mavi yapmak isterseniz: #00b4d8 yapabilirsiniz) */
    display: block;
    margin-bottom: 10px;
    opacity: 0.8;              /* Çok keskin durmaması için hafif bir yumuşaklık */
}

.header-text h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.view-all-btn {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 30px; /* Hap şeklinde buton */
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: #1a1a1a;
    color: #000;
    border-color: #1a1a1a;
}

/* --- GRID YAPI --- */
.modern-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* --- KART TASARIMI --- */
.modern-card {
    background: #fff;
    border-radius: 20px; /* Modern yumuşak köşeler */
    overflow: hidden; /* Taşmaları gizle */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modern-card:hover {
    transform: translateY(-10px); /* Hoverda hafif yukarı çıkma */
}

/* Görsel Alanı */
.card-image-wrapper {
    position: relative;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Yumuşak gölge */
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-card:hover .card-image-wrapper img {
    transform: scale(1.1); /* Görsel zoom efekti */
}

/* Tarih Rozeti */
.date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.date-badge .day {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.date-badge .month {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
}

/* İçerik Alanı */
.card-content {
    padding: 25px 10px 0 10px; /* Kenarlardan biraz boşluk */
}

.card-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.card-title a {
    color: #1a1a1a;
    text-decoration: none;
    background-image: linear-gradient(#1a1a1a, #1a1a1a); /* Alt çizgi efekti için */
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}

.modern-card:hover .card-title a {
    background-size: 100% 2px; /* Hoverda altı çizilme animasyonu */
}

.card-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Alt Buton Alanı */
.card-footer {
    display: flex;
    align-items: center;
}

.read-more-link {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #88571dbd;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f0f8ff; /* Çok açık mavi */
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.read-more-link:hover .icon-circle {
    background: #88571dbd;
    color: #000;
    transform: translateX(5px);
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 992px) {
    .modern-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .view-all-btn {
        margin-top: 15px;
    }
    
    .modern-blog-grid {
        grid-template-columns: 1fr; /* Mobilde tek kolon */
    }
    
    .header-text h2 {
        font-size: 28px;
    }
}