﻿/* Duyuru Slider */
.gunler-slider {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gunler-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.gunler-divider {
    width: 50px;
    height: 600px;
    background-color: #007bff;
    margin: 10px auto 20px;
}

.gunler-carousel {
    position: relative;
}

.gunler-carousel-inner {
    position: relative;
    overflow: hidden;
    height: 400px; /* Sabit yükseklik */
}

.gunler-carousel-item {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    opacity: 0; /* Başlangıçta görünmez */
    transform: scale(0.8) rotate(10deg); /* Başlangıçta küçültülmüş ve döndürülmüş */
    clip-path: circle(0%); /* Parçalanma animasyonu başlangıcı */
    transition: opacity 0.7s ease, clip-path 0.7s ease, transform 0.7s ease; /* Geçiş animasyonu */
}

    .gunler-carousel-item.gunler-animate {
        display: flex;
        opacity: 1; /* Görünür hale gelir */
        clip-path: circle(150%); /* Görüntü açılır */
        transform: scale(1) rotate(0deg); /* Tam boyut ve düz açı */
    }

    .gunler-carousel-item.gunler-active {
        display: flex;
    }

.gunler-image {
    height: 350px;
    width: 100%;
    object-fit: contain;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
}

.gunler-content {
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.gunler-title-content {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.gunler-date {
    font-size: 0.85rem;
    color: #666;
}

/* Slider Buttons */
.gunler-control-prev,
.gunler-control-next {
    color: #007bff;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: 1px solid #ddd;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
}

    .gunler-control-prev:hover,
    .gunler-control-next:hover {
        background: #007bff;
        color: #fff;
        opacity: 1;
    }

.gunler-control-prev {
    left: -25px; /* Daha görünür yapmak için biraz dışarı taşıdık */
}

.gunler-control-next {
    right: -25px;
}

.gunler-control-prev-icon,
.gunler-control-next-icon {
    font-size: 1.5rem;
    color: inherit;
}
