/* Sercan Belgemen - kurumsal görünüm iyileştirmeleri */
:root {
    --leader-navy: #0b1f4d;
    --leader-cyan: #00a9ce;
    --leader-soft: #f3f6fc;
}

.header-main-con {
    background: linear-gradient(90deg, #fff 0%, #fff 69%, transparent 69%);
}

.header-main-con .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 235px;
}

.brand-mark {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--leader-cyan);
    font-size: 20px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    color: var(--leader-navy);
    font-family: 'Maven Pro', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .02em;
}

.brand-copy small {
    color: var(--leader-cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    margin-top: 5px;
}

/* Sosyal medya butonları bekleme durumunda da lacivert ve görünür. */
.header-main-con .nav-btns ul li a {
    color: var(--leader-navy);
    background: rgba(255, 255, 255, .92);
    border-color: var(--leader-navy);
}

.header-main-con .nav-btns ul li a:hover,
.header-main-con .nav-btns ul li a:focus-visible {
    color: #fff;
    background: var(--leader-navy);
    border-color: var(--leader-navy);
    outline: none;
}

/* Öz geçmiş alanı: kontrollü ölçü, dengeli fotoğraf ve gerçek imza satırı. */
.about-main-section {
    padding: 115px 0 85px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.about-inner-con {
    align-items: center;
    gap: clamp(45px, 6vw, 90px);
    grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
    margin-bottom: 0;
}

.about-left-con::after {
    display: none;
}

.biography-content {
    max-width: 620px;
}

.biography-content p {
    color: #4f596b;
    line-height: 1.72;
}

.about-signature {
    width: fit-content;
    min-width: 285px;
    display: grid;
    margin-top: 30px;
    padding: 4px 8px 0 2px;
}

.signature-name {
    color: var(--leader-navy);
    font-family: 'Dancing Script', cursive;
    font-size: 37px;
    font-weight: 700;
    line-height: 1.05;
    transform: rotate(-3deg);
    transform-origin: left center;
}

.signature-line {
    width: 150px;
    height: 2px;
    margin: 6px 0 9px;
    background: linear-gradient(90deg, var(--leader-cyan), transparent);
}

.about-signature strong {
    color: #687083;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.about-right-con {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.about-right-con::before {
    content: "";
    position: absolute;
    inset: 55px 0 0;
    border-radius: 52% 52% 14px 14px;
    background: var(--leader-soft);
}

.about-right-con figure {
    width: 100%;
    height: 560px;
    margin: 0;
    border-radius: 0;
    background: transparent;
    position: relative;
    z-index: 1;
    overflow: hidden;
    align-items: flex-end;
}

.about-right-con figure img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.mobile-hero-signature {
    display: none;
}

.about-signature-logo {
    display: none;
}

@media (max-width: 1199px) {
    .header-main-con .container-fluid { padding: 0 3%; }
    .header-main-con .navbar-nav { gap: 25px; }
    .header-main-con .navbar .collapse.navbar-collapse { margin-right: 28px; }
    .header-main-con .header-contact-btn { display: none; }
    .header-main-con .donate-btn { margin-right: 0; }
}

@media (max-width: 991px) {
    .header-main-con {
        position: absolute;
        background: #fff;
        border-bottom: 1px solid #e6eaf2;
        box-shadow: 0 6px 22px rgba(11, 31, 77, .07);
    }

    .header-main-con .navbar { min-height: 72px; padding: 10px 0; }
    .header-main-con .navbar-brand { min-width: 0; }
    .header-main-con .nav-btns { display: none !important; }
    .header-main-con .navbar-toggler {
        margin-left: auto;
        border: 0;
    }
    .header-main-con .navbar-toggler-icon {
        background: var(--leader-navy) !important;
    }

    .header-main-con .navbar-collapse {
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 18px 22px 22px;
        background: #fff;
        border-top: 1px solid #edf0f5;
        box-shadow: 0 15px 25px rgba(11, 31, 77, .1);
    }

    .header-main-con .navbar-nav { gap: 0; }
    .header-main-con .navbar-nav .nav-item { border-bottom: 1px solid #edf0f5; }
    .header-main-con .navbar-light .navbar-nav .nav-link { padding: 12px 2px !important; font-weight: 700; }

    .about-main-section { padding: 78px 0 65px; }
    .about-inner-con { grid-template-columns: 1fr; gap: 42px; }
    .about-left-con { max-width: 700px; margin: 0 auto; }
    .about-main-section .generic-title,
    .about-left-con { text-align: left; }
    .about-main-section .generic-title span::before { left: 0; transform: none; }
    .about-signature { margin-left: 0; }
    .about-right-con { min-height: 470px; order: -1; }
    .about-right-con figure { height: 470px; width: min(100%, 520px); }
}

@media (max-width: 575px) {
    .header-main-con .container-fluid { padding: 0 16px; }
    .brand-mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 16px; }
    .brand-copy strong { font-size: 13px; }
    .brand-copy small { font-size: 8px; margin-top: 4px; }
    .header-main-con .navbar-toggler { right: auto; position: relative; }

    .banner-main-section { padding-top: 105px; }
    .banner-main-section .container-fluid { padding: 0 20px; }
    .banner-left-con h1 { width: 100%; font-size: 28px; line-height: 1.12; }
    .banner-left-con p { max-width: 330px; margin-left: auto; margin-right: auto; }
    .banner-left-con p br { display: none; }
    .banner-right-con {
        position: relative;
        width: calc(100% + 40px);
        min-height: 390px;
        margin: 8px -20px 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        overflow: hidden;
        isolation: isolate;
        background: url('../images/banner-right-img.jpg') center 38% / cover no-repeat;
    }

    .banner-right-con::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background:
            linear-gradient(180deg, #fff 0%, rgba(11, 31, 77, .12) 20%, rgba(4, 29, 67, .72) 100%),
            linear-gradient(90deg, rgba(0, 169, 206, .16), rgba(11, 31, 77, .2));
    }

    .banner-right-con figure {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0;
    }

    .banner-right-con figure img {
        width: min(355px, 96vw);
        max-width: none;
        filter: drop-shadow(0 12px 18px rgba(1, 15, 38, .24));
    }

    .about-main-section { padding: 58px 0 52px; }
    .about-inner-con { gap: 30px; text-align: left; }
    .about-right-con { min-height: 430px; }
    .about-right-con::before {
        inset: 20px 0 0;
        border-radius: 48% 48% 16px 16px;
        background:
            radial-gradient(circle at 50% 35%, #fff 0 29%, transparent 30%),
            linear-gradient(145deg, #eef3fc, #dfe8f7);
    }
    .about-right-con figure { width: 112%; height: 430px; margin-left: -6%; }
    .about-right-con figure img { width: auto; max-width: none; height: 108%; }
    .about-main-section .generic-title { margin-bottom: 20px; }
    .about-main-section .generic-title h2 { font-size: 27px; line-height: 1.05; }
    .biography-content p { font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
    .about-signature { min-width: 245px; margin-top: 24px; }
    .signature-name { font-size: 32px; }
}

/* Yalnızca mobil hero. Masaüstü yerleşimi ve görseli değiştirilmez. */
@media (max-width: 768px) {
    .joining-main-con {
        min-height: 180px;
        padding: 24px 145px 24px 18px;
        overflow: hidden;
    }

    .joining-main-con::after {
        width: 205px;
        height: 165px;
        right: -14px;
        bottom: 0;
        background-size: contain;
        background-position: right bottom;
    }

    .joining-inner-con {
        display: block;
        position: relative;
        z-index: 2;
    }

    .joining-inner-con h3 {
        margin-bottom: 12px !important;
        font-size: 15px;
        line-height: 1.42;
    }

    .joining-inner-con .generic-btn a {
        padding: 8px 12px;
        font-size: 12px;
    }

    .about-main-section .container {
        width: 100%;
        max-width: 100%;
        padding-right: 18px;
        padding-left: 18px;
    }

    .about-left-con,
    .about-main-section .generic-title,
    .biography-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .about-main-section .generic-title h2 {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        padding: 0;
        font-size: clamp(23px, 6.6vw, 27px);
        line-height: 1.08;
        letter-spacing: -.02em;
        overflow-wrap: break-word;
    }

    .biography-content p {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .about-signature {
        width: 150px;
        min-width: 0;
        margin-top: 18px;
        padding: 0;
        display: block;
        overflow: hidden;
    }

    .about-signature-logo {
        display: block;
        width: 150px;
        height: 150px;
        max-width: 100%;
        object-fit: contain;
    }

    .about-signature .signature-name,
    .about-signature .signature-line,
    .about-signature strong {
        display: none;
    }

    .banner-main-section {
        min-height: calc(100svh - 72px);
        padding-top: 72px;
        overflow: hidden;
        background: var(--leader-navy);
    }

    .banner-main-section::after {
        display: block !important;
        width: 100%;
        height: 100%;
        inset: 0;
        z-index: 0;
        background-position: 58% center;
        background-size: cover;
    }

    .banner-main-section::before {
        display: block !important;
        width: 100%;
        height: 100%;
        inset: 0;
        z-index: 1;
        background:
            linear-gradient(90deg, rgba(4,18,49,.96) 0%, rgba(5,24,59,.90) 43%, rgba(7,29,67,.66) 70%, rgba(4,18,49,.76) 100%),
            linear-gradient(180deg, rgba(5,21,53,.50) 0%, rgba(5,22,57,.70) 100%);
    }

    .banner-main-section .container-fluid {
        width: 100%;
        height: 100%;
        padding: 0;
        position: relative;
        z-index: 2;
    }

    .banner-main-section .banner-inner-con {
        display: block;
        width: 100%;
        height: calc(100svh - 72px);
        min-height: 545px;
        max-height: 720px;
        margin: 0;
        position: relative;
        text-align: left;
    }

    .banner-left-con {
        width: 56%;
        padding: clamp(42px, 8vh, 70px) 0 20px 20px;
        position: relative;
        z-index: 4;
    }

    .banner-left-con::after {
        display: none;
    }

    .banner-left-con span:first-child {
        font-size: clamp(23px, 7vw, 30px);
        line-height: 1;
        margin-bottom: 7px;
        color: var(--leader-cyan);
    }

    .banner-left-con span:nth-child(2) {
        font-size: clamp(.78rem, 3.5vw, 1rem) !important;
        line-height: 1.1 !important;
        margin: 0 0 12px !important;
        color: rgba(255,255,255,.88) !important;
    }

    .banner-left-con h1 {
        width: 100%;
        margin: 0 0 13px;
        font-size: clamp(22px, 6.4vw, 28px);
        line-height: 1.08;
        text-align: left;
        color: #fff;
    }

    .banner-left-con p {
        width: 100%;
        margin: 0 0 8px;
        color: rgba(255,255,255,.86);
        font-size: clamp(12px, 3.35vw, 14px);
        line-height: 1.4;
        text-align: left;
    }

    .banner-left-con p br {
        display: none;
    }

    .mobile-hero-signature {
        display: block;
        width: clamp(120px, 35vw, 145px);
        height: auto;
        margin: -12px 0 -13px;
        object-fit: contain;
        filter: brightness(0) invert(1) drop-shadow(0 2px 3px rgba(0,0,0,.24));
    }

    .banner-left-con .banner-btn {
        text-align: left;
    }

    .banner-left-con .banner-btn a {
        padding: 10px 17px;
        font-size: 12px;
        line-height: 18px;
    }

    .banner-right-con {
        width: 60%;
        height: min(84svh, 680px);
        min-height: 0;
        margin: 0;
        position: absolute;
        right: -12%;
        bottom: 0;
        z-index: 3;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        overflow: visible;
        background: none;
        isolation: auto;
    }

    .banner-right-con::before {
        display: none;
    }

    .banner-right-con figure,
    .banner-right-con figure picture {
        width: 100%;
        height: 100%;
        margin: 0;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .banner-right-con figure img {
        width: auto;
        max-width: none;
        height: 100%;
        object-fit: contain;
        object-position: right bottom;
        filter: drop-shadow(-10px 10px 18px rgba(1,15,38,.22));
    }
}

@media (max-width: 390px) {
    .banner-left-con {
        width: 58%;
        padding-left: 16px;
    }

    .banner-right-con {
        width: 61%;
        right: -14%;
    }
}
