.container2 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px;
    box-sizing: border-box;
    margin-top: 100px;
    margin-bottom: 100px;
}

.image-section, .text-section {
    flex: 1 1 100%;
    max-width: 100%;
}

.image-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.text-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    position: relative; /* absolute yerine */
}

/* Countdown ve Button aynı kalabilir */
.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.countdown > div {
    border: 1px solid #ddd;
    padding: 15px 25px;
    border-radius: 6px;
    font-weight: 700;
    min-width: 90px;
}

.countdown > div span {
    display: block;
    font-size: 24px;
}

.btn2 {
    display: inline-block;
    background: #ffb500;
    color: black;
    font-weight: bold;
    padding: 15px 25px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.btn2:hover {
    background: #e6a200;
}
@media (min-width: 1024px) {
    .container2 {
        position: relative;
    }

    .image-section {
        position: relative;
    }

    .text-section {
        position: absolute;
        top: 175px;
        right: 150px;
        width: 33%;
        max-width: 400px;
        z-index: 10;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
}
/* ✅ Responsive ayarları */
@media (min-width: 768px) {
    .image-section, .text-section {
        flex: 1 1 45%;
        max-width: 45%;
    }

    .text-section {
        margin-top: 0;
    }
}

.accordion-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.accordion-item {
    flex: 1 1 calc(33.333% - 1rem); /* 3 sütun yapar, boşlukla birlikte */
    min-width: 250px; /* Genişlik yetmezse alta iner */
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.5rem;
}

.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carousel-item {
    padding: 1rem;
}
.card-title {
    font-size: 1.75rem;
}
.card-img-overlay a.btn:hover {
    background-color: #101010;
    color: #fff;
}

#slider-container {
    transition: opacity 0.3s ease;
    opacity: 1;
}
