/* ============================================================
   Menemen Oto Lastik — Kurumsal Modern Cila Katmanı
   ============================================================ */

:root {
    --gold: #f59e0b;
    --gold-soft: #fbbf24;
    --ink: #151d20;
    --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

::selection { background: var(--gold); color: #111; }

html { scroll-behavior: smooth; }

body::-webkit-scrollbar { width: 11px; }
body::-webkit-scrollbar-track { background: #10171a; }
body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), #b45309);
    border-radius: 8px;
    border: 2px solid #10171a;
}

/* ---- Kaydırma ilerleme çubuğu ---- */
#scrollProgress {
    position: fixed;
    top: var(--public-header-offset);
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #f59e0b, #fde68a, #f59e0b);
    z-index: 1070;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
    transition: width 0.08s linear;
    pointer-events: none;
}

/* ---- Navbar: ışıltılı alt çizgi + cam efekti ---- */
.navbar {
    border-bottom: 3px solid transparent !important;
    border-image: linear-gradient(90deg, transparent, var(--gold) 30%, #fde68a 50%, var(--gold) 70%, transparent) 1;
}
.navbar::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -3px;
    height: 3px;
    background: linear-gradient(90deg, transparent 20%, rgba(253, 230, 138, 0.9) 50%, transparent 80%);
    background-size: 200% 100%;
    animation: navScan 5s linear infinite;
    pointer-events: none;
}
@keyframes navScan {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.nav-link {
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease-spring);
}
.nav-link:hover { transform: translateY(-1px); }

.nav-phone {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}
.nav-phone:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.55);
}

/* ---- Hero butonları: parlak süpürme ---- */
.btn-hero-primary, .btn-hero-ghost {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-hero-primary::before, .btn-hero-ghost::before {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    z-index: 1;
}
.btn-hero-primary:hover::before, .btn-hero-ghost:hover::before { left: 130%; }
.btn-hero-primary:hover, .btn-hero-ghost:hover { transform: translateY(-2px); }

/* ---- Başlıklar: degrade metin ---- */
.lux-block__head h2 {
    background: linear-gradient(120deg, #fff 30%, #fde68a 55%, #f59e0b 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lux-block.lux-services .lux-block__head h2,
section:not(.cine-pin) .lux-block__head h2 {
    background: linear-gradient(120deg, var(--ink) 30%, #b45309 70%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lux-kicker, .hero-eyebrow {
    letter-spacing: 0.34em;
    text-transform: uppercase;
    font-weight: 700;
}

/* ---- Kartlar: yükselme, parıltı, cam kenar ---- */
.card, .lux-services__grid > * {
    border-radius: 18px !important;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
    border: 1px solid rgba(245, 158, 11, 0.12) !important;
}
.card:hover, .lux-services__grid > *:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(21, 29, 32, 0.18), 0 0 0 1px rgba(245, 158, 11, 0.25);
}
.lux-services__grid > * {
    position: relative;
    overflow: hidden;
}
.lux-services__grid > *::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(245, 158, 11, 0.10), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.lux-services__grid > *:hover::after { opacity: 1; }

/* ---- Görünürlük animasyonları (polish.js ile) ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    transition: opacity 0.8s ease, transform 0.8s var(--ease-spring);
    will-change: opacity, transform;
}
[data-reveal].is-inview {
    opacity: 1;
    transform: none;
}

/* ---- Anahtar kelime açılış sayfaları ---- */
.landing-hero {
    padding: 3.4rem 0 3rem;
    color: #fff;
    background:
        radial-gradient(900px 340px at 12% 0%, rgba(245, 158, 11, 0.20), transparent 62%),
        linear-gradient(135deg, #202e31 0%, #11181b 100%);
    border-bottom: 3px solid var(--gold);
}

.landing-crumbs {
    margin-bottom: 1.1rem;
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.65);
}
.landing-crumbs a { color: var(--gold-soft); text-decoration: none; }
.landing-crumbs a:hover { text-decoration: underline; }
.landing-crumbs span { margin: 0 0.45rem; }
.landing-crumbs span[aria-current] { margin: 0; color: rgba(226, 232, 240, 0.85); }

.landing-hero .lux-kicker { color: var(--gold); }

.landing-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4.6vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.landing-hero__lead {
    max-width: 44rem;
    margin: 0 0 1.7rem;
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.86);
}

.landing-hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.landing-body { padding: 4rem 0 5rem; }

.landing-prose { max-width: 48rem; }
.landing-prose h2 {
    margin: 2.6rem 0 0.9rem;
    font-size: clamp(1.4rem, 2.6vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #17202a;
}
.landing-prose h2:first-child { margin-top: 0; }
.landing-prose p {
    margin: 0 0 1rem;
    font-size: 1.02rem;
    line-height: 1.78;
    color: #4b5563;
}

.landing-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.landing-list li {
    position: relative;
    padding: 0.42rem 0 0.42rem 1.75rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #4b5563;
}
.landing-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.95rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.landing-faq { max-width: 48rem; margin-top: 3.4rem; }
.landing-faq > h2 {
    margin: 0 0 1.2rem;
    font-size: clamp(1.4rem, 2.6vw, 1.95rem);
    font-weight: 800;
    color: #17202a;
}
.landing-faq details {
    margin-bottom: 0.7rem;
    padding: 0 1.15rem;
    background: #fff;
    border: 1px solid rgba(23, 32, 42, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(28, 36, 48, 0.05);
}
.landing-faq summary {
    padding: 1rem 0;
    font-weight: 700;
    color: #17202a;
    cursor: pointer;
    list-style: none;
}
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary::after {
    content: '+';
    float: right;
    margin-left: 1rem;
    color: var(--gold);
    font-size: 1.3rem;
    line-height: 1;
}
.landing-faq details[open] summary::after { content: '–'; }
.landing-faq details p {
    margin: 0;
    padding: 0 0 1.05rem;
    line-height: 1.75;
    color: #4b5563;
}

.landing-related { margin-top: 3.4rem; }
.landing-related > h2 {
    margin: 0 0 1.2rem;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 800;
    color: #17202a;
}
.landing-related ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.landing-related a {
    display: block;
    height: 100%;
    padding: 1.1rem 1.2rem;
    background: #fff;
    border: 1px solid rgba(23, 32, 42, 0.08);
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.landing-related a:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(28, 36, 48, 0.10);
}
.landing-related strong { display: block; color: #17202a; font-size: 1.04rem; }
.landing-related span { color: #64748b; font-size: 0.86rem; }

.landing-cta { margin-top: 3.4rem; background: #fff; border-radius: 20px; }

@media (max-width: 768px) {
    .landing-hero { padding: 2.4rem 0 2.2rem; }
    .landing-body { padding: 2.8rem 0 3.4rem; }
    .landing-cta { flex-direction: column; align-items: flex-start; }
}

/* ---- Footer: derinlik + parıltı ---- */
.site-footer {
    position: relative;
    background:
        radial-gradient(900px 300px at 15% 0%, rgba(245, 158, 11, 0.10), transparent 60%),
        linear-gradient(180deg, #1a2427 0%, #10171a 100%);
}
.site-footer__glow {
    filter: blur(40px);
    opacity: 0.5;
}
/* Hizmet bölgeleri sütunu eklendiğinde dört kolona geçer */
.site-footer__grid { grid-template-columns: 1.25fr 0.75fr 0.9fr 1fr; }
@media (max-width: 991px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
.site-footer a {
    transition: color 0.25s ease, padding-left 0.25s var(--ease-spring);
}
.site-footer__grid ul a:hover { padding-left: 6px; }

/* ---- Yukarı çık butonu ---- */
#backToTop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    color: #111;
    font-size: 1.05rem;
    cursor: pointer;
    z-index: 1040;
    opacity: 0;
    transform: translateY(16px) scale(0.8);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s var(--ease-spring), box-shadow 0.3s ease;
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.4);
}
#backToTop.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
#backToTop:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(245, 158, 11, 0.6); }

/* ---- Form odakları ---- */
.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.22rem rgba(245, 158, 11, 0.18);
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---- Hareket azaltma tercihi ---- */
@media (prefers-reduced-motion: reduce) {
    .navbar::after { animation: none; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}