/* ===================== _BannerPartial (başlangıç) ===================== */

.banner-section {
    min-height: 70vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25));
    pointer-events: none;
}

.banner-content {
    display: inline-block;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    padding: 0 1.5rem;
    width: 85%;
    max-width: 1100px;
}

.banner-title {
    display: inline-block;
}

.banner-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    /*text-transform: uppercase;*/
    letter-spacing: 0.12em;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}

.title-divider {
    width: 100%;
    height: 4px;
    background: #dc0a1e;
    border-radius: 2px;
}

@media (max-width: 1200px) {
    .banner-section {
        min-height: 65vh;
    }

    .banner-title h1 {
        font-size: 2.8rem;
        letter-spacing: 0.11em;
    }
}

@media (max-width: 992px) {
    .banner-section {
        min-height: 60vh;
    }

    .banner-title h1 {
        font-size: 2.5rem;
        letter-spacing: 0.1em;
    }

    .title-divider {
        height: 3px;
    }
}

@media (max-width: 768px) {
    .banner-section {
        min-height: 55vh;
    }

    .banner-title h1 {
        font-size: 2rem;
        letter-spacing: 0.09em;
    }

    .banner-content {
        padding: 0 1.25rem;
        width: 92%;
    }
}

@media (max-width: 576px) {
    .banner-section {
        min-height: 50vh;
    }

    .banner-title h1 {
        font-size: 1.75rem;
        letter-spacing: 0.08em;
    }

    .title-divider {
        height: 3px;
    }

    .banner-content {
        padding: 0 1rem;
        width: 95%;
    }
}

@media (max-width: 400px) {
    .banner-section {
        min-height: 45vh;
    }

    .banner-title h1 {
        font-size: 1.5rem;
    }

    .title-divider {
        height: 2.5px;
    }
}

/* ===================== _BannerPartial (son) ===================== */

/* ===================== media-block (başlangıç) ===================== */

.media-block img,
.media-block .media-thumb {
    float: left;
    width: 20em;
    margin: 0 24px 8px 0;
    border-radius: 4px;
    display: block;
}

.media-block p {
    margin: 0 0 1em;
    line-height: 1.85;
}

.media-block::after {
    content: '';
    display: table;
    clear: both;
}

@media (max-width: 992px) {

    .media-block img,
    .media-block .media-thumb {
        width: 16em;
    }
}

@media (max-width: 768px) {

    .media-block img,
    .media-block .media-thumb {
        float: none;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 1em;
    }
}

@media (max-width: 576px) {

    .media-block img,
    .media-block .media-thumb {
        max-width: 100%;
    }
}

/* ===================== media-block (son) ===================== */

/* ===================== gallery (başlangıç) ===================== */

.gallery {
    --gallery-gap: 8px;
    --gallery-row-h: 160px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: var(--gallery-row-h);
    gap: var(--gallery-gap);
    padding: var(--gallery-gap);
    box-sizing: border-box;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: #e0dcd6;
    transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.portrait {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.08) 0%, rgba(26, 23, 20, 0.28) 100%);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.75);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
}

.gallery-item .zoom-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gallery-item:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(0.82);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.lb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 6, 0.93);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lb-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lb-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.93);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lb-overlay.active .lb-container {
    transform: scale(1);
}

.lb-img-wrap {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lb-img-wrap img {
    display: block;
    max-width: 88vw;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.lb-img-wrap img.loading {
    opacity: 0;
}

.lb-counter {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.38);
    margin-top: 1rem;
    text-transform: uppercase;
}

.lb-close {
    position: fixed;
    top: 1.5rem;
    right: 1.75rem;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    z-index: 10000;
}

.lb-close:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.6);
    transform: rotate(90deg);
}

.lb-close svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    fill: none;
}

.lb-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    z-index: 10000;
}

.lb-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.6);
}

.lb-arrow.prev {
    left: 1.5rem;
}

.lb-arrow.prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.lb-arrow.next {
    right: 1.5rem;
}

.lb-arrow.next:hover {
    transform: translateY(-50%) translateX(3px);
}

.lb-arrow svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.lb-thumbs {
    display: flex;
    gap: 6px;
    margin-top: 14px;
    overflow-x: auto;
    max-width: 88vw;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.lb-thumbs::-webkit-scrollbar {
    display: none;
}

.lb-thumb {
    width: 54px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.38;
    border: 1.5px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
}

.lb-thumb.active {
    opacity: 1;
    border-color: var(--gallery-accent);
}

.lb-thumb:hover {
    opacity: 0.75;
}

.lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 700px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        --gallery-row-h: 130px;
    }

    .lb-arrow {
        display: none;
    }
}

/* ===================== gallery (son) ===================== */

.banner-section {
    min-height: 100vh;
}

.section-margin {
    margin: 1em auto;
}

.person-info {
    margin: 1em auto;
}

.person-info h3 {
    margin: 0.5em auto;
}

.staff-img {
    height: 10em;
    width: auto;
}

.staff-info {
    display: flex;
    align-items: center;
}

.section-divider {
    border-top: 1px solid #232f60;
    border-bottom: 1px solid #232f60;
    margin: 1em auto;
    padding: 1em 0;
}

.contact-table {
    border-collapse: separate;
    border-spacing: 1em;
}

.list-padding {
    padding: 0 2em;
}

.row-padding {
    padding: 1em 0;
}

.contact-flex {
    display: flex;
    align-items: center;
}

@media (max-width: 1200px) {
    .banner-section {
        min-height: 80vh;
    }
}

@media (max-width: 576px) {
    .banner-section {
        min-height: 50vh;
    }
}

@media (max-width: 400px) {
    .banner-section {
        min-height: 45vh;
    }
}

ul {
    list-style-image: url('/images/_Bullet/kirmizi.webp');
    margin-bottom: 1em;
}

ul li {
    line-height: 180%;
    padding-left: 0.5em;
}

.nav-tile {
    background-color: var(--navy);
    color: var(--white);
    padding: 1em;
    text-align: center;
    font-weight: bold;
    border-radius: var(--radius-md);
    transition: background-color var(--transition);
}

.nav-tile:hover {
    background-color: var(--red);
}

.contact-block {
    background-color: var(--red);
    color: var(--white);
}

.contact-block a {
    color: var(--white);
    text-decoration: none;
}

.contact-table {
    border-collapse: separate;
    border-spacing: 1em;
}