/* style.css - FİNAL DÜZELTİLMİŞ (YAN MENÜ SİSTEMİ) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary-gold: #c5a059;
    --dark-bg: #1a1a1a;
    --light-bg: #faf9f6;
    --text-main: #333333;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    overflow-x: hidden; /* Yatay taşmayı engelle */
}

h1, h2, h3 { font-family: 'Cinzel', serif; color: var(--dark-bg); }

/* --- HEADER GENEL YAPISI --- */
header {
    background: #ffffff;
    height: 80px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

/* --- MASAÜSTÜ MENÜ AYARLARI (Varsayılan) --- */
/* Menü kapsayıcısı (Nav) normal dursun */
nav {
    display: block;
}

/* Linkleri yan yana diz */
nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}
nav a:hover { color: var(--primary-gold); }

/* MASAÜSTÜNDE GİZLENECEK ÖĞELER */
.menu-toggle { display: none; } /* Hamburger ikonu gizli */
.close-btn { display: none; }   /* Çarpı ikonu gizli */


/* --- MOBİL GÖRÜNÜM (768px ve altı) --- */
@media (max-width: 768px) {
    
    /* 1. Hamburger İkonunu Aç */
    .menu-toggle {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        color: var(--dark-bg);
    }

    /* 2. MENÜYÜ SAĞA GİZLE (SIDEBAR) */
    nav {
        position: fixed;       /* Sayfadan bağımsız sabitle */
        top: 0;
        right: -100%;          /* Ekranın tamamen sağına at (Görünmez) */
        width: 250px;          /* Menü genişliği */
        height: 100vh;         /* Tam boy yükseklik */
        background-color: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s ease; /* Kayma animasyonu */
        z-index: 2000;         /* En üstte */
        display: flex;
        flex-direction: column;
        padding-top: 60px;     /* İçerik üstten başlasın */
    }

    /* 3. Menü Aktif Olunca (JS ekleyecek) */
    nav.active {
        right: 0; /* Ekrana gelsin */
    }

    /* 4. Çarpı (X) Butonunu Göster */
    .close-btn {
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 2rem;
        cursor: pointer;
        color: #333;
    }

    /* 5. Linkleri Alt Alta Diz */
    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f9f9f9;
    }

    nav ul li a {
        display: block;
        padding: 20px;
        font-size: 1rem;
    }
    
    /* Diğer Mobil Düzeltmeler */
    .hero-content h2 { font-size: 2rem; }
    header h1 { font-size: 1.2rem; }
    .container { padding: 15px; }
    .contact-container, .modal-content { flex-direction: column; }
    .modal-content { width: 95%; max-height: 85vh; overflow-y: auto; }
}

/* --- DİĞER CSS (Dokunmana gerek yok, standart stiller) --- */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
}
.hero h2 { color: white; margin-bottom: 10px; }
.btn { padding: 12px 35px; background: #1a1a1a; color: #c5a059; text-decoration: none; border: 1px solid #1a1a1a; display:inline-block; }
.container { max-width: 1200px; margin: 3rem auto; padding: 0 20px;}
.product-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.product-card { width: 280px; background: white; padding-bottom: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; border-radius: 4px; }
.product-image { width: 100%; height: 300px; object-fit: cover; }
.card-details { padding:15px; }
.filter-buttons { text-align: center; margin-bottom: 30px; display:flex; justify-content:center; flex-wrap:wrap; gap:10px; }
.filter-btn { background: none; border: none; padding: 10px; cursor: pointer; color: #777; }
.filter-btn.active { color: #1a1a1a; border-bottom: 2px solid #c5a059; }
.price-tag { display:block; color:#c5a059; font-weight:bold; margin:10px 0; font-family: 'Cinzel', serif;}
.reveal { opacity: 1 !important; transform: none !important; } 
.modal-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.8); display:none; justify-content:center; align-items:center; z-index:2000; }
.modal-overlay.active { display:flex; }
.modal-content { background:white; padding:30px; display:flex; gap:30px; max-width:900px; width:90%; position:relative; }
.contact-container { display:flex; background:white; box-shadow:0 5px 15px rgba(0,0,0,0.05); }
.contact-info, .contact-form-wrapper { flex:1; padding:40px; }
.contact-info { background:#1a1a1a; color:white; }
.form-group input, .form-group textarea { width:100%; padding:10px; margin-bottom:15px; border:1px solid #ddd; }