﻿:root {
    --zk-forest: #163528;
    --zk-forest-deep: #0f241c;
    --zk-moss: #2f5a45;
    --zk-honey: #d4a017;
    --zk-honey-soft: #f2d27a;
    --zk-mist: #e4efe8;
    --zk-ink: #13271e;
    --zk-muted: rgba(19, 39, 30, 0.72);
    --zk-white: #f7fbf8;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Figtree", "Segoe UI", sans-serif;
    --font-arabic: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--zk-ink);
    background: var(--zk-mist);
    line-height: 1.6;
}

body.is-rtl {
    font-family: var(--font-arabic);
}

body.is-rtl .brand-mark,
body.is-rtl .site-logo,
body.is-rtl .footer-brand,
body.is-rtl .hero h1,
body.is-rtl .section-copy h2 {
    font-family: var(--font-arabic);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 1.1rem 1.5rem;
}

.page-home .site-header {
    background: transparent;
}

body:not(.page-home) .site-header {
    position: sticky;
    background: var(--zk-forest);
}

.site-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--zk-white);
    white-space: nowrap;
}

/* Language flags */
.lang-switch {
    display: flex;
    align-items: center;
}

.lang-form {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.15rem;
    height: 3.15rem;
    padding: 0;
    border: 1.5px solid rgba(247, 251, 248, 0.45);
    border-radius: 999px;
    background: rgba(15, 36, 28, 0.45);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.lang-btn:hover,
.lang-btn:focus {
    border-color: var(--zk-honey-soft);
    transform: translateY(-1px);
}

.lang-btn.is-active {
    border-color: var(--zk-honey);
    background: rgba(212, 160, 23, 0.28);
    box-shadow: 0 0 0 2px rgba(242, 210, 122, 0.3);
}

.flag-svg {
    width: 2rem;
    height: 1.35rem;
    display: block;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--zk-white);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    animation: hero-drift 14s ease-in-out infinite alternate;
}

.hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(15, 36, 28, 0.35) 0%, rgba(15, 36, 28, 0.15) 38%, rgba(15, 36, 28, 0.78) 100%),
        radial-gradient(ellipse at 20% 80%, rgba(212, 160, 23, 0.22), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 7rem 1.5rem 4.5rem;
}

.brand-mark {
    margin: 0 0 0.6rem;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 6.5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--zk-honey-soft);
    opacity: 0;
    animation: rise-in 0.9s ease forwards 0.15s;
}

.hero h1 {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3.4vw, 2.35rem);
    font-weight: 500;
    line-height: 1.2;
    max-width: 18ch;
    opacity: 0;
    animation: rise-in 0.9s ease forwards 0.35s;
}

.hero-lead {
    margin: 0 0 1.75rem;
    max-width: 36ch;
    font-size: 1.08rem;
    color: rgba(247, 251, 248, 0.9);
    opacity: 0;
    animation: rise-in 0.9s ease forwards 0.5s;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    opacity: 0;
    animation: rise-in 0.9s ease forwards 0.65s;
}

.btn-zk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.7rem 1.35rem;
    border: 1.5px solid transparent;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-zk-primary {
    background: var(--zk-honey);
    color: var(--zk-forest-deep);
}

.btn-zk-ghost {
    background: transparent;
    border-color: rgba(247, 251, 248, 0.55);
    color: var(--zk-white);
}

.btn-zk-soon {
    cursor: default;
    opacity: 0.92;
    letter-spacing: 0.02em;
}

.btn-zk-soon:hover,
.btn-zk-soon:focus {
    transform: none;
}

/* Sections */
.section {
    padding: 5rem 1.5rem;
}

.section-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.section-uretim {
    background:
        linear-gradient(160deg, #f3f8f4 0%, #dceade 45%, #c9dccf 100%);
}

.section-uretim .section-inner {
    grid-template-columns: 1fr 1.2fr;
}

.section-satis {
    background:
        linear-gradient(135deg, var(--zk-forest) 0%, var(--zk-moss) 55%, #3f6b52 100%);
    color: var(--zk-white);
}

.section-inner--split {
    grid-template-columns: 1fr;
    max-width: 620px;
}

.section-copy h2 {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
}

.section-copy p {
    margin: 0 0 1.5rem;
    font-size: 1.08rem;
    color: var(--zk-muted);
    max-width: 36ch;
}

.section-satis .section-copy p {
    color: rgba(247, 251, 248, 0.86);
}

.section-visual {
    margin: 0;
    overflow: hidden;
    border-radius: 2px;
}

.section-visual img {
    width: 100%;
    height: min(420px, 55vw);
    object-fit: cover;
    transition: transform 0.8s ease;
}

.section-visual:hover img {
    transform: scale(1.03);
}

/* Inner pages */
.site-main > h2,
.site-main > h3,
.site-main > p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

body:not(.page-home) .site-main {
    padding: 3rem 0 4rem;
    min-height: 55vh;
}

/* Footer */
.site-footer {
    background: var(--zk-forest-deep);
    color: rgba(247, 251, 248, 0.75);
    padding: 2.25rem 1.5rem;
}

.site-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.footer-brand {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--zk-honey-soft);
}

.site-footer p {
    margin: 0;
    font-size: 0.92rem;
}

/* Forms (default MVC) — don't cap shop inputs on mobile */
.site-main > form input,
.site-main > form select,
.site-main > form textarea {
    max-width: 280px;
}

.product-form .field-input,
.checkout-form .field-input,
.inline-form .field-input,
.cart-row .field-input {
    max-width: none;
}

.dl-horizontal dt {
    white-space: normal;
}

/* Motion */
@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-drift {
    from {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .brand-mark,
    .hero h1,
    .hero-lead,
    .hero-actions {
        opacity: 1;
    }

    .hero-media img {
        transform: none;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .section-uretim .section-inner {
        grid-template-columns: 1fr;
    }

    .section-visual img {
        height: 260px;
    }

    .site-logo {
        font-size: 0.95rem;
        white-space: normal;
        max-width: 9.5rem;
        line-height: 1.2;
    }

    .section {
        padding: 3.25rem 1.15rem;
    }

    .shop-page {
        padding: 5rem 0 3rem;
    }

    .page-shop .shop-page {
        padding-bottom: 3.5rem;
    }

    .shop-intro {
        padding: 5.75rem 1.15rem 2rem;
    }

    .shop-intro h1 {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }

    .shop-alerts,
    .shop-catalog {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .product-band,
    .product-band-flip {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .product-band-flip .product-band-visual,
    .product-band-flip .product-band-copy {
        order: unset;
    }

    .product-band-visual {
        min-height: 240px;
        aspect-ratio: 4 / 3;
    }

    .product-band-copy {
        padding: 1.5rem 1.2rem 1.75rem;
    }

    .product-buy {
        max-width: none;
    }

    .product-buy-submit {
        min-height: 3rem;
    }

    .shop-inner {
        padding: 0 1.15rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.85rem 0.9rem;
    }

    .site-header-inner {
        gap: 0.65rem;
        align-items: flex-start;
    }

    .header-actions {
        gap: 0.55rem;
        flex-shrink: 0;
    }

    .cart-link {
        font-size: 0.85rem;
        min-height: 2.75rem;
        align-items: center;
    }

    .lang-btn {
        width: 3.35rem;
        height: 3.35rem;
    }

    .flag-svg {
        width: 2.15rem;
        height: 1.45rem;
    }

    .hero-content {
        padding: 6.5rem 1.1rem 3rem;
    }

    .brand-mark {
        font-size: clamp(1.75rem, 9vw, 2.6rem);
    }

    .hero h1 {
        font-size: clamp(1.3rem, 5.5vw, 1.75rem);
        max-width: none;
    }

    .hero-lead {
        font-size: 1rem;
        max-width: none;
    }

    .btn-zk {
        width: 100%;
        min-height: 3rem;
    }

    .hero-actions {
        width: 100%;
    }

    .section-copy p {
        max-width: none;
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-card {
        padding: 1.15rem 1rem;
    }

    .cart-row {
        grid-template-columns: 1fr;
    }

    .cart-row-actions {
        width: 100%;
    }

    .inline-form {
        width: 100%;
    }

    .inline-form .field-input-sm {
        flex: 1;
        width: auto;
        min-width: 4.5rem;
    }

    .inline-form .btn-zk {
        width: auto;
        flex: 1;
    }

    .cart-summary-actions,
    .checkout-actions {
        flex-direction: column;
    }

    .cart-summary-actions .btn-zk,
    .checkout-actions .btn-zk,
    .shop-cart-link .btn-zk {
        width: 100%;
    }

    .checkout-summary li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .site-footer {
        padding: 1.75rem 1.1rem;
    }
}

@media (max-width: 400px) {
    .site-logo {
        max-width: 7.5rem;
        font-size: 0.88rem;
    }

    .lang-form {
        gap: 0.35rem;
    }

    .lang-btn {
        width: 3rem;
        height: 3rem;
    }
}

/* Header cart */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(247, 251, 248, 0.92);
    font-weight: 600;
    font-size: 0.92rem;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--zk-honey);
    color: var(--zk-forest-deep);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Shop pages */
.shop-page {
    padding: 5.5rem 0 4rem;
    min-height: 70vh;
}

.page-shop .shop-page {
    padding: 0 0 5rem;
    background:
        linear-gradient(180deg, #10261d 0%, #163528 18%, #e4efe8 18%, #e4efe8 100%);
}

.page-shop .site-header {
    position: absolute;
    background: transparent;
}

.shop-intro {
    color: var(--zk-white);
    padding: 6.5rem 1.5rem 2.75rem;
}

.shop-intro-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.shop-kicker {
    margin: 0 0 0.45rem;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--zk-honey-soft);
}

.shop-intro h1 {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1;
}

.shop-lead {
    margin: 0 0 1.35rem;
    max-width: 34ch;
    font-size: 1.08rem;
    color: rgba(247, 251, 248, 0.88);
}

.shop-cart-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.6rem;
    padding: 0.45rem 1rem;
    border: 1.5px solid rgba(247, 251, 248, 0.4);
    color: var(--zk-white);
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.shop-cart-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--zk-honey);
    color: var(--zk-forest-deep);
    font-size: 0.78rem;
}

.shop-cart-chip:hover,
.shop-cart-chip:focus {
    border-color: var(--zk-honey-soft);
    color: var(--zk-honey-soft);
}

.shop-alerts {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 0;
}

.shop-catalog {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 0;
    display: grid;
    gap: 1.75rem;
}

.product-band {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 420px;
    background: #fff;
    overflow: hidden;
    border: 1px solid rgba(22, 53, 40, 0.08);
    animation: rise-in 0.7s ease both;
}

.product-band:nth-child(2) {
    animation-delay: 0.12s;
}

.product-band-flip .product-band-visual {
    order: 2;
}

.product-band-flip .product-band-copy {
    order: 1;
}

.product-band-visual {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background: #1a3328;
}

.product-band-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-band:hover .product-band-visual img {
    transform: scale(1.04);
}

.product-band-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.25rem 2rem;
    background:
        linear-gradient(160deg, #f7fbf8 0%, #eef5f0 100%);
}

.product-tag {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--zk-moss);
}

.product-band-copy h2 {
    margin: 0 0 0.7rem;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.1;
    color: var(--zk-forest-deep);
}

.product-blurb {
    margin: 0 0 1.25rem;
    max-width: 30ch;
    color: var(--zk-muted);
    font-size: 1.02rem;
}

.product-price-line {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin: 0 0 1.35rem;
}

.product-price-value {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--zk-forest);
}

.product-price-unit {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--zk-moss);
}

.product-buy {
    display: grid;
    gap: 0.55rem;
    max-width: 22rem;
}

.kg-control {
    display: grid;
    grid-template-columns: 2.75rem 1fr 2.75rem;
    gap: 0.4rem;
    align-items: stretch;
}

.kg-btn {
    border: 1.5px solid rgba(22, 53, 40, 0.25);
    background: #fff;
    color: var(--zk-forest);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    min-height: 2.75rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.kg-btn:hover,
.kg-btn:focus {
    border-color: var(--zk-honey);
    background: #fff9e8;
}

.field-input-kg {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.product-buy-submit {
    width: 100%;
    margin-top: 0.25rem;
}

.shop-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.shop-inner-narrow {
    max-width: 640px;
}

.shop-header h1 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.shop-header p {
    margin: 0 0 1.75rem;
    color: var(--zk-muted);
}

.field-label {
    font-size: 0.88rem;
    font-weight: 600;
}

.field-input {
    width: 100%;
    max-width: none;
    min-height: 2.6rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(22, 53, 40, 0.2);
    border-radius: 4px;
    background: #fff;
    font: inherit;
}

.field-input-sm {
    width: 5.5rem;
    min-height: 2.3rem;
}

.field-textarea {
    min-height: 5.5rem;
    resize: vertical;
}

.captcha-group {
    padding: 0.9rem 1rem;
    background: #fff;
    border: 1px solid rgba(22, 53, 40, 0.1);
}

.captcha-question {
    margin: 0 0 0.55rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--zk-forest);
    letter-spacing: 0.04em;
}

.field-input-captcha {
    max-width: 8rem;
}

.field-error {
    color: #9b1c1c;
    font-size: 0.85rem;
}

.btn-zk-ghost-dark {
    background: transparent;
    border-color: rgba(22, 53, 40, 0.35);
    color: var(--zk-forest);
}

.btn-zk-ghost-dark:hover,
.btn-zk-ghost-dark:focus {
    border-color: var(--zk-honey);
    color: var(--zk-forest-deep);
}

.btn-zk-whatsapp {
    background: #1faa59;
    color: #fff;
}

.btn-zk-whatsapp:hover,
.btn-zk-whatsapp:focus {
    background: #178a47;
    color: #fff;
}

.shop-cart-link {
    margin-top: 1.75rem;
}

.form-alert {
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.form-alert-error {
    background: #fde8e8;
    color: #9b1c1c;
}

.form-alert-ok {
    background: #e7f6ec;
    color: #146c2e;
}

.cart-table {
    display: grid;
    gap: 0.85rem;
}

.cart-row {
    display: grid;
    grid-template-columns: 1.4fr 1.4fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(22, 53, 40, 0.08);
}

.cart-row-main {
    display: grid;
    gap: 0.2rem;
}

.cart-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.inline-form {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    margin: 0;
}

.btn-link-danger {
    background: none;
    border: 0;
    color: #9b1c1c;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 0.35rem 0.2rem;
}

.cart-summary {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(22, 53, 40, 0.12);
}

.cart-summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.checkout-summary {
    margin: 1.25rem 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(22, 53, 40, 0.08);
}

.checkout-summary ul {
    list-style: none;
    margin: 0.75rem 0;
    padding: 0;
}

.checkout-summary li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(22, 53, 40, 0.06);
}

.checkout-total {
    margin: 0.75rem 0 0;
    font-size: 1.05rem;
}

.checkout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body:not(.page-home) .site-header {
    position: sticky;
    background: var(--zk-forest);
}

/* Mobile overrides — must stay after shop/cart base rules */
@media (max-width: 800px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .cart-row {
        grid-template-columns: 1fr;
    }

    .cart-row-actions {
        width: 100%;
    }

    .inline-form {
        width: 100%;
        flex-wrap: wrap;
    }

    .inline-form .field-input-sm {
        flex: 1;
        width: auto;
        min-width: 4.5rem;
        max-width: none;
    }

    .cart-summary-actions,
    .checkout-actions {
        flex-direction: column;
    }

    .cart-summary-actions .btn-zk,
    .checkout-actions .btn-zk,
    .shop-cart-link .btn-zk,
    .product-buy-submit {
        width: 100%;
        min-height: 3rem;
    }

    .checkout-summary li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .field-input,
    .field-textarea {
        font-size: 16px; /* iOS zoom önleme */
    }
}

