/* home.css — index.html only */

html, body {
    transform: none !important;
    filter: none !important;
    perspective: none !important;
}
body {
    position: static !important;
    overflow-x: clip;
}

/* --------- HERO FULL-IMAGE SLIDER --------- */
.hero-slider {
    position: relative;          /* akışta: yüksekliği aktif slayt (görsel) belirler */
    width: 100%;
    overflow: hidden;
    background: #0D1117;
}
.hero-slide {
    display: block;
    position: absolute;          /* pasif slaytlar üst üste biner */
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1200ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity;
}
.hero-slide.active {
    position: relative;          /* aktif slayt akışa girer → height:auto yüksekliği verir */
    opacity: 1;
}
.hero-slide img {
    display: block;
    width: 100%;                 /* GENİŞLİK %100 */
    height: auto;                /* YÜKSEKLİK otomatik → görsel hiç kırpılmaz */
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 17, 23, 0.55) 0%, rgba(13, 17, 23, 0.25) 40%, rgba(13, 17, 23, 0.78) 100%);
    z-index: 1;
}
.slider-dot {
    width: 30px;
    height: 2px;
    background: rgba(250, 249, 246, 0.32);
    cursor: pointer;
    border: 0;
    padding: 0;
    transition: background 320ms ease, width 320ms ease;
}
.slider-dot.active {
    background: #D4AF37;
    width: 56px;
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    display: grid;
    place-content: center;
    color: rgba(250, 249, 246, 0.55);
    transition: color 240ms ease, background 240ms ease;
    background: transparent;
    border: 0;
}
.slider-nav:hover {
    color: #D4AF37;
    background: rgba(13, 17, 23, 0.35);
}
.hero-fade {
    background: linear-gradient(to bottom, transparent 70%, #FAF9F6 100%);
}

/* --------- PRODUCT CARD --------- */
.product-thumb {
    background:
        radial-gradient(circle at 50% 45%, rgba(212, 175, 55, 0.22), transparent 60%),
        linear-gradient(140deg, #f2efe7 0%, #e8e2d3 50%, #d8cfba 100%);
    position: relative;
    overflow: hidden;
}
.product-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.06'/></svg>");
}
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-card .quick-view {
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 280ms ease, transform 280ms ease;
}
.product-card:hover .quick-view {
    transform: translateY(0);
    opacity: 1;
}
.product-card img {
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------- WISHLIST HEART --------- */
.wishlist-btn.active i { fill: #D4AF37; stroke: #D4AF37; }

/* --------- DD FEATURED IMG (index'e özel — diğer sayfalarda inner var) --------- */
.dd-featured-img {
    background: linear-gradient(135deg, #1a1410 0%, #0D1117 100%);
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.dd-featured-card:hover .dd-featured-img-inner {
    transform: scale(1.06);
}

/* --------- CATEGORY PILLS --------- */
.cat-pill {
    transition: color 220ms ease, border-color 220ms ease;
    border-bottom: 1px solid transparent;
}
.cat-pill.active {
    color: #0D1117;
    border-bottom-color: #D4AF37;
}

/* --------- DRAWER (Desktop sol slide-in varyantı) --------- */
@media (min-width: 1024px) {
    .drawer {
        transform: translateX(-100%);
        width: 380px;
        max-width: 90vw;
        height: 100vh;
        top: 0; bottom: 0; right: auto; left: 0;
        border-radius: 0;
    }
    .drawer.open { transform: translateX(0); }
}

/* --------- RANGE SLIDER --------- */
.lux-range {
    -webkit-appearance: none;
    width: 100%;
    height: 1px;
    background: #C5A880;
    outline: none;
}
.lux-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #FAF9F6;
    border: 1.5px solid #D4AF37;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 200ms;
}
.lux-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.lux-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #FAF9F6;
    border: 1.5px solid #D4AF37;
    border-radius: 50%;
    cursor: pointer;
}

/* --------- SCROLL SNAP KATEGORI --------- */
.scroll-snap-x {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.scroll-snap-x::-webkit-scrollbar { display: none; }
.scroll-snap-x > * { scroll-snap-align: start; }

/* ============================================================
   BENTO GRID — Apple-style asymmetric cards
   ============================================================ */
.bento-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    isolation: isolate;
    transition: transform 320ms ease, box-shadow 380ms ease;
    opacity: 0;
    transform: translateY(24px);
    animation: bento-rise 720ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes bento-rise {
    to { opacity: 1; transform: translateY(0); }
}
.bento-grid .bento-card:nth-child(1) { animation-delay: 80ms; }
.bento-grid .bento-card:nth-child(2) { animation-delay: 180ms; }
.bento-grid .bento-card:nth-child(3) { animation-delay: 280ms; }
.bento-grid .bento-card:nth-child(4) { animation-delay: 380ms; }

.bento-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 50px -22px rgba(13, 17, 23, 0.22);
}

.bento-card.bento-light {
    background: #FFFFFF;
    border: 1px solid rgba(13, 17, 23, 0.06);
    box-shadow:
        0 1px 2px rgba(13, 17, 23, 0.04),
        0 8px 24px -12px rgba(13, 17, 23, 0.10);
}
.bento-card.bento-light:hover {
    box-shadow:
        0 2px 4px rgba(13, 17, 23, 0.06),
        0 24px 50px -22px rgba(13, 17, 23, 0.22);
    border-color: rgba(13, 17, 23, 0.09);
}
.bento-card.bento-dark {
    background: #0D1117;
}

.bento-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: transform;
    z-index: 0;
}
.bento-card:hover .bento-bg {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 17, 23, 0.10) 0%,
        rgba(13, 17, 23, 0.22) 40%,
        rgba(13, 17, 23, 0.78) 100%
    );
    pointer-events: none;
    z-index: 1;
    transition: background 400ms ease;
}
.bento-feature .bento-overlay {
    background: linear-gradient(
        180deg,
        rgba(13, 17, 23, 0.16) 0%,
        rgba(13, 17, 23, 0.36) 45%,
        rgba(13, 17, 23, 0.82) 100%
    );
}

.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
@media (min-width: 1024px) {
    .bento-content { padding: 32px; }
}
.bento-content-bottom { justify-content: flex-end; }
.bento-content-center {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bento-content-row {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 18px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}
@media (min-width: 1024px) {
    .bento-content-row { padding: 24px 28px; gap: 20px; }
}

.bento-icon-circle {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-content: center;
    background: rgba(13, 17, 23, 0.04);
    border-radius: 999px;
    transition: background 320ms ease;
}
.bento-card:hover .bento-icon-circle {
    background: rgba(212, 175, 55, 0.12);
}

.bento-cta {
    transition: gap 280ms ease, letter-spacing 280ms ease;
}
.bento-card:hover .bento-cta {
    gap: 12px;
    letter-spacing: 0.18em;
}

.bento-arrow {
    transition: transform 280ms ease, color 280ms ease;
}
.bento-card:hover .bento-arrow {
    transform: translate(3px, -3px);
    color: #0D1117;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .bento-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .bento-card:hover,
    .bento-card:hover .bento-bg,
    .bento-card:hover .bento-arrow {
        transform: none;
    }
}

/* ============================================================
   BRAND FLEURON — section ayracı (ince çizgi + monogram + ince çizgi)
   ============================================================ */
.brand-fleuron {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}
.brand-fleuron__line {
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(13, 17, 23, 0.20) 50%, transparent);
}
.brand-fleuron__mark {
    width: 36px;
    height: 36px;
    object-fit: contain;
    opacity: 0.7;
    user-select: none;
}
@media (min-width: 1024px) {
    .brand-fleuron { gap: 22px; }
    .brand-fleuron__line { width: 110px; }
    .brand-fleuron__mark { width: 46px; height: 46px; }
}
