/* =========================
   MARKA PALETİ / GENEL
   ========================= */
.page-about {
    --primary: #004990;
    /* ana */
    --accent: #b32017;
    /* vurgu */
    --ink: #0e1b2b;
    --muted: #5a6b7c;
    --card: #ffffff;
    --glass-border: rgba(255, 255, 255, .35);
    --shadow: 0 14px 36px rgba(2, 6, 23, .16);
    --shadow-lg: 0 22px 60px rgba(2, 6, 23, .22);
}

html {
    scroll-behavior: smooth;
}

/* Arka plan – search.php ile aynı aile */
body.page-about {
    background:
        radial-gradient(1200px 700px at 15% -10%, rgba(255, 255, 255, .12), transparent 60%),
        radial-gradient(1100px 600px at 85% -15%, rgba(255, 255, 255, .10), transparent 58%),
        linear-gradient(180deg, rgba(0, 73, 144, .98), rgba(0, 43, 86, .94));
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
    padding-top: 82px;
    /* sabit navbar için boşluk */
    font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Odak görünürlüğü – erişilebilirlik */
body.page-about a:focus-visible,
body.page-about button:focus-visible,
body.page-about [role="button"]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* =========================
   HERO + PANEL SHELL
   ========================= */

.page-about .hero {
    margin-top: 0;
    padding: 64px 0 24px;
    position: relative;
}

/* Ortadaki ana panel */
.page-about .hero>.container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 28px 6px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 0 0, rgba(0, 73, 144, 0.18), transparent 55%),
        radial-gradient(circle at 100% 0, rgba(179, 32, 23, 0.20), transparent 55%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.90));
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.85),
        0 0 80px rgba(0, 73, 144, 0.25),
        0 0 110px rgba(179, 32, 23, 0.30),
        0 0 0 1px rgba(15, 23, 42, 1);
    overflow: hidden;
}

/* İç çerçeve + köşe hatları */
.page-about .hero>.container::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    border: 1px solid rgba(248, 250, 252, 0.08);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9) inset;
    pointer-events: none;
}

@keyframes aboutShellPulse {
    0% {
        opacity: .35;
    }

    50% {
        opacity: .9;
    }

    100% {
        opacity: .35;
    }
}

.page-about .hero>.container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 73, 144, 0.7), transparent 70%) 6% 8% / 120px 2px no-repeat,
        linear-gradient(180deg, rgba(0, 73, 144, 0.7), transparent 70%) 6% 8% / 2px 80px no-repeat,
        linear-gradient(270deg, rgba(179, 32, 23, 0.7), transparent 70%) 94% 8% / 120px 2px no-repeat,
        linear-gradient(180deg, rgba(179, 32, 23, 0.7), transparent 70%) 94% 8% / 2px 80px no-repeat,
        linear-gradient(0deg, rgba(148, 163, 184, 0.38), transparent 70%) 6% 92% / 2px 70px no-repeat,
        linear-gradient(90deg, rgba(148, 163, 184, 0.38), transparent 70%) 6% 92% / 110px 2px no-repeat,
        linear-gradient(0deg, rgba(148, 163, 184, 0.38), transparent 70%) 94% 92% / 2px 70px no-repeat,
        linear-gradient(270deg, rgba(148, 163, 184, 0.38), transparent 70%) 94% 92% / 110px 2px no-repeat;
    opacity: .85;
    animation: aboutShellPulse 4.5s ease-in-out infinite;
}

/* İçerik satırı panelden taşmasın */
.page-about .hero .row {
    position: relative;
    z-index: 2;
}

/* Başlık – gradient */
.page-about .hero-title {
    position: relative;
    z-index: 2;
    font-weight: 800;
    letter-spacing: .4px;
    font-size: clamp(28px, 3.2vw, 46px);
    background: linear-gradient(90deg, #ffffff, #d8e7ff 40%, #ffffff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 24px rgba(255, 255, 255, .18);
    margin-bottom: 12px;
}

/* Alt başlık istenirse */
.page-about .hero-subtitle {
    color: #e5e7eb;
    font-size: 14.5px;
    max-width: 460px;
}

/* Alt içerik (Hakkımızda metni) hero panelin devamı gibi */
.page-about section[aria-labelledby="about-section-title"] {
    margin-top: -10px;
    padding-bottom: 40px;
}

.page-about section[aria-labelledby="about-section-title"]>.container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px 20px;
}

/* =========================
   KART / METİN BLOĞU
   ========================= */
.page-about .glass-card {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(3, 12, 33, .28);
    padding: 24px 24px 26px;
}

.page-about .glass-card h2 {
    color: #0e1b2b;
    font-weight: 800;
    font-size: clamp(20px, 2.1vw, 26px);
    margin-bottom: 14px;
}

.page-about .glass-card p {
    color: #213046;
    font-size: 16px;
    line-height: 1.7;
}

/* =========================
   BACK TO TOP
   ========================= */
.back-to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
    z-index: 1500;
    backdrop-filter: blur(10px);
}

.back-to-top i {
    font-size: 14px;
}

.back-to-top:hover {
    background: var(--accent);
    color: #fff;
}

/* =========================
   PARTNER LOGO ŞERİDİ
   ========================= */

/* Masaüstü – tek satır */
.page-about .partner-logos {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
    max-width: 980px;
    margin: 28px auto 10px;
    padding: 8px 12px 0;
}

.page-about .partner-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-about .partner-logo-img {
    height: 26px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, .22));
}

/* Tablet ve altı – 2-3’lü kırılarak dizilsin */
@media (max-width: 991.98px) {
    .page-about .hero {
        padding: 48px 0 16px;
    }

    .page-about .hero>.container {
        padding: 24px 16px 4px;
        border-radius: 24px;
    }

    .page-about section[aria-labelledby="about-section-title"]>.container {
        padding: 0 16px 20px;
    }

    .page-about .glass-card {
        padding: 18px 16px 20px;
    }

    .page-about .partner-logos {
        flex-wrap: wrap;
        max-width: 520px;
        gap: 20px 16px;
    }

    .page-about .partner-logo {
        flex: 0 1 45%;
    }

    .page-about .partner-logo-img {
        height: 24px;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 575.98px) {
    .page-about .partner-logos {
        max-width: 100%;
        padding: 4px 8px 0;
    }
}

/* Erişilebilirlik – hareket azalt tercihi */
@media (prefers-reduced-motion: reduce) {
    .page-about * {
        transition: none !important;
        animation: none !important;
    }
}