/* ===========================
   ÜMUMİ
=========================== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
}

/* ===========================
   HEADER
=========================== */
header {
    width: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    color: #333;
}

nav a {
    margin-right: 20px;
    text-decoration: none;
    font-size: 17px;
    color: #333;
}

nav a:hover {
    color: #ff6600;
}

/* Giriş Butonu */
.login-btn {
    background: #ff6600;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.login-btn:hover {
    background: #e65500;
}

.icon {
    margin-right: 5px;
}

/* ===========================
   AXTARIŞ KUTUSU
=========================== */
.search-box {
    width: 100%;
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.search-box input {
    width: 40%;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: 16px;
}

.search-box button {
    padding: 12px 20px;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 16px;
}

.search-box button:hover {
    background: #e65500;
}

/* ===========================
   KARTLAR
=========================== */
.title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.container {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    cursor: pointer;
    transition: 0.25s;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    width: 100%;
    border-radius: 10px;
}

.card h3 {
    font-size: 18px;
    margin: 12px 0;
}

.price {
    font-size: 20px;
    color: #ff6600;
    font-weight: bold;
}

/* ===========================
   MOBİL UYĞUNLUQ
=========================== */
@media (max-width: 600px) {

    .search-box input {
        width: 65%;
    }

    nav a {
        margin-right: 10px;
        font-size: 15px;
    }

    .container {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .card h3 {
        font-size: 16px;
    }
}
