body {
    margin: 0;
    font-family: 'Playfair Display', 'Georgia', serif; 
    /* Layout sorunlarını gidermek için temel arka plan ve scroll ayarları */
    background: radial-gradient(circle at 70% 50%, #1c3b57, #0b1a2e 60%);
    padding:0;
    color: #f5dba5;
}
.full {
    position: relative;
    width: 100%;

   height: 100%;
    box-sizing: border-box;
}
.logo a{
    color: #f5dba5;
text-decoration: none;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    /* Hafif şeffaflık ve blur */
    background: rgba(11, 26, 46, 0.9); 
    backdrop-filter: blur(5px);
}
/* Menü masaüstünde yatay */
.menu {
    display: flex; 
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: #e0e0e0;
    margin-left: 30px;
    font-size: 16px;
    font-weight: 300;
    transition: color 0.3s;
    font-family: sans-serif; 
}

.menu a:hover {
    color: #f5dba5;
}
#cartIcon {
    font-weight: bold;
    color: #f5dba5 !important;
}

/* HAMBURGER DÜĞMESİ: Büyük ekranlarda daima gizli */
.hamburger {
    display: none !important; 
    background: none;
    border: none;
    color: #f5dba5;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001; 
}

#cartIcon {
    font-weight: bold;
    color: #f5dba5 !important;
}
.cloud {
    width: 100%;
    height: 100%;
}
.shop {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.shop-circle {
    border: 1px solid #f5dba5;
    margin:0;
    padding:1px;
    width: 100px;
    text-align: center;

}
/* --- HERO SECTION (SHOP NOW HAREKETİ) --- */
.hero {
    /* Navbar yüksekliği kadar boşluk bırakır */
    margin-top: 60px; 
    left:0;
    position: relative;
    width: 100%;
    height: 99%; /* Kalan ekran yüksekliğini kapla */
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    padding: 0; 

    
    box-sizing: border-box;
    overflow: hidden;
    flex-direction: row;
}
.hero-girl{
    height: 90%;
}
.hero-left-half{
    width: 30%;
}
.hero-right-half {
    position: relative;
    width: 70%;
    height: 90vh;
        background-image: url('../hero.webp');
    background-position: center center;

  /* 3. Resmi tekrar etmeyin */
  background-repeat: no-repeat;
box-sizing: border-box;

  background-size: cover;
}

/* --- KATEGORİ FİLTRE STİLLERİ --- */
.mallar {
    /* Hero animasyonu sonrası Navbar'ın altından başlar */
    display: none;
    flex-direction: row;
    min-height: 100vh; 
    padding-top: 80px; 
    padding-bottom: 50px;
    box-sizing: border-box;
    width: 100%;
}

.categori {
    position: sticky; 
    top: 80px; /* Navbar'ın altından başlasın */     
    display: flex;
    flex-direction: column;
    width: 20%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.filter-controls {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(145deg, #132840, #0e1e30);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    position: sticky;
    top: 80px;
}

.filter-controls h3 {
    color: #f5dba5;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(245, 219, 165, 0.2);
    padding-bottom: 10px;
    font-size: 18px;
}

.filter-btn {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    text-align: left;
    border-radius: 5px;
}

.filter-btn:hover {
    background: #1c3b57;
    border-color: #f5dba5;
}

.filter-btn.active {
    background: #f5dba5;
    color: #0b1a2e;
    font-weight: bold;
}


/* --- ÜRÜN LİSTESİ STİLLERİ --- */
.products {
    position: relative;
    width: 80%;
    height: auto; 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 30px 0 10px;
    box-sizing: border-box;
    overflow-y: visible; 
}

.card {
    background: linear-gradient(145deg, #132840, #0e1e30);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: contain; 
    border-radius: 15px;
    margin-bottom: 15px;
}
.view-detail-btn {
    background: #f5dba5;
    color: #0b1a2e;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s;
}

/* --- OVERLAY GENEL STİLLERİ --- */
.product-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); 
    z-index: 2000; 
    display: none; 
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.detail-content {
    background: #1c3b57;
    padding: 40px;
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-detail-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 36px;
    font-weight: 300;
    color: #f5dba5;
    cursor: pointer;
    transition: color 0.2s;
}

.detail-body {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}
.detail-body img {
    width: 40%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}
.detail-info {
    width: 60%;
}

.detail-price {
    font-size: 28px;
    color: #f5dba5;
    font-weight: bold;
    margin: 10px 0 20px 0;
}

.order-box {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.order-input {
    width: 50px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #0b1a2e;
    text-align: center;
}
#addToCartBtn {
    background: #f5dba5;
    color: #0b1a2e;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 10px;
    transition: background 0.3s;
}
/* --- SEPET LİSTESİ STİLLERİ (Yeni Kart Görünümü) --- */

.cart-content {
    max-width: 700px;

    /* Daha küçük, sepet formatına uygun bir arka plan */

    background: linear-gradient(160deg, #183350, #0f1e33);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

/* Tabloyu kaldırıp listeyi sarmalayan yeni alan */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Ürünler arasına boşluk */
    margin-top: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #0e1e30; /* Arka plan rengini sitenizin koyu tonuna ayarladık */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(245, 219, 165, 0.1);
}

/* --- SİPARİŞ ONAY KART STİLLERİ --- */

#confirmationArea {
    padding-top: 15px;
}

#confirmationCartList {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(245, 219, 165, 0.2);
    border-radius: 8px;
    max-height: 250px; /* Belirli bir yükseklikte kaydırma çubuğu */
    overflow-y: auto;
    background: #0e1e30;
}

.cart-item-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted rgba(245, 219, 165, 0.1);
}

.cart-item-summary-card img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.summary-details {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    font-size: 14px;
}

.summary-name {
    color: #e0e0e0;
}

.summary-subtotal {
    font-weight: bold;
    color: #f5dba5;
}

/* Form alanları için genel stil (Daha önceki form stilleri yoksa ekleyin) */
#customerForm label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #e0e0e0;
}
#customerForm input[type="text"],
#customerForm input[type="tel"],
#customerForm textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #3d6088;
    border-radius: 5px;
    box-sizing: border-box;
    background: #1c3b57;
    color: #f5dba5;
}
#customerForm textarea {
    resize: vertical;
}
.item-info {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 50%; /* Ürün bilgisi sol tarafı kaplasın */
}

.item-info img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 5px;
    border: 1px solid rgba(245, 219, 165, 0.2);
}

.item-details h3 {
    margin: 0;
    font-size: 16px;
    color: #e0e0e0;
}

.item-price-mobile {
    /* Başlangıçta gizli, mobilde görünecek */
    display: none; 
    font-size: 14px;
    color: #f5dba5;
    margin-top: 5px;
}

.item-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px; /* Kontrol alanları arasındaki boşluk */
    width: 50%; /* Kontrol sağ tarafı kaplasın */
    font-family: sans-serif;
}

.price-desktop, .total-desktop {
    min-width: 60px;
    text-align: right;
    font-weight: bold;
    color: #f5dba5;
}

/* Adet Değiştirme Kutusu Stili */
.quantity-box {
    display: flex;
    align-items: center;
    border: 1px solid rgba(245, 219, 165, 0.3);
    border-radius: 5px;
    overflow: hidden;
}

.qty-btn {
    background: transparent;
    color: #f5dba5;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.qty-btn:hover {
    background-color: #1c3b57;
}

.qty-display {
    padding: 5px 10px;
    color: #e0e0e0;
    font-size: 14px;
    border-left: 1px solid rgba(245, 219, 165, 0.1);
    border-right: 1px solid rgba(245, 219, 165, 0.1);
}

.remove-item-btn {
    background: #dc3545; /* Kırmızı silme butonu */
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.remove-item-btn:hover {
    background: #c82333;
}

/* Mobil Görünüm Düzeltmeleri */



.checkout-btn {
    background: #28a745; 
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.4);
}

.checkout-btn:hover {
    background: #1e7e34;
}

/* --- RESPONSIVE DÜZELTME --- */
@media(max-width: 1024px) {
       .hamburger { 
        display: block !important; /* Mobil ekranda zorla göster */
    }
    .full {
        margin:0;
        top:0;
    }
 .menu { 
        display: flex; 
        flex-direction: column;
        
        /* Ekranın sağ kenarına sabitlenir */
        position: fixed; 
        top: 0; 
        right: 0; 
        
        width: 70%; /* Ekranın %70'ini kaplasın */
        height: 100%; /* Tam yüksekliği kaplasın */
        
        background: #0b1a2e; 
        box-shadow: -5px 0 15px rgba(0,0,0,0.5); /* Soldan gölge */
        z-index: 999; 
        padding-top: 80px; /* Navbar'ın altından başlasın */
        
        /* Başlangıçta ekranın dışına kaydır */
        transform: translateX(100%);
        transition: transform 0.4s ease-out; /* Yumuşak geçiş */
    }
    
    /* MENÜ AÇIKKEN: Ekranın içine kaydırılır */
    .menu.open { 
        transform: translateX(0) !important; 
        /* Diğer display flex/block kuralları artık transform ile yönetiliyor */
    }
    
    .menu a { 
        margin-left: 0;
        padding: 15px; 
        border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
        width: 100%; 
        text-align: center; 
        box-sizing: border-box; /* Padding'in genişliğe dahil olması için */
        background: #0b1a2e; 

    }
    .hero { 
        margin:0;
        top:0;
        
        box-sizing: border-box;
        height: 95vh;
     }
     .cloud {
        position: absolute;
        top:90px;
        width: 200px;
        height: 200px;
     }
     .shop {
        padding:10px;
     }
     .hero-right-half {

        width: 70%;
        background-size:160%;
     }
     

    .mallar { padding-top: 80px; flex-direction: column; }
    
    .categori { 
        width: 100%; 
        height: auto; 
        position: relative; 
        padding: 10px 0; 
        top: 0;
    }
    .filter-controls { 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 10px; 
        padding: 15px; 
        position: relative;
        top: 0;
    }
    .filter-btn { width: auto; margin: 0; }
    .products { width: 100%; padding: 10px; }

    .detail-body { flex-direction: column; }
    .detail-body img, .detail-info { width: 100%; }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .item-info {
        width: 100%;
        margin-bottom: 10px;
    }
    .item-controls {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        padding-top: 10px;
        border-top: 1px dashed rgba(245, 219, 165, 0.1);
    }
    
    /* Mobil görünümde bazı sütunları gizle */
    .price-desktop, .total-desktop {
        display: none;
    }
    
    /* Mobil görünümde fiyatı item-details içinde göster */
    .item-price-mobile {
        display: block; 
    }

    .remove-item-btn {
        padding: 8px; /* Daha büyük tıklama alanı */
    }
}