:root {
    --primary: #ffce00; /* MeliMira Sarısı */
    --dark: #111;
    --light: #f9f9f9;
    --text-color: #333;
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }

body { 
    background-color: var(--light); 
    color: var(--text-color); 
    font-family: 'Montserrat', sans-serif; 
    line-height: 1.6; 
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    color: var(--dark);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- HEADER & NAV --- */
header { 
    background: var(--dark); 
    padding: 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.container { 
    max-width: 1200px; 
    margin: auto; 
    padding: 0 20px; 
    width: 100%;
}

/* Flex Container for Header */
.header-inner {
    display: flex;
    justify-content: space-between; /* Logo Sola, Menü Sağa */
    align-items: center;
    height: 100%;
}

.logo { 
    font-size: 1.8rem; 
    font-family: 'Oswald', sans-serif; 
    font-weight: 700; 
    color: var(--primary); 
    letter-spacing: 1px;
    z-index: 1001; /* Mobilde menünün üstünde kalsın */
}
.logo span { color: #fff; }

.nav-links { 
    display: flex; 
    gap: 25px; 
    align-items: center; 
}

.nav-links li a { 
    color: #fff; 
    font-weight: 500; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    padding: 10px 0;
    position: relative;
}

/* Hover Efekti (Altı Çizili) */
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: 5px;
    left: 0;
    transition: 0.3s;
}
.nav-links li a:hover { color: var(--primary); }
.nav-links li a:hover::after { width: 100%; }

/* Buton Stil (WhatsApp) */
.btn-nav {
    background: var(--primary);
    color: var(--dark) !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    font-weight: bold !important;
    font-family: 'Oswald', sans-serif;
}
.btn-nav:hover {
    background: #fff;
    transform: translateY(-2px);
}
.btn-nav::after { display: none; } /* Butonda alt çizgi olmasın */

/* --- HAMBURGER MENU --- */
.burger { 
    display: none; 
    color: var(--primary); 
    font-size: 1.8rem; 
    cursor: pointer; 
    z-index: 1001;
}

/* --- HERO SECTION --- */
.hero { 
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero-bg.jpg'); 
    background-size: cover; 
    background-position: center; 
    color: white; 
    text-align: center; 
    padding: 140px 20px; 
    position: relative;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero span { color: var(--primary); }

/* --- MODERN PAGE TITLE (YENİ BAŞLIK SİSTEMİ) --- */
.page-header {
    text-align: center;
    padding: 60px 20px 40px 20px;
    position: relative;
}
.page-header h2 {
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
}
/* Başlığın arkasına veya altına dekoratif sarı çizgi */
.page-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

/* --- WHATSAPP BOX (İLETİŞİM) --- */
.whatsapp-box {
    background: #fff;
    border: 1px solid #eee;
    border-top: 4px solid #25D366;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.btn-whatsapp-big {
    background: #25D366;
    color: white;
    font-size: 1.1rem;
    padding: 15px 40px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    margin-top: 20px;
}
.btn-whatsapp-big:hover { background: #1ebc57; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }

/* --- ÜRÜN KARTLARI --- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-bottom: 50px; }


/* URUN KARTLARI */
.product-card { 
    background: white; 
    border: 1px solid #eee; 
    transition: 0.3s; 
    border-radius: 8px; /* Kart köşelerini hafif yumuşattım */
    overflow: hidden; /* Resim taşarsa gizle */
}

/* Dikey (Portrait) Resim Ayarı */
.product-img { 
    width: 100%; 
    height: 480px; /* Yüksekliği 250px'den 420px'e çıkardık. Dikey fotoğraflar tam oturacak. */
    object-fit: cover; /* Resmi kutuya yayar */
    object-position: center; /* Resmin ortasını odaklar */
    display: block;
}

/* Mobilde çok uzun durmaması için biraz kısabiliriz (İsteğe bağlı) */
@media (max-width: 768px) {
    .product-img {
        height: 480px;
    }
}

.product-info { padding: 20px; text-align: center; }
.product-title { font-size: 1.2rem; margin-bottom: 5px; }
.product-price { color: var(--primary); font-weight: bold; font-size: 1.3rem; font-family: 'Oswald', sans-serif; }
.btn-card { display: block; border: 2px solid var(--dark); color: var(--dark); padding: 8px; margin-top: 15px; font-weight: 600; font-size: 0.9rem; }
.btn-card:hover { background: var(--dark); color: #fff; }

/* --- FOOTER --- */
footer { background: var(--dark); color: #777; text-align: center; padding: 40px 0; border-top: 5px solid var(--primary); margin-top: auto; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .burger { display: block; } /* Hamburgeri göster */
    
    .nav-links {
        position: absolute;
        top: 80px; /* Header yüksekliği kadar aşağı */
        right: 0;
        width: 100%; /* Tam genişlik */
        background: var(--dark);
        flex-direction: column; /* Linkleri alt alta diz */
        align-items: center;
        gap: 0;
        max-height: 0; /* Kapalıyken yükseklik 0 */
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        border-top: 1px solid #222;
    }
    
    .nav-links.active {
        max-height: 400px; /* Açılınca yükseklik */
        padding-bottom: 20px;
    }

    .nav-links li { width: 100%; text-align: center; }
    .nav-links li a { display: block; padding: 15px; border-bottom: 1px solid #222; }
    /* WhatsApp Butonunu Mobilde Ortalama */
    .btn-nav { 
        display: block !important;      /* Blok eleman gibi davransın */
        width: 80% !important;          /* Genişlik %80 */
        margin: 15px auto !important;   /* Üst/Alt 15px boşluk, Sağ/Sol OTOMATİK (Ortalar) */
        text-align: center;             /* İçindeki yazıyı ortala */
    }
    
    .hero h1 { font-size: 2.2rem; }
}


/* --- ÜRÜN DETAY SAYFASI --- */

/* --- ÜRÜN DETAY SAYFASI --- */

/* Breadcrumb (Navigasyon Yolu) */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: #888;
}
.breadcrumb a { color: #555; font-weight: 500; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { margin: 0 10px; font-size: 0.8rem; color: #ccc; }

/* Ürün Konteyner */
.product-detail-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 80px;
}

/* Sol Taraf: Resim */
.product-gallery {
    flex: 1;
    min-width: 350px;
}
.main-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    height: auto;
    object-fit: cover;
}

/* Sağ Taraf: Bilgiler */
.product-details {
    flex: 1;
    min-width: 350px;
}

/* Başlık ve Fiyat */
.detail-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
}
.detail-category {
    color: var(--primary);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}
.detail-price {
    font-size: 2rem;
    color: var(--dark);
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* Açıklama Metni */
.detail-desc {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Özellik İkonları (Grid) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #444;
    font-weight: 500;
}
.feature-item i {
    color: var(--primary);
    background: var(--dark);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Sipariş Kutusu (Action Box) */
.order-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.order-note {
    background: #fffbe6; /* Açık sarı not alanı */
    border: 1px solid #ffe58f;
    padding: 10px;
    font-size: 0.85rem;
    color: #856404;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* Dev WhatsApp Butonu */
.btn-whatsapp-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 18px;
    border-radius: 8px;
    width: 100%;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp-order:hover {
    background: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Benzer Ürünler Başlığı */
.related-title {
    font-size: 1.5rem;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
    margin-bottom: 30px;
    margin-top: 60px;
}