/* --- TEMEL AYARLAR --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: #fcfcfc; color: #333; scroll-behavior: smooth; line-height: 1.6; }

/* --- NAVIGASYON --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 8%; background: white; position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.logo { font-size: 26px; font-weight: 800; text-decoration: none; color: #222; }
.logo span { color: #b35900; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: #444; font-weight: 500; font-size: 13px; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: #b35900; }
.nav-icons { display: flex; gap: 20px; font-size: 18px; align-items: center; }
.cart-wrapper { position: relative; cursor: pointer; }
#cart-count { position: absolute; top: -10px; right: -12px; background: #b35900; color: white; font-size: 11px; padding: 2px 6px; border-radius: 50%; }

/* --- HERO (BOZULAN YER DÜZELTİLDİ) --- */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('img/hero.jpg');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
    padding: 0 20px;
}
.hero-content { max-width: 800px; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 25px; font-weight: 800; line-height: 1.1; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; color: #f1f1f1; } /* Boşluk artırıldı */
.btn-main { 
    display: inline-block; /* Butonun düzgün durması için */
    background: #b35900; color: white; padding: 18px 45px; 
    text-decoration: none; border-radius: 50px; font-weight: 600; 
    text-transform: uppercase; transition: 0.3s; 
}
.btn-main:hover { background: #8e4700; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* --- AVANTAJLAR --- */
.features-bar {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background: #fff; padding: 50px 8%; text-align: center; border-bottom: 1px solid #eee; gap: 30px;
}
.feature-item i { font-size: 28px; color: #b35900; margin-bottom: 15px; }
.feature-item h4 { font-size: 14px; text-transform: uppercase; margin-bottom: 8px; font-weight: 700; }
.feature-item p { font-size: 12px; color: #777; }

/* --- ÜRÜN IZGARASI (3x3) --- */
.section-container { padding: 80px 8%; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 36px; font-weight: 700; position: relative; padding-bottom: 20px; }
.section-title h2::after { content: ''; width: 70px; height: 4px; background: #b35900; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.product-card { background: white; border-radius: 12px; overflow: hidden; border: 1px solid #eee; transition: 0.3s; position: relative; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.product-img { width: 100%; height: 400px; object-fit: cover; }

.badge { position: absolute; top: 20px; left: 20px; background: #b35900; color: white; padding: 6px 14px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; z-index: 2; }

/* --- FİYAT ALANI --- */
.product-info { padding: 25px; }
.product-info h3 { font-size: 18px; margin-bottom: 15px; color: #222; font-weight: 600; }
.price-container { display: flex; align-items: center; gap: 12px; min-height: 30px; margin-bottom: 20px; }
.old-price { font-size: 15px; color: #999; text-decoration: line-through; font-weight: 400; }
.new-price { font-size: 22px; font-weight: 700; color: #b35900; }

.add-to-cart-btn { 
    width: 100%; padding: 14px; background: #222; color: white; 
    border: none; border-radius: 8px; cursor: pointer; font-weight: 600; transition: 0.3s; 
}
.add-to-cart-btn:hover { background: #b35900; }

/* --- FOOTER & NEWSLETTER --- */
.newsletter { background: #f4f1ee; padding: 80px 8%; text-align: center; }
.newsletter-form { display: flex; justify-content: center; gap: 12px; max-width: 550px; margin: 30px auto 0; }
.newsletter-form input { padding: 15px 20px; border: 1px solid #ddd; border-radius: 8px; flex: 1; outline: none; font-size: 15px; }
.newsletter-form button { background: #222; color: white; border: none; padding: 0 35px; border-radius: 8px; cursor: pointer; font-weight: 600; transition: 0.3s; }
.newsletter-form button:hover { background: #b35900; }

/* --- ZENGİN FOOTER STİLLERİ --- */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 8% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr; /* İlk sütunu (Logo/Hakkımızda) daha geniş yaptık */
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #b35900;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1.5px;
}

.footer-col p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 8px; /* Hover yapınca tatlı bir kayma efekti */
}

/* Sosyal Medya İkonları */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #b35900;
    transform: translateY(-5px);
}

/* Ödeme İkonları */
.payment-methods {
    margin-top: 20px;
    font-size: 24px;
    color: #555;
    display: flex;
    gap: 15px;
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .product-grid { grid-template-columns: 1fr; } .hero-content h1 { font-size: 2.8rem; } .navbar { padding: 15px 5%; } }
/* --- KOLEKSİYON SAYFASI LAYOUT --- */
.collection-layout {
    display: flex;
    padding: 40px 8%;
    gap: 40px;
}

/* Yan Menü (Filtreler) */
.filter-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.filter-sidebar h3 {
    font-size: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #222;
    padding-bottom: 10px;
}

.filter-group {
    margin-bottom: 40px;
}

.filter-group h4 {
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #555;
}

.filter-group ul {
    list-style: none;
}

.filter-group ul li {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Renk Seçenekleri */
.color-options {
    display: flex;
    gap: 10px;
}

.color-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.color-circle:hover {
    transform: scale(1.2);
}

/* Sağ Ana Bölüm */
.collection-main {
    flex-grow: 1;
}

.collection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.collection-header h2 {
    font-size: 24px;
}

.collection-header h2 span {
    font-size: 14px;
    color: #888;
    font-weight: 400;
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

/* Mobil için — Drawer sistemi */
@media (max-width: 768px) {
    .collection-layout {
        flex-direction: column;
        padding: 16px 5%;
        gap: 0;
    }

    /* Filtre butonu — ürünlerin üstünde */
    .mobile-filter-toggle {
        display: flex !important;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 13px 18px;
        background: #0a0a0a;
        border: 1px solid #222;
        border-radius: 12px;
        font-size: 13px;
        font-weight: 700;
        color: #fff;
        cursor: pointer;
        margin-bottom: 18px;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: border-color 0.2s;
    }
    .mobile-filter-toggle:hover { border-color: #b35900; }
    .mobile-filter-toggle i { color: #b35900; font-size: 14px; }
    .mobile-filter-toggle .mft-badge {
        margin-left: auto;
        background: #b35900;
        color: #fff;
        font-size: 10px;
        padding: 2px 7px;
        border-radius: 10px;
        display: none;
    }
    .mobile-filter-toggle .mft-badge.visible { display: inline-block; }

    /* Overlay (karartma) */
    .filter-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.65);
        z-index: 1800;
        backdrop-filter: blur(2px);
        animation: fadeOverlay 0.25s ease;
    }
    @keyframes fadeOverlay {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    .filter-overlay.open { display: block; }

    /* Sidebar — soldan gelen drawer */
    .filter-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 290px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        z-index: 1900 !important;
        transform: translateX(-110%) !important;
        transition: transform 0.35s cubic-bezier(0.16,1,0.3,1) !important;
        border-radius: 0 20px 20px 0 !important;
        align-self: auto !important;
    }
    .filter-sidebar.drawer-open {
        transform: translateX(0) !important;
    }

    /* Drawer içinde kapat butonu */
    .drawer-close-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 50%;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
        z-index: 10;
    }
}
.product-card {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-links a.active {
    color: #b35900 !important;
    border-bottom: 2px solid #b35900;
}

/* ═══════════════════════════════════════
   LUXEHOME — MOBİL (768px ve altı)
═══════════════════════════════════════ */

/* Hamburger — varsayılan gizli */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 2000;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #222;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menü header */
.nav-menu-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 56px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.nav-menu-brand { font-size: 18px; font-weight: 800; color: #222; }
.nav-menu-brand span { color: #b35900; }
.nav-menu-close {
    width: 32px; height: 32px;
    background: #f5f5f5; border: none; border-radius: 50%;
    cursor: pointer; font-size: 14px; color: #555;
    display: flex; align-items: center; justify-content: center;
}

/* Filtre toggle butonu */
.filter-toggle-btn { display: none; }

@media (max-width: 768px) {

    /* NAVBAR */
    .hamburger { display: flex; }
    .navbar { padding: 14px 5%; }

    /* NAV-LINKS — sağdan gelen panel */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
        box-shadow: -4px 0 30px rgba(0,0,0,0.15);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
        z-index: 1500;
        overflow-y: auto;
    }
    .nav-links.open { transform: translateX(0); }

    .nav-menu-header { display: flex; }

    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 15px 24px;
        font-size: 14px;
        color: #333;
        border-bottom: 1px solid #f5f5f5;
        text-decoration: none;
        font-weight: 500;
    }
    .nav-links a:hover,
    .nav-links a.active {
        color: #b35900;
        background: #fdf8f5;
        padding-left: 30px;
    }

    /* BACKDROP */
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 1400;
        pointer-events: none;
    }

    /* HERO */
    .hero { height: 70vh; padding: 0 5%; }
    .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-content p { font-size: 1rem; margin-bottom: 24px; }
    .btn-main { padding: 14px 32px; font-size: 13px; }

    /* ÜRÜNLER */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-img { height: 260px; }
    .product-info { padding: 14px; }
    .product-info h3 { font-size: 15px; }
    .new-price { font-size: 18px; }
    .section-container { padding: 40px 5%; }
    .section-title h2 { font-size: 28px; }

    /* NEWSLETTER */
    .newsletter { padding: 50px 5%; }
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    .newsletter-form input,
    .newsletter-form button { width: 100%; padding: 14px; }

    /* FOOTER */
    footer { padding: 50px 5% 24px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 36px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

    /* Drawer close btn — sadece mobilde */
    .drawer-close-btn { display: none; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; gap: 14px; }
    .product-img { height: 300px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { height: 80vh; }
    .hero-content h1 { font-size: clamp(1.8rem, 9vw, 2.6rem); }
    .btn-main { width: 100%; text-align: center; }
}

/* HAKKIMIZDA — özel mobil */
@media (max-width: 768px) {
    #cdot, #cring { display: none; }
    .stats-3d { grid-template-columns: repeat(2,1fr); padding: 50px 5%; gap: 12px; }
    .story-3d { grid-template-columns: 1fr; padding: 50px 5%; gap: 30px; }
    .img-card { height: 340px; }
    .img-sticker { display: none; }
    .flip-grid { grid-template-columns: 1fr 1fr; }
    .flip-card { height: 210px; }
    .gal-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .g3-box:nth-child(1), .g3-box:nth-child(4) { grid-column: auto; grid-row: auto; }
    .rings-grid { grid-template-columns: 1fr; max-width: 260px; margin: 0 auto; }
    .team-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .tc-img { height: 200px; }
    .tl-track { flex-direction: column; gap: 0; }
    .tl-item { padding: 0 0 32px 24px; border-left: 2px solid rgba(255,255,255,.08); }
    .tl-item::before { bottom: auto; left: -6px; top: 2px; }
    .tl-track::before { display: none; }
    .ts-grid { grid-template-columns: 1fr; }
    .hero-title-3d { font-size: clamp(2.8rem, 12vw, 5rem); letter-spacing: -2px; }
    .hero-3d { height: 90vh; }
    .flip-sec, .rings-sec, .team-sec, .tl-sec, .ts-sec { padding: 60px 5%; }
    .stats-3d, .gal-3d { padding: 50px 5%; }
    .pb-item { font-size: clamp(2rem, 7vw, 3rem); }
}

@media (max-width: 480px) {
    .flip-grid { grid-template-columns: 1fr; }
    .gal-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .stats-3d { grid-template-columns: 1fr 1fr; }
    .hero-title-3d { font-size: clamp(2.2rem, 11vw, 3.5rem); }
}

/* Mobile filter toggle — masaüstünde gizli */
.mobile-filter-toggle { display: none; }
.filter-overlay { display: none; }
.drawer-close-btn { display: none; }
