/* =====================================================
 * Servis Türkiye — Özel stiller
 * Marka paleti: lacivert (#0F2C52) + turkuaz (#16B6C4)
 * Kurumsal koyu lacivert + turkuaz accent
 * ===================================================== */

:root {
    --brand-50:  #eef3fa;
    --brand-100: #d4e2f2;
    --brand-200: #aac6e6;
    --brand-300: #79a3d6;
    --brand-400: #4a7cc0;
    --brand-500: #2d5da3;
    --brand-600: #214a82;
    --brand-700: #1a3c69;
    --brand-800: #15325b;
    --brand-900: #0f2c52;
    --brand-950: #0a1f3b;

    --accent-50:  #e7fafb;
    --accent-100: #c4f2f5;
    --accent-200: #8fe6ec;
    --accent-300: #54d4dd;
    --accent-400: #22bfc9;
    --accent-500: #16b6c4;
    --accent-600: #0f93a1;
    --accent-700: #10747f;
    --accent-800: #135d66;
    --accent-900: #144c54;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    background: #fff;
    color: #1e293b;
    margin: 0;
}
img { max-width: 100%; height: auto; display: block; }

/* =====================================================
   Tipografi vurgu
   ===================================================== */
.text-gradient-brand {
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--accent-500) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* =====================================================
   Butonlar
   ===================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-600) 55%, var(--accent-500) 130%);
    transition: transform .2s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-primary:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px -10px rgba(15, 44, 82, 0.5);
}

/* =====================================================
   Bağımsızlık şeritleri ve disclaimer'lar
   ===================================================== */
.disclaimer-strip {
    background: linear-gradient(90deg, rgba(231, 250, 251, 0.9) 0%, rgba(196, 242, 245, 0.6) 100%);
    border: 1px solid rgba(34, 191, 201, 0.4);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.independence-ribbon { position: relative; }
.independence-ribbon::before,
.independence-ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-500);
}
.independence-ribbon::before { left: 0; }
.independence-ribbon::after  { right: 0; }

/* =====================================================
   Hero arka plan: grid + blob
   ===================================================== */
.grid-bg {
    background-image:
        linear-gradient(to right, rgba(15, 44, 82, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 44, 82, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.blob-brand,
.blob-accent {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 9999px;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: .25;
}
.blob-brand  { background: radial-gradient(circle at 30% 30%, var(--brand-300), transparent 65%); }
.blob-accent { background: radial-gradient(circle at 30% 30%, var(--accent-300), transparent 65%); }

/* =====================================================
   Animasyonlar
   ===================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp { animation: fadeInUp .8s ease-out both; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
.animate-float       { animation: float 4.5s ease-in-out infinite; }
.animate-float-slow  { animation: float 6s ease-in-out infinite; }

/* =====================================================
   Hizmet kartı (split icon panel)
   ===================================================== */
.service-card-split {
    display: flex;
    align-items: stretch;
    background: white;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
    text-decoration: none;
    color: inherit;
}
.service-card-split:hover {
    border-color: var(--brand-500);
    box-shadow: 0 12px 28px -10px rgba(15, 44, 82, 0.2);
    transform: translateY(-2px);
}
.service-card-split .icon-panel {
    width: 96px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--brand-50), var(--accent-50));
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e2e8f0;
}

/* =====================================================
   Süreç çizgisi (homepage "Nasıl Çalışıyoruz")
   ===================================================== */
.process-steps-line {
    height: 2px;
    background-size: 200% 100%;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.process-step-item.is-active .step-num {
    background: linear-gradient(135deg, var(--brand-800), var(--accent-500));
    color: #fff;
}

/* =====================================================
   Navigasyon dropdown
   ===================================================== */
.dropdown-wrapper:hover .nav-dropdown-panel,
.dropdown-wrapper:focus-within .nav-dropdown-panel { display: block; }
.nav-dropdown-panel { animation: dropFade .18s ease-out; }
@keyframes dropFade {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Sticky navbar gölge artışı scroll edildiğinde (JS ekler) */
.nav-scrolled {
    box-shadow: 0 8px 24px -12px rgba(15, 44, 82, 0.2) !important;
}

/* Menü linkleri — alt-çizgi hover göstergesi (kaynak bg-pill yerine) */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.4rem;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-500);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .2s ease;
}
.nav-link:hover::after,
.nav-link.is-current::after { transform: scaleX(1); }

/* =====================================================
   Line clamp (Tailwind plugin yoksa fallback)
   ===================================================== */
.line-clamp-2,
.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }

/* =====================================================
   Mobil "Hemen Ara" sabit alt buton
   ===================================================== */
.mobile-sticky-call {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding-bottom: env(safe-area-inset-bottom);
    background: linear-gradient(180deg, var(--brand-800) 0%, var(--brand-950) 100%);
    transition: filter .2s ease;
}
.mobile-sticky-call:active {
    filter: brightness(1.08);
}
@media (min-width: 1024px) {
    .mobile-sticky-call { display: none; }
}

/* Mobile sticky call için body'e ekstra padding */
@media (max-width: 1023px) {
    body { padding-bottom: 84px; }
}

/* =====================================================
   Hero skeleton (LCP optimizasyonu)
   ===================================================== */
.hero-skeleton {
    min-height: 420px;
    contain-intrinsic-size: 420px;
}

/* =====================================================
   ÖZGÜN LAYOUT v2 — Servis Türkiye
   (Kaynak re-skin'inden farklılaştırılmış yeni bileşenler)
   ===================================================== */

/* Koyu hero / koyu bölüm radial glow */
.hero-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(640px circle at 16% 14%, rgba(34, 191, 201, 0.30), transparent 60%),
        radial-gradient(720px circle at 92% 6%, rgba(45, 93, 163, 0.45), transparent 62%);
}

/* Koyu zemin üstünde ince ızgara */
.grid-bg-dark {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.5;
}

/* Hero üzerindeki translucent chip */
.hero-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #d4e2f2;
}

/* Hero alt glass istatistik bandı */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    overflow: hidden;
}
.stat-cell {
    background: rgba(10, 31, 59, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 1.1rem 1.25rem;
}
@media (min-width: 1024px) {
    .stat-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Bento ızgarada eşit satır yüksekliği (öne çıkan kutu 2x2) */
@media (min-width: 1024px) {
    .bento { grid-auto-rows: 1fr; }
}
.feature-tile { transition: transform .25s ease, box-shadow .25s ease; }
.feature-tile:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -20px rgba(10, 31, 59, 0.6); }

/* Marka marquee (kayan şerit) */
.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
    display: inline-flex;
    gap: 0.75rem;
    white-space: nowrap;
    width: max-content;
    will-change: transform;
    animation: st-marquee 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes st-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    color: #15325b;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.brand-chip:hover {
    border-color: var(--accent-500);
    color: var(--brand-900);
    box-shadow: 0 8px 20px -12px rgba(15, 44, 82, 0.35);
}
@media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; }
}

/* Dikey zaman çizelgesi (Süreç) */
.tl { position: relative; list-style: none; margin: 0; padding: 0; }
.tl::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-400), rgba(34, 191, 201, 0.15));
}
.tl__item { position: relative; padding-left: 56px; padding-bottom: 2.25rem; }
.tl__item:last-child { padding-bottom: 0; }
.tl__dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background: var(--accent-500);
    color: #06202a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 0 0 6px rgba(34, 191, 201, 0.12);
}
@media (min-width: 768px) {
    .tl::before { left: 50%; transform: translateX(-50%); }
    .tl__item { width: 50%; padding-bottom: 2.75rem; }
    .tl__item--l { left: 0; padding-left: 0; padding-right: 46px; text-align: right; }
    .tl__item--r { left: 50%; padding-left: 46px; padding-right: 0; }
    .tl__item--l .tl__dot { left: auto; right: -16px; }
    .tl__item--r .tl__dot { left: -16px; }
}

/* Hizmet bölgeleri — koyu zemin pill bulutu */
.region-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: #d4e2f2;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.region-pill:hover {
    background: var(--accent-500);
    border-color: var(--accent-500);
    color: #06202a;
}

/* =====================================================
   Print stilleri
   ===================================================== */
@media print {
    nav, footer, .btn-primary, .mobile-sticky-call,
    .independence-ribbon, .nav-dropdown-panel,
    #mobileMenu, #mobileMenuBtn { display: none !important; }
    body { background: white; color: #000; padding-bottom: 0 !important; }
    a { color: #000; text-decoration: none; }
}
