/* ==========================================================================
   MEKAWAX — Kurumsal / Yasal Sayfalar Ortak Stil Dosyası
   index.html ve products.html ile aynı görsel dili kullanır.
   ========================================================================== */

:root {
    --red: #e60000;
    --red-dark: #b30000;
    --black: #000000;
    --dark-gray: #0d0d0d;
    --panel: #0f0f0f;
    --line: #1f1f1f;
    --light-gray: #a3a3a3;
    --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 { font-family: 'Oswald', sans-serif; text-transform: uppercase; margin: 0; letter-spacing: 0.02em; }

a { color: inherit; }

/* --- HEADER --- */
.site-header {
    position: sticky; top: 0; width: 100%; padding: 20px clamp(20px, 5vw, 60px);
    display: flex; justify-content: space-between; align-items: center; z-index: 1000;
    background: rgba(0,0,0,0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.burger-menu { font-size: 1.5rem; cursor: pointer; transition: color 0.2s; color: #fff; }
.burger-menu:hover { color: var(--red); }
.logo { font-family: 'Oswald', sans-serif; font-size: 1.7rem; font-weight: 700; letter-spacing: 2px; color: #fff; }
.logo span { color: var(--red); }
.site-header .logo { text-decoration: none; }
.header-nav { display: flex; gap: 26px; align-items: center; }
.header-nav a {
    font-family: 'Oswald', sans-serif; font-size: 0.85rem; letter-spacing: 1.5px;
    color: #ddd; text-decoration: none; text-transform: uppercase; transition: color 0.2s;
}
.header-nav a:hover, .header-nav a.active { color: var(--red); }
.header-nav .cta {
    color: #fff; background: var(--red); padding: 9px 18px; border-radius: 4px;
}
.header-nav .cta:hover { background: var(--red-dark); color: #fff; }

/* --- NAV DRAWER --- */
#nav-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 9998;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
#nav-overlay.open { opacity: 1; pointer-events: auto; }
#nav-drawer {
    position: fixed; top: 0; left: -340px; width: 310px; max-width: 86vw; height: 100vh; height: 100dvh;
    background: linear-gradient(180deg, #0d0d0d 0%, #000 100%);
    border-right: 1px solid var(--line); z-index: 9999;
    transition: left 0.3s ease; padding: 24px 0 30px;
    display: flex; flex-direction: column; overflow-y: auto;
}
#nav-drawer.open { left: 0; box-shadow: 20px 0 60px rgba(0,0,0,0.6); }
.nav-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 24px 18px; border-bottom: 1px solid var(--line); margin-bottom: 10px;
}
.nav-head .logo { font-size: 1.4rem; }
.nav-close { background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.nav-close:hover { color: var(--red); }
#nav-drawer a.nav-link {
    font-family: 'Oswald', sans-serif; font-size: 1.02rem; letter-spacing: 1.4px;
    color: #ddd; text-decoration: none; padding: 12px 24px;
    display: flex; align-items: center; gap: 12px;
    border-left: 3px solid transparent; transition: all 0.2s ease;
}
#nav-drawer a.nav-link i { width: 18px; color: var(--red); font-size: 0.9rem; }
#nav-drawer a.nav-link:hover, #nav-drawer a.nav-link.active { color: #fff; background: rgba(230,0,0,0.08); border-left-color: var(--red); }
.nav-section {
    font-family: 'Oswald', sans-serif; font-size: 0.7rem; letter-spacing: 2px;
    color: #666; padding: 18px 24px 6px; text-transform: uppercase;
}
.nav-footer { margin-top: auto; padding: 20px 24px 0; border-top: 1px solid var(--line); }
.social-icons { display: flex; gap: 15px; font-size: 1.15rem; color: var(--white); }
.social-icons a { color: inherit; text-decoration: none; }
.social-icons a:hover { color: var(--red); }

/* --- SAYFA BAŞLIĞI --- */
.page-hero {
    text-align: center; padding: 70px 20px 42px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(230,0,0,0.16) 0%, transparent 55%),
        #000;
}
.page-hero h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); letter-spacing: 0.05em; }
.page-hero h1 span { color: var(--red); }
.page-hero p { color: var(--light-gray); font-size: 0.92rem; max-width: 620px; margin: 14px auto 0; line-height: 1.7; }
.breadcrumb {
    font-size: 0.72rem; letter-spacing: 1.5px; color: #666; text-transform: uppercase;
    margin-bottom: 14px;
}
.breadcrumb a { color: #888; text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--red); }

/* --- İÇERİK (PROSE) --- */
.container-doc { max-width: 980px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px) 90px; }
.prose h2 {
    color: #fff; font-size: 1.5rem; margin: 46px 0 14px; padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--red); font-size: 1.08rem; margin: 26px 0 8px; }
.prose p { color: #cfcfcf; font-size: 0.94rem; margin: 0 0 14px; }
.prose ul, .prose ol { color: #cfcfcf; font-size: 0.94rem; padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--red); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: #fff; }
.doc-meta {
    display: inline-block; font-size: 0.74rem; letter-spacing: 1px; color: #888;
    border: 1px solid var(--line); border-radius: 30px; padding: 6px 16px; margin-bottom: 26px;
}
.fill { color: #ffb3b3; border-bottom: 1px dashed rgba(230,0,0,0.6); }

/* --- İLETİŞİM --- */
.contact-grid {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: start;
}
.contact-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 30px;
}
.contact-card h3 { color: #fff; margin-bottom: 18px; font-size: 1.2rem; }
.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; color: #cfcfcf; font-size: 0.92rem; }
.contact-info-list i { color: var(--red); font-size: 1.05rem; margin-top: 3px; width: 20px; }
.contact-info-list a { color: #cfcfcf; text-decoration: none; }
.contact-info-list a:hover { color: var(--red); }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.76rem; color: #888; font-weight: 600; margin-bottom: 6px; letter-spacing: 0.5px; }
.form-field input, .form-field textarea, .form-field select {
    width: 100%; padding: 13px 14px; background: #050505; border: 1px solid #222;
    color: #fff; font-family: 'Montserrat', sans-serif; font-size: 0.9rem;
    border-radius: 5px; outline: none; transition: border-color 0.25s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--red); }
.form-field textarea { resize: vertical; min-height: 130px; }
.red-btn {
    background: var(--red); color: #fff; border: none; padding: 13px 30px;
    font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 1px;
    cursor: pointer; display: inline-block; text-decoration: none; border-radius: 4px;
    transition: transform 0.25s ease, background 0.25s ease;
}
.red-btn:hover { background: var(--red-dark); transform: translateY(-2px); }
.form-note { font-size: 0.76rem; color: #777; margin-top: 12px; }
.form-status { margin-top: 14px; font-size: 0.85rem; display: none; }
.form-status.ok { color: #5bd67e; display: block; }
.form-status.err { color: #ff6b6b; display: block; }

/* --- SSS --- */
.faq-item { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; overflow: hidden; background: var(--panel); }
.faq-item summary {
    cursor: pointer; list-style: none; padding: 18px 22px; font-family: 'Oswald', sans-serif;
    font-size: 1rem; letter-spacing: 0.5px; color: #fff; display: flex; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--red); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-body { padding: 0 22px 18px; color: #bbb; font-size: 0.9rem; }

/* --- 404 --- */
.error-wrap {
    min-height: calc(100vh - 88px); display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; padding: 60px 20px;
}
.error-code {
    font-family: 'Oswald', sans-serif; font-size: clamp(6rem, 22vw, 13rem); font-weight: 700;
    line-height: 0.9; color: transparent; -webkit-text-stroke: 2px var(--red); letter-spacing: 4px;
}
.error-wrap h1 { font-size: clamp(1.4rem, 4vw, 2.2rem); margin: 18px 0 10px; }
.error-wrap p { color: var(--light-gray); max-width: 480px; margin: 0 auto 26px; }

/* --- FOOTER --- */
.site-footer {
    border-top: 1px solid var(--line); background: #050505;
    padding: 60px clamp(20px, 5vw, 60px) 26px; margin-top: 20px;
}
.footer-cols {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px;
}
.footer-cols h4 {
    font-size: 0.82rem; letter-spacing: 2px; color: #fff; margin-bottom: 16px;
}
.footer-cols a { display: block; color: #9a9a9a; text-decoration: none; font-size: 0.86rem; padding: 5px 0; transition: color 0.2s; }
.footer-cols a:hover { color: var(--red); }
.footer-brand .logo { display: inline-block; margin-bottom: 12px; }
.footer-brand p { color: #8a8a8a; font-size: 0.86rem; max-width: 320px; margin: 0 0 18px; }
.footer-contact { color: #9a9a9a; font-size: 0.86rem; }
.footer-contact a { display: inline; padding: 0; }
.footer-bottom {
    max-width: 1280px; margin: 40px auto 0; padding-top: 22px;
    border-top: 1px solid var(--line); color: #6a6a6a; font-size: 0.78rem;
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .header-nav { display: none; }
}
@media (max-width: 560px) {
    .footer-cols { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .page-hero { padding: 46px 18px 30px; }
    .site-header { min-height: 64px; padding: 10px 16px; }
    .site-header .burger-menu { width: 42px; height: 42px; display: grid; place-items: center; }
    .site-header .logo { position: absolute; left: 50%; transform: translateX(-50%); font-size: 1.3rem; white-space: nowrap; }
    .social-icons { justify-content: center; align-items: center; gap: 22px; }
    .social-icons > a, .social-icons > i { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; }
    .social-icons > a:hover, .social-icons > i:hover { border-color: var(--red); color: var(--red); }
    .footer-brand { text-align: center; }
    .footer-brand p { margin-left: auto; margin-right: auto; }
    .footer-brand .social-icons { margin-top: 16px; }
    .footer-contact { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
