/* ===== ÖZEL ÜRÜNLERİMİZ SLIDER STİLLERİ ===== */

/* Ürün Slider Ana Wrapper */
.product-slider-wrapper {
    position: relative;
    padding: 20px 0 50px;
}

/* Hareketli Ürün Görselleri Konteyner */
.floating-products-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 30px;
    overflow: visible;
}

.floating-products {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
    z-index: 1;
    pointer-events: none;
}

.floating-products.active {
    opacity: 1;
    visibility: visible;
}

.floating-product {
    position: absolute;
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    transition: transform 0.8s ease;
}

/* Hareketli Ürün Pozisyonları */
.floating-top-left {
    top: -30px;
    left: 5%;
    animation: floatAnimation1 15s infinite ease-in-out;
}

.floating-top-right {
    top: -20px;
    right: 5%;
    animation: floatAnimation2 15s infinite ease-in-out;
}

.floating-bottom-left {
    bottom: -30px;
    left: 20%;
    animation: floatAnimation3 15s infinite ease-in-out;
}

.floating-bottom-right {
    bottom: -40px;
    right: 20%;
    animation: floatAnimation4 15s infinite ease-in-out;
}

/* Hareketli Ürün Animasyonları */
@keyframes floatAnimation1 {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(15px) translateX(10px) rotate(2deg);
    }
    50% {
        transform: translateY(5px) translateX(20px) rotate(-1deg);
    }
    75% {
        transform: translateY(10px) translateX(5px) rotate(1deg);
    }
}

@keyframes floatAnimation2 {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(10px) translateX(-15px) rotate(-2deg);
    }
    50% {
        transform: translateY(15px) translateX(-5px) rotate(1deg);
    }
    75% {
        transform: translateY(5px) translateX(-10px) rotate(-1deg);
    }
}

@keyframes floatAnimation3 {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) translateX(15px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) translateX(5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-15px) translateX(10px) rotate(2deg);
    }
}

@keyframes floatAnimation4 {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) translateX(-10px) rotate(-2deg);
    }
    50% {
        transform: translateY(-10px) translateX(-15px) rotate(1deg);
    }
    75% {
        transform: translateY(-5px) translateX(-5px) rotate(-1deg);
    }
}

/* Ana Slider Konteyner */
.product-slider-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

/* Overlay Ürünler - Slider Üzerinde Hareketli Görseller */
.overlay-products {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.overlay-products.active {
    opacity: 1;
    visibility: visible;
}

.overlay-product {
    position: absolute;
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: transform 0.8s ease;
    z-index: 20;
}

/* Overlay Ürün Pozisyonları */
.overlay-top-left {
    top: -5%;
    left: -10%;
    max-width: 170px;
    animation: floatAnimation1 20s infinite ease-in-out;
}

.overlay-top-right {
    top: 10%;
    right: 5%;
    animation: floatAnimation2 20s infinite ease-in-out;
}

.overlay-bottom-left {
    bottom: -5%;
    left: 93%;
    max-width: 250px;
    animation: floatAnimation3 20s infinite ease-in-out;
}

.overlay-bottom-right {
    bottom: 10%;
    right: 10%;
    animation: floatAnimation4 20s infinite ease-in-out;
}

/* Ürün Slider (Sol Taraf - Görsel Alanı) */
.product-slider {
    flex: 1;
    min-width: 300px;
    position: relative;
    height: 0;
    padding-bottom: 35%; /* Aspect ratio için */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 1.2s ease;
    transform: scale(1.1);
}

.product-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Ürün Bilgisi Konteyner (Sağ Taraf) */
.product-info-container {
    flex: 1;
    min-width: 300px;
    position: relative;
    padding: 20px;
}

/* Ürün Bilgisi İçerik */
.product-info {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateY(30px);
}

.product-info.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

/* Ürün Markası */
.product-brand {
    display: inline-block;
    background-color: var(--red);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

/* Ürün Başlığı */
.product-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
}

.product-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--red);
}

/* Ürün Açıklaması */
.product-info p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Ürün Linki */
.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--red);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.product-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.product-link:hover {
    color: #c50000;
}

.product-link:hover i {
    transform: translateX(5px);
}

/* Slider Kontrol Butonları */
.product-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 30;
}

.product-prev,
.product-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--red);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-prev:hover,
.product-next:hover {
    background-color: var(--red);
    color: white;
    transform: scale(1.1);
}

/* Slider Göstergeleri (Dots) */
.product-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.product-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-indicator.active {
    background-color: var(--red);
    transform: scale(1.2);
}

/* ===== RESPONSIVE TASARIM ===== */

/* Tablet Görünüm */
@media (max-width: 1200px) {
    .product-info h3 {
        font-size: 1.8rem;
    }
    
    .product-info p {
        font-size: 1rem;
    }
    
    .overlay-product {
        max-width: 150px;
    }

    .product-indicators {
        visibility: hidden;
    }
}

/* Orta Tablet */
@media (max-width: 992px) {
    .product-slider-container {
        flex-direction: column;
    }
    
    .product-slider {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .product-info-container {
        width: 100%;
    }
    
    .product-info {
        text-align: center;
    }
    
    .product-info h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .overlay-product {
        max-width: 120px;
    }

    .product-indicators {
        visibility: hidden;
    }
}

/* Mobil Görünüm */
@media (max-width: 768px) {
    .overlay-product {
        max-width: 100px;
    }
    
    .overlay-top-left {
        top: 10%;
        left: 5%;
    }
    
    .overlay-top-right {
        top: 15%;
        right: 5%;
    }
    
    .overlay-bottom-left {
        left: 80%;
    }
    
    .overlay-bottom-right {
        bottom: 10%;
        right: 10%;
    }
    
    .product-info h3 {
        font-size: 1.6rem;
    }

    .product-indicators{
        visibility: hidden;
    }
}

/* Küçük Mobil */
@media (max-width: 480px) {
    .product-info h3 {
        font-size: 1.5rem;
    }
    
    .overlay-product {
        max-width: 70px;
    }
    
    .product-slider-controls {
        padding: 0 10px;
    }
    
    .product-prev,
    .product-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .product-indicators {
        visibility: hidden;
    }
}