@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #ffffff;       /* Ana Metin */
    --accent: #00d2ff;        /* Neon Mavi */
    --bg-body: #0a0a0a;       /* Arka Plan */
    --bg-header: #141414;     /* Menü Arka Planı */
    --border: #333333;        /* Çerçeveler */
    --text-muted: #888;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg-body);
    color: var(--primary);
    font-family: 'Jost', sans-serif;
    margin: 0;
    padding: 0;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: var(--accent); }

/* ORTALAYICI */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.top-bar {
    background: #000;
    font-size: 12px;
    padding: 8px 0;
    color: var(--text-muted);
    border-bottom: 1px solid #222;
}
.top-bar .container { display: flex; justify-content: space-between; }

.main-header {
    background-color: var(--bg-header);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo { font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: -1px; white-space: nowrap; }
.logo span { color: var(--accent); }

/* ARAMA KUTUSU */
.search-wrapper {
    flex: 1;
    max-width: 600px;
    position: relative;
    display: flex;
    align-items: center;
}
.search-input {
    width: 100%;
    padding: 10px 20px;
    padding-right: 50px;
    background: #222;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: #fff;
    outline: none;
    font-size: 14px;
}
.search-input:focus { border-color: var(--accent); }
.search-btn {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    width: 35px; height: 35px;
    background: var(--accent);
    border: none; border-radius: 50%;
    cursor: pointer; color: #000;
    display: flex; align-items: center; justify-content: center;
}

/* İKONLAR */
.header-actions { display: flex; gap: 20px; align-items: center; }
.icon-link { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: #aaa; cursor: pointer; position: relative; }
.icon-link:hover { color: #fff; }
.icon-link i { font-size: 20px; margin-bottom: 3px; }
.badge-count {
    position: absolute; top: -5px; right: -5px;
    background: var(--accent); color: #000; font-weight: bold;
    font-size: 10px; width: 16px; height: 16px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* MENÜ */
.nav-bar { background: var(--bg-header); border-bottom: 1px solid var(--border); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; }
.nav-item { padding: 12px 0; font-size: 13px; font-weight: 500; cursor: pointer; color: #ccc; text-transform: uppercase; }
.nav-item:hover { color: var(--accent); border-bottom: 2px solid var(--accent); }

/* HERO BANNER */
.hero {
    margin-top: 20px;
    height: 400px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}
.hero-content {
    position: absolute; top: 50%; left: 50px;
    transform: translateY(-50%);
    max-width: 450px;
    background: rgba(0,0,0,0.85);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    backdrop-filter: blur(5px);
}
.hero h1 { margin: 0 0 10px 0; font-size: 36px; line-height: 1.1; color: #fff; }
.hero p { font-size: 14px; color: #ccc; margin-bottom: 20px; }
.btn-hero {
    padding: 10px 30px;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    border-radius: 5px;
    display: inline-block;
    font-size: 14px;
}
.btn-hero:hover { background: #fff; }

/* ÜRÜNLER */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 25px; margin: 40px 0; }
.card { background: #141414; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: 0.3s; }
.card:hover { transform: translateY(-5px); border-color: var(--accent); }
.img-wrap { height: 240px; overflow: hidden; position: relative; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card:hover img { transform: scale(1.05); }
.card-body { padding: 15px; }
.brand-name { font-size: 10px; color: var(--accent); text-transform: uppercase; font-weight: bold; letter-spacing: 1px; }
.card-title { font-size: 15px; margin: 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.card-price { font-size: 16px; font-weight: bold; color: #fff; margin-top: 5px; }
.btn-add { width: 100%; padding: 8px; background: transparent; border: 1px solid #333; color: #fff; margin-top: 10px; cursor: pointer; border-radius: 4px; font-size: 13px; }
.btn-add:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* MODALLAR */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; backdrop-filter: blur(3px); }
.modal-content { background: #1a1a1a; width: 400px; margin: 80px auto; padding: 25px; border-radius: 10px; border: 1px solid var(--border); position: relative; }
.close-modal { position: absolute; right: 15px; top: 10px; font-size: 24px; cursor: pointer; color: #777; }
.close-modal:hover { color: #fff; }
.form-input { width: 100%; padding: 10px; background: #222; border: 1px solid #333; color: #fff; margin-bottom: 15px; border-radius: 5px; outline: none; }
.form-input:focus { border-color: var(--accent); }
.btn-full { width: 100%; padding: 10px; background: var(--accent); color: #000; border: none; font-weight: bold; cursor: pointer; border-radius: 5px; }
.auth-page { height: 100vh; display: flex; align-items: center; justify-content: center; }
.auth-box { width: 380px; background: #141414; padding: 35px; border-radius: 12px; border: 1px solid #333; text-align: center; }

/* ------------------------------------------- */
/* MOBİL UYUMLULUK DÜZELTMESİ (Yeni Eklendi) */
/* ------------------------------------------- */
@media screen and (max-width: 768px) {
    /* Genel kapları ekrana sığdır */
    .container {
        width: 100%;
        padding: 0 15px;
    }

    /* Üst Başlık: Logo, Arama, İkonlar alt alta */
    .header-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Logo ortalansın */
    .logo {
        margin-bottom: 5px;
    }

    /* Arama kutusu tam genişlik */
    .search-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    /* İkonlar ortalansın */
    .header-actions {
        justify-content: center;
        width: 100%;
    }

    /* Menü linkleri sığmazsa alt alta geçsin */
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .nav-item {
        font-size: 12px;
        padding: 8px;
    }

    /* Banner yüksekliği mobilde küçülsün */
    .hero {
        height: 200px;
    }

    /* Ürünler mobilde yan yana 2 tane sığsın */
    .product-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
        margin: 20px 0;
    }
    
    /* Ürün resimleri mobilde biraz daha küçük olabilir */
    .img-wrap {
        height: 160px;
    }
    
    .card-body {
        padding: 10px;
    }
    
    .modal-content {
        width: 90%;
        margin: 40px auto;
    }
}


# Eğer css klasöründeyse:

/* --- RESİM BÜYÜTME (LIGHTBOX) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--accent);
}

@keyframes zoomIn {
    from {transform: scale(0.5); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Kart üzerindeki resim efekti */
.card .img-wrap img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.card .img-wrap img:hover {
    transform: scale(1.1); /* Mouse ile üzerine gelince hafif büyür */
}
