/* ===================================================================
   2M METAL — Endüstriyel Metal İşleme
   Ortak stil dosyası
   =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Oswald:wght@500;600;700&display=swap');

:root {
    --font-display: "Oswald", "Segoe UI", sans-serif;
    --font-head: "Space Grotesk", "Segoe UI", sans-serif;
    --bg-dark: #0f1113;
    --bg-panel: #16191c;
    --bg-panel-2: #1d2125;
    --steel: #2b3138;
    --steel-light: #3a424b;
    --text: #e8eaed;
    --text-muted: #9aa3ad;
    --accent: #ff6a00;        /* eritilmiş metal turuncusu */
    --accent-2: #ffb347;
    --accent-glow: rgba(255, 106, 0, 0.35);
    --line: rgba(255, 255, 255, 0.08);
    --radius: 10px;
    --maxw: 1180px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    --font: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.accent-text { color: var(--accent); }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #e05a00);
    color: #fff;
    box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--accent-glow); }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--steel-light);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 17, 19, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: .5px; }
.logo-mark {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent), #b34700);
    border-radius: 9px;
    font-size: 1rem; font-weight: 900; color: #fff;
    box-shadow: 0 4px 14px var(--accent-glow);
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-muted); font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -6px;
    width: 0; height: 2px; background: var(--accent); transition: width .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 120px 0 100px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,106,0,.14), transparent 55%),
        linear-gradient(180deg, #121417, var(--bg-dark));
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
    opacity: .5;
}
.hero > .container { position: relative; z-index: 1; }
.badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--steel-light);
    border-radius: 40px;
    font-size: .8rem;
    color: var(--accent-2);
    background: rgba(255,106,0,.08);
    margin-bottom: 24px;
    letter-spacing: .5px;
}
.hero h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 22px; }
.hero h1 span { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 640px; margin: 0 auto 36px; color: var(--text-muted); font-size: 1.12rem; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Section genel ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; }
.section-head h2 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: -0.5px; font-size: clamp(1.9rem, 4vw, 3rem); margin: 10px 0 14px; font-weight: 700; }
.section-head p { color: var(--text-muted); }

/* ---------- İstatistik şeridi ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; }
.stat { text-align: center; }
.stat .num { font-size: 2.6rem; font-weight: 800; color: var(--accent); }
.stat .label { color: var(--text-muted); font-size: .95rem; }

/* ---------- Hizmet kartları ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: linear-gradient(180deg, var(--bg-panel), var(--bg-panel-2));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,106,0,.4); box-shadow: var(--shadow); }
.card .icon {
    width: 54px; height: 54px; border-radius: 12px;
    display: grid; place-items: center; font-size: 1.6rem;
    background: rgba(255,106,0,.12); margin-bottom: 18px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: .96rem; }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about .visual {
    aspect-ratio: 4/3; border-radius: var(--radius);
    background:
        radial-gradient(circle at 30% 30%, rgba(255,106,0,.25), transparent 60%),
        repeating-linear-gradient(45deg, #1a1d21 0 14px, #202429 14px 28px);
    border: 1px solid var(--line);
    display: grid; place-items: center; position: relative; overflow: hidden;
}
.about .visual span { font-size: 5rem; opacity: .8; }
.about h2 { font-size: 2.2rem; margin-bottom: 18px; }
.about p { color: var(--text-muted); margin-bottom: 16px; }
.check-list li { display: flex; gap: 10px; margin-bottom: 12px; color: var(--text); }
.check-list li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* ---------- Makale kartları ---------- */
.article-card {
    background: linear-gradient(180deg, var(--bg-panel), var(--bg-panel-2));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.article-card:hover { transform: translateY(-6px); border-color: rgba(255,106,0,.4); box-shadow: var(--shadow); }
.article-card .thumb {
    height: 180px;
    background: repeating-linear-gradient(135deg, #23272c 0 18px, #1a1e22 18px 36px);
    position: relative; display: grid; place-items: center;
}
.article-card .thumb .emoji { font-size: 3.2rem; opacity: .85; }
.article-card .thumb .tag {
    position: absolute; top: 14px; left: 14px;
    background: var(--accent); color: #fff;
    padding: 4px 12px; border-radius: 30px; font-size: .75rem; font-weight: 700;
}
.article-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-card .meta { color: var(--text-muted); font-size: .82rem; margin-bottom: 10px; }
.article-card h3 { font-size: 1.22rem; margin-bottom: 10px; line-height: 1.35; }
.article-card p { color: var(--text-muted); font-size: .94rem; flex: 1; }
.article-card .read { margin-top: 16px; color: var(--accent); font-weight: 600; font-size: .92rem; }
.article-card .read::after { content: " →"; transition: margin .2s; }
.article-card:hover .read::after { margin-left: 6px; }

/* ---------- CTA şerit ---------- */
.cta {
    background: linear-gradient(135deg, #1a1d21, #121417);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 56px; text-align: center;
    position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, var(--accent-glow), transparent 60%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: 2.2rem; margin-bottom: 14px; }
.cta p { color: var(--text-muted); margin-bottom: 28px; }

/* ---------- İletişim / form ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-size: 1.6rem; margin-bottom: 20px; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info .item .ic { font-size: 1.4rem; }
.contact-info .item .label { color: var(--text-muted); font-size: .85rem; }
.contact-info .item .val { font-weight: 600; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 8px; font-size: .9rem; color: var(--text-muted); }
.form-field input, .form-field textarea {
    width: 100%; padding: 13px 16px;
    background: var(--bg-panel); border: 1px solid var(--steel-light);
    border-radius: 8px; color: var(--text); font-family: inherit; font-size: .95rem;
    transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: .85rem; margin-top: 10px; min-height: 20px; }
.form-note.ok { color: #4ade80; }
.form-note.err { color: #f87171; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-panel); padding: 56px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid p { color: var(--text-muted); font-size: .92rem; margin-top: 14px; max-width: 320px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); margin-bottom: 10px; font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; text-align: center; color: var(--text-muted); font-size: .85rem; }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero { padding: 80px 0 50px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(255,106,0,.1), transparent 60%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.breadcrumb { color: var(--text-muted); font-size: .85rem; margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Makale okuma ---------- */
.article { max-width: 780px; margin: 0 auto; padding: 60px 24px; }
.article .art-meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 16px; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.2; margin-bottom: 20px; }
.article .lead { font-size: 1.2rem; color: var(--text); margin-bottom: 30px; padding-left: 18px; border-left: 3px solid var(--accent); }
.article-body h2 { font-size: 1.7rem; margin: 40px 0 16px; }
.article-body h3 { font-size: 1.3rem; margin: 30px 0 12px; color: var(--accent-2); }
.article-body p { color: #c8cdd3; margin-bottom: 18px; }
.article-body ul { margin: 0 0 20px 22px; }
.article-body ul li { list-style: disc; color: #c8cdd3; margin-bottom: 8px; }
.article-body blockquote { border-left: 3px solid var(--accent); background: var(--bg-panel); padding: 18px 22px; border-radius: 8px; margin: 24px 0; color: var(--text); font-style: italic; }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .94rem; }
.article-body th, .article-body td { border: 1px solid var(--steel-light); padding: 12px 14px; text-align: left; }
.article-body th { background: var(--bg-panel-2); color: var(--accent-2); }

/* ---------- Görseller ---------- */
/* Makale/kart küçük resmi */
.article-card .thumb { overflow: hidden; }
.article-card .thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.article-card:hover .thumb img { transform: scale(1.06); }
.article-card .thumb .tag { z-index: 2; }

/* Hakkımızda görseli */
.about .visual.has-img { padding: 0; }
.about .visual img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* Hizmet kartı görseli */
.card .card-img {
    height: 170px; margin: -30px -30px 20px; overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.06); }

/* Makale kapak görseli */
.article-cover {
    width: 100%; max-height: 420px; object-fit: cover;
    border-radius: var(--radius); margin-bottom: 30px;
}

/* Hero arka plan fotoğrafı */
.hero.hero-photo {
    background:
        linear-gradient(180deg, rgba(15,17,19,.82), rgba(15,17,19,.94)),
        url("images/hero.jpg") center/cover no-repeat;
}
.hero.hero-photo::before { opacity: .25; }

/* ---------- Yüzen WhatsApp butonu ---------- */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    padding: 13px 20px 13px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
    transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 32px rgba(37, 211, 102, .6); }
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-float .wa-label { white-space: nowrap; }
@keyframes wa-pulse {
    0% { box-shadow: 0 8px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
    70% { box-shadow: 0 8px 26px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 8px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}
.wa-float { animation: wa-pulse 2.4s infinite; }
@media (max-width: 640px) {
    .wa-float { padding: 14px; right: 16px; bottom: 16px; }
    .wa-float .wa-label { display: none; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .about, .contact { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
    .nav-links {
        position: fixed; top: 72px; right: 0;
        flex-direction: column; background: var(--bg-panel);
        width: 240px; height: calc(100vh - 72px);
        padding: 30px; gap: 22px;
        transform: translateX(100%); transition: transform .3s ease;
        border-left: 1px solid var(--line);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-toggle { display: block; }
    .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta { padding: 36px 24px; }
    .section { padding: 64px 0; }
}

/* ===================================================================
   GÖRSEL ŞÖLEN KATMANI
   =================================================================== */

/* --- Film grain / doku overlay (tüm sayfada) --- */
body::after {
    content: "";
    position: fixed; inset: 0; z-index: 9998; pointer-events: none;
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

/* --- Scroll ilerleme çubuğu --- */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    z-index: 9999; box-shadow: 0 0 12px var(--accent-glow);
    transition: width .1s linear;
}

/* --- Özel imleç parıltısı (yalnız ince cihaz destekli) --- */
@media (hover: hover) and (pointer: fine) {
    .cursor-glow {
        position: fixed; top: 0; left: 0; width: 380px; height: 380px;
        margin: -190px 0 0 -190px; border-radius: 50%; z-index: 1; pointer-events: none;
        background: radial-gradient(circle, rgba(255,106,0,.10), transparent 60%);
        transition: transform .15s ease-out; will-change: transform;
    }
}

/* --- Hero kıvılcım parçacıkları --- */
.hero .sparks { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.spark {
    position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 6px 1px var(--accent);
    animation: rise linear infinite;
    opacity: 0;
}
@keyframes rise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: .8; }
    100% { transform: translateY(-95vh) scale(.2); opacity: 0; }
}

/* --- Eriyik metal parıltılı başlık --- */
.hero h1 span {
    background: linear-gradient(120deg, #ffdf6b, var(--accent) 40%, #ff3d00 60%, #ffb347);
    background-size: 250% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: molten 5s linear infinite;
}
@keyframes molten { to { background-position: 250% center; } }

/* --- Kartlarda 3D tilt + parlama --- */
.card, .article-card { transform-style: preserve-3d; will-change: transform; position: relative; }
.card::before, .article-card::before {
    content: ""; position: absolute; inset: 0; border-radius: var(--radius);
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,106,0,.18), transparent 45%);
    opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 3;
}
.card:hover::before, .article-card:hover::before { opacity: 1; }

/* --- Bölüm üst kenarına ince ışık çizgisi --- */
.section { position: relative; }

/* --- Kayan yazı şeridi (marquee) --- */
.marquee {
    overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: var(--bg-panel); padding: 22px 0;
}
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scroll-x 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2px;
    font-size: 1.5rem; font-weight: 600; color: var(--text-muted);
    display: inline-flex; align-items: center; gap: 60px; white-space: nowrap;
}
.marquee-item::after { content: "✦"; color: var(--accent); font-size: 1rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* --- Sayaç istatistikleri vurgusu --- */
.stat .num { font-family: var(--font-display); }

/* --- Buton parlama efekti --- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
    transform: skewX(-20deg); transition: left .6s;
}
.btn-primary:hover::after { left: 140%; }

/* --- Bölüm başlık eyebrow'a çizgi --- */
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.section-head .eyebrow::before,
.section-head .eyebrow::after {
    content: ""; width: 28px; height: 1px; background: var(--accent); opacity: .6;
}

/* --- reveal varyasyonları --- */
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.zoom { transform: scale(.92); }
.reveal.visible { transform: none; }

/* --- Hareket azaltma tercihine saygı --- */
@media (prefers-reduced-motion: reduce) {
    .spark, .marquee-track, .hero h1 span { animation: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

