/* ===== Karacasu Köy Pazarı — sıcak tasarım ===== */
:root {
    --green-900: #26331a;
    --green-700: #4a6b2f;
    --green-500: #7ba64e;
    --terra: #c05f2b;
    --amber: #d99a2b;
    --cream: #faf3e2;
    --card: #fffdf6;
    --ink: #33391f;
    --wa: #22b358;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Nunito Sans', system-ui, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(1000px 520px at 88% -12%, #f4e2b2 0%, transparent 62%),
        radial-gradient(760px 460px at -12% 112%, #e9d8ae 0%, transparent 58%),
        linear-gradient(160deg, #fbf5e7 0%, #f4e9cd 100%);
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
}

.page {
    width: min(1240px, 100%);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: clamp(10px, 1.8vh, 20px) clamp(16px, 3vw, 44px);
    gap: clamp(10px, 1.8vh, 20px);
}

/* ---- Üst bar ---- */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-900); }
.brand-logo {
    width: clamp(46px, 7.5vh, 66px);
    height: clamp(46px, 7.5vh, 66px);
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(120, 80, 20, .28);
}
.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(1.1rem, 2.6vh, 1.6rem);
    letter-spacing: .4px;
}
.brand-name em { font-style: italic; color: var(--terra); }

.socials { display: flex; gap: 9px; }
.soc {
    width: clamp(36px, 5.4vh, 44px);
    height: clamp(36px, 5.4vh, 44px);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid rgba(74, 107, 47, .18);
    box-shadow: 0 3px 10px rgba(120, 80, 20, .15);
    color: var(--green-700);
    transition: transform .15s, background .15s, color .15s;
}
.soc svg { width: 55%; height: 55%; fill: currentColor; }
.soc:hover { transform: translateY(-2px); background: var(--green-700); color: #fff; }

/* ---- Instagram şeridi ---- */
.ig-strip { flex: 0 0 auto; }
.strip-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(.78rem, 1.7vh, .95rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--green-700);
    margin-bottom: clamp(6px, 1.1vh, 10px);
}
.strip-title .mini { width: 1.15em; height: 1.15em; fill: var(--terra); }
.strip-follow {
    margin-left: auto;
    font-size: .9em;
    text-transform: none;
    letter-spacing: .2px;
    color: var(--terra);
    text-decoration: none;
}
.strip-follow:hover { text-decoration: underline; }

.ig-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 1.4vw, 16px);
}
.ig-card {
    position: relative;
    display: block;
    border-radius: clamp(12px, 1.8vh, 18px);
    overflow: hidden;
    aspect-ratio: 16 / 5.2;
    border: 1px solid rgba(74, 107, 47, .15);
    box-shadow: 0 6px 18px rgba(120, 80, 20, .18);
    background: var(--card);
}
.ig-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.ig-card:hover img { transform: scale(1.06); }
.ig-badge {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, .22);
}
.ig-badge svg { width: 34px; height: 34px; fill: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.ig-empty { display: flex; align-items: center; justify-content: center; }
.ig-empty img { opacity: .9; }
.ig-empty-label {
    position: absolute;
    font-weight: 800;
    color: #fff;
    background: rgba(74, 107, 47, .9);
    padding: .4em 1.1em;
    border-radius: 999px;
    font-size: clamp(.7rem, 1.6vh, .85rem);
}

/* Harici eklenti (Fouita vb.) */
.ig-embed {
    border-radius: clamp(12px, 1.8vh, 18px);
    overflow: hidden;
    background: var(--card);
    border: 1px solid rgba(74, 107, 47, .15);
    box-shadow: 0 6px 18px rgba(120, 80, 20, .18);
    padding: 6px;
}
.ig-embed iframe { width: 100% !important; border: 0; display: block; }

/* ---- Ana alan ---- */
.hero {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
    gap: clamp(14px, 2.4vw, 40px);
}

/* Sol: sıcak pazar fotoğrafı üzerine yazı */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: clamp(16px, 2.4vh, 26px);
    overflow: hidden;
    padding: clamp(18px, 4vh, 44px) clamp(18px, 3vw, 44px);
    background:
        linear-gradient(100deg, rgba(46, 30, 8, .72) 0%, rgba(58, 40, 12, .45) 55%, rgba(58, 40, 12, .18) 100%),
        url('img/hero.jpg') center / cover no-repeat;
    box-shadow: 0 14px 34px rgba(120, 80, 20, .3);
}
.kicker {
    display: inline-block;
    width: fit-content;
    font-size: clamp(.7rem, 1.6vh, .85rem);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffe6b0;
    border: 1px solid rgba(255, 220, 150, .6);
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(3px);
    padding: .4em 1em;
    border-radius: 999px;
    margin-bottom: clamp(8px, 1.5vh, 14px);
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(1.7rem, 5vh, 3.1rem);
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .6);
    margin-bottom: clamp(8px, 1.7vh, 16px);
}
.hero h1 span { color: #ffd98a; font-style: italic; }
.sub {
    font-size: clamp(.85rem, 1.95vh, 1.05rem);
    line-height: 1.6;
    color: rgba(255, 250, 235, .92);
    text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
    max-width: 46ch;
    margin-bottom: clamp(14px, 2.6vh, 24px);
}

.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: clamp(10px, 1.7vh, 15px) clamp(18px, 2.4vw, 30px);
    border-radius: 999px;
    font-weight: 800;
    font-size: clamp(.9rem, 2vh, 1.05rem);
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(30, 20, 5, .4);
    transition: transform .15s, box-shadow .15s, background .15s;
}
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 20, 5, .5); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1da04d; }
.btn-call { background: var(--terra); color: #fff; }
.btn-call:hover { background: #a94f22; }

/* ---- Ürünler (AI foto kartlar) ---- */
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 1.3vh, 14px);
    align-content: stretch;
}
.prod {
    position: relative;
    border-radius: clamp(12px, 1.8vh, 18px);
    overflow: hidden;
    background: var(--card);
    border: 1px solid rgba(74, 107, 47, .14);
    box-shadow: 0 8px 20px rgba(120, 80, 20, .2);
    transition: transform .2s, box-shadow .2s;
}
.prod:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(120, 80, 20, .3); }
.prod img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.prod:hover img { transform: scale(1.07); }
.prod figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2em .8em .5em;
    background: linear-gradient(180deg, transparent, rgba(56, 36, 8, .85));
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: clamp(.78rem, 1.85vh, 1.02rem);
    color: #fff6e3;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .7);
    letter-spacing: .3px;
}

/* ---- Alt bilgi ---- */
.foot {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: clamp(.72rem, 1.6vh, .85rem);
    color: #7a6f4e;
    border-top: 1px solid rgba(74, 107, 47, .18);
    padding-top: clamp(7px, 1.3vh, 12px);
}
.foot-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--terra);
    font-weight: 800;
    text-decoration: none;
}
.foot-phone svg { width: 1em; height: 1em; fill: currentColor; }
.foot-phone:hover { color: var(--green-700); }

/* ---- Tablet / telefon ---- */
@media (max-width: 900px), (max-height: 640px) {
    body { overflow-x: hidden; overflow-y: auto; }
    .page { height: auto; min-height: 100dvh; }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: clamp(14px, 3vw, 22px);
    }
    .hero-text { text-align: center; align-items: center; }
    .cta { justify-content: center; }
    .ig-card { aspect-ratio: 4 / 3; }
    .products { grid-template-columns: repeat(3, 1fr); }
    .prod { aspect-ratio: 1 / 1; }
    .brand-name { font-size: 1.05rem; }
}

@media (max-width: 480px) {
    .page { padding-left: 12px; padding-right: 12px; }
    .topbar { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .strip-title { flex-wrap: wrap; row-gap: 2px; }
    .strip-follow { margin-left: 0; width: 100%; }
    .ig-grid { gap: 6px; }
    .products { grid-template-columns: repeat(2, 1fr); }
    .cta .btn { width: 100%; justify-content: center; }
    .foot { flex-wrap: wrap; justify-content: center; gap: 4px; text-align: center; }
}
