/* ═══════════════════════════════════════════════════════════
   HAZARDFORGE GLOBAL STYLES
   Tüm sayfalarda kullanılan ortak stiller.
   Aesthetic: Industrial / Technical / Dark / Forge
   ═══════════════════════════════════════════════════════════ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

:root {
    /* Core palette */
    --bg-void: #0a0e1a;
    --bg-deep: #0f172a;
    --bg-surface: #1e293b;
    --bg-elevated: #1a2436;
    --bg-card: #1c2640;
    
    /* Accent */
    --orange: #f97316;
    --orange-bright: #fb923c;
    --orange-glow: rgba(249, 115, 22, 0.5);
    --orange-dim: rgba(249, 115, 22, 0.15);
    
    /* Text */
    --text-bright: #f8fafc;
    --text-body: #cbd5e1;
    --text-muted: #64748b;
    --text-faint: #475569;
    
    /* Lines */
    --line: rgba(148, 163, 184, 0.08);
    --line-bright: rgba(249, 115, 22, 0.25);
    
    /* Type */
    --font-display: 'Bebas Neue', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-body: 'Manrope', system-ui, sans-serif;
}

body {
    font-family: var(--font-body);
    background: var(--bg-void);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--orange) 0%, #ea580c 100%);
    border-radius: 4px;
}

::selection {
    background: var(--orange);
    color: var(--bg-void);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.mono { font-family: var(--font-mono); }
.display { font-family: var(--font-display); letter-spacing: 0.02em; }
.accent { color: var(--orange); }

/* ═══════════════════════════════════════════════════════════
   HEADER / NAV (ortak)
   ═══════════════════════════════════════════════════════════ */

header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.95) 0%, rgba(10, 14, 26, 0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

header.scrolled {
    padding: 12px 0;
    background: rgba(10, 14, 26, 0.92);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.brand-logo {
    height: 36px;
    width: auto;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 0.04em;
    color: var(--text-bright);
}

.brand-text span { color: var(--orange); }

nav ul {
    display: flex;
    gap: 36px;
    list-style: none;
}

nav a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-mono);
    transition: color 0.2s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

nav a:hover { color: var(--orange); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--orange); }
nav a.active::after { width: 100%; }

.cta-btn {
    background: var(--orange);
    color: var(--bg-void);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--orange);
    cursor: pointer;
    text-transform: uppercase;
}

.cta-btn:hover {
    background: var(--orange-bright);
    box-shadow: 0 8px 30px var(--orange-glow);
    transform: translateY(-2px);
}

.cta-btn-outline {
    background: transparent;
    color: var(--orange);
    border: 1px solid var(--orange);
}

.cta-btn-outline:hover {
    background: var(--orange);
    color: var(--bg-void);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-bright);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
}

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER (sub-pages için)
   ═══════════════════════════════════════════════════════════ */

.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, var(--orange-dim) 0%, transparent 60%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(249, 115, 22, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249, 115, 22, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--orange-dim);
    border: 1px solid var(--line-bright);
    border-radius: 100px;
    color: var(--orange);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.95;
    color: var(--text-bright);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-body);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════════════════ */

section {
    padding: 100px 0;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 1px;
    background: var(--orange);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1;
    color: var(--text-bright);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-body);
    max-width: 640px;
    line-height: 1.6;
}

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-header .section-tag::before {
    display: none;
}

.section-header .section-tag {
    padding-left: 0;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER (ortak)
   ═══════════════════════════════════════════════════════════ */

footer {
    background: var(--bg-void);
    padding: 80px 0 40px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .brand-text {
    font-size: 32px;
}

.footer-tagline {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 14px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
}

.footer-social a:hover {
    background: var(--orange);
    color: var(--bg-void);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 13px;
    font-family: var(--font-mono);
}

.footer-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
   ═══════════════════════════════════════════════════════════ */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    animation: pulse-wa 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-void);
    color: var(--text-bright);
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid var(--line);
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 500ms; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 600ms; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 700ms; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 800ms; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 900ms; }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-deep);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
    }
    nav ul.open { display: flex; }
    nav ul li {
        padding: 12px 32px;
        border-bottom: 1px solid var(--line);
    }
    nav ul li:last-child { border-bottom: none; }
    
    .nav-cta-text { display: none; }
    
    .page-header { padding: 120px 0 60px; }
    
    section { padding: 70px 0; }
    
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 40px; 
    }
    .footer-brand { grid-column: 1 / -1; }
    
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .brand-text { font-size: 22px; }
    .brand-logo { height: 32px; }
}
