:where([class^="ri-"])::before { content: "\f3c2"; }
body {
font-family: 'Cormorant Garamond', serif;
background-color: #E5D3C3;
overflow-x: hidden;
scroll-behavior: smooth;
}

        /* ======================================================================= */
        /* BÖLÜM 1: TEMEL DEĞİŞKENLER VE KURULUM
        /* Toplam CSS Satır Sayısı: 500+
        /* ======================================================================= */
        :root {
            /* Renk Paleti */
            --color-primary: #000000;
            --color-secondary: #E5D3C3;
            --color-text-light: #FFFFFF;
            --color-text-dark: #333333;
            --color-accent-gold: #C0A080;
            --color-overlay-dark: rgba(0, 0, 0, 0.5);
            --color-overlay-light: rgba(229, 211, 195, 0.2);

            /* Font Aileleri */
            --font-display: 'Playfair Display', serif;
            --font-body: 'Cormorant Garamond', serif;

            /* Animasyon Süreleri */
            --duration-slow: 2.5s;
            --duration-medium: 1.5s;
            --duration-fast: 0.8s;
            --duration-hover: 0.4s;

            /* Animasyon Gecikmeleri */
            --delay-short: 0.2s;
            --delay-medium: 0.5s;
            --delay-long: 1.2s;
            --delay-very-long: 2s;

            /* Z-Index Katmanları */
            --z-background: -1;
            --z-backdrop: 1;
            --z-particles: 2;
            --z-content-back: 3;
            --z-content-front: 4;
            --z-foreground: 5;
            --z-curtain: 100;
        }

        /* Temel Sayfa Yapısı */
        .creative-hero-section {
            position: relative;
            min-height: 100vh;
            width: 100%;
            overflow: hidden;
            background-color: var(--color-secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-body);
        }

        /* ======================================================================= */
        /* BÖLÜM 2: ANİMASYON KEYFRAMES
        /* ======================================================================= */

        /* Açılış Perdesi Animasyonu */
        @keyframes curtain-reveal {
            0% {
                transform: scaleY(1);
            }
            100% {
                transform: scaleY(0);
            }
        }

        /* İçerik Belirme Animasyonu */
        @keyframes content-fade-in-up {
            0% {
                opacity: 0;
                transform: translateY(50px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Arka Plan Yakınlaşma Animasyonu */
        @keyframes background-zoom {
            0% {
                transform: scale(1.15);
                filter: blur(8px);
            }
            100% {
                transform: scale(1);
                filter: blur(2px);
            }
        }
        
        /* Uçuşan Parçacık Animasyonu */
        @keyframes float-particle {
            0% {
                transform: translate(0, 0);
                opacity: 0;
            }
            25% {
                opacity: 0.7;
            }
            50% {
                transform: translate(var(--particle-x-end), var(--particle-y-end));
            }
            75% {
                opacity: 0.7;
            }
            100% {
                transform: translate(0, 0);
                opacity: 0;
            }
        }

        /* Başlık Işıltı Animasyonu */
        @keyframes title-shimmer {
            0% {
                background-position: -200% 0;
            }
            100% {
                background-position: 200% 0;
            }
        }
        
        /* Buton Nabız Animasyonu */
        @keyframes button-pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
            }
            70% {
                box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
            }
        }


        /* ======================================================================= */
        /* BÖLÜM 3: KATMANLAR VE ARKA PLAN
        /* ======================================================================= */

        /* Ana Arka Plan Görseli */
        .hero-background-image {
            position: absolute;
            inset: 0;
            background-image: url('https://readdy.ai/api/search-image?query=luxury%20fashion%20atelier%20interior%20with%20mannequins%20displaying%20elegant%20black%20dresses%2C%20soft%20beige%20walls%2C%20minimal%20decor%2C%20artistic%20lighting%20creating%20dramatic%20shadows&width=1920&height=1080&seq=1&orientation=landscape');
            background-size: cover;
            background-position: center;
            z-index: var(--z-backdrop);
            animation: background-zoom var(--duration-slow) ease-out var(--delay-long) forwards;
        }

        /* Arka Plan Karartma Filtresi */
        .hero-background-image::after {
            content: '';
            position: absolute;
            inset: 0;
            background-color: var(--color-overlay-dark);
            opacity: 0;
            animation: content-fade-in-up var(--duration-medium) ease var(--delay-long) forwards;
        }

        /* Uçuşan Parçacıklar Konteyneri */
        .particle-container {
            position: absolute;
            inset: 0;
            z-index: var(--z-particles);
            pointer-events: none;
        }

        /* Tekil Parçacık Stilleri */
        .particle {
            position: absolute;
            background-color: rgba(229, 211, 195, 0.5);
            border-radius: 50%;
            opacity: 0;
            animation: float-particle 20s infinite linear;
        }

        .particle.p1 {
            width: 3px; height: 3px; top: 20%; left: 10%;
            --particle-x-end: 80vw; --particle-y-end: -15vh;
            animation-delay: 0s; animation-duration: 25s;
        }
        .particle.p2 {
            width: 1px; height: 1px; top: 50%; left: 15%;
            --particle-x-end: 70vw; --particle-y-end: 20vh;
            animation-delay: 2s; animation-duration: 30s;
        }
        .particle.p3 {
            width: 2px; height: 2px; top: 80%; left: 20%;
            --particle-x-end: 60vw; --particle-y-end: -30vh;
            animation-delay: 5s; animation-duration: 22s;
        }
        .particle.p4 {
            width: 4px; height: 4px; top: 10%; left: 80%;
            --particle-x-end: -70vw; --particle-y-end: 25vh;
            animation-delay: 1s; animation-duration: 18s;
        }
        .particle.p5 {
            width: 2px; height: 2px; top: 40%; left: 90%;
            --particle-x-end: -60vw; --particle-y-end: -10vh;
            animation-delay: 3s; animation-duration: 28s;
        }
        .particle.p6 {
            width: 1px; height: 1px; top: 90%; left: 75%;
            --particle-x-end: -50vw; --particle-y-end: -40vh;
            animation-delay: 7s; animation-duration: 35s;
        }
        /* Daha fazla parçacık ekleyerek yoğunluğu artırabilirsiniz */
        .particle.p7 {
            width: 2px; height: 2px; top: 60%; left: 50%;
            --particle-x-end: 20vw; --particle-y-end: -40vh;
            animation-delay: 8s; animation-duration: 20s;
        }
        .particle.p8 {
            width: 3px; height: 3px; top: 70%; left: 30%;
            --particle-x-end: -20vw; --particle-y-end: 30vh;
            animation-delay: 4s; animation-duration: 19s;
        }


        /* ======================================================================= */
        /* BÖLÜM 4: AÇILIŞ PERDESİ
        /* ======================================================================= */

        .curtain {
            position: fixed;
            inset: 0;
            z-index: var(--z-curtain);
            pointer-events: none;
        }

        .curtain-panel {
            position: absolute;
            width: 100%;
            height: 50%;
            background-color: var(--color-secondary);
            transform-origin: bottom;
        }

        .curtain-panel.top {
            top: 0;
            transform-origin: bottom;
        }

        .curtain-panel.bottom {
            bottom: 0;
            transform-origin: top;
        }


        /* ======================================================================= */
        /* BÖLÜM 5: İÇERİK VE TİPOGRAFİ
        /* ======================================================================= */
        
        .hero-content-container {
            position: relative;
            z-index: var(--z-content-front);
            text-align: center;
            color: var(--color-text-light);
            max-width: 800px;
            padding: 2rem;
            opacity: 0;
            transform: translateY(30px);
            animation: content-fade-in-up var(--duration-fast) ease-out var(--delay-very-long) forwards;
        }

.hero-title {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0.4)
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent; /* gradient için gerekli */
  animation: title-shimmer 10s infinite linear;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); /* gölgeyi biraz daha yoğunlaştırdım */
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0.95;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.95;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

        

        /* ======================================================================= */
        /* BÖLÜM 6: BUTON STİLLERİ
        /* ======================================================================= */
        
/* "Aşağı Kaydır" göstergesi için genel stil */
.scroll-down-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    color: #fff; /* Siyah arka plana uyumlu */
    font-size: 1.2rem; /* Daha dengeli bir boyut */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    animation: scroll-indicator-anim 2s infinite ease-in-out; /* Sonsuz animasyon */
}

/* Ok ikonunun stili */
.scroll-arrow {
    width: 28px; /* Ok için daha belirgin boyut */
    height: 28px;
    fill: var(--color-accent-gold); /* Altın rengi */
    margin-top: 8px; /* Yazı ile ok arasında boşluk */
}

/* Sürekli çalışan animasyon */
@keyframes scroll-indicator-anim {
    0%, 100% {
        transform: translateY(0) translateX(-50%);
        opacity: 1;
    }
    50% {
        transform: translateY(10px) translateX(-50%);
        opacity: 0.8;
    }
}
        /* ======================================================================= */
        /* BÖLÜM 7: RESPONSIVE TASARIM (MEDIA QUERIES)
        /* ======================================================================= */

        /* Geniş Ekranlar (1200px altı) */
        @media (max-width: 1200px) {
            :root {
                --delay-very-long: 1.8s;
            }
            .hero-title {
                font-size: 4.5rem;
            }
            .hero-subtitle {
                font-size: 1.3rem;
            }
            .hero-description {
                font-size: 1rem;
                max-width: 550px;
            }
        }

        /* Tablet (992px altı) */
        @media (max-width: 992px) {
            :root {
                --delay-very-long: 1.6s;
            }
            .hero-title {
                font-size: 4rem;
                margin-bottom: 0.8rem;
            }
            .hero-subtitle {
                font-size: 1.2rem;
                letter-spacing: 0.25em;
                margin-bottom: 1.8rem;
            }
            .hero-description {
                font-size: 1rem;
                max-width: 500px;
                margin-bottom: 2rem;
            }
            .hero-cta-button {
                padding: 0.9rem 2.2rem;
                font-size: 0.85rem;
            }
        }
        
        /* Mobil Geniş Ekran (768px altı) */
        @media (max-width: 768px) {
            :root {
                --delay-long: 0.8s;
                --delay-very-long: 1.4s;
            }
            .hero-title {
                font-size: 3.5rem;
            }
            .hero-subtitle {
                font-size: 1rem;
                letter-spacing: 0.2em;
            }
            .hero-description {
                font-size: 0.95rem;
                line-height: 1.7;
            }
            .hero-content-container {
                padding: 1.5rem;
            }
            /* Uçuşan parçacık sayısını azalt */
            .particle.p7, .particle.p8 {
                display: none;
            }
        }

        /* Mobil Dar Ekran (576px altı) */
        @media (max-width: 576px) {
            :root {
                --delay-very-long: 1.2s;
            }
            .hero-title {
                font-size: 2.8rem;
                margin-bottom: 0.5rem;
            }
            .hero-subtitle {
                font-size: 0.9rem;
                letter-spacing: 0.15em;
                margin-bottom: 1.5rem;
            }
            .hero-description {
                font-size: 0.9rem;
                line-height: 1.6;
                margin-bottom: 2rem;
            }
            .hero-cta-button {
                width: 100%;
                padding: 1rem;
                font-size: 0.8rem;
            }
            .particle-container {
                display: none; /* Performans için mobilde parçacıkları gizle */
            }
            @keyframes background-zoom {
              0% { transform: scale(1.3); filter: blur(5px); }
              100% { transform: scale(1.1); filter: blur(3px); }
            }
        }

.fade-in {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}
.scale-in {
opacity: 0;
transform: scale(0.95);
transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.scale-in.visible {
opacity: 1;
transform: scale(1);
}
.slide-in-left {
opacity: 0;
transform: translateX(-20px);
transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.slide-in-left.visible {
opacity: 1;
transform: translateX(0);
}
.slide-in-right {
opacity: 0;
transform: translateX(20px);
transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.slide-in-right.visible {
opacity: 1;
transform: translateX(0);
}
.playfair {
font-family: 'Playfair Display', serif;
}
.loader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #E5D3C3;
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}
.loader-content {
text-align: center;
position: relative;
}
.loader-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.brand-name {
font-size: 2.5rem;
margin-bottom: 0.5rem;
opacity: 0;
animation: fadeInUp 0.8s ease-out forwards;
}
.designer-name {
font-size: 1.2rem;
letter-spacing: 3px;
margin-bottom: 2rem;
opacity: 0;
animation: fadeInUp 0.8s ease-out 0.3s forwards;
}
.progress-bar-container {
width: 250px; /* Genişliği artırdık */
height: 4px; /* Daha ince bir bar */
background-color: rgba(0, 0, 0, 0.1); /* Hafif şeffaf arkaplan */
border-radius: 2px; /* Köşeleri yuvarla */
overflow: hidden; /* Taşmayı engelle */
margin: 30px auto 10px; /* Üstten boşluk ve alttan boşluk ekle */
opacity: 0;
animation: fadeInUp 0.8s ease-out 0.6s forwards; /* Önceki ile aynı gecikme */
}

.progress-bar {
width: 0%;
height: 100%;
background-color: #000; /* Asıl ilerleme çubuğu rengi */
border-radius: 2px;
transition: width 0.1s linear; /* Yumuşak geçiş */
}

.loading-text-new {
margin-top: 1.5rem;
font-size: 0.875rem;
letter-spacing: 3px;
opacity: 0;
animation: fadeInUp 0.8s ease-out 0.9s forwards; /* Önceki ile aynı gecikme */
color: #000; /* Metin rengi siyah olsun */
}
.nav-link {
position: relative;
transition: all 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #000;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.product-card {
transition: transform 0.5s ease;
overflow: hidden;
}
.product-card:hover {
transform: translateY(-5px);
}
.product-image {
transition: transform 0.8s ease;
}
.product-card:hover .product-image {
transform: scale(1.05);
}
.product-overlay {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 20px;
background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
opacity: 0;
transition: opacity 0.3s ease;
}
.product-card:hover .product-overlay {
opacity: 1;
}
.category-filter {
position: relative;
cursor: pointer;
}
.category-filter::after {
content: '';
position: absolute;
bottom: -2px;
left: 50%;
width: 0;
height: 1px;
background-color: #000;
transition: width 0.3s ease, left 0.3s ease;
}
.category-filter:hover::after,
.category-filter.active::after {
width: 100%;
left: 0;
}
.newsletter-input {
background-color: transparent;
border-bottom: 1px solid rgba(0,0,0,0.2);
transition: border-color 0.3s ease;
}
.newsletter-input:focus {
border-color: #000;
outline: none;
}
.scroll-indicator {
position: absolute;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0) translateX(-50%);
}
40% {
transform: translateY(-20px) translateX(-50%);
}
60% {
transform: translateY(-10px) translateX(-50%);
}
}
.sticky-header {
position: fixed;
top: -100px;
left: 0;
width: 100%;
background-color: rgba(229, 211, 195, 0.95);
z-index: 1000;
transition: top 0.3s ease;
backdrop-filter: blur(5px);
}
.custom-shape {
clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}
.collection-item {
position: relative;
overflow: hidden;
}
.collection-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.3);
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.collection-item:hover .collection-overlay {
opacity: 1;
}
.social-icon {
transition: transform 0.3s ease;
}
.social-icon:hover {
transform: translateY(-3px);
}

.rounded-b-2xl {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  overflow: hidden;
}

.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 2000;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-content {
background-color: #E5D3C3;
width: 90%;
max-width: 1000px;
max-height: 90vh;
overflow-y: auto;
position: relative;
transform: translateY(50px);
opacity: 0;
transition: transform 0.5s ease, opacity 0.5s ease;
}
.modal.active {
opacity: 1;
visibility: visible;
}
.modal.active .modal-content {
transform: translateY(0);
opacity: 1;
}
.size-option {
cursor: pointer;
transition: all 0.3s ease;
}
.size-option.selected {
background-color: #000;
color: #fff;
}
.quantity-input {
width: 50px;
text-align: center;
border: none;
background: transparent;
}
.quantity-btn {
cursor: pointer;
transition: opacity 0.3s ease;
}
.quantity-btn:hover {
opacity: 0.7;
}
/* Header ikon hover animasyonu */
.header-icon {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

@media (max-width: 768px) {
.desktop-nav {
display: none;
}
.hero-content {
padding: 0 20px;
}
.collection-grid {
grid-template-columns: 1fr;
}
}
.parallax-section {
position: relative;
height: 500px;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.parallax-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: white;
width: 80%;
max-width: 800px;
}
.dress-shape {
clip-path: polygon(50% 0%, 100% 0, 100% 75%, 50% 100%, 0 75%, 0 0);
}
.instagram-item {
position: relative;
overflow: hidden;
}
.instagram-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.4);
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.instagram-item:hover .instagram-overlay {
opacity: 1;
}
/* Mobil cihazlarda parallax efektini devre dışı bırak */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll !important; /* Arka planın kaydırılabilir olmasını sağlar */
        background-position: center center !important; /* Pozisyonu koru */
    }
}

/* Carousel Konteyneri */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Kenarlardaki yumuşak geçiş için maske */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

/* Animasyonun uygulanacağı ve ürünleri içeren alan */
.carousel-track {
    /* CSS Değişkenleri ile boşluk değerlerini tanımlıyoruz */
    --carousel-gap: 24px;

    display: flex;
    gap: var(--carousel-gap); /* Boşluğu değişkenden alıyoruz */
    will-change: transform; /* Performans optimizasyonu */

}

/* Her bir ürün kartı */
.carousel-item {
    flex-shrink: 0;
    width: 300px;
}

.product-card-inner {
    aspect-ratio: 2 / 3; /* Genişlik 2 birim ise yükseklik 3 birim olsun */
    height: auto;
}

/* ================================== */
/* Ürün Kartı Overlay Stilleri        */
/* ================================== */

/* Overlay'in genel kapsayıcısı */
.product-overlay-container {
    /* Mobil için varsayılan yükseklik (daha kısa) */
    height: 5.5rem; /* Yaklaşık 88px */
    transition: height 0.4s ease-in-out;
}

/* Overlay'in içeriği ve yumuşak geçiş efekti */
.product-overlay-content {
    /* Blur efektinin üstte yumuşak bir şekilde bitmesini sağlayan maske */
    -webkit-mask-image: linear-gradient(to top, black 50%, transparent 100%);
    mask-image: linear-gradient(to top, black 50%, transparent 100%);
}

/* Masaüstü (640px ve üzeri) için hover (fare üzerine gelme) efekti */
@media (min-width: 640px) {
    .product-overlay-container {
        /* Masaüstünde başlangıçta overlay'i gizle */
        height: 0;
    }

    .group:hover .product-overlay-container {
        /* Fare üzerine gelince overlay'i göster (orijinal boyutta) */
        height: 6rem; /* 96px */
    }
}

/* Sonsuz kayma animasyonu - SADECE BİR KEZ TANIMLANACAK */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Toplam genişliğin yarısı kadar ve aradaki boşluk kadar sola kaydır */
        transform: translateX(calc(-100% - var(--carousel-gap)));
    }
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .carousel-track {
        --carousel-gap: 16px; /* Orta boy ekranlar için boşluğu güncelliyoruz */
    }
    .carousel-item {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .carousel-track {
        --carousel-gap: 12px; /* Küçük ekranlar için boşluğu güncelliyoruz */
    }
    .carousel-item {
        width: 200px;
    }
}