body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

/* Header için arka plan resmi ve saydamlık ayarı */
header {
    position: relative;
    height: 400px; /* Header yüksekliği */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    z-index: 1;
}

/* Arka plan resmini header'ın tamamını kaplayacak şekilde ekleyelim */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../uploads/background.png') no-repeat center center;
    background-position: center bottom 1%;
    background-size: cover;
    opacity: 0.7;
    z-index: -1;
}

/* Header içeriğinin arka plan resminde düzgün görünmesi için */
.top-bar, .main-header {
    background: transparent !important; /* Beyazlığı kaldır */
    position: relative;
    z-index: 2;
}

/* Header içeriğini daha okunur hale getirmek için gölge efekti */
header * {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}


a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

a:hover {
    color: red;
}

.top-bar {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.language-selector img {
    width: 20px;
    margin-right: 5px;
}

.contact a {
    font-size: 1.5rem;
    color: #ff8c00;   
}

.contact a:hover {
    color: #ff8c00;
}

.main-header {
    background: white;
}

.logo h1 {
    color: red;
    font-size: 2rem;
}

.search-bar input {
    border-radius: 20px;
    padding: 10px;
}

.user-actions button {
    border-radius: 20px;
}

.cart {
    font-weight: bold;
}

.category-nav {
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 10px 0;
}

.category-nav button {
    font-size: 14px;
}

@media (max-width: 768px) {
    .top-nav, .payment-options {
        display: none !important;
    }
    .main-header {
        flex-direction: column;
        text-align: center;
    }
    .search-bar {
        width: 100%;
        margin-top: 10px;
    }
    .user-actions {
        margin-top: 10px;
    }
}

.logo img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%; 
    margin: 0; 
    padding: 0; 
    background: none; 
    box-shadow: none; 
}
.logo {
    height: 140px; /* Header yüksekliğiyle uyumlu hale getir */
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    margin: 0; 
    padding: 0; 
    background-color: transparent !important;
}

.logo a {
    background-color: transparent !important; /* Arka plan rengini tamamen kaldır */
    border: none; /* Kenarlıkları kaldır */
    box-shadow: none; /* Gölgeyi kaldır */
}

/* Sepet İkonu Stili */
.cart-icon-container {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 100;
}

.cart-icon {
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    background-color: #f1f1f1;
    padding: 10px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 5px;
    font-size: 12px;
}

/* Ürün Listeleme */
.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* İçeriği dikey olarak düzenler */
    align-items: center; /* İçeriği yatay olarak ortalar */
    background-color: white;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    width: 220px;
    min-height: 400px; /* Kartların minimum yüksekliğini belirler */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.product img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product h4 {
    margin-top: 10px;
}

.product p {
    font-size: 16px;
    margin-top: 5px;
}

.add-to-cart {
    background-color: #ff8c00;
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.add-to-cart:hover {
    background-color: #ff8c00;
}


.cart-container {
    background-color: #ffc107;  /* Arka plan rengini açık bir ton yapıyoruz */
    padding: 15px;
    border-radius: 15px;  /* Köşeleri yuvarlatıyoruz */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  /* Hafif gölge ekliyoruz */
}

.cart-item {
    background-color: #e0ab0d;  /* Her bir ürün için beyaz arka plan */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.cart-item img {
    max-width: 50px;
    height: auto;
    border-radius: 5px;
}

.cart-item span {
    font-weight: bold;
    margin-right: 10px;
}

#cart-count {
    background-color: #ff5722;  /* Sepet ikonunun arka plan rengi */
    color: white;
    padding: 5px 10px;
    border-radius: 50%;
}

#total-price {
    font-weight: bold;
    font-size: 1.2em;
}

/* Tablo genel stili */
.table {
    background-color: #ffffff; /* Beyaz arka plan */
    border-radius: 10px; /* Yuvarlatılmış köşeler */
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Hafif gölge */
}

.table th {
    background-color: #343a40; /* Koyu gri başlık */
    color: white;
    text-align: center;
    font-size: 1rem;
    padding: 15px;
}

.table td {
    vertical-align: middle;
    text-align: center;
    font-size: 0.9rem;
    padding: 15px;
}

/* Ürün resmi */
.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 10px;
}

/* Buton stili */
.btn-outline-secondary {
    color: #343a40;
    border-color: #343a40;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #343a40;
    color: white;
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}

/* Toplam tutar */
.table tfoot td {
    font-weight: bold;
    font-size: 1.1rem;
    color: #343a40;
}

/* Sepet boş mesajı */
#cart-items .text-center {
    font-size: 1.2rem;
    color: #555;
    margin-top: 20px;
}

#cart-items .text-center h4 {
    font-weight: bold;
    color: #343a40;
}

#cart-items .text-center a {
    text-decoration: underline;
    color: #007bff;
}

#cart-items .text-center a:hover {
    color: #0056b3;
}


/* Tablo genel stili */
.table {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.table th {
    background-color: #343a40;
    color: white;
    text-align: center;
    font-size: 1rem;
    padding: 15px;
}

.table td {
    vertical-align: middle;
    text-align: center;
    font-size: 0.9rem;
    padding: 15px;
}

/* Ürün resmi */
.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 10px;
}

/* Buton stili */
.btn-outline-secondary:hover {
    background-color: #343a40;
    color: white;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}


/* Form genel stili */
form {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Form başlıkları */
form h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #343a40;
}

/* Form alanları */
form .form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
    font-size: 0.9rem;
}

/* Buton stili */
form .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: all 0.3s ease;
}

form .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}



/* Mobil cihazlar için */
@media (max-width: 576px) {
    .header-logo {
        width: 100px;
    }

    .footer-links {
        text-align: center;
    }
}

/* Tabletler için */
@media (max-width: 768px) {
    .main-content {
        padding: 20px;
    }
}