/* ============================================================
   custom.css — proje özgü stiller
   Mona Sans + DM Sans, --theme / --header / --border değişkenleri
   main.css :root ile uyumlu
   ============================================================ */

/* ── Cover görseli (16:9, kaymasız) ──────────────────────── */
.prj-cover-wrap {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.prj-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Proje içerik metni ───────────────────────────────────── */
.prj-body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text);
}
.prj-body p {
    margin-bottom: 1rem;
}
.prj-body p:last-child {
    margin-bottom: 0;
}
.prj-body h2,
.prj-body h3,
.prj-body h4 {
    font-family: "Mona Sans", sans-serif;
    font-weight: 600;
    color: var(--header);
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}

/* ── Galeri grid (4:3, kaymasız) ──────────────────────────── */
.prj-gal-item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg);
}
.prj-gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.prj-gal-item:hover img {
    transform: scale(1.05);
}

/* ── Proje Bilgileri listesi ──────────────────────────────── */
.prj-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 20px;
}
.prj-info-list li {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px 16px;
    align-items: baseline;
    font-size: 15px;
    color: var(--text);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.prj-info-list li:first-child {
    padding-top: 0;
}
.prj-info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.prj-info-label {
    font-weight: 700;
    color: var(--header);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.4;
}
.prj-info-value {
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
    word-break: break-word;
}
.prj-info-value a {
    color: var(--theme);
    word-break: break-all;
}
.prj-info-value a:hover {
    text-decoration: underline;
}

/* ── Diğer Projeler widget ────────────────────────────────── */
.prj-other-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.prj-other-list li:not(:last-child) {
    margin-bottom: 12px;
}
.prj-other-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #ECF0F0;
    transition: background .25s, color .25s;
    text-decoration: none;
    color: var(--header);
}
.prj-other-item:hover {
    background: var(--theme);
    color: #fff;
}
.prj-other-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg);
}
.prj-other-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prj-other-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.4rem;
    color: var(--text);
}
.prj-other-title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    font-family: "Mona Sans", sans-serif;
}
.prj-other-arrow {
    flex-shrink: 0;
    font-size: .75rem;
    transition: transform .25s;
}
.prj-other-item:hover .prj-other-arrow {
    transform: translateX(3px);
}
.prj-other-item:hover .prj-other-thumb-placeholder {
    color: rgba(255,255,255,.7);
}

/* ── Video (16:9, kaymasız) ───────────────────────────────── */
.prj-vid-wrap {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}
.prj-vid-ratio {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}
.prj-vid-ratio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prj-vid-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.06);
}
.prj-vid-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: rgba(0,0,0,.35);
    transition: background .2s;
}
.prj-vid-wrap:hover .prj-vid-btn {
    background: rgba(0,0,0,.55);
}
.prj-vid-file {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prj-vid-label {
    color: rgba(255,255,255,.8);
    font-size: .9rem;
    text-align: center;
    margin-top: 10px;
}

/* ── Inline video modal içeriği ──────────────────────────── */
.mfp-inline-holder .mfp-close {
    display: none;
}
.prj-video-inline {
    position: relative;
    width: 90vw;
    max-width: 960px;
    margin: 0 auto;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}
.prj-video-inline video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
}
.prj-vid-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.prj-vid-close:hover {
    background: rgba(0, 0, 0, .9);
}

/* ── sidebar thumb box — sabit oran ──────────────────────── */
.main-sideber .sideber-thumb-box .project-thumb {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
}
.main-sideber .sideber-thumb-box .project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── project-details-thumb — cover için sabit oran ───────── */
.project-details-wrapper .project-details-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}
.project-details-wrapper .project-details-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── project-details-thumb-2 — galeri için sabit oran ────── */
.project-details-wrapper .project-details-thumb-2 {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 0;
    background: var(--bg);
}
.project-details-wrapper .project-details-thumb-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.project-details-wrapper .project-details-thumb-2:hover img {
    transform: scale(1.04);
}

/* ── Detay sayfası bölüm başlığı (galeri/video/döküman) ──────── */
.det-section-hd {
    margin-bottom: 2rem;
}
.det-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--theme);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 8px;
}
.det-section-tag i {
    font-size: 7px;
}
.det-section-hd h3 {
    font-family: "Mona Sans", sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--header);
    margin: 0;
    line-height: 1.2;
}
.section-video-bg .det-section-tag {
    color: rgba(255, 255, 255, .65);
}
.section-video-bg .det-section-hd h3 {
    color: #fff;
}

/* ── Video bölümü arka planı (koyu teal, --header dan daha açık) ─ */
.section-video-bg {
    background: var(--theme);
}

/* ── Aktivite & Proje Galeri ──────────────────────────────────── */
.act-gal-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    background: var(--bg);
}
.act-gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.act-gal-item:hover img { transform: scale(1.07); }
.act-gal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2,36,35,.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.act-gal-overlay i { font-size: 26px; color: #fff; }
.act-gal-item:hover .act-gal-overlay { opacity: 1; }

/* ── Aktivite Video ───────────────────────────────────────────── */
.act-vid-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 16 / 9;
    background: #111;
    text-decoration: none;
}
.act-vid-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.act-vid-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.06);
}
.act-vid-wrap:hover img { transform: scale(1.04); }
.act-vid-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--theme);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 0 0 12px rgba(29,139,138,.25);
    transition: box-shadow .3s, transform .3s;
}
.act-vid-wrap:hover .act-vid-btn {
    box-shadow: 0 0 0 20px rgba(29,139,138,.15);
    transform: translate(-50%, -50%) scale(1.1);
}
.act-vid-label {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    text-align: center;
}

/* ── Döküman listesi (activities / companies / news) ──────────── */
.act-doc-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: var(--header);
    transition: border-color .25s, box-shadow .25s, color .25s;
}
.act-doc-item:hover {
    border-color: var(--theme);
    box-shadow: 0 6px 24px rgba(29,139,138,.1);
    color: var(--theme);
}
.act-doc-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--theme);
    flex-shrink: 0;
    transition: background .25s;
}
.act-doc-item:hover .act-doc-icon { background: rgba(29,139,138,.1); }
.act-doc-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}
.act-doc-dl {
    font-size: 16px;
    color: var(--text);
    flex-shrink: 0;
    transition: color .25s;
}
.act-doc-item:hover .act-doc-dl { color: var(--theme); }

/* ── Arama sayfası ───────────────────────────────────────────── */
.srch-form {
    margin-bottom: 2.5rem;
}
.srch-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.srch-input-wrap input {
    flex: 1;
    border: 2px solid var(--border);
    border-radius: 50px;
    outline: none;
    padding: 14px 24px;
    font-size: 16px;
    font-family: "DM Sans", sans-serif;
    color: var(--header);
    background: #fff;
    transition: border-color .25s;
}
.srch-input-wrap input:focus {
    border-color: var(--theme);
}
.srch-input-wrap button {
    flex-shrink: 0;
    white-space: nowrap;
}
.srch-meta {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 1rem;
}
.srch-meta strong {
    color: var(--header);
    font-weight: 700;
}
.srch-meta em {
    color: var(--theme);
    font-style: normal;
}
.srch-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: var(--header);
    transition: border-color .25s, box-shadow .25s, transform .2s;
    height: 100%;
}
.srch-card:hover {
    border-color: var(--theme);
    box-shadow: 0 8px 28px rgba(29,139,138,.1);
    transform: translateY(-2px);
    color: var(--header);
}
.srch-card__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg);
}
.srch-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.srch-card__body {
    flex: 1;
    min-width: 0;
}
.srch-card__type {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--theme);
    margin-bottom: 4px;
}
.srch-card__title {
    font-family: "Mona Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.srch-card__summary {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.srch-card__arrow {
    flex-shrink: 0;
    font-size: .8rem;
    color: var(--border);
    transition: color .2s, transform .2s;
}
.srch-card:hover .srch-card__arrow {
    color: var(--theme);
    transform: translateX(3px);
}

.lang-switcher {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--theme);
    background: #fff;
    color: var(--theme);
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 14px;
    font-weight: 600;
}

.lang-current:hover {
    background: var(--theme);
    color: #fff;
}

.lang-current i {
    font-size: 13px;
}

.lang-arrow {
    transition: transform .2s ease;
}

.lang-switcher:hover .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    box-shadow:
        0 10px 25px rgba(0,0,0,.08),
        0 2px 6px rgba(0,0,0,.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s;
    z-index: 999;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li + li {
    margin-top: 4px;
}

.lang-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #222;
    font-size: 14px;
    transition: all .2s ease;
}

.lang-dropdown a:hover {
    background: color-mix(in srgb, var(--theme) 12%, white);
    color: var(--theme);
}

.lang-dropdown a.active {
    background: var(--theme);
    color: #fff;
    font-weight: 600;
}

.project-details-thumb {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 20px;
}

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

.about-img{
    aspect-ratio: 4 / 2;
}