/* Minimal Lüks Animasyon Sistemi - Dekoraman.com.tr */

/* 1. Image Reveal (Görüntü Açılması) Efekti */
[data-aos="img-reveal"] {
    opacity: 0;
    transform: scale(1.1);
    transition-property: transform, opacity;
}

[data-aos="img-reveal"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* 2. Fade Up (Aşağıdan Yukarı Süzülme) Efekti */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Akıcılık ve Hız Ayarları */
:root {
    --luxury-duration: 1200ms;
    --luxury-easing: cubic-bezier(0.215, 0.61, 0.355, 1);
    /* ease-out-cubic */
}

/* AOS Global Override (Eğer PHP içinde data-aos kullanılacaksa) */
.aos-init[data-aos][data-aos].aos-animate {
    transition-duration: var(--luxury-duration);
    transition-timing-function: var(--luxury-easing);
}

/* 4. Smooth Scroll Ayarları (Lenis için) */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* 5. Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 9999;
    pointer-events: none;
    background: rgba(255, 152, 0, 0.1);
}

.scroll-progress-bar {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform-origin: left;
    scale: 0;
}

/* 6. Image Container for Scrollytelling */
.about-img {
    overflow: hidden;
    border-radius: 4px;
}

.bg-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* 7. Hover Effects Enhencement */
.modern-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12) !important;
}

.modern-btn {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.section-title {
    font-weight: 700;
    letter-spacing: 0px;
    /* GSAP kontrolü için default */
}

/* 8. Horizontal Scroll Section */
.horizontal-container {
    overflow: hidden;
    width: 100%;
}

.horizontal-wrapper {
    display: flex;
    width: fit-content;
    padding-left: 20px;
    padding-right: 20px;
}

.horizontal-content {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
}

.horizontal-item {
    flex: 0 0 auto;
    width: 400px;
}

.horizontal-item .modern-card {
    transition: transform 0.5s ease;
}

.horizontal-item:hover .modern-card {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .horizontal-content {
        flex-direction: column;
        padding-left: 15px;
        padding-right: 15px;
    }

    .horizontal-item {
        width: 100%;
    }
}