/* ---------------------------------------------------------------------------
   ESSirius İHA Takımı - ana sayfa stilleri (LOGO TEMASI)

   Renkler takım logosundan alındı: logonun kırmızısı tam olarak #c8102e,
   üzerindeki kartal/yıldız beyaz. Tema bu iki renk üzerine kuruldu.
   index-kirmizi.html bu dosyayı kullanır; ilk mavi sürüm style.css içinde durur.

   Bağımlılık yok. Kurumsal rengi değiştirmek isterseniz --accent yeterli;
   koyu tema dahil her yer ona göre uyum sağlar.
--------------------------------------------------------------------------- */

:root {
    --bg: #f8f6f6;
    --surface: #ffffff;
    --surface-alt: #f4edee;
    --border: #e6dadc;
    --text: #1a1214;
    --text-muted: #6a595c;

    --accent: #c8102e;          /* <- logo kırmızısı */
    --accent-strong: #a00d25;   /* üzerine gelince */
    --accent-contrast: #ffffff;
    --accent-soft: #fceaed;

    --night: #1a0a10;           /* hero ve alt bilgi zemini */
    --night-text: #f8eff1;
    --night-muted: #c8a8ae;
    --night-border: #3c1a23;

    --radius: 14px;
    --shadow: 0 1px 2px rgba(40, 10, 16, .06), 0 8px 24px rgba(40, 10, 16, .08);
    --wrap: 68rem;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #140e0f;
        --surface: #1e1618;
        --surface-alt: #251c1e;
        --border: #3a2c2f;
        --text: #f1e8ea;
        --text-muted: #b6a4a7;

        --accent: #ff6e7f;
        --accent-strong: #ff8f9c;
        --accent-contrast: #1a0509;
        --accent-soft: #33141a;

        --night: #120709;
        --night-border: #351720;

        --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 28px rgba(0, 0, 0, .38);
    }
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.22; letter-spacing: -.015em; }
img, svg { max-width: 100%; }
a { color: var(--accent); }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 16px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: var(--accent-contrast);
    padding: .6rem 1rem;
    border-radius: 0 0 var(--radius) 0;
    z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- marka (logo + yazı) -------------------------------------------------- */

.brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    color: inherit;
}

/* logo-96.png; yuksek cozunurlukte net kalsin diye goruntulendiginin
   yaklasik iki kati cozunurlukte servis ediliyor. */
.brand-mark {
    width: 38px;
    height: 38px;
    flex: none;
    display: block;
}

.brand-mark-lg { width: 46px; height: 46px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; letter-spacing: -.01em; }
.brand-text small {
    font-size: .72rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* --- üst menü ------------------------------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface);
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 68px;
    flex-wrap: wrap;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: .95rem;
    font-weight: 500;
}
.nav a:hover { color: var(--text); }
.nav a.btn:hover { color: var(--accent-contrast); }

/* --- butonlar ------------------------------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.25rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-contrast);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-strong); }
.btn:active { transform: translateY(1px); }

.btn-sm { padding: .45rem .95rem; font-size: .9rem; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.02rem; }

.btn-ghost {
    background: transparent;
    color: var(--night-text);
    border-color: color-mix(in srgb, var(--night-text) 38%, transparent);
}
.btn-ghost:hover {
    background: color-mix(in srgb, var(--night-text) 12%, transparent);
}

/* --- hero ---------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    background: var(--night);
    color: var(--night-text);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60rem 30rem at 12% -10%,
            color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%),
        radial-gradient(45rem 28rem at 92% 10%,
            color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
        linear-gradient(transparent 95%, color-mix(in srgb, var(--night-text) 6%, transparent) 95%) 0 0 / 100% 3.5rem,
        linear-gradient(90deg, transparent 95%, color-mix(in srgb, var(--night-text) 6%, transparent) 95%) 0 0 / 3.5rem 100%;
}

.hero-inner { padding: 4.5rem 16px 4rem; max-width: var(--wrap); }

.hero-top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 3rem;
    align-items: center;
}

.hero-copy { min-width: 0; }

/* logonun arkasindaki yumusak isik halesi */
.hero-emblem {
    position: relative;
    display: grid;
    place-items: center;
    justify-self: center;
}

.hero-emblem::before {
    content: "";
    position: absolute;
    width: 116%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side,
        color-mix(in srgb, var(--accent) 42%, transparent), transparent 72%);
}

.hero-emblem img {
    position: relative;
    width: min(18rem, 34vw);
    height: auto;
    display: block;
}

.eyebrow {
    margin: 0 0 .9rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}
.hero .eyebrow { color: color-mix(in srgb, var(--accent) 45%, #ffffff); }

.hero h1 {
    margin: 0;
    font-size: clamp(2.1rem, 5.6vw, 3.4rem);
    font-weight: 750;
}

.lede {
    margin: 1.25rem 0 0;
    max-width: 40rem;
    font-size: clamp(1rem, 2.2vw, 1.12rem);
    color: var(--night-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    gap: 1px;
    margin: 3.5rem 0 0;
    padding: 0;
    background: var(--night-border);
    border: 1px solid var(--night-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.stats > div {
    background: var(--night);
    background: color-mix(in srgb, var(--night-text) 4%, var(--night));
    padding: 1.1rem 1.25rem;
}

.stats dt {
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--night-muted);
}

.stats dd {
    margin: .25rem 0 0;
    font-size: 1.6rem;
    font-weight: 700;
}

/* --- genel bölüm --------------------------------------------------------- */

.section { padding: 4.5rem 0; }
.section-alt { background: var(--surface-alt); }

.section-title { margin: 0; font-size: clamp(1.5rem, 3.5vw, 2.1rem); }

.section-lede {
    margin: .9rem 0 2.5rem;
    max-width: 42rem;
    color: var(--text-muted);
}

/* --- hakkımızda ---------------------------------------------------------- */

.about {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h2 { margin: 0 0 1.1rem; font-size: clamp(1.4rem, 3.2vw, 1.95rem); }
.about-text p { margin: 0 0 1rem; color: var(--text-muted); }

.mission { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }

.mission li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow);
}

.mission h3 { margin: 0 0 .35rem; font-size: 1.02rem; }
.mission p { margin: 0; font-size: .93rem; color: var(--text-muted); }

/* --- ekip kartları ------------------------------------------------------- */

.cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow);
    transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent); }

.card .icon {
    width: 34px;
    height: 34px;
    margin-bottom: .85rem;
    color: var(--accent);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card h3 { margin: 0 0 .4rem; font-size: 1.06rem; }
.card p { margin: 0; font-size: .93rem; color: var(--text-muted); }

/* --- başvuru şeridi ------------------------------------------------------ */

.cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    border-radius: var(--radius);
    padding: 2rem;
}

.cta h2 { margin: 0 0 .4rem; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.cta p { margin: 0; color: var(--text-muted); max-width: 32rem; }

/* --- alt bilgi ----------------------------------------------------------- */

.site-footer {
    background: var(--night);
    color: var(--night-text);
    padding-top: 3.5rem;
}

.site-footer .brand-text small { color: var(--night-muted); }

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-note {
    margin: 1rem 0 0;
    max-width: 24rem;
    color: var(--night-muted);
    font-size: .95rem;
}

.footer-col h3 {
    margin: 0 0 .85rem;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--night-muted);
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-col a, .footer-col span { color: var(--night-text); text-decoration: none; font-size: .95rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-col span { color: var(--night-muted); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: 1.25rem;
    padding-bottom: 1.75rem;
    border-top: 1px solid var(--night-border);
    font-size: .88rem;
    color: var(--night-muted);
}

.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--night-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--night-text); }

/* --- dar ekran ----------------------------------------------------------- */

@media (max-width: 860px) {
    .hero-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: start;
    }
    /* logo dar ekranda yazinin ustune gecer */
    .hero-emblem { order: -1; justify-self: center; }
    .hero-emblem img { width: min(11rem, 44vw); }

    .about { grid-template-columns: 1fr; gap: 2rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .hero-inner { padding: 3rem 16px 3rem; }
    .section { padding: 3.25rem 0; }
    .header-inner { min-height: 60px; }
    .brand-mark { width: 34px; height: 34px; }
    .nav { gap: .9rem; width: 100%; justify-content: space-between; }
    .stats { margin-top: 2.5rem; }
    .cta { padding: 1.5rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
}

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