/* ==========================================================================
   BikeCityHub — Site Pro
   Canli landing (index.php), blog.php ve blog_post.php uzerine biner.
   Inline <style>'dan SONRA yuklenir. Marka: uygulamanin lime (#D4FF3F) paleti.
   ========================================================================== */

:root {
    --accent: #d4ff3f;
    --accent-2: #a3e635;
    --bg: #07090d;
    --bg-soft: #0d121a;
    --text: #f2f5fa;
    --muted: rgba(226, 232, 244, 0.68);
    --stroke: rgba(255, 255, 255, 0.09);
    --sp-blue: #38bdf8;
    --sp-violet: #a78bfa;
    --sp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --sp-r: 24px;
}

::selection { background: rgba(212, 255, 63, 0.35); color: #fff; }
html { scroll-padding-top: 90px; }
body { position: relative; isolation: isolate; overflow-x: hidden; background: var(--bg); }

/* ---------- Ilerleme cubugu / aurora ---------------------------------- */
.sp-progress {
    position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 200;
    transform-origin: 0 50%; transform: scaleX(0);
    background: linear-gradient(90deg, var(--accent), var(--sp-blue), var(--sp-violet));
    box-shadow: 0 0 14px rgba(212, 255, 63, 0.7);
}
.sp-aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sp-aurora i {
    position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.26;
    animation: sp-float 26s ease-in-out infinite alternate; will-change: transform;
}
.sp-aurora i:nth-child(1) { width: 62vmax; height: 62vmax; top: -24vmax; left: -18vmax; background: radial-gradient(circle, var(--accent), transparent 65%); }
.sp-aurora i:nth-child(2) { width: 54vmax; height: 54vmax; top: 35vh; right: -24vmax; background: radial-gradient(circle, var(--sp-blue), transparent 65%); animation-duration: 32s; opacity: 0.17; }
.sp-aurora i:nth-child(3) { width: 48vmax; height: 48vmax; bottom: -24vmax; left: 12vw; background: radial-gradient(circle, var(--sp-violet), transparent 65%); animation-duration: 38s; opacity: 0.14; }
.sp-aurora::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 5%, transparent 68%);
    mask-image: radial-gradient(ellipse at 50% 20%, #000 5%, transparent 68%);
}
@keyframes sp-float { to { transform: translate3d(7vmax, 5vmax, 0) scale(1.18); } }

/* ---------- Header ---------------------------------------------------- */
header.site {
    background: rgba(7, 9, 13, 0.6);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--stroke);
    transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
header.site.is-scrolled { background: rgba(7, 9, 13, 0.9); box-shadow: 0 14px 40px -22px #000; padding-top: 11px; padding-bottom: 11px; }

.brand .mark {
    width: 34px; height: 34px; border-radius: 11px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    animation: sp-glow 3.6s ease-in-out infinite;
}
.brand span:last-child { letter-spacing: 0.02em; }
@keyframes sp-glow {
    0%, 100% { box-shadow: 0 0 16px rgba(212, 255, 63, 0.25); }
    50%      { box-shadow: 0 0 32px rgba(212, 255, 63, 0.6); }
}

nav.links a.navlink { position: relative; color: var(--muted); transition: color 0.25s; }
nav.links a.navlink::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
    transition: transform 0.4s var(--sp-ease);
}
nav.links a.navlink:hover, nav.links a.navlink.is-active { color: var(--text); }
nav.links a.navlink:hover::after, nav.links a.navlink.is-active::after { transform: scaleX(1); }

.btn {
    position: relative; overflow: hidden; border-radius: 14px; border-width: 1px;
    transition: transform 0.35s var(--sp-ease), box-shadow 0.35s, background 0.25s, border-color 0.25s, color 0.25s;
}
.btn-solid {
    background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #0a0d12;
    box-shadow: 0 12px 30px -12px rgba(212, 255, 63, 0.65);
}
.btn-solid::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
    transform: translateX(-130%); animation: sp-sheen 4.8s ease-in-out infinite;
}
@keyframes sp-sheen { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.btn:hover { transform: translateY(-3px); }
.btn-solid:hover { box-shadow: 0 20px 40px -12px rgba(212, 255, 63, 0.8); }
.btn-outline { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(212, 255, 63, 0.07); }

.lang-switch select { border-radius: 10px; border-width: 1px; background: rgba(255, 255, 255, 0.05); transition: border-color 0.25s; }
.lang-switch select:hover, .lang-switch select:focus { border-color: var(--accent); outline: none; }

/* mobil menu dugmesi */
.sp-burger { display: none; }

/* ---------- Hero ------------------------------------------------------ */
.hero { position: relative; }
.badge {
    background: rgba(212, 255, 63, 0.09); border: 1px solid rgba(212, 255, 63, 0.28);
    border-radius: 999px; padding: 7px 15px; color: var(--accent); backdrop-filter: blur(8px);
}
.badge::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 12px var(--accent);
    animation: sp-blink 1.8s ease-in-out infinite;
}
@keyframes sp-blink { 50% { opacity: 0.25; transform: scale(0.65); } }

.hero h1 { letter-spacing: -0.035em; text-wrap: balance; }
.hero h1 span[data-i18n="hero_title_2"] {
    background: linear-gradient(100deg, var(--accent), #7dd3fc, var(--sp-violet), var(--accent));
    background-size: 250% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: sp-shimmer 7s linear infinite;
}
@keyframes sp-shimmer { to { background-position: 250% 0; } }
.hero p.desc { color: var(--muted); }

.sp-stagger > * { opacity: 0; transform: translateY(28px); filter: blur(8px); animation: sp-rise 1s var(--sp-ease) forwards; }
.sp-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.sp-stagger > *:nth-child(2) { animation-delay: 0.18s; }
.sp-stagger > *:nth-child(3) { animation-delay: 0.32s; }
.sp-stagger > *:nth-child(4) { animation-delay: 0.46s; }
@keyframes sp-rise { to { opacity: 1; transform: none; filter: none; } }

.hero-media {
    position: relative; border-radius: 32px; border: 1px solid rgba(212, 255, 63, 0.22); background: var(--bg-soft);
    box-shadow: 0 50px 110px -30px rgba(0, 0, 0, 0.95), 0 0 100px -20px rgba(212, 255, 63, 0.28);
    animation: sp-bob 7s ease-in-out infinite;
    transition: transform 0.25s ease-out;
    transform-style: preserve-3d;
}
.hero-media img { transition: transform 1.2s var(--sp-ease); }
.hero-media:hover img { transform: scale(1.05); }
.hero-media::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.13) 50%, transparent 65%);
    transform: translateX(-120%); animation: sp-sheen 6.5s ease-in-out infinite;
}
@keyframes sp-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.sp-orbit {
    position: absolute; left: 50%; top: 50%; border-radius: 50%; pointer-events: none;
    border: 1px solid rgba(212, 255, 63, 0.2); transform: translate(-50%, -50%);
    animation: sp-ring 7s ease-out infinite;
}
@keyframes sp-ring { 0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.9; } 100% { transform: translate(-50%, -50%) scale(1.7); opacity: 0; } }

/* ---------- Ticker ---------------------------------------------------- */
.sp-ticker {
    overflow: hidden; padding: 1.1rem 0; background: rgba(255, 255, 255, 0.02);
    border-block: 1px solid var(--stroke);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sp-ticker__track { display: flex; width: max-content; gap: 3rem; animation: sp-marquee 40s linear infinite; }
.sp-ticker:hover .sp-ticker__track { animation-play-state: paused; }
.sp-ticker__item {
    display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap;
    font-size: 1.15rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.sp-ticker__item::after { content: '✦'; color: var(--accent); }
@keyframes sp-marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .sp-ticker__track { animation-direction: reverse; }

/* ---------- Spot bolumleri ------------------------------------------- */
section.spot, section.spot.alt { border-color: var(--stroke); border-width: 1px 0; }
section.spot.alt { background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)); }
.spot-media {
    position: relative; border-radius: var(--sp-r); border: 1px solid var(--stroke); background: var(--bg-soft);
    box-shadow: 0 40px 90px -35px #000; transition: transform 0.6s var(--sp-ease), border-color 0.4s, box-shadow 0.6s var(--sp-ease);
}
.spot-media img { transition: transform 1.2s var(--sp-ease); }
.spot-media:hover { transform: translateY(-8px) rotate(-0.6deg); border-color: rgba(212, 255, 63, 0.4); box-shadow: 0 50px 100px -35px rgba(212, 255, 63, 0.3); }
.spot-media:hover img { transform: scale(1.06); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
    background: rgba(212, 255, 63, 0.09); border: 1px solid rgba(212, 255, 63, 0.22); color: var(--accent);
}
.spot h2, .grid-section .head h2, .quotes-section h2, .blog-section .head h2 { letter-spacing: -0.03em; text-wrap: balance; }
.spot h2, .grid-section .head h2, .quotes-section h2, .blog-section .head h2 {
    background: linear-gradient(120deg, #fff 45%, rgba(212, 255, 63, 0.9));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.spot ul li { transition: transform 0.4s var(--sp-ease); }
.spot ul li:hover { transform: translateX(6px); }
.spot ul li .dash {
    flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; font-size: 0 !important;
    background: rgba(212, 255, 63, 0.14) center / 12px no-repeat
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ff3f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    border: 1px solid rgba(212, 255, 63, 0.3);
}
html[dir="rtl"] .spot ul li .dash { transform: none; }

/* ---------- Ozellik kartlari ----------------------------------------- */
.feat-grid { gap: 18px; background: transparent; border: 0; }
.feat-card {
    position: relative; overflow: hidden; border-radius: var(--sp-r);
    background: rgba(18, 24, 34, 0.7); border: 1px solid var(--stroke); backdrop-filter: blur(10px);
    transition: transform 0.5s var(--sp-ease), border-color 0.4s, box-shadow 0.5s var(--sp-ease);
}
.feat-card::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(212, 255, 63, 0.16), transparent 45%);
}
.feat-card:hover { transform: translateY(-9px); border-color: rgba(212, 255, 63, 0.4); box-shadow: 0 34px 70px -34px rgba(212, 255, 63, 0.4); }
.feat-card:hover::before { opacity: 1; }
.feat-card .icon {
    width: 50px; height: 50px; border-radius: 15px; border: 1px solid rgba(212, 255, 63, 0.3);
    background: rgba(212, 255, 63, 0.09); transition: transform 0.5s var(--sp-ease), background 0.3s;
}
.feat-card .icon svg { stroke: var(--accent); }
.feat-card:hover .icon { transform: scale(1.12) rotate(-8deg); background: rgba(212, 255, 63, 0.18); }
.feat-card p { color: var(--muted); }

/* ---------- Yorumlar -------------------------------------------------- */
.quotes-section { background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent); border-color: var(--stroke); border-width: 1px 0; }
.quote-card {
    border-radius: var(--sp-r); border: 1px solid var(--stroke); background: rgba(18, 24, 34, 0.7); backdrop-filter: blur(10px);
    transition: transform 0.5s var(--sp-ease), border-color 0.4s;
}
.quote-card:hover { transform: translateY(-6px); border-color: rgba(212, 255, 63, 0.35); }
.avatar { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 22px -6px rgba(212, 255, 63, 0.6); }

/* ---------- Blog ------------------------------------------------------ */
.blog-teaser-card, .blog-card, .post-card {
    border-radius: var(--sp-r) !important; border-color: var(--stroke) !important; background: rgba(18, 24, 34, 0.7) !important;
    transition: transform 0.5s var(--sp-ease), border-color 0.4s, box-shadow 0.5s var(--sp-ease) !important;
}
.blog-teaser-card:hover, .blog-card:hover, .post-card:hover {
    transform: translateY(-8px) !important; border-color: rgba(212, 255, 63, 0.4) !important; box-shadow: 0 34px 70px -34px rgba(212, 255, 63, 0.35);
}
.blog-teaser-card .thumb img, .blog-card img { transition: transform 1s var(--sp-ease); }
.blog-teaser-card:hover .thumb img, .blog-card:hover img { transform: scale(1.08); }
.blog-section .view-all { position: relative; }

/* ---------- CTA ------------------------------------------------------- */
.cta-banner {
    position: relative; overflow: hidden; isolation: isolate;
    margin: 40px clamp(12px, 3vw, 40px); border-radius: 36px;
    background: linear-gradient(120deg, #d4ff3f, #a3e635, #d4ff3f); background-size: 200% 100%;
    animation: sp-shimmer 10s linear infinite;
    box-shadow: 0 50px 120px -40px rgba(212, 255, 63, 0.5);
}
.cta-banner::before, .cta-banner::after {
    content: ''; position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, 0.28); filter: blur(10px);
    animation: sp-float 12s ease-in-out infinite alternate;
}
.cta-banner::before { width: 340px; height: 340px; top: -140px; left: -80px; }
.cta-banner::after  { width: 260px; height: 260px; bottom: -110px; right: -60px; animation-duration: 16s; }
.store-badge-actions a { transition: transform 0.4s var(--sp-ease), filter 0.3s; }
.store-badge-actions a:hover { transform: translateY(-6px) scale(1.05); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35)); }

/* ---------- Footer ---------------------------------------------------- */
footer.site { border-top: 1px solid var(--stroke); }
.footer-grid, .footer-bottom { border-color: var(--stroke); }
.footer-col a { position: relative; width: fit-content; transition: color 0.25s, transform 0.3s var(--sp-ease); }
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }

/* ---------- Scroll reveal (mevcut .reveal / .is-visible'a ek) --------- */
.reveal {
    opacity: 0; transform: translateY(44px) scale(0.98); filter: blur(6px);
    transition: opacity 0.9s var(--sp-ease), transform 0.9s var(--sp-ease), filter 0.9s var(--sp-ease);
    transition-delay: var(--sp-d, 0ms);
}
.reveal.is-visible, .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Yukari cik ------------------------------------------------ */
.sp-top {
    position: fixed; right: 1.2rem; bottom: calc(1.2rem + env(safe-area-inset-bottom)); z-index: 90;
    width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; cursor: pointer;
    border: 1px solid rgba(212, 255, 63, 0.4); background: rgba(7, 9, 13, 0.8); backdrop-filter: blur(10px); color: var(--accent);
    opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none;
    transition: opacity 0.4s, transform 0.5s var(--sp-ease), background 0.3s, color 0.3s;
}
.sp-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.sp-top:hover { background: var(--accent); color: #07090d; }
.sp-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Mobil ----------------------------------------------------- */
@media (max-width: 900px) {
    header.site { flex-wrap: nowrap; gap: 12px; padding: 12px 16px; }
    .sp-burger {
        display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; cursor: pointer;
        border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); color: var(--text);
        transition: transform 0.4s var(--sp-ease), background 0.25s;
    }
    .sp-burger svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }
    .sp-burger.is-open { transform: rotate(90deg); background: rgba(212, 255, 63, 0.14); }

    .header-actions .btn { display: none; }
    nav.links {
        position: fixed; top: 0; left: 0; right: 0; z-index: -1; flex-direction: column; align-items: stretch; gap: 4px;
        padding: 84px 18px 22px; background: rgba(7, 9, 13, 0.97); backdrop-filter: blur(22px);
        border-bottom: 1px solid var(--stroke); border-radius: 0 0 28px 28px;
        transform: translateY(-105%); transition: transform 0.6s var(--sp-ease);
    }
    header.site.menu-open nav.links { transform: none; }
    nav.links a.navlink { padding: 14px 16px; border-radius: 14px; font-size: 16px; }
    nav.links a.navlink::after { display: none; }
    nav.links a.navlink:hover { background: rgba(255, 255, 255, 0.05); }
    header.site.menu-open { background: rgba(7, 9, 13, 0.97); }
    .header-actions { position: relative; z-index: 2; }
    .brand { position: relative; z-index: 2; }
    .sp-burger { position: relative; z-index: 2; }

    .cta-banner { border-radius: 26px; margin: 24px 12px; }
    .sp-aurora i { filter: blur(60px); }
}
@media (max-width: 480px) { .sp-top { right: 0.9rem; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
    .reveal, .sp-stagger > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}
