/* 🖼️ SİTE GENEL ARKA PLAN RESMİ */
body {
    margin: 0;
    background: url("resimler/havasorarkaplan.jpg") center/cover fixed;
    color: #f5f5f5;
    font-family: "Poppins", sans-serif;
}

/* HAMBURGER BUTONU */
#hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 32px;
    cursor: pointer;
    z-index: 100000; /* HER ŞEYİN ÜSTÜNDE */
}

/* SOL MENÜ */
#sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    background: rgba(0,0,0,0.93);

    /* 🔒 TARAYICI UYUMLU BLUR (uyarı normaldir) */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    padding: 70px 24px;
    transition: 0.35s;
    z-index: 99999;
}
#sidebar.open { left: 0; }

#sidebar a {
    display: block;
    color: #f5f5f5;
    text-decoration: none;
    padding: 10px 0;
    font-size: 18px;
}

/* ANA İÇERİK */
main {
    position: relative;
    z-index: 1;
}

/* 🔒 ÜRÜNLER ASLA ÜSTE ÇIKAMAZ */
.products-section,
.product-row,
.product-card {
    position: relative;
    z-index: 1;
}

/* HAVASOR BAŞLIK */
.title {
    text-align: center;
    margin-top: 60px;
    font-size: 48px;
    letter-spacing: 14px;
    font-weight: 300;
}

.line {
    width: 65%;
    height: 2px;
    background: #ffffff;
    opacity: 0.6;
    margin: 12px auto 30px auto;
}

/* ARAMA */
.search-box {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-box input {
    width: 70%;
    max-width: 500px;
    padding: 12px 18px;
    border-radius: 40px;
    border: none;
    outline: none;
    font-size: 16px;
    background: rgba(0,0,0,0.65);
    color: #f5f5f5;
}

/* ÜST BÜYÜK RESİM */
.hero-wrapper {
    width: 100%;
    padding: 0 32px;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.hero-wrapper img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 18px;
    border: 5px solid rgba(0,0,0,0.95);
    box-shadow: 0 0 22px rgba(0,0,0,0.75);
}

/* ÜRÜNLER ANA BLOK */
.products-section {
    width: 100%;
    padding: 0 32px;
    box-sizing: border-box;
}

/* 🔥 TAM 4'LÜ GRID – SAĞ SOL TAM DOLU */
.product-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 28px;
}

/* KUTU STİLİ */
.product-card {
    background: rgba(5,7,15,0.9);
    border-radius: 16px;
    border: 1px solid #262a3b;
    overflow: hidden;
    cursor: pointer;
    transition: 0.25s;
    width: 100%;
}

.product-card a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.product-card img {
    width: 100%;
    height: 265px;
    object-fit: cover;
}

.product-name {
    text-align: center;
    padding: 10px 6px;
    font-size: 15px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.7);
}

/* UZUN GÖRSEL */
.long-image-wrapper {
    width: 100%;
    padding: 0 32px;
    box-sizing: border-box;
    margin: 40px 0;
}

.long-image-wrapper img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    border: 5px solid rgba(0,0,0,0.95);
    box-shadow: 0 0 22px rgba(0,0,0,0.75);
}

/* FOOTER */
footer {
    margin-top: 50px;
    padding: 40px;
    text-align: center;
    background: rgba(0,0,0,0.9);
    border-top: 1px solid #262a3b;
}

/* 📱 MOBİL */
@media (max-width: 768px) {

    .product-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .product-card img {
        height: 160px;
    }

    .product-name {
        font-size: 12px;
    }

    .hero-wrapper img {
        height: 200px;
    }

    .long-image-wrapper img {
        height: 180px;
    }

    .title {
        font-size: 28px;
        letter-spacing: 8px;
    }
}
