/* =====================================================================
   ANASAYFA — Temiz, Hava Alan, Mobil Uyumlu Tasarım
   Son Güncelleme: 2026-06-17
   ===================================================================== */

/* ─── HERO SLIDER ─── */
.hero {
    position: relative;
    margin-bottom: 0;
}

/* Mobilde hero, fixed header offset'i yok sayar — tam yapışık başlar */
@media (max-width: 860px) {
    .ana-icerik > .hero:first-child { margin-top: -12px; }
}

.hero-slider {
    position: relative;
    height: clamp(380px, 50vw, 520px);
    overflow: hidden;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
}

.hero-slayt {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity .8s ease;
    color: #fff;
}

.hero-slayt.aktif {
    opacity: 1;
}

.hero-slayt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46,33,23,.6) 0%, rgba(46,33,23,.35) 100%);
    z-index: 1;
}

.hero-varsayilan {
    background: var(--kahve-koyu);
}

/* Resim yüklenemezse her slayt için fallback arka plan */
.hero-slayt {
    background-color: var(--kahve-koyu);
}

.hero-ic {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 0 clamp(24px, 5vw, 56px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.hero-ic h1 {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    color: #fff;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.hero-ic p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 28px;
    opacity: .92;
    max-width: 32em;
    line-height: 1.6;
}

.hero-btn {
    background: #fff;
    color: var(--kahve-koyu);
    border-color: #fff;
    font-weight: 700;
    padding: 14px 32px;
    font-size: 15px;
}

.hero-btn:hover {
    background: var(--altin);
    color: #fff;
    border-color: var(--altin);
}

/* Hero oklar */
.hero-ok {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.92);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--kahve);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
    z-index: 3;
}

.hero-ok:hover {
    background: #fff;
    color: var(--kahve-koyu);
    transform: translateY(-50%) scale(1.08);
}

.hero-onceki { left: 24px; }
.hero-sonraki { right: 24px; }

/* Hero nokta göstergeleri */
.hero-noktalar {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-nokta {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: none;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.hero-nokta.aktif {
    background: #fff;
    transform: scale(1.3);
}

.hero-nokta:hover {
    background: rgba(255,255,255,.85);
}

/* ─── AVANTAJ ŞERİDİ ─── */
.avantaj-seridi {
    background: #fff;
    padding: 36px 0;
    border-bottom: 1px solid var(--cizgi);
}

.avantaj-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.avantaj {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: var(--zemin);
    border-radius: 12px;
    border: 1px solid var(--cizgi);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.avantaj:hover {
    border-color: var(--cizgi-koyu);
    box-shadow: var(--golge-sm);
}

.avantaj-ikon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--krem-koyu);
    color: var(--ceviz);
    flex-shrink: 0;
}

.avantaj strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--koyu);
    margin-bottom: 3px;
}

.avantaj small {
    color: var(--gri);
    font-size: 13px;
}

/* ─── BÖLÜMLER (Genel) ─── */
.bolum {
    padding: 64px 0;
}

.bolum-krem {
    background: #fff;
}

.bolum-kampanya {
    padding: 36px 0;
}

.bolum-baslik {
    margin-bottom: 36px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.bolum-baslik > div {
    position: relative;
    padding-top: 20px;
}

.bolum-baslik > div::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 3px;
    background: var(--altin);
    border-radius: 3px;
}

.bolum-baslik h2 {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    margin: 0;
    color: var(--kahve-koyu);
    font-weight: 700;
}

.bolum-baslik p {
    color: var(--gri);
    margin: 8px 0 0;
    width: 100%;
    font-size: 15px;
    line-height: 1.5;
}

.tumu-gor {
    color: var(--kahve);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s ease, gap .2s ease;
    white-space: nowrap;
}

.tumu-gor:hover {
    color: var(--altin-koyu);
    gap: 10px;
}

/* ─── KATEGORİ GRID ─── */
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.kategori-kart {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--cizgi);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    text-align: center;
}

.kategori-kart:hover {
    box-shadow: var(--golge);
    border-color: var(--cizgi-koyu);
    transform: translateY(-3px);
}

.kategori-kart-resim {
    height: 140px;
    background: var(--krem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.kategori-kart-resim img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.kategori-kart h3 {
    padding: 14px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--koyu);
    font-family: 'Inter', sans-serif;
    transition: color .2s;
}

.kategori-kart:hover h3 {
    color: var(--kahve);
}

/* ─── ANASAYFA ÜRÜN GRID ─── */
.anasayfa-urun-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* ─── KAMPANYA BANNER ─── */
.kampanya-banner-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.kampanya-banner {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    min-height: 240px;
    display: flex;
    background: var(--kahve);
    color: #fff;
    transition: box-shadow .2s ease;
}

.kampanya-banner:hover {
    box-shadow: var(--golge-buyuk);
}

.kampanya-banner-buyuk {
    background: var(--kahve-koyu);
}

.kampanya-banner-kucuk {
    background: var(--ceviz);
    flex-direction: column;
    justify-content: center;
}

.kampanya-banner-icerik {
    padding: 36px;
    z-index: 2;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kampanya-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,.22);
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.kampanya-banner h3 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    margin-bottom: 8px;
    font-weight: 700;
    color: #fff;
}

.kampanya-banner p {
    opacity: .9;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}

.kampanya-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,.3);
    transition: all .2s ease;
    width: fit-content;
}

.kampanya-btn:hover {
    background: #fff;
    color: var(--kahve-koyu);
}

.kampanya-banner-gorsel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    opacity: .25;
    z-index: 1;
}

.kampanya-banner-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── TOPTAN CTA ─── */
.toptan-cta {
    background: var(--kahve-koyu);
    color: #fff;
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}

.toptan-cta-ic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.toptan-cta-yazi {
    flex: 1;
    max-width: 620px;
}

.toptan-badge {
    display: inline-block;
    background: rgba(255,255,255,.08);
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.16);
    color: #e7d9bf;
}

.toptan-cta h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    margin-bottom: 14px;
    font-weight: 700;
}

.toptan-cta p {
    opacity: .85;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 22px;
}

.toptan-avantajlar {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.toptan-avantajlar li {
    font-size: 15px;
    opacity: .9;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.toptan-avantajlar li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 14px;
    height: 7px;
    border-left: 2px solid var(--altin);
    border-bottom: 2px solid var(--altin);
    transform: rotate(-45deg);
}

.toptan-cta-butonlar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 280px;
}

.toptan-cta-butonlar .btn {
    justify-content: center;
}

/* ─── SSS ─── */
.sss-liste {
    max-width: 820px;
    margin: 0 auto;
}

.sss-oge {
    background: var(--zemin);
    border: 1px solid var(--cizgi);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.sss-oge[open] {
    border-color: var(--cizgi-koyu);
    box-shadow: var(--golge-xs);
}

.sss-oge summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 15.5px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--kahve-koyu);
    transition: color .2s ease;
}

.sss-oge summary:hover {
    color: var(--kahve);
}

.sss-oge summary::-webkit-details-marker {
    display: none;
}

.sss-oge summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--ceviz);
    transition: transform .25s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.sss-oge[open] summary::after {
    content: '−';
}

.sss-cevap {
    padding: 0 24px 20px;
    color: var(--gri);
    line-height: 1.75;
    font-size: 14.5px;
}

/* ─────────────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (861px – 1100px)
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .anasayfa-urun-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .avantaj-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kategori-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }
}

/* ─────────────────────────────────────────────────────────────────────
   RESPONSIVE — MOBİL (< 860px)
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .hero-slider {
        height: clamp(280px, 60vw, 380px);
    }

    .hero-ok {
        width: 40px;
        height: 40px;
    }

    .hero-onceki { left: 12px; }
    .hero-sonraki { right: 12px; }

    .hero-noktalar {
        bottom: 16px;
    }

    .avantaj-seridi {
        display: none;
    }

    .avantaj-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .avantaj {
        padding: 16px;
        gap: 12px;
    }

    .avantaj-ikon {
        width: 44px;
        height: 44px;
    }

    .avantaj-ikon svg {
        width: 22px;
        height: 22px;
    }

    .bolum {
        padding: 44px 0;
    }

    .bolum-kampanya {
        padding: 24px 0;
    }

    .bolum-baslik {
        margin-bottom: 24px;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .bolum-baslik > div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bolum-baslik > div::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .tumu-gor {
        align-self: center;
    }

    .anasayfa-urun-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .kategori-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .kategori-kart-resim {
        height: 100px;
        padding: 14px;
    }

    .kategori-kart h3 {
        font-size: 12.5px;
        padding: 10px 8px;
    }

    .kampanya-banner-grid {
        grid-template-columns: 1fr;
    }

    .kampanya-banner {
        min-height: 200px;
    }

    .kampanya-banner-gorsel {
        width: 35%;
    }

    .kampanya-banner-icerik {
        padding: 24px;
    }

    .toptan-cta {
        padding: 48px 0;
    }

    .toptan-cta-ic {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .toptan-cta-yazi {
        max-width: 100%;
    }

    .toptan-cta-butonlar {
        width: 100%;
        max-width: 340px;
    }

    .toptan-avantajlar {
        text-align: left;
    }

    .sss-oge summary {
        padding: 16px 18px;
        font-size: 14.5px;
    }

    .sss-cevap {
        padding: 0 18px 16px;
        font-size: 14px;
    }
}

/* ─────────────────────────────────────────────────────────────────────
   RESPONSIVE — KÜÇÜK MOBİL (< 480px)
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .hero-slider {
        height: 260px;
    }

    .hero-ic h1 {
        font-size: 1.5rem;
    }

    .hero-ic p {
        font-size: .9rem;
        margin-bottom: 20px;
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-ok {
        width: 36px;
        height: 36px;
    }

    .hero-onceki { left: 8px; }
    .hero-sonraki { right: 8px; }

    .avantaj-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .bolum {
        padding: 36px 0;
    }

    .anasayfa-urun-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .kategori-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .kampanya-banner {
        min-height: 180px;
    }

    .kampanya-banner-icerik {
        padding: 20px;
    }

    .kampanya-banner h3 {
        font-size: 1.2rem;
    }

    .kampanya-banner-gorsel {
        display: none;
    }

    .toptan-cta h2 {
        font-size: 1.4rem;
    }
}

/* ─────────────────────────────────────────────────────────────────────
   RESPONSIVE — GENİŞ EKRAN (> 1400px)
   ───────────────────────────────────────────────────────────────────── */
@media (min-width: 1400px) {
    .anasayfa-urun-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .kategori-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
