/* =========================================================
   KİMYA HAZİNESİ - E TİCARET TASARIMI
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --kirmizi: #d40000;
    --koyu-kirmizi: #a80000;
    --kirmizi-2: #ef1111;
    --acik-kirmizi: #fff1f1;

    --siyah: #151515;
    --gri: #666;
    --acik-gri: #f5f5f5;
    --cizgi: #e5e5e5;

    --beyaz: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: var(--siyah);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   ÜST BİLGİ BAR
   ========================================================= */

.top-bar {
    background: #9e0000;
    color: #fff;
    min-height: 36px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
}

.top-bar div {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================================================
   ANA HEADER
   ========================================================= */

header {
    min-height: 88px;
    padding: 0 5%;
    background: var(--kirmizi);
    color: #fff;

    display: flex;
    align-items: center;
    gap: 30px;

    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO */

.logo {
    min-width: 275px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1px;
    white-space: nowrap;
}

.logo::before {
    content: "⚗";
    font-size: 42px;
    margin-right: 10px;
    vertical-align: middle;
}

.logo span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-left: 52px;
    margin-top: -8px;
    opacity: .9;
}

/* =========================================================
   ARAMA
   ========================================================= */

.arama {
    flex: 1;
    max-width: 560px;
    height: 45px;

    background: #fff;
    border-radius: 30px;

    display: flex;
    align-items: center;
    padding: 0 18px;

    color: #777;
}

.arama input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.arama button {
    border: none;
    background: none;
    color: var(--kirmizi);
    font-size: 22px;
    cursor: pointer;
}

/* =========================================================
   HEADER SAĞ
   ========================================================= */

.header-sag {
    display: flex;
    align-items: center;
    gap: 25px;
    white-space: nowrap;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.header-link:hover {
    opacity: .8;
}

.sepet {
    position: relative;
}

.sepet-sayi {
    position: absolute;
    top: -12px;
    right: -12px;

    width: 20px;
    height: 20px;

    border-radius: 50%;
    background: #fff;
    color: var(--kirmizi);

    font-size: 11px;
    font-weight: bold;

    display: grid;
    place-items: center;
}

/* =========================================================
   MENÜ
   ========================================================= */

nav {
    min-height: 52px;
    padding: 0 5%;

    background: #b60000;
    color: #fff;

    display: flex;
    align-items: center;
    gap: 38px;

    border-top: 1px solid rgba(255,255,255,.12);
}

nav a {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

nav a:hover {
    color: #ffdada;
}

.kategori {
    background: #a00000;
    height: 52px;
    padding: 0 25px;

    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: 700;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 430px;

    padding: 55px 7%;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.92),
            rgba(0,0,0,.65),
            rgba(0,0,0,.15)
        ),
        radial-gradient(
            circle at 80% 50%,
            #600000,
            #111 65%
        );

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    overflow: hidden;
}

.hero-yazi {
    max-width: 650px;
}

.ust-yazi {
    color: var(--kirmizi);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero .ust-yazi {
    display: inline-block;
    padding: 7px 15px;
    background: var(--kirmizi);
    color: #fff;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 76px);
    line-height: .98;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero h1 span {
    display: block;
    color: #f00000;
}

.aciklama {
    max-width: 560px;
    margin: 22px 0;
    color: #eee;
    font-size: 17px;
}

.butonlar {
    display: flex;
    gap: 12px;
}

.buton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 25px;

    border-radius: 30px;

    font-weight: 800;
    transition: .2s;
}

.ana-buton {
    background: var(--kirmizi);
    color: #fff;
}

.ana-buton:hover {
    background: #ff2020;
    transform: translateY(-2px);
}

.ikinci-buton {
    background: #fff;
    color: var(--kirmizi);
}

.ikinci-buton:hover {
    background: #eee;
}

/* HERO KUTUSU */

.hero-kutu {
    width: 400px;
    min-height: 300px;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.15),
            transparent 60%
        );

    border-radius: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.badge {
    background: var(--kirmizi);
    color: white;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
}

.hero-kutu strong {
    font-size: 90px;
    line-height: 1;
    color: #fff;
    margin: 20px 0 5px;
}

.hero-kutu h3 {
    font-size: 25px;
}

.hero-kutu p {
    color: #ddd;
}

/* =========================================================
   ÜRÜNLER
   ========================================================= */

.urunler {
    padding: 65px 5%;
    background: #fff;
}

.urunler-baslik {
    max-width: 1180px;
    margin: 0 auto 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.urunler h2 {
    font-size: 34px;
}

.urun-aciklama {
    color: var(--gri);
    margin-top: 5px;
}

.urun-grid {
    max-width: 1180px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

/* ÜRÜN KARTI */

.urun-kart {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;

    overflow: hidden;

    transition: .25s;
}

.urun-kart:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.urun-gorsel {
    height: 245px;

    display: grid;
    place-items: center;

    background: #fafafa;

    color: #aaa;
    font-size: 14px;
}

.urun-bilgi {
    padding: 18px;
}

.urun-bilgi small {
    color: #777;
    font-size: 10px;
    font-weight: 700;
}

.urun-bilgi h3 {
    font-size: 20px;
    margin: 5px 0;
}

.urun-bilgi p {
    color: var(--gri);
    font-size: 13px;
    min-height: 42px;
}

/* FİYAT */

.fiyat {
    color: var(--kirmizi);
    font-size: 24px;
    font-weight: 900;
    margin-top: 8px;
}

.fiyat-detay {
    color: #555;
    font-size: 11px;
    margin-bottom: 12px;
}

/* ÜRÜN BUTONU */

.urun-bilgi > a {
    width: 100%;

    background: var(--kirmizi);
    color: white;

    padding: 12px;

    border-radius: 6px;

    text-align: center;

    font-size: 13px;
    font-weight: 800;

    display: block;

    transition: .2s;
}

.urun-bilgi > a:hover {
    background: var(--koyu-kirmizi);
}

/* =========================================================
   GÜVEN / AVANTAJLAR
   ========================================================= */

.avantajlar {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;

    padding: 30px 5%;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.avantaj {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avantaj-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    background: var(--kirmizi);
    color: #fff;

    border-radius: 50%;

    display: grid;
    place-items: center;

    font-size: 23px;
}

.avantaj strong {
    display: block;
    font-size: 14px;
}

.avantaj span {
    color: #777;
    font-size: 11px;
}

/* =========================================================
   HAKKIMIZDA
   ========================================================= */

.hakkimizda {
    padding: 80px 7%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;

    background: #f7f7f7;
}

.hakkimizda h2 {
    font-size: 42px;
    line-height: 1.1;
}

.hakkimizda p:not(.ust-yazi) {
    color: #666;
    font-size: 16px;
}

/* =========================================================
   İLETİŞİM
   ========================================================= */

.iletisim {
    padding: 80px 7%;
    text-align: center;
}

.iletisim h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.iletisim > p:not(.ust-yazi) {
    color: #666;
}

.iletisim-butonlari {
    margin-top: 25px;

    display: flex;
    justify-content: center;
    gap: 12px;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: #8f0000;
    color: white;

    padding: 50px 7% 20px;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 45px;
}

footer strong {
    font-size: 24px;
}

footer p {
    color: #ffdede;
    font-size: 13px;
    margin-top: 10px;
}

footer a {
    display: block;
    color: #ffdede;
    font-size: 13px;
    margin-top: 8px;
}

footer a:hover {
    color: white;
}

.footer-alt {
    grid-column: 1 / -1;

    border-top: 1px solid rgba(255,255,255,.2);

    padding-top: 18px;

    text-align: center;

    color: #ffdada;
    font-size: 12px;
}

/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 1050px) {

    .logo {
        min-width: auto;
        font-size: 23px;
    }

    .header-sag {
        gap: 12px;
    }

    nav {
        gap: 18px;
    }

    .urun-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .avantajlar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {

    .top-bar {
        display: none;
    }

    header {
        min-height: 70px;
        padding: 10px 5%;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 21px;
    }

    .arama {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .header-sag {
        margin-left: auto;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: 600px;
        padding: 60px 5%;
        text-align: center;
        flex-direction: column;
        justify-content: center;
    }

    .hero-yazi {
        max-width: 700px;
    }

    .butonlar {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-kutu {
        width: 100%;
        max-width: 400px;
        min-height: 220px;
    }

    .urunler-baslik {
        display: block;
        text-align: center;
    }

    .urun-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hakkimizda {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    footer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 550px) {

    .header-sag .header-link:first-child {
        display: none;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-kutu strong {
        font-size: 65px;
    }

    .urun-grid {
        grid-template-columns: 1fr;
    }

    .urun-gorsel {
        height: 260px;
    }

    .avantajlar {
        grid-template-columns: 1fr;
    }

    .iletisim-butonlari {
        flex-direction: column;
        align-items: center;
    }

    .iletisim-butonlari .buton {
        width: 100%;
        max-width: 300px;
    }

    footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-alt {
        grid-column: auto;
    }
}<script>
function siparisAc() {
    document.getElementById("siparisOverlay").classList.add("aktif");
}

function siparisKapat() {
    document.getElementById("siparisOverlay").classList.remove("aktif");
}
</script>
.duyuru {
    background: #d40000;
    color: white;
    text-align: center;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.duyuru-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.duyuru-kutu {
    position: relative;
    width: 420px;
    min-height: 360px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 45px 35px;
}

.duyuru-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.duyuru-kutu h2 {
    margin: 0 0 22px;
    color: #d40000;
    font-size: 30px;
    font-weight: 800;
}

.duyuru-kutu p {
    margin: 0;
    color: #222;
    font-size: 19px;
    line-height: 1.7;
}

.duyuru-kutu p strong {
    color: #d40000;
    font-size: 25px;
}

.duyuru-kutu span {
    margin-top: 25px;
    color: #666;
    font-size: 15px;
}

.duyuru-kapat {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333;
    font-size: 28px;
    line-height: 38px;
    cursor: pointer;
}

.duyuru-kapat:hover {
    background: #d40000;
    color: #fff;
}
body > *:not(.duyuru-overlay) {
    display: none !important;
}

.duyuru-overlay {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: #ffffff !important;
    z-index: 999999 !important;
}

.duyuru-kutu {
    width: 420px;
    min-height: 360px;
}
