/* =====================================================
 * Servisin Gelsin (v3) — Özel kurumsal stiller
 * Palet: Lacivert (#0B2545) + Mercan (#FF6B57)
 * Font: Plus Jakarta Sans
 * ===================================================== */

:root {
    /* Lacivert */
    --brand-50:  #eef2f8;
    --brand-100: #d6e0ee;
    --brand-200: #a6bbd6;
    --brand-300: #7592bd;
    --brand-400: #476aa1;
    --brand-500: #274a85;
    --brand-600: #163666;
    --brand-700: #10294f;
    --brand-800: #0B2545;
    --brand-900: #081a32;
    --brand-950: #040d1c;

    /* Mercan */
    --accent-50:  #fff3f1;
    --accent-100: #ffe1db;
    --accent-200: #ffc1b7;
    --accent-300: #ff9d8d;
    --accent-400: #ff806c;
    --accent-500: #FF6B57;
    --accent-600: #e85440;
    --accent-700: #c1402d;
    --accent-800: #993525;
    --accent-900: #7a2c1f;
}

/* Temel */
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #ffffff;
    color: #0f172a;
    margin: 0;
}
body, h1, h2, h3, h4, h5, h6 { letter-spacing: -0.005em; }
img { max-width: 100%; height: auto; display: block; }

/* <picture> tag wrapper'ı layout'a karışmasın */
picture { display: contents; }

/* Skip-link */
.sr-only:not(:focus):not(:active) {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Bağlantı/heading temel ton */
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--accent-600); }

/* =====================================================
 * KURUMSAL GRADYAN VE METİN VURGU
 * ===================================================== */
.text-gradient-brand {
    background: linear-gradient(135deg, var(--brand-800), var(--accent-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Şerit / üst slogan barı (kurumsal hat) */
.top-info-strip {
    background: var(--brand-900);
    color: #f1f5f9;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

/* =====================================================
 * BUTONLAR — dikdörtgen + sol kenarda mercan vurgu
 * ===================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-800);
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    border-left: 3px solid var(--accent-500);
    transition: background 180ms ease, transform 120ms ease, box-shadow 180ms ease;
}
.btn-primary:hover {
    background: var(--brand-700);
    color: #ffffff;
    box-shadow: 0 4px 12px -2px rgba(11,37,69,0.35);
}
.btn-primary:active { transform: translateY(1px); }

.btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-500);
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    border-left: 3px solid var(--brand-800);
    transition: background 180ms ease, transform 120ms ease, box-shadow 180ms ease;
}
.btn-accent:hover {
    background: var(--accent-600);
    color: #ffffff;
    box-shadow: 0 4px 12px -2px rgba(255,107,87,0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: var(--brand-800);
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    border: 1px solid var(--brand-200);
    transition: border-color 180ms ease, color 180ms ease;
}
.btn-outline:hover {
    border-color: var(--accent-500);
    color: var(--accent-600);
}

/* =====================================================
 * NAV — sticky header + scroll efekt
 * ===================================================== */
.nav-shell { transition: box-shadow 240ms ease, background 240ms ease; }
.nav-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(140%) blur(8px);
    box-shadow: 0 1px 0 0 rgba(11,37,69,0.08), 0 8px 24px -10px rgba(11,37,69,0.18);
}

/* Servisin Gelsin — üst bilgi şeridi alt çizgisi yumuşak */
.sg-topstrip { font-feature-settings: "ss01" on, "cv11" on; }

/* Servisin Gelsin — nav link altına dinamik mercan altı */
.sg-nav-link { position: relative; }
.sg-nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--accent-500);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 220ms ease;
}
.sg-nav-link:hover::after { width: 28px; }

/* Servisin Gelsin — header CTA hover */
.sg-call-cta { will-change: transform, box-shadow; }

/* Servisin Gelsin — footer hafif noktasal doku */
.sg-footer::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    opacity: 0.6;
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
}

.nav-link {
    color: var(--brand-800);
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: background 180ms ease, color 180ms ease;
}
.nav-link:hover { background: var(--brand-50); color: var(--accent-600); }

/* Dropdown panel */
.dropdown-panel {
    background: #ffffff;
    border: 1px solid var(--brand-100);
    box-shadow: 0 12px 32px -12px rgba(11,37,69,0.18), 0 4px 8px -4px rgba(11,37,69,0.08);
    border-radius: 0.5rem;
}
.dropdown-item {
    display: block;
    padding: 0.6rem 0.9rem;
    color: var(--brand-800);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0.25rem;
}
.dropdown-item:hover { background: var(--brand-50); color: var(--accent-600); }

/* =====================================================
 * KART STİLLERİ
 * ===================================================== */
.adl-card {
    background: #ffffff;
    border: 1px solid var(--brand-100);
    border-radius: 0.5rem;
    box-shadow: 0 1px 0 0 rgba(11,37,69,0.04);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.adl-card:hover {
    border-color: var(--accent-300);
    box-shadow: 0 8px 20px -8px rgba(11,37,69,0.16);
}

/* Hizmet kartı — sol kenarda 3px mercan border */
.service-card {
    background: #ffffff;
    border: 1px solid var(--brand-100);
    border-left: 3px solid var(--accent-500);
    border-radius: 0.375rem;
    overflow: hidden;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.service-card:hover {
    border-color: var(--accent-300);
    border-left-color: var(--accent-600);
    box-shadow: 0 10px 28px -10px rgba(11,37,69,0.18);
}

/* Bağımsızlık kutusu (brand sayfasında) */
.brand-disclaimer-box {
    background: var(--brand-50);
    border: 1px solid var(--brand-200);
    border-left: 4px solid var(--accent-500);
    border-radius: 0.375rem;
    padding: 1rem 1.25rem;
}

/* =====================================================
 * BADGES
 * ===================================================== */
.badge-brand {
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: var(--brand-50);
    color: var(--brand-800);
    border: 1px solid var(--brand-200);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.55rem;
    border-radius: 0.25rem;
}
.badge-accent {
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: var(--accent-50);
    color: var(--accent-700);
    border: 1px solid var(--accent-200);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.55rem;
    border-radius: 0.25rem;
}

/* =====================================================
 * SECTION AYRIM ÇİZGİSİ
 * ===================================================== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-200) 50%, transparent 100%);
    margin: 0;
}

/* =====================================================
 * SLIDER — hero
 * ===================================================== */
.hero-slide { transition: opacity 700ms ease; }
.hero-slider-dot { transition: background-color 200ms ease, width 200ms ease; }

/* =====================================================
 * BREADCRUMB
 * ===================================================== */
.adl-breadcrumb {
    font-size: 0.82rem;
    color: var(--brand-600);
}
.adl-breadcrumb a { color: var(--brand-700); font-weight: 600; }
.adl-breadcrumb a:hover { color: var(--accent-600); }
.adl-breadcrumb .sep { color: var(--brand-300); }
.adl-breadcrumb .current { color: var(--brand-900); font-weight: 700; }

/* =====================================================
 * PROSE (blog yazıları)
 * ===================================================== */
.prose h2 { color: var(--brand-900); font-weight: 800; }
.prose h3 { color: var(--brand-800); font-weight: 700; }
.prose a  { color: var(--accent-600); }
.prose strong { color: var(--brand-900); }
.prose blockquote {
    border-left: 3px solid var(--accent-500);
    background: var(--brand-50);
    padding: 0.75rem 1rem;
    color: var(--brand-800);
    font-style: normal;
}

/* =====================================================
 * MOBILE STICKY CALL BAR
 * ===================================================== */
.mobile-sticky-call {
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 50;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -6px 24px -8px rgba(11,37,69,0.25);
}
@media (min-width: 1024px) {
    .mobile-sticky-call { display: none; }
}

/* =====================================================
 * PRINT — yazdırılabilir minimal stiller
 * ===================================================== */
@media print {
    .mobile-sticky-call, header, footer, .no-print { display: none !important; }
    body { color: #000; background: #fff; }
}

/* =====================================================
 * REDUCED MOTION
 * ===================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* =====================================================
 * FOCUS RINGS — erişilebilirlik
 * ===================================================== */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--accent-500);
    outline-offset: 2px;
    border-radius: 4px;
}
