/**
 * İçerik Bölümleri CSS
 * Anasayfada görüntülenen içerik bölümleri için stil tanımlamaları
 */

/* Ana Container */
.content-sections-container {
    width: 100%;
    padding: 60px 0;
}

/* İçerik Bölümü */
.content-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Arkaplan rengi olmadığında varsayılan renk */
.content-section:not([style*="background-color"]) {
    background-color: transparent;
}


/* Sıralı içerik bölümlerine farklı renkler */
.content-section:nth-child(odd):not([style*="background-color"]) {
    background-color: rgba(22, 27, 46, 0.2);
}

/* İçerik satırı */
.content-section-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    justify-content: center;
}

.content-text-column {
    padding: 10px 12px;
    flex: 1;
    position: relative;
}

.content-image-column {
    padding: 6px;
    width: 30%;
    max-width: 350px;
    min-width: 250px;
    flex-shrink: 0;
}


/* İçerik metni */
.content-text {
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;      /* mobilde tam genişlik */
}



/* İçerik başlığı */
.content-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* İçerik alt başlığı */
.content-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 0 1px 3px rgba(var(--primary-color-rgb), 0.3);
}

/* İçerik metni gövdesi */
.content-body {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}

/* İçerik görseli */
.content-image {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
    transition: all 0.5s ease;
}

/* İçerik görseli hover efekti */
.content-image:hover img {
    transform: scale(1.03);
}

/* İçerik bölümü içindeki liste maddeleri */
.content-body ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-body ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.content-body ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* İçerik bölümü içindeki butonlar */
.content-body .btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

.content-body .btn:hover {
    background-color: var(--primary-dark-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.4);
}

/* Sağ resim, sol metin düzeni */
.content-right-image .content-section-row {
    flex-direction: row-reverse;
}

/* Animasyonlar */
.content-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive düzenlemeler */
@media (max-width: 991px) {
    .content-section-row {
        flex-wrap: wrap;
    }
    
    .content-image-column {
        width: 100%;
        max-width: 100%;
        order: 1;
    }
    
    .content-text-column {
        width: 100%;
        order: 2;
    }
    
    .content-image img {
        max-height: 350px;
    }
    
    .content-right-image .content-section-row {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .content-title {
        font-size: 1.8rem;
    }
    
    .content-subtitle {
        font-size: 1.1rem;
    }
    
    .content-body {
        font-size: 0.95rem;
    }
    
    .content-sections-container {
        padding: 30px 0;
    }
    
    .content-section {
        padding: 30px 0;
    }
    
    .content-image img {
        max-height: 300px;
    }
}

/* Konum özel stilleri */
.content-sections-container.after_why_us {
    margin-top: 20px;
}

.content-sections-container.before_products {
    margin-bottom: 20px;
}

.content-sections-container.after_products {
    margin-top: 20px;
}

.content-sections-container.before_footer {
    margin-bottom: 20px;
} 