/* Diş Sağlığı Sayfası Özel Stilleri */

/* HERO */
#hero-dis-sagligi {
    background-image: linear-gradient(to left, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%), url('../img/dis_sagligi_hero.webp');
    justify-content: flex-end; /* İçeriği sağa yaslar */
    text-align: right;
}

#hero-dis-sagligi .hero-implant-content {
    max-width: 50%;
    text-align: right;
}

/* Soldan Hizalı Başlık */
.section-title-left {
    text-align: left;
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Resim ve Metin yer değiştirmesi için */
.content-image-split.reverse {
    grid-template-areas: "text image";
}

.content-image-split.reverse .image-content {
    grid-area: image;
}

.content-image-split.reverse .text-content {
    grid-area: text;
}

.daily-care-layout,
.protective-care-layout {
    grid-template-columns: 1fr 1fr; /* Görsel ve Metin alanlarını eşit (50/50) yapar */
}

/* Madde aralarını açmak için */
.text-content ul {
    padding-left: 20px;
}
.text-content ul li {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Bilgi Kartları */
.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.problem-card {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.problem-card-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.problem-card h4 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* CTA Overlay */
#dis-sagligi-cta {
    background-image: url('../img/implant_callaction.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

#dis-sagligi-cta .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    #hero-dis-sagligi {
        justify-content: center;
        text-align: center;
        padding-top: 100px; /* Navbar için boşluk eklendi */
    }

    #hero-dis-sagligi .hero-implant-content {
        max-width: 90%;
        text-align: center;
    }

    .content-image-split,
    .content-image-split.reverse {
        display: flex; /* Grid'i flex'e çevirerek basitleştiriyoruz */
        flex-direction: column; /* Dikey sıralama */
        gap: 30px;
    }

    .image-content {
        order: -1; /* Tüm resimleri metnin üstüne taşı */
    }
    
    .section-title-left {
        text-align: center;
    }
} 