/* ============================================================
   220 CREATIVE — COMPLETE REDESIGN v3
   Palette: #0ea5c4 (Gold) / #000000 (Black) / #FFFFFF (White)
   Grey accent: #888888 / #f2f2f2 / #111111
   Design: Premium agency — alternating B&W sections
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ─── Custom Properties ─── */
:root {
    --gold: #0ea5c4;
    --gold-hov: #38bfdc;
    --gold-dark: #0b8aa6;
    --gold-10: rgba(14, 165, 196, 0.10);
    --gold-20: rgba(14, 165, 196, 0.20);

    --black: #000000;
    --black-soft: #0d0d0d;
    --surface: #111111;
    --surface-2: #181818;

    --white: #ffffff;
    --off-white: #f5f5f5;

    --grey-900: #1a1a1a;
    --grey-700: #333333;
    --grey-500: #666666;
    --grey-300: #999999;
    --grey-100: #e8e8e8;
    --grey-50: #f5f5f5;

    --border-dark: rgba(255, 255, 255, 0.09);
    --border-light: rgba(0, 0, 0, 0.09);

    --font: 'Outfit', sans-serif;
    --ease: cubic-bezier(.25, .46, .45, .94);
    --t: 0.28s;
    --tf: 0.16s;

    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 40px;
    --r-full: 9999px;

    --sh-dark: 0 8px 40px rgba(0, 0, 0, 0.45);
    --sh-gold: 0 8px 40px rgba(14, 165, 196, 0.20);
    --sh-light: 0 4px 24px rgba(0, 0, 0, 0.10);

    --nav-h: 90px;
    --max-w: 1180px;
}

/* ─── Reset ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--black);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul,
ol {
    list-style: none;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}

/* ─── HELPERS ─── */
.gold {
    color: var(--gold) !important;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* ─── BADGE ─── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 10px;
    border-radius: var(--r-full);
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.badge-gold {
    background: var(--gold-10);
    border: 1px solid var(--gold-20);
    color: var(--gold);
}

.badge-dark {
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.10);
    color: var(--grey-500);
}

.badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

/* ═══════════════════════════
   BUTTONS
═══════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 34px;
    border: 2px solid transparent;
    border-radius: var(--r-full);
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--t) var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-black {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-black:hover {
    background: var(--surface);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.btn-gold {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    font-weight: 800;
}

.btn-gold:hover {
    background: var(--gold-hov);
    transform: translateY(-2px);
    box-shadow: var(--sh-gold);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-black {
    background: transparent;
    color: var(--black);
    border-color: rgba(0, 0, 0, 0.25);
}

.btn-outline-black:hover {
    border-color: var(--black);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.30);
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 44px;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.80rem;
}

/* ═══════════════════════════
   NAVBAR — white bg, clean
═══════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--t) var(--ease);
}

.navbar.dark-mode {
    background: rgba(0, 0, 0, 0.94);
    border-bottom-color: var(--border-dark);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo — sabit küçük yükseklik */
.navbar-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.navbar-logo img {
    height: 68px;
    width: auto;
    display: block;
}

/* Masaüstü menü */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}
.navbar-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 10px 15px;
    border-radius: 10px;
    white-space: nowrap;
    transition: all var(--t) var(--ease);
}

/* Randevu butonu yalnızca mobil menüde görünür */
.navbar-nav-cta {
    display: none;
}
.navbar-cta .btn {
    white-space: nowrap;
}

/* Hamburger */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--t) var(--ease);
}
.navbar-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════
   FOOTER — koyu zemin
═══════════════════════════ */
.footer {
    background: var(--black-soft);
    color: var(--grey-300);
    padding: 72px 0 0;
    border-top: 1px solid var(--border-dark);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
}
.footer-brand {
    display: inline-block;
}
.footer-brand img {
    height: 56px;
    width: auto;
    display: block;
}
.footer-soc {
    display: flex;
    gap: 10px;
}
.footer-soc a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-dark);
    color: var(--grey-300);
    transition: all var(--t) var(--ease);
}
.footer-soc a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}
.footer-col h5 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.footer-col ul a {
    color: var(--grey-300);
    font-size: 0.875rem;
    transition: color var(--tf) var(--ease);
}
.footer-col ul a:hover {
    color: var(--gold);
}
.footer-ci {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 0.875rem;
    line-height: 1.6;
}
.footer-ci-ico {
    flex-shrink: 0;
}
.footer-ci-txt {
    color: var(--grey-300);
}
.footer-ci-txt a:hover {
    color: var(--gold);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    font-size: 0.82rem;
    color: var(--grey-500);
}
.footer-bottom-l span {
    color: var(--grey-300);
}
.footer-bottom-r {
    display: flex;
    gap: 22px;
}
.footer-bottom-r a {
    color: var(--grey-500);
    transition: color var(--tf) var(--ease);
}
.footer-bottom-r a:hover {
    color: var(--gold);
}

/* ─────────── Mobil ─────────── */
@media (max-width: 980px) {
    .navbar-nav {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: rgba(8, 8, 8, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: all var(--t) var(--ease);
    }
    .navbar-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .navbar-nav a {
        font-size: 1rem;
        padding: 14px 16px;
    }
    .navbar-nav-cta {
        display: inline-flex;
        justify-content: center;
        margin: 14px auto 0;
        color: #fff !important;
        font-size: 1rem;
        padding: 14px 34px;
    }

    .navbar-cta {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .section {
        padding: 68px 0;
    }

    .hero-inner {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-visual {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-stats {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-checks {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .sh-row {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .ref-grid {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom-r {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
        width: 100%;
    }
}
/* ============================================================
   NAVBAR — tutarlı premium koyu (her sayfada beyaz logo okunur)
   v4 override (2026)
   ============================================================ */
.navbar {
    background: rgba(8, 8, 8, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navbar.scrolled {
    background: rgba(8, 8, 8, 0.94);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}
.navbar .navbar-nav a { color: rgba(255, 255, 255, 0.82); }
.navbar .navbar-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.navbar .navbar-nav a.active { color: var(--gold); }
.navbar .navbar-toggle span { background: #fff; }
.navbar-logo img { filter: none; }

/* ═══════════════════════════ Yasal metin sayfaları (KVKK/Gizlilik) ═══════════════════════════ */
.legal-doc {
    max-width: 820px;
    margin: 0 auto;
    color: #2a2a2a;
    font-size: 0.96rem;
    line-height: 1.85;
}
.legal-doc h2 {
    font-size: 1.22rem;
    font-weight: 800;
    margin: 34px 0 12px;
    color: #0f1115;
}
.legal-doc p { margin: 0 0 16px; }
.legal-doc ul { margin: 0 0 18px; padding-left: 20px; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc strong { color: #0f1115; }
.legal-doc a { color: var(--gold); font-weight: 600; }
.legal-doc a:hover { text-decoration: underline; }
.legal-doc .legal-meta {
    margin-top: 36px; padding-top: 18px;
    border-top: 1px solid var(--grey-100, #eee);
    font-size: 0.82rem; color: #888;
}

/* ============================================================
   AOS — Scroll Reveal Animasyon Sistemi (global)
   Gizleme YALNIZCA JS aktifken (html.js-anim) uygulanır — böylece
   JS/observer çalışmazsa içerik her zaman görünür kalır.
   ============================================================ */
html.js-anim .aos {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .75s var(--ease), transform .75s var(--ease);
    will-change: opacity, transform;
}
html.js-anim .aos.fade  { transform: none; }
html.js-anim .aos.left  { transform: translateX(-36px); }
html.js-anim .aos.right { transform: translateX(36px); }
html.js-anim .aos.zoom  { transform: scale(.92); }
html.js-anim .aos.visible { opacity: 1 !important; transform: none !important; }
.aos.d1 { transition-delay: .08s; }
.aos.d2 { transition-delay: .16s; }
.aos.d3 { transition-delay: .24s; }
.aos.d4 { transition-delay: .32s; }
.aos.d5 { transition-delay: .40s; }
.aos.d6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
    html.js-anim .aos { opacity: 1 !important; transform: none !important; transition: none !important; }
}
