:root {
    --primary: #1E4D9B;
    --dark: #0D1117;
    --light: #f8f9fc;
    --text: #1a1a1a;
    --muted: #677083;
    --radius: 12px;
    --max: 1150px;
    --shadow: 0 8px 24px rgba(2, 14, 34, 0.08);
}

/* Reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.55;
}

.st0 {
    fill: #BE1E2D;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 16px;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    z-index: 9999;
}

/* Header */
header {
    border-bottom: 1px solid #eaecef;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    transition: box-shadow .2s ease;
}

header.scrolled {
    box-shadow: 0 3px 20px rgba(0, 0, 0, .06);
}

nav[aria-label="Başlık"] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.brand svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu a {
    padding: 8px 4px;
    border-radius: 6px;
}

.menu a:hover,
.menu a.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    background: none;
    border: 1px solid #e0e4ee;
    padding: 8px 10px;
    border-radius: 8px;
}

.hamburger:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (max-width: 880px) {
    .hamburger {
        display: inline-flex;
    }

    .menu {
        position: fixed;
        inset: 65px 0 auto 0;
        background: #fff;
        border-bottom: 1px solid #eaecef;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 10px;
        transform: translateY(-140%);
        transition: transform .2s ease;
    }

    .menu.open {
        transform: translateY(0);
    }
}

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    padding: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 22, 44, .55), rgba(6, 22, 44, .35));
    z-index: 1;
}

.hero-inner {
    min-height: 520px;
    display: grid;
    align-items: center;
    position: relative;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 0 15px #0006;
    padding: 30px;
}

.hero h1 {
    font-size: clamp(28px, 4.2vw, 48px);
    max-width: 700px;
    margin: 0 0 10px;
}

.hero p {
    max-width: 600px;
    margin: 10px 0 22px;
    font-size: 18px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 5px;
    transition: transform .08s ease, opacity .2s ease, box-shadow .2s ease;
    border-width: 1px;
    outline: 0;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    opacity: .92;
}

.btn-outline {
    border: 1px solid currentColor;
    color: #fff;
}

/* Global content area for button groups */
.content-area {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* Button spacing helper */
.btn+.btn {
    margin-left: 10px;
}

@media (max-width: 480px) {
    .btn+.btn {
        margin-left: 0;
    }
}

/* Sections */
section {
    padding: 64px 0;
    scroll-margin-top: 80px;
}

section h2 {
    text-align: center;
    margin: 0 0 10px;
    font-size: clamp(22px, 3.2vw, 32px);
}

.section-desc {
    text-align: center;
    color: var(--muted);
    margin: 0 0 32px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width:768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card {
    background: var(--light);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid #e3e6ee;
    box-shadow: var(--shadow);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Stats */
.stats {
    background: var(--primary);
    color: #fff;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 48px 16px;
    text-align: center;
}

.stat {
    padding: 8px;
}

.stat h3 {
    margin: 0 0 6px;
    font-size: clamp(22px, 3vw, 32px);
}

.stat p {
    margin: 0;
    opacity: .9;
}

@media (max-width: 720px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* About */
.about {
    display: grid;
    gap: 24px;
    align-items: center;
}

@media (min-width:900px) {
    .about {
        grid-template-columns: 1.5fr 1fr;
    }
}

.about img {
    width: 100%;
    border-radius: var(--radius);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* CTA */
.cta {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 72px 16px;
}

.footer-grid {
    display: grid;
    gap: 20px;
    padding: 24px 0;
}

.footer-grid>div h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

footer small {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: #677083;
    font-size: 13px;
}

#hakkimizda-modern {
    position: relative;
    padding: 64px 0;
    background:
        radial-gradient(1200px 600px at 15% -10%, rgba(30, 64, 175, .12), transparent 60%),
        radial-gradient(900px 500px at 100% 10%, rgba(14, 165, 233, .12), transparent 55%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

#hakkimizda-modern .hk-wrap {
    display: grid;
    gap: 55px;
    align-items: center;
    grid-template-columns: 1fr;
}

@media (min-width: 980px) {
    #hakkimizda-modern .hk-wrap {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

/* text */
#hakkimizda-modern .hk-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1e3a8a;
    background: #e0e7ff;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

#hakkimizda-modern h2 {
    margin: 0 0 10px 0;
    font-size: clamp(24px, 3vw, 34px);
}

#hakkimizda-modern .hk-lead {
    color: #4b5563;
    margin: 6px 0 14px 0;
}

/* features */
#hakkimizda-modern .hk-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

#hakkimizda-modern .hk-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    backdrop-filter: saturate(120%) blur(2px);
}

#hakkimizda-modern .hk-features svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: #2563eb;
    margin-top: 2px;
}

/* cta */
#hakkimizda-modern .hk-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 6px 0;
}

/* stats */
#hakkimizda-modern .hk-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 6px;
}

#hakkimizda-modern .hk-stat {
    background: rgba(255, 255, 255, .75);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(2, 12, 34, .06);
}

#hakkimizda-modern .hk-stat strong {
    display: block;
    font-size: 20px;
}

#hakkimizda-modern .hk-stat span {
    color: #6b7280;
    font-size: 12px;
}

/* media side */
#hakkimizda-modern .hk-media {
    display: grid;
    gap: 12px;
}

#hakkimizda-modern .hk-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 14px 28px rgba(2, 14, 34, .10);
}

#hakkimizda-modern .hk-card img {
    width: 100%;
    height: auto;
    display: block;
}

#hakkimizda-modern .hk-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(15, 23, 42, .75);
    color: #fff;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 12px;
    backdrop-filter: blur(4px);
}

#hakkimizda-modern .hk-badge svg {
    width: 16px;
    height: 16px;
}

#hakkimizda-modern .hk-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* --- İrtibat blokları --- */
.contact {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
}

.contact .label {
    color: #64748b;
}

.masked {
    filter: blur(2px);
    user-select: none;
}

.btn-xs {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 8px;
}

.lock-hint {
    color: #64748b;
    font-size: 12px;
    margin-top: 4px;
}

#hakkimizda-modern .hk-mini {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

#hakkimizda-modern .hk-mini svg {
    width: 18px;
    height: 18px;
    color: #2563eb;
}

/* accessibility */
@media (prefers-reduced-motion:no-preference) {
    #hakkimizda-modern .hk-card img {
        transform: scale(1.02);
        transition: transform .6s ease;
        min-height: auto;
    }

    #hakkimizda-modern .hk-card:hover img {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (min-width: 720px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Footer */
footer {
    background: var(--dark);
    padding: 64px 0;
    color: #c9d1d9;
}

footer h4 {
    margin: 0 0 12px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

footer small {
    display: block;
    text-align: center;
    padding-top: 32px;
    color: #6a737d;
    font-size: 13px;
}

/* Back to Top */
#to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e0e4ee;
    background: #fff;
    box-shadow: var(--shadow);
    display: none;
    cursor: pointer;
}

#to-top:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Utilities */
.muted {
    color: var(--muted);
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}