/* ═══════════════════════════════════════════════════════════════════════════
   KÜBRA MANAV — UI/UX v2 (görsel modernizasyon paketi)
   Mevcut style.css üzerine yazılır; eski kuralları override etmek için bazı
   kurallar !important kullanır — kapsam dar tutuldu.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #10b981 0%, #064e3b 100%);
    --grad-primary-soft: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --grad-accent: linear-gradient(135deg, #fbbf24 0%, #d4a017 100%);
    --grad-danger: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    --grad-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --grad-hero-overlay: linear-gradient(180deg, rgba(6,78,59,0.85) 0%, rgba(6,78,59,0.6) 50%, rgba(4,120,87,0.75) 100%);

    /* Shadows (multi-layer for depth) */
    --shadow-xs:  0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:  0 6px 16px -2px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
    --shadow-lg:  0 20px 40px -12px rgba(6,78,59,0.18), 0 8px 16px -6px rgba(15,23,42,0.05);
    --shadow-xl:  0 30px 60px -15px rgba(6,78,59,0.25), 0 15px 30px -10px rgba(15,23,42,0.08);
    --shadow-glow:0 0 0 4px rgba(16,185,129,0.15), 0 12px 30px -6px rgba(16,185,129,0.35);

    /* Easings */
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════ HERO BÖLÜM — PREMIUM GÖRÜNÜM ═══════════════════════════════ */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 62vh !important;
    padding: 60px 0 30px !important;
}
@media (max-width: 768px) {
    .hero-section { min-height: 70vh !important; }
}
.hero-section::after {
    content: "";
    position: absolute; inset: 0;
    background: var(--grad-hero-overlay);
    z-index: 1; pointer-events: none;
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 820px; padding: 0 24px;
    animation: heroFadeUp .9s var(--ease-out) both;
}

/* ═══════════ MARQUEE BÖLÜM (hero'dan dışarı) ═══════════════════════════ */
.marquee-section {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(110,231,183,0.10) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 50%, rgba(212,160,23,0.08) 0%, transparent 45%),
        linear-gradient(180deg, #064e3b 0%, #053b2c 100%);
    padding: 32px 0 28px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
/* Scroll cue artık gereksiz — marquee zaten görünüyor */
.hero-scroll-cue { display: none !important; }
/* Hero stats marjini daralt */
.hero-stats { margin-top: 22px !important; }
.marquee-section .marquee-btn {
    display: block !important;
    width: fit-content;
    margin: 0 auto 24px !important;
    background: var(--grad-accent) !important;
    color: #1a3c34 !important;
    text-shadow: none !important;
    border: none !important;
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(212,160,23,0.6);
    animation: pulseGlow 2.5s infinite;
    padding: 10px 30px !important;
}
.marquee-section .marquee-container {
    background: transparent !important;
    border: none !important;
    padding: 10px 0 !important;
}
.marquee-section .deal-card {
    box-shadow: 0 10px 24px -6px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0);    }
}
.hero-content h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem) !important;
    font-weight: 800; line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 18px !important;
    text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero-content p {
    font-size: clamp(15px, 1.5vw, 18px) !important;
    line-height: 1.65; opacity: .92;
    max-width: 580px; margin-left: auto; margin-right: auto;
    margin-bottom: 28px !important;
}
.hero-content .btn-hero {
    display: inline-flex !important; align-items: center; gap: 10px;
    padding: 16px 38px !important;
    background: #fff !important; color: var(--dark-green) !important;
    border-radius: 50px !important; font-weight: 800 !important;
    font-size: 15px !important; letter-spacing: .3px;
    box-shadow: var(--shadow-xl);
    transition: transform .25s var(--ease-bounce), box-shadow .25s;
    position: relative;
    text-decoration: none;
}
.hero-content .btn-hero::before {
    content: ""; position: absolute; inset: -4px;
    border-radius: 50px;
    background: var(--grad-accent);
    z-index: -1; opacity: 0;
    transition: opacity .3s;
}
.hero-content .btn-hero:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 25px 50px -10px rgba(212,160,23,0.5);
}
.hero-content .btn-hero:hover::before { opacity: 1; }

/* Hero stats bandı */
.hero-stats {
    position: relative; z-index: 2;
    display: flex; gap: clamp(20px, 4vw, 60px);
    justify-content: center; align-items: center;
    margin-top: 32px; flex-wrap: wrap;
    animation: heroFadeUp 1.1s var(--ease-out) .2s both;
}
.hero-stat {
    text-align: center; color: #fff;
}
.hero-stat .hs-num {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800; color: #fbbf24;
    line-height: 1;
}
.hero-stat .hs-lbl {
    display: block; margin-top: 4px;
    font-size: 11px; letter-spacing: 1.5px;
    text-transform: uppercase; opacity: .85;
}
.hero-stat-sep {
    width: 1px; height: 40px;
    background: rgba(255,255,255,0.25);
    display: none;
}
@media (min-width: 720px) {
    .hero-stat-sep { display: block; }
}

/* Hero scroll cue */
.hero-scroll-cue {
    position: absolute; bottom: 28px; left: 50%;
    transform: translateX(-50%); z-index: 2;
    color: rgba(255,255,255,0.7);
    font-size: 18px; animation: scrollBounce 2.2s infinite;
    pointer-events: none;
}
@keyframes scrollBounce {
    0%, 100% { transform: translate(-50%, 0);     opacity: .6; }
    50%      { transform: translate(-50%, 10px);  opacity: 1;  }
}

/* ═══════════ MARQUEE / İNDİRİM SLIDER — PREMIUM KART ════════════════════ */
@keyframes pulseGlow {
    0%, 100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(212,160,23,0.55); }
    50%      { box-shadow: var(--shadow-md), 0 0 0 14px rgba(212,160,23,0); }
}
.deal-card {
    border-radius: 18px !important;
    box-shadow: var(--shadow-md);
    transition: transform .35s var(--ease-out), box-shadow .35s;
    overflow: hidden;
    background: #fff;
    position: relative;
}
.deal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.deal-card .deal-img {
    transition: transform .5s var(--ease-out);
}
.deal-card:hover .deal-img { transform: scale(1.06); }
.deal-card .discount-badge {
    background: var(--grad-danger) !important;
    border-radius: 50px !important;
    padding: 6px 12px !important;
    font-size: 11px !important; font-weight: 800 !important;
    box-shadow: 0 6px 14px -2px rgba(239,68,68,0.45);
}

/* ═══════════ BÖLÜM BAŞLIKLARI — DEKORATİF AKSESUARLAR ═══════════════════ */
.section-heading {
    text-align: center;
    margin: 56px auto 32px;
    max-width: 720px;
    padding: 0 20px;
}
.section-heading .sh-eyebrow {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    color: var(--soft-green);
    letter-spacing: 3px; text-transform: uppercase;
    background: rgba(16,185,129,0.10);
    padding: 6px 14px; border-radius: 50px;
    margin-bottom: 14px;
}
.section-heading h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    color: var(--dark-green);
    font-weight: 800;
    line-height: 1.15; letter-spacing: -.5px;
    margin: 0 0 12px;
}
.section-heading h2 .accent { color: var(--soft-green); }
.section-heading p {
    color: #64748b; font-size: 15px; line-height: 1.6;
    max-width: 540px; margin: 0 auto;
}
.section-heading .sh-divider {
    display: inline-block;
    width: 52px; height: 3px;
    background: var(--grad-accent);
    border-radius: 2px;
    margin-top: 16px;
}

/* ═══════════ TRUST BAND v2 ═══════════════════════════════════════════════ */
.trust-band {
    background:
        radial-gradient(circle at 15% 50%, rgba(110,231,183,0.15) 0%, transparent 35%),
        radial-gradient(circle at 85% 50%, rgba(110,231,183,0.10) 0%, transparent 35%),
        linear-gradient(135deg, #064e3b 0%, #047857 100%) !important;
    padding: 40px 20px !important;
    position: relative; overflow: hidden;
}
.trust-band::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path d='M40 20 Q50 30 40 40 Q30 30 40 20 Z' fill='%23a7f3d0' opacity='0.06'/></svg>");
    background-size: 80px 80px;
    pointer-events: none;
}
.trust-band-inner { position: relative; z-index: 1; }
.trust-item { transition: transform .3s var(--ease-out); }
.trust-item:hover { transform: translateY(-4px); }
.trust-item .ti-icon {
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06)) !important;
    width: 58px !important; height: 58px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    transition: transform .4s var(--ease-bounce);
    position: relative;
}
.trust-item:hover .ti-icon { transform: rotate(-6deg) scale(1.08); }
.trust-item .ti-title { font-size: 16px !important; margin-top: 4px; }
.trust-item .ti-sub   { font-size: 12px !important; opacity: .85; }

/* ═══════════ FEATURES SECTION — PREMIUM KARTLAR ════════════════════════ */
.features-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 40px 24px 60px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 24px !important;
    max-width: 1200px; margin: 0 auto;
}
.feature-box {
    background: var(--grad-card) !important;
    border-radius: 20px !important;
    padding: 32px 24px !important;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226,232,240,0.7);
    text-align: center;
    transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
    position: relative; overflow: hidden;
}
.feature-box::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease-out);
}
.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16,185,129,0.3);
}
.feature-box:hover::before { transform: scaleX(1); }
.feature-box i {
    font-size: 30px !important;
    background: var(--grad-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px !important;
    display: inline-block;
    transition: transform .4s var(--ease-bounce);
}
.feature-box:hover i { transform: scale(1.15) rotate(-5deg); }
.feature-box h3 {
    color: var(--dark-green) !important;
    font-size: 18px !important; font-weight: 800;
    margin-bottom: 8px;
}
.feature-box p {
    color: #64748b !important; font-size: 13.5px !important;
    line-height: 1.55 !important;
}

/* ═══════════ ÜRÜN KARTLARI (urunler.php) — sade & hızlı ═══════════════ */
.p-card {
    border-radius: 14px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(226,232,240,0.7) !important;
    will-change: transform;
}
@media (hover: hover) {
    .p-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
    }
}
.p-img-wrap { overflow: hidden; }
.p-img { transition: transform .35s ease !important; }

/* ═══════════ FIRSATLAR BUTONU — DİKKAT ÇEKEN YANIP SÖNME ═══════════════ */
/* body .X.Y formu ile spesifikliği yükseltiyoruz (urunler.php inline CSS override için) */
body .category-nav .cat-item.promo-btn,
body .cat-item.promo-btn {
    background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
    color: #ffffff !important;
    border: 1.5px solid #b91c1c !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px -2px rgba(239,68,68,0.4);
    animation: km-promo-pulse 1.4s ease-in-out infinite;
    position: relative;
    overflow: visible !important;
}
body .cat-item.promo-btn::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    border: 2px solid rgba(239,68,68,0.6);
    opacity: 0;
    animation: km-promo-halo 1.4s ease-out infinite;
    pointer-events: none;
}
body .cat-item.promo-btn i {
    color: #fff200 !important;
    animation: km-fire-wiggle .5s ease-in-out infinite alternate;
    transform-origin: center bottom;
    display: inline-block;
    margin-right: 4px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25)) !important;
}
body .cat-item.promo-btn.active {
    background: linear-gradient(135deg, #b91c1c, #7f1d1d) !important;
    color: #ffffff !important;
    animation: none;
}
body .cat-item.promo-btn.active::before { display: none; }
body .cat-item.promo-btn:hover {
    background: linear-gradient(135deg, #dc2626, #991b1b) !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.06);
}

@keyframes km-promo-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px -2px rgba(239,68,68,0.4);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 6px 18px -2px rgba(239,68,68,0.6);
    }
}
@keyframes km-promo-halo {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.25); }
}
@keyframes km-fire-wiggle {
    0%   { transform: rotate(-8deg) scale(1); }
    100% { transform: rotate(8deg) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
    .cat-item.promo-btn, .cat-item.promo-btn::before, .cat-item.promo-btn i { animation: none !important; }
}

/* ═══════════ KATEGORİ NAV — POLISH ═════════════════════════════════════ */
.category-nav {
    gap: 8px !important;
    padding: 8px !important;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin: 0 auto 20px !important;
    width: fit-content; max-width: 100%;
    flex-wrap: wrap;
    border: 1px solid rgba(226,232,240,0.7);
}
.cat-item {
    border-radius: 50px !important;
    transition: all .25s var(--ease-out) !important;
    font-weight: 600 !important;
    padding: 9px 18px !important;
    font-size: 13px !important;
}
.cat-item.active {
    background: var(--grad-primary) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px -4px rgba(16,185,129,0.4);
}

/* ═══════════ ARAMA KUTUSU — FOCUS GLOW ══════════════════════════════════ */
#productSearch {
    box-shadow: var(--shadow-sm);
    border-radius: 50px !important;
}
#productSearch:focus {
    box-shadow: var(--shadow-glow) !important;
    border-color: var(--soft-green) !important;
}

/* ═══════════ BUTON RIPPLE EFFECT ═══════════════════════════════════════ */
.btn-ripple {
    position: relative; overflow: hidden;
}
.btn-ripple::after {
    content: ""; position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0; border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: translate(-50%, -50%);
    transition: width .5s, height .5s;
    pointer-events: none;
}
.btn-ripple:active::after {
    width: 320px; height: 320px;
    transition: 0s;
}

/* ═══════════ SCROLL ANIMASYONLARI ══════════════════════════════════════ */
[data-anim] {
    opacity: 0; transform: translateY(24px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    will-change: opacity, transform;
}
[data-anim].in-view { opacity: 1; transform: translateY(0); }
[data-anim="left"]  { transform: translateX(-24px); }
[data-anim="right"] { transform: translateX(24px);  }
[data-anim="left"].in-view, [data-anim="right"].in-view { transform: translateX(0); }
[data-anim-delay="1"] { transition-delay: .08s; }
[data-anim-delay="2"] { transition-delay: .16s; }
[data-anim-delay="3"] { transition-delay: .24s; }
[data-anim-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
    [data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .hero-content, .hero-stats, .hero-scroll-cue { animation: none !important; }
}

/* ═══════════ SKELETON SCREEN (yükleme) ═════════════════════════════════ */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    background-size: 200% 100%;
    animation: skel 1.4s infinite;
    border-radius: 8px;
}
@keyframes skel {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton-card {
    border-radius: 18px;
    padding: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226,232,240,0.7);
}
.skeleton-card .sk-img    { height: 160px; margin-bottom: 12px; border-radius: 12px; }
.skeleton-card .sk-line   { height: 14px; margin-bottom: 8px; }
.skeleton-card .sk-line.w-50 { width: 50%; }
.skeleton-card .sk-line.w-70 { width: 70%; }
.skeleton-card .sk-btn    { height: 38px; margin-top: 12px; border-radius: 10px; }

/* ═══════════ FOOTER POLISH ═════════════════════════════════════════════ */
footer {
    background: linear-gradient(180deg, var(--footer-bg) 0%, #0f2a23 100%) !important;
    padding: 56px 0 0 !important;
    margin-top: 0;
}
.footer-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 32px !important;
    display: grid !important;
    grid-template-columns: 1.2fr 1fr 1.2fr !important;
    gap: 56px !important;
    align-items: start !important;
    text-align: left !important;
}
.footer-col { text-align: left !important; }
.footer-col.footer-left, .footer-col.footer-links { text-align: left !important; }
.footer-col.footer-right { text-align: left !important; }
.footer-container h3 {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 18px !important;
    font-size: 14px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff !important;
}
.footer-container h3::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 36px; height: 3px;
    background: var(--grad-accent);
    border-radius: 2px;
}
.footer-container ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.footer-container ul li a {
    color: rgba(255,255,255,0.78) !important;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s, padding-left .2s;
    display: inline-block;
}
.footer-container ul li a:hover {
    color: #fbbf24 !important;
    padding-left: 4px;
}
.footer-col.footer-right p {
    margin: 0 0 12px !important;
    font-size: 14px;
    color: rgba(255,255,255,0.78);
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    text-align: left !important;
}
.footer-col.footer-right p a {
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
}
.footer-col.footer-right p a:hover { color: #fbbf24 !important; }
.footer-col.footer-right p i {
    color: #6ee7b7;
    width: 18px;
    flex-shrink: 0;
}
/* Brand/Logo column (center) */
.footer-brand {
    text-align: center !important;
    padding: 0 8px;
}
.footer-brand-logo {
    width: 110px; height: 110px;
    margin: 0 auto 18px;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}
.footer-brand-logo img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.footer-brand-name {
    color: #ffffff;
    font-size: 18px; font-weight: 800;
    margin: 0 0 4px;
}
.footer-brand-tag {
    color: #6ee7b7;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-brand .social-links {
    display: flex; gap: 10px; justify-content: center;
    margin-top: 8px;
}

.social-links {
    display: flex !important; gap: 10px !important;
    margin-top: 14px !important;
}
.social-btn {
    width: 36px !important; height: 36px !important;
    background: rgba(255,255,255,0.08) !important;
    border-radius: 50% !important;
    display: flex; align-items: center; justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all .25s;
    font-size: 15px;
}
.social-btn:hover {
    background: var(--grad-accent) !important;
    transform: translateY(-2px);
    color: #1a3c34 !important;
    border-color: transparent;
}

.footer-bottom {
    background: rgba(0,0,0,0.22);
    margin-top: 48px;
    padding: 24px 32px !important;
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

/* Ödeme metodu rozetleri */
.payment-badges {
    display: flex; gap: 10px; justify-content: center;
    margin: 0 auto 14px;
    flex-wrap: wrap;
}
.payment-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    padding: 7px 14px; border-radius: 50px;
    font-size: 12px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 7px;
    transition: background .25s;
}
.payment-badge:hover { background: rgba(255,255,255,0.14); }
.payment-badge i { color: #6ee7b7; font-size: 13px; }

/* Yasal linkler */
.footer-legal-links {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
    margin: 0 0 12px !important;
}
.footer-legal-links a {
    color: rgba(255,255,255,0.55) !important;
    font-size: 12px !important;
    text-decoration: none;
    transition: color .2s;
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.95) !important; }

/* Footer credit (Created by) — inline ile copyright */
.footer-copy {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; flex-wrap: wrap;
    color: rgba(255,255,255,0.7) !important;
    font-size: 13px;
}
.footer-credit {
    display: inline-flex; align-items: center; gap: 6px;
    color: inherit !important;
}
.footer-credit a {
    display: inline-flex; align-items: center; gap: 5px;
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600; text-decoration: none;
}
.footer-credit a:hover { color: #fbbf24 !important; }
.footer-credit img { height: 16px; opacity: .9; vertical-align: middle; }

/* Mobil footer — 1 sütun */
@media (max-width: 820px) {
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        text-align: center !important;
        padding: 0 24px !important;
    }
    .footer-col, .footer-col.footer-left, .footer-col.footer-right { text-align: center !important; }
    .footer-container h3::after { left: 50%; transform: translateX(-50%); }
    .footer-container ul { align-items: center; }
    .footer-col.footer-right p { justify-content: center; }
    .social-links { justify-content: center; }
    .footer-bottom { padding: 20px 16px !important; }
}

/* ═══════════ MOBİL DOKUNUŞLAR ══════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-section { min-height: 80vh !important; }
    .section-heading { margin: 36px auto 22px; }
    .features-section { padding: 28px 16px 40px !important; }
    .feature-box { padding: 24px 18px !important; }
    .category-nav {
        border-radius: 0; padding: 10px 16px !important;
        background: #ffffff;
        flex-wrap: nowrap; overflow-x: auto;
        scrollbar-width: none;
        position: sticky; top: 70px; z-index: 100;
    }
    .category-nav::-webkit-scrollbar { display: none; }
    .cat-item { flex-shrink: 0; }
}

/* ═══════════ LOGO METNİ (h1 → span fix) ═══════════════════════════════ */
.logo-text .logo-text-main {
    color: #ffffff;
    font-size: 20px; font-weight: 800;
    line-height: 1; margin: 0;
    display: block;
}
.logo-text { display: flex; flex-direction: column; }

/* ═══════════ HEADER POLISH ═════════════════════════════════════════════ */
header#main-header {
    box-shadow: 0 4px 24px rgba(6,78,59,0.18) !important;
    background: rgba(6, 78, 59, 0.92) !important;
}

/* ═══════════ ANİMASYONLU SİPARİŞ BUTONU (km-order-btn) ═════════════════ */
.km-order-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 38px;
    min-width: 220px;
    min-height: 52px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .4px;
    cursor: pointer;
    overflow: hidden;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform .2s var(--ease-bounce), box-shadow .25s, background .3s;
    will-change: transform;
}
.km-order-btn::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #10b981, #065f46);
    border-radius: 50px;
    opacity: 0;
    transition: opacity .35s;
    z-index: 0;
}
.km-order-btn > * { position: relative; z-index: 1; }
.km-order-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 10px 24px rgba(16,185,129,0.3),
        inset 0 1px 0 rgba(255,255,255,0.1);
}
.km-order-btn:hover::before { opacity: 1; }
.km-order-btn:active { transform: translateY(0) scale(.98); }
.km-order-btn:disabled {
    cursor: not-allowed;
    opacity: .6;
    transform: none !important;
}

/* Loading durumu — KAMYON GİDİYOR (SVG truck + dönen tekerler + ekzoz) ═══ */
.km-order-btn .km-btn-text { transition: opacity .25s, transform .25s; }
.km-order-btn .km-btn-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(.96);
    transition: opacity .25s, transform .25s;
    overflow: hidden;
    border-radius: 50px;
}
/* Yol — kesik kesik beyaz çizgi, kayar */
.km-btn-road {
    position: absolute;
    left: 0; right: 0; bottom: 9px;
    height: 2px;
    background-image: repeating-linear-gradient(90deg,
        rgba(255,255,255,0.65) 0,
        rgba(255,255,255,0.65) 10px,
        transparent 10px,
        transparent 20px);
    background-size: 20px 2px;
    border-radius: 1px;
    animation: km-road-scroll .35s linear infinite;
}
/* Kamyon container — küçük yukarı/aşağı zıplama (süspansiyon) */
.km-btn-truck-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transform: translateY(-2px);
}
.km-truck-svg {
    width: 68px; height: 30px;
    overflow: visible;
    animation: km-truck-enter .6s cubic-bezier(.16,1,.3,1),
               km-truck-bob .42s .6s ease-in-out infinite alternate;
}
/* Tekerlekler — kendi etraflarında dönen */
.km-truck-wheel {
    transform-box: fill-box;
    transform-origin: center;
    animation: km-spin .25s linear infinite;
}
/* Egzoz dumanı */
.km-truck-smoke circle {
    animation: km-smoke 1s ease-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}
.km-truck-smoke circle:nth-child(2) { animation-delay: .33s; }
.km-truck-smoke circle:nth-child(3) { animation-delay: .66s; }

.km-btn-motor-label {
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: nowrap;
}
.km-btn-motor-label .km-dots::after {
    content: "";
    animation: km-dots 1.4s steps(4, end) infinite;
}

.km-order-btn.is-loading { pointer-events: none; }
.km-order-btn.is-loading .km-btn-text { opacity: 0; transform: translateY(6px); }
.km-order-btn.is-loading .km-btn-spinner { opacity: 1; transform: scale(1); }

@keyframes km-road-scroll {
    from { background-position: 0 0; }
    to   { background-position: -20px 0; }
}
@keyframes km-truck-enter {
    from { transform: translateX(-120px); opacity: 0; }
    60%  { opacity: 1; }
    to   { transform: translateX(0); opacity: 1; }
}
@keyframes km-truck-bob {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-1px); }
    100% { transform: translateY(-2px); }
}
@keyframes km-spin {
    to { transform: rotate(360deg); }
}
@keyframes km-smoke {
    0%   { opacity: 0.8; transform: translate(0,0) scale(0.6); }
    100% { opacity: 0;   transform: translate(-8px,-4px) scale(1.6); }
}
@keyframes km-dots {
    0%   { content: ""; }
    25%  { content: "."; }
    50%  { content: ".."; }
    75%  { content: "..."; }
    100% { content: ""; }
}

/* Success durumu */
.km-order-btn .km-btn-check {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .35s, transform .35s;
    color: #fff;
}
.km-order-btn .km-btn-check i {
    font-size: 22px;
    animation: km-pop .5s var(--ease-bounce);
}
.km-order-btn.is-success { background: linear-gradient(135deg, #10b981, #065f46) !important; pointer-events: none; }
.km-order-btn.is-success .km-btn-text,
.km-order-btn.is-success .km-btn-spinner { opacity: 0; }
.km-order-btn.is-success .km-btn-check { opacity: 1; transform: scale(1); }

/* Pulse vurgu (idle iken hafif çekim) */
.km-order-btn.km-pulse::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    border: 2px solid rgba(16,185,129,0.5);
    opacity: 0;
    animation: km-pulse 2.2s ease-out infinite;
    pointer-events: none;
}

@keyframes km-spin { to { transform: rotate(360deg); } }
@keyframes km-pop {
    0%   { transform: scale(0); }
    60%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}
@keyframes km-pulse {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.15); }
}

/* Cart dropdown DEVAM ET versiyonu — full width */
.km-order-btn.km-full {
    display: flex;
    width: 100%;
    margin-top: 15px;
    min-width: 0;
    padding: 14px 20px;
}

/* ═══════════ ACCESSIBILITY ═════════════════════════════════════════════ */
:focus-visible {
    outline: 2px solid var(--soft-green);
    outline-offset: 2px;
    border-radius: 4px;
}
