:root {
    --primary: #94d2bd;
    --primary-dark: #0081a7;
    --bg: #f4f7f6;
    --dark: #333;
    --white: #ffffff;
    --success: #2ecc71;
}

/* 1. Genel Sıfırlama ve Sayfa Yapısı */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif; 
}

body { 
    background: var(--bg); 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    align-items: center; /* Tüm içeriği yatayda ortalar */
    color: var(--dark); 
}

/* 2. Konteyner ve Düzen */
.container { 
    width: 100%; 
    max-width: 1000px; 
    padding: 20px; 
    flex: 1; /* Footer'ı aşağı itmek için */
}

.navbar {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    background: var(--white); 
    padding: 15px 25px; 
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    margin-bottom: 30px;
    width: 100%;
}

.logo { 
    font-size: 24px; 
    font-weight: 700; 
    color: var(--primary-dark); 
}

.nav-items button {
    background: none; 
    border: none; 
    padding: 10px 15px; 
    cursor: pointer; 
    color: var(--dark); 
    font-weight: 500;
    transition: 0.2s;
}

.nav-items button:hover { 
    color: var(--primary-dark); 
}

/* 3. Ürün Izgarası (Grid) - Yan Yana Dizilim */
.product-grid { 
    display: grid; 
    /* Kutuları küçültmek için min-width 180px yaptık */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 20px; 
    justify-content: center;
    width: 100%;
}

/* 4. Ürün Kartı Stili */
.product-card { 
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    text-align: center; 
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img { 
    max-width: 100px; /* Resim boyutunu küçülttük */
    height: auto;
    margin: 0 auto 15px auto; 
    display: block;
}

.product-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.product-desc {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 10px;
    line-height: 1.4;
}

.price { 
    font-size: 1.1rem; 
    font-weight: 600; 
    color: var(--primary-dark); 
    margin-bottom: 15px; 
}

/* 5. Yeşil Stok Butonu */
.btn-stok {
    background-color: var(--success) !important;
    color: var(--white) !important;
    border: none; 
    padding: 10px; 
    border-radius: 8px;
    font-weight: 600; 
    font-size: 0.85rem;
    cursor: default;
    width: 100%;
}

/* 6. Footer (Alt Kısım) */
footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    color: #888;
    background: var(--white);
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

/* Mobil Ayarlar */
@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
}
:root {
    --primary: #0ea5e9;
    --dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body.home-body { background: var(--bg-light); color: var(--text-main); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.main-nav { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid #e2e8f0; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; height: 80px; padding: 0 20px; }
.logo { font-size: 24px; font-weight: 700; color: var(--dark); text-decoration: none; }
.logo span { color: var(--primary); }
.nav-menu a { text-decoration: none; color: var(--text-main); margin-left: 30px; font-weight: 500; transition: 0.3s; font-size: 15px; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.admin-link { color: var(--text-muted); font-size: 20px; transition: 0.3s; }
.admin-link:hover { color: var(--primary); }

/* Hero Section */
.hero { text-align: center; padding: 100px 20px; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
.hero h1 { font-size: 3rem; color: var(--dark); margin-bottom: 15px; font-weight: 700; }
.hero p { font-size: 1.2rem; color: var(--text-muted); }

/* Section Title */
.section-title { margin-bottom: 40px; }
.section-title h2 { font-size: 24px; color: var(--dark); }
.section-title .line { width: 50px; height: 4px; background: var(--primary); margin-top: 8px; border-radius: 2px; }

/* Modern Product Cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; padding-bottom: 60px; }
.modern-card { background: var(--white); border-radius: 20px; overflow: hidden; transition: 0.4s; cursor: pointer; border: 1px solid #f1f5f9; position: relative; }
.modern-card:hover { transform: translateY(-10px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }

.image-wrapper { background: #f1f5f9; padding: 40px; display: flex; align-items: center; justify-content: center; height: 250px; }
.image-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; transition: 0.5s; }
.modern-card:hover .image-wrapper img { transform: scale(1.1); }

.card-info { padding: 25px; }
.category { font-size: 12px; text-transform: uppercase; color: var(--primary); font-weight: 600; letter-spacing: 1px; }
.card-info h3 { margin: 10px 0; font-size: 18px; color: var(--dark); }

.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; }
.price { font-size: 20px; font-weight: 700; color: var(--dark); }
.view-btn { background: var(--dark); color: white; border: none; width: 40px; height: 40px; border-radius: 12px; cursor: pointer; transition: 0.3s; }
.modern-card:hover .view-btn { background: var(--primary); }

/* Footer */
footer { background: var(--white); border-top: 1px solid #e2e8f0; padding: 60px 0; text-align: center; }
.footer-content .logo { margin-bottom: 20px; display: inline-block; }
.footer-content p { color: var(--text-muted); font-size: 14px; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-menu { display: none; }
}
/* Soft ve Modern Form Tasarımı */
.auth-body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
}

.auth-card h2 {
    color: #333;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

.auth-card p {
    color: #777;
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 40px;
    color: #aaa;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px 12px 40px; /* İkon için boşluk */
    border: 1px solid #eee;
    border-radius: 12px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #333;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

.auth-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #333;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #e11d48; /* Asel Home vurgu rengi */
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: #e11d48;
    text-decoration: none;
    font-weight: 600;
}
.settings-card {
    display: block; /* Varsayılan olarak görünür */
}
#bakiye, #siparisler, #kupon, #sifre {
    display: none; /* Başlangıçta gizli tutalım ki sadece profil görünsün */
}