/* =====================================================
 * İTS Servis — Özel stiller (v2)
 * Marka paleti: emerald (#047857) + amber (#f59e0b)
 * Kurumsal koyu yeşil + amber accent
 * ===================================================== */

:root {
    --brand-50:  #ecfdf5;
    --brand-100: #d1fae5;
    --brand-200: #a7f3d0;
    --brand-300: #6ee7b7;
    --brand-400: #34d399;
    --brand-500: #10b981;
    --brand-600: #059669;
    --brand-700: #047857;
    --brand-800: #065f46;
    --brand-900: #064e3b;
    --brand-950: #022c22;

    --accent-50:  #fffbeb;
    --accent-100: #fef3c7;
    --accent-200: #fde68a;
    --accent-300: #fcd34d;
    --accent-400: #fbbf24;
    --accent-500: #f59e0b;
    --accent-600: #d97706;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: 'Manrope', '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) 75%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* =====================================================
   Butonlar
   ===================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--accent-500) 100%);
    transition: transform .2s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px -10px rgba(4, 120, 87, 0.45);
}

/* =====================================================
   Bağımsızlık şeritleri ve disclaimer'lar
   (marka sayfalarında, sidebar'da, brand-service'de)
   ===================================================== */
.disclaimer-strip {
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.85) 0%, rgba(255, 244, 214, 0.6) 100%);
    border: 1px solid rgba(252, 211, 77, 0.5);
    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, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 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-400), 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) — Tailwind utility'ye
   bağımlı olmayan, kendi kendine yeten kart
   ===================================================== */
.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(4, 120, 87, 0.18);
    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-700), 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, 23, 42, 0.18) !important;
}

/* =====================================================
   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 — Tailwind ile çakışmasın
   ===================================================== */
.mobile-sticky-call {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 1024px) {
    .mobile-sticky-call { display: none; }
}

/* Mobile sticky call için body'e ekstra padding — içerik son satır kapanmasın */
@media (max-width: 1023px) {
    body { padding-bottom: 64px; }
}

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

/* =====================================================
   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; }
}
