/* Çisem Logolu Şeker - En Güncel Stil Dosyası
    Özellikler: SEO Uyumlu, Tam Mobil Duyarlı, Karanfil Odaklı
*/

/* --- GENEL AYARLAR --- */
:root { 
    --primary: #e74c3c; /* Canlı Kırmızı */
    --dark: #222; 
    --light: #f9f9f9; 
    --text: #333; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif; 
    scroll-behavior: smooth; 
}

body { 
    line-height: 1.7; 
    color: var(--text); 
    background: #fff; 
    font-size: 16px; 
    overflow-x: hidden; 
}

.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: auto; 
}

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

/* --- HEADER & NAVIGASYON --- */
header { 
    background: var(--primary); 
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
}

.logo img { 
    height: 100px; /* Logo büyük ve dikkat çekici */
    width: auto; 
    transition: 0.3s; 
}

nav ul { 
    display: flex; 
    list-style: none; 
    flex-wrap: wrap; 
}

nav ul li a { 
    text-decoration: none; 
    color: #fff; 
    padding: 10px 18px; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 14px; 
    transition: 0.3s; 
}

nav ul li a:hover { 
    color: #f1c40f; 
}

/* --- SLIDER (333.png & 888.png) --- */
.slider-container { 
    position: relative; 
    height: 550px; 
    overflow: hidden; 
    background: #fff; /* Siyah arka plan kaldırıldı */
}

.slide { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
}

.slide.active { 
    opacity: 1; 
}

.slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: none; /* Resimler kararmaz, olduğu gibi canlı görünür */
}

/* --- İÇERİK ALANLARI --- */
.section-title { 
    text-align: center; 
    padding: 50px 0 30px; 
    font-size: 32px; 
    color: var(--primary); 
    font-weight: bold; 
    text-transform: uppercase; 
}

/* ÖZEL GALERİ (777.png ve 999.png) */
.special-gallery { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin: 40px 0; 
}

.special-gallery img { 
    width: 100%; 
    border-radius: 15px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); 
    transition: transform 0.3s;
}

.special-gallery img:hover {
    transform: scale(1.02);
}

/* ÜRÜN KARTLARI (GRID SİSTEMİ) */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 25px; 
    padding: 30px 0; 
}

.card { 
    border: 1px solid #eee; 
    padding: 20px; 
    text-align: center; 
    border-radius: 12px; 
    transition: 0.3s; 
    background: #fff; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
    border-color: var(--primary);
}

.card img { 
    width: 100%; 
    height: 230px; 
    object-fit: contain; 
    margin-bottom: 15px; 
}

.card h3 { 
    font-size: 17px; 
    color: var(--dark); 
    text-transform: uppercase; 
    font-weight: 700;
}

/* --- FOOTER --- */
footer { 
    background: var(--dark); 
    color: #170101; 
    padding: 60px 0 20px; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px; 
}

footer h4 { 
    color: var(--primary); 
    margin-bottom: 20px; 
    font-size: 18px; 
    text-transform: uppercase;
}

footer p, footer a { 
    color: #ccc; 
    text-decoration: none; 
    font-size: 14px; 
    display: block; 
    margin-bottom: 10px; 
}

footer a:hover { 
    color: #fff; 
}

.footer-bottom { 
    text-align: center; 
    padding-top: 40px; 
    border-top: 1px solid #333; 
    margin-top: 40px; 
    color: #777; 
    font-size: 13px; 
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */
@media (max-width: 768px) {
    .navbar { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .logo img { 
        height: 80px; 
        margin-bottom: 15px; 
    }
    
    nav ul { 
        justify-content: center; 
    }
    
    nav ul li a { 
        padding: 8px 10px; 
        font-size: 12px; 
    }
    
    .slider-container { 
        height: 350px; /* Mobilde slider boyutu dengelendi */
    }
    
    .special-gallery { 
        grid-template-columns: 1fr; /* Mobilde resimler alt alta */
    }
    
    .section-title { 
        font-size: 24px; 
    }

    .grid {
        grid-template-columns: 1fr; /* Mobilde ürünler tek sıra */
        padding: 10px;
    }
}
.footer-bottom a:hover {
    color: var(--primary) !important; /* Üzerine gelince marka kırmızısına dönüşür */
    text-decoration: underline;
}