/* Genel Stil: Kutular ve Yazılar */
/* Tüm ana bölümler artık sabit bir max-width'e sahip olmayacak, ana içeriğe uyacak */
.tutulurlar-details-section,
.tutulurlar-main-download-section,
.tutulurlar-alt-downloads-section,
.tutulurlar-gallery-container {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    /* max-width ve margin: auto kaldırıldı, ana içeriğe uyum sağlayacak */
    box-sizing: border-box; /* Padding ve border genişliğe dahil */
}

/* Yeniden Düzenlenmiş Başlık Stilleri */
.tutulurlar-details-section h3,
.tutulurlar-main-download-section h3,
.tutulurlar-alt-downloads-section h4 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    display: block;
    text-align: center;
    font-weight: 600;
}

/* Detay Bilgileri Listesi */
.tutulurlar-details-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px 20px;
}

.tutulurlar-details-section ul li {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.tutulurlar-details-section ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.tutulurlar-details-section ul li strong {
    color: #555;
    font-weight: 600;
    margin-right: 10px;
}

/* İndirme Butonları */
.tutulurlar-download-button,
.tutulurlar-alt-download-button {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-right: 15px;
    margin-bottom: 10px;
    text-align: center;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.tutulurlar-download-button:hover,
.tutulurlar-alt-download-button:hover {
    background-color: #218838;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.tutulurlar-main-download-section {
    text-align: center;
    padding: 25px 20px;
}

.tutulurlar-virus-scan-message {
    font-size: 0.9em;
    color: #888;
    margin-top: 15px;
    font-style: italic;
}

.tutulurlar-alt-downloads-section h4 {
    text-align: center;
}

.tutulurlar-alt-download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding-top: 10px;
}

/* Görsel Slider Stil Güncellemeleri - Ana içeriğe uyum */
.tutulurlar-gallery-container {
    height: 400px; /* Slider'ın sabit yüksekliği korunuyor */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* max-width ve margin: auto kaldırıldı */
}

.tutulurlar-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tutulurlar-slider-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.tutulurlar-slider-item {
    flex: 0 0 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tutulurlar-slider-item.active {
    display: flex;
}

.tutulurlar-slider-item img {
    /* Görsel genişliği artık sabit değil, kapsayıcısına göre ayarlanacak */
    max-width: 100%; /* İçerik alanının genişliğine uyum sağlar */
    height: auto;
    max-height: 100%; /* Slider'ın yüksekliğini aşmamasını sağlar */
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    cursor: pointer;
    object-fit: contain; /* Görseli belirtilen boyuta sığdırırken oranları korur */
}

.tutulurlar-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 1.8em;
    line-height: 1;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.tutulurlar-slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
}

.tutulurlar-slider-nav.prev {
    left: 15px;
}

.tutulurlar-slider-nav.next {
    right: 15px;
}

/* Basit Lightbox Stilleri (değişiklik yok) */
.tutulurlar-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tutulurlar-lightbox-overlay.active {
    visibility: visible;
    opacity: 1;
}

.tutulurlar-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.tutulurlar-lightbox-content img {
    max-width: 100%;
    max-height: calc(100vh - 80px);
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.tutulurlar-lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1.3em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.tutulurlar-lightbox-close:hover {
    background: #c82333;
    transform: rotate(90deg);
}

/* Responsive Ayarlamalar (görsel genişliği ayarları da güncellendi) */
@media (max-width: 768px) {
    .tutulurlar-details-section ul {
        grid-template-columns: 1fr;
    }

    .tutulurlar-download-button,
    .tutulurlar-alt-download-button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .tutulurlar-slider-nav {
        font-size: 1.5em;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .tutulurlar-gallery-container {
        height: 300px;
    }

    .tutulurlar-slider-item img {
        width: 100%; /* Çok küçük ekranlarda %100 genişlik */
        max-width: 100%; /* Maksimum genişlik artık her zaman %100 olacak */
    }

    .tutulurlar-lightbox-content img {
        max-height: calc(100vh - 60px);
    }
}