/* Hepsimania Temel Stilleri */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    min-height: 100vh;
}

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

/* HEADER */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: #2563eb;
    font-size: 28px;
    font-weight: 700;
}

/* LOKASYON SEÇİCİ */
.location-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.location-icon {
    font-size: 18px;
}

.location-dropdown {
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

/* ARAMA ÇUBUĞU */
.search-hero {
    display: flex;
    flex: 1;
    max-width: 500px;
    min-width: 300px;
}

#mainSearch {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #2563eb;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
    outline: none;
}

.search-btn {
    padding: 12px 24px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 600;
}

/* KULLANICI MENÜSÜ */
.user-menu {
    display: flex;
    gap: 12px;
}

.btn-login, .btn-register {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.btn-login {
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-register {
    background: #2563eb;
    color: white;
}

/* KATEGORİLER */
.categories {
    padding: 60px 0;
    text-align: center;
}

.categories h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.category-card span {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

/* ÜRÜNLER */
.featured-products {
    background: white;
    padding: 60px 0;
    border-radius: 30px 30px 0 0;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #1e293b;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.loading {
    text-align: center;
    padding: 60px;
    font-size: 20px;
    color: #64748b;
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-hero {
        max-width: 100%;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
