:root {
    --primary: #29b6f6; /* Açık Mavi */
    --primary-dark: #0288d1;
    --bg-light: #e1f5fe; /* Çok açık mavi arka plan */
    --white: #ffffff;
    --text: #37474f;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

body { background-color: var(--bg-light); color: var(--text); padding-bottom: 50px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar { background: var(--white); padding: 15px 0; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--primary-dark); font-size: 1.5rem; text-decoration: none; font-weight: bold; }
.cart-icon { position: relative; cursor: pointer; font-size: 1.5rem; color: var(--primary-dark); }
#cart-count {
    position: absolute; top: -8px; right: -10px; background: #ff5252; color: white;
    font-size: 0.8rem; width: 20px; height: 20px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #81d4fa 0%, #4fc3f7 100%);
    color: white; text-align: center; padding: 60px 20px;
    border-bottom-left-radius: 50px; border-bottom-right-radius: 50px; margin-bottom: 40px;
}
.hero h2 { font-size: 2rem; margin-bottom: 10px; }
.btn-hero {
    display: inline-block; background: white; color: var(--primary);
    padding: 10px 30px; border-radius: 25px; text-decoration: none;
    font-weight: bold; margin-top: 20px; transition: 0.3s;
}

/* Ürün Grid */
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px;
}
.product-card {
    background: var(--white); border-radius: 15px; overflow: hidden;
    box-shadow: var(--shadow); text-align: center; padding-bottom: 20px; transition: transform 0.3s;
}
.product-card:hover { transform: translateY(-5px); }
.product-card img { width: 100%; height: 250px; object-fit: cover; }
.product-card h3 { margin: 15px 0 5px; font-size: 1.2rem; }
.product-card .price { color: var(--primary-dark); font-weight: bold; font-size: 1.3rem; }
.btn-add {
    background: var(--primary); color: white; border: none;
    padding: 10px 25px; border-radius: 20px; cursor: pointer; margin-top: 10px;
    font-weight: bold; transition: 0.2s;
}
.btn-add:hover { background: var(--primary-dark); }

/* Sepet Modal */
.cart-modal {
    position: fixed; top: 0; right: -100%; width: 350px; height: 100%;
    background: white; box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    z-index: 1001; transition: 0.3s; display: flex; flex-direction: column;
}
.cart-modal.active { right: 0; }
.cart-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1000;
}
.cart-overlay.active { display: block; }
.cart-header { padding: 20px; background: var(--primary); color: white; display: flex; justify-content: space-between; align-items: center; }
.close-btn { background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }
.cart-items { flex: 1; padding: 20px; overflow-y: auto; }
.cart-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.cart-footer { padding: 20px; background: #f9f9f9; border-top: 1px solid #eee; }
.total { font-size: 1.2rem; font-weight: bold; margin-bottom: 15px; text-align: right; }
.btn-checkout {
    width: 100%; background: #25D366; color: white; border: none;
    padding: 15px; border-radius: 5px; font-weight: bold; cursor: pointer; font-size: 1rem;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-checkout:hover { background: #1ebc57; }

/* Mobil Uyum */
@media (max-width: 600px) {
    .cart-modal { width: 100%; }
}
    /* --- Footer Tasarımı --- */
.site-footer {
    background-color: #263238; /* Koyu Gri/Mavi Tonu */
    color: #eceff1;
    padding-top: 50px;
    margin-top: 60px; /* Ürünlerden biraz aşağıda olsun */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-brand h3 {
    color: var(--primary); /* Sitenin ana mavisi */
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-brand p {
    max-width: 300px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-contact h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    font-weight: bold;
    width: fit-content;
}

/* Instagram Buton Rengi */
.social-btn.insta {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.social-btn.insta:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}

/* Mail Buton Rengi */
.social-btn.mail {
    background: #37474f;
    border: 1px solid #546e7a;
}
.social-btn.mail:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    background-color: #1c2529; /* Footer'ın bir ton koyusu */
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #b0bec5;
    border-top: 1px solid #37474f;
}

/* Mobilde footer elemanlarını alt alta al */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto; /* Metni ortala */
    }
    
    .contact-links {
        align-items: center; /* Butonları ortala */
    }
}
/* --- Referans (Para Kazanma) Linki Tasarımı --- */
.footer-referral {
    width: 100%; /* Tüm genişliği kaplasın */
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #37474f; /* Üstüne ince bir çizgi çektik */
}

.footer-referral p {
    font-size: 0.9rem;
    color: #b0bec5;
    margin-bottom: 10px;
}

.ref-btn {
    display: inline-block;
    background-color: #4caf50; /* Yeşil renk (Güven ve Para rengi) */
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.ref-btn:hover {
    background-color: #43a047;
    transform: translateY(-3px); /* Üzerine gelince hafif yukarı kalkar */
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.ref-btn i {
    margin-right: 8px;
}
/* --- MOBİL MENÜ DÜZENLEMESİ --- */
@media (max-width: 768px) {
    /* Menü kutusunu dikey hale getir */
    .nav-container {
        flex-direction: column; /* Yan yana değil, alt alta olsun */
        gap: 15px; /* Aralarına boşluk koy */
    }

    /* Logoyu biraz büyüt ve ortala */
    .logo {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }

    /* Giriş/Kayıt ve Sepet kısmını ortala ve hizala */
    .nav-container > div {
        display: flex;
        flex-wrap: wrap; /* Sığmazsa alt satıra geçsin */
        justify-content: center; /* Ortala */
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    /* Giriş ve Kayıt butonlarını biraz daha belirgin yap */
    .auth-buttons {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .auth-buttons a {
        padding: 8px 12px; /* Dokunması kolay olsun diye büyüt */
        font-size: 0.9rem;
    }
}