/*
Theme Name: YAVA Theme
Theme URI: https://yavastudio.com
Description: YAVA Studio custom theme
Version: 2.0.0
Author: YAVA Studio
Text Domain: yava-theme
*/

/* ─── Google Fonts ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 0.833vw; overflow-x: hidden; margin-top: 0 !important; scrollbar-gutter: stable; }
html:has(body.home), html:has(body.front-page) { overflow-y: hidden; }
#wpadminbar { display: none !important; }
body { font-family: 'Roboto', sans-serif; background: #fff; color: #333; -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1, h2, h3, h4, h5 { font-family: 'Raleway', sans-serif; }

/* ─── Container ──────────────────────────────────────────── */
.container {
    max-width: clamp(1100px, 79.167vw, 1900px);
    margin: 0 auto;
    padding: 0 clamp(20px, 6.771vw, 130px);
}

/* ─── Header ─────────────────────────────────────────────── */
#site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    height: 5.208vw;
    display: flex;
    align-items: center;
}
.header-inner {
    width: min(79.167vw, calc((100dvh - 5.208vw - 3.125vw) * 16 / 9));
    margin: 0 auto;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.yava-logo-img {
    height: 2.708vw;
    width: auto;
    display: block;
}
.site-logo img.custom-logo {
    height: 2.708vw;
    width: auto;
}

/* Nav */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.312vw;
    align-self: flex-end;
    padding-bottom: 0.99vw;
}
.header-right,
.header-right * {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.208vw;
}
.site-nav a, .site-nav li a {
    font-family: 'Roboto', sans-serif;
    font-size: 0.833vw;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.07em;
    color: #333;
    padding: 0.208vw 0.729vw;
    transition: color 0.2s;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.site-nav a:hover { color: #000; }
.site-nav a.current-menu-item { color: #000; }

/* Search + Lang */
.header-extras {
    display: flex;
    align-items: center;
    gap: 0.104vw;
    margin-left: 1.042vw;
}
.header-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.208vw 0.313vw;
    color: #333;
    background: transparent;
    border: 0;
    cursor: pointer;
    line-height: 1;
}
.header-search-btn svg {
    width: 0.729vw;
    height: 0.729vw;
    fill: #333;
    display: block;
}
.header-search-btn:hover { color: #333; }
.header-search-btn:hover svg { fill: #333; }
.lang-switcher,
.lang-switcher *,
.lang-switcher a,
.lang-switcher a *,
.lang-switcher a:hover,
.lang-switcher a:focus,
.lang-switcher a.active,
.lang-switcher li.current-lang a,
.lang-switcher li.lang-item a,
.lang-switcher li.lang-item-tr a,
.lang-switcher li.lang-item-en a {
    color: #333 !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    display: block !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Search modal */
.yava-search-modal {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.97);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 0 1.25vw;
}
.yava-search-modal.open {
    display: flex;
}
.yava-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 37.5vw;
    border-bottom: 2px solid #111;
    padding: 0.312vw 0;
}
.yava-search-field {
    flex: 1;
    border: 0;
    background: transparent;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.042vw, 3vw, 1.667vw);
    font-weight: 300;
    color: #111;
    padding: 0.417vw 0.208vw;
    outline: none;
    letter-spacing: 0.02em;
}
.yava-search-submit {
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    padding: 0.208vw 0.417vw;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.yava-search-submit svg {
    width: 1.146vw;
    height: 1.146vw;
    fill: currentColor;
    display: block;
}
.yava-search-close {
    position: absolute;
    top: 1.146vw;
    right: 1.458vw;
    background: transparent;
    border: 0;
    font-size: 1.875vw;
    color: #111;
    cursor: pointer;
    line-height: 1;
}
.lang-switcher a {
    font-family: 'Roboto', sans-serif;
    font-size: 0.833vw;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.07em;
    color: #333;
    padding: 0.208vw 0 0.208vw 0.729vw;
    transition: color 0.2s;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}
.lang-switcher a:hover, .lang-switcher a.active { color: #000; }

/* Nav içi dil switcher — sadece mobilde görünür */
.nav-lang-switcher { display: none; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.26vw;
    padding: 0.208vw;
    margin-left: 0.625vw;
}
.nav-toggle span {
    display: block;
    width: 1.146vw;
    height: 2px;
    background: #333;
    transition: 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(0.26vw, 0.26vw); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(0.26vw, -0.26vw); }

/* ─── Homepage: no scroll ────────────────────────────────── */
body.home, body.front-page {
    overflow: hidden;
    height: 100dvh;
    display: grid;
    grid-template-rows: 5.208vw 1fr 3.125vw;
}
body.home #site-header,
body.front-page #site-header {
    grid-row: 1;
}
body.home .yava-logo-img,
body.front-page .yava-logo-img,
body.home .site-logo img.custom-logo,
body.front-page .site-logo img.custom-logo {
    height: 2.708vw;
}

body.home .header-search-btn svg,
body.front-page .header-search-btn svg {
    width: 0.729vw;
    height: 0.729vw;
}
body.home .header-search-btn,
body.front-page .header-search-btn {
    padding: 0.208vw 0.313vw;
}
body.home .header-extras,
body.front-page .header-extras {
    gap: 0.104vw;
    margin-left: 1.042vw;
}
body.home .site-nav,
body.front-page .site-nav {
    gap: 0.208vw;
}
body.home #site-footer,
body.front-page #site-footer {
    padding: 0.313vw 0;
}
body.home .home-slider-wrap,
body.front-page .home-slider-wrap {
    grid-row: 2;
    justify-self: center;
    align-self: stretch;
    width: min(79.167vw, calc((100dvh - 5.208vw - 3.125vw) * 16 / 9));
    min-height: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}
#home-hero-img {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    transition: opacity 0.25s ease;
    object-fit: cover;
    object-position: center;
}
body.home #site-footer,
body.front-page #site-footer {
    grid-row: 3;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.home .footer-social-link,
body.front-page .footer-social-link {
    width: 1.146vw;
    height: 1.146vw;
}
body.home .footer-social-link svg,
body.front-page .footer-social-link svg {
    width: 0.781vw;
    height: 0.781vw;
    overflow: visible;
}

/* ─── Homepage Slider ────────────────────────────────────── */
.home-slider-wrap {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0 auto;
    background: #fff;
}
.home-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
}
.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.slider-slide { pointer-events: none; }
.slider-slide.active { opacity: 1; pointer-events: auto; }
.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.slider-link {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    color: inherit;
}
.slider-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2.083vw;
    text-align: center;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(0.729vw, 1.2vw, 0.938vw);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 2px 0.417vw rgba(0,0,0,0.5);
    pointer-events: none;
    opacity: 0;
    transform: translateY(0.417vw);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.slider-slide.active .slider-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 1.875vw;
    line-height: 1;
    width: 2.292vw;
    height: 3.333vw;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.slider-arrow:hover { opacity: 0.7; }
.slider-arrow.prev { left: 0.625vw; }
.slider-arrow.next { right: 0.625vw; }

/* ─── Footer (only visible on home, hidden on inner pages) ─── */
#site-footer {
    padding: 0.521vw 0;
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.833vw;
    flex-shrink: 0;
}
body:not(.home):not(.front-page) #site-footer { display: none; }
.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.146vw;
    height: 1.146vw;
    color: #222;
    transition: color 0.2s, opacity 0.2s;
}
.footer-social-link:hover { opacity: 0.6; }
.footer-social-link svg { width: 0.781vw; height: 0.781vw; fill: currentColor; }

/* ─── Page Header ────────────────────────────────────────── */
.page-header {
    padding: 3.646vw 0 2.083vw;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 2.604vw;
}
.page-header h1 {
    font-size: clamp(1.458vw, 4vw, 2.5vw);
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* ─── Projects Grid ──────────────────────────────────────── */
body.post-type-archive-proje > .container,
body.post-type-archive-proje .container {
    padding-left: 0;
    padding-right: 0;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.458vw;
    margin-bottom: 1.458vw;
}
.project-card {
    display: block;
    position: relative;
    overflow: hidden;
    background: #eee;
}
.project-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}
.project-card-no-img {
    width: 100%;
    height: 100%;
    background: #d8d8d8;
}
.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.05); }
.project-card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.083vw 0.833vw 0.417vw;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
    font-family: 'Raleway', sans-serif;
    font-size: clamp(0.417vw, 0.62vw, 0.573vw);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
}

/* ─── Filter ─────────────────────────────────────────────── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.417vw;
    margin-bottom: 1.667vw;
}
.filter-btn {
    font-size: 0.625vw;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.312vw 0.938vw;
    border: 1px solid #ccc;
    color: #666;
    background: transparent;
    transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ─── Single Project ─────────────────────────────────────── */
body.single-proje > .container,
body.single-proje .container {
    padding-left: 0;
    padding-right: 0;
    width: min(79.167vw, calc((100dvh - 5.208vw - 3.125vw) * 16 / 9));
    max-width: 100%;
}
.project-hero-outer {
    width: min(79.167vw, calc((100dvh - 5.208vw - 3.125vw) * 16 / 9));
    max-width: 100%;
    margin: 0 auto;
    line-height: 0;
}
.project-hero-full {
    line-height: 0;
}
.project-hero-frame {
    position: relative;
    height: calc(100dvh - 5.208vw - 1.5rem);
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    overflow: hidden;
    background: transparent;
}
.project-hero-frame > img {
    height: 100%;
    width: auto;
    max-width: 79.167vw;
    display: block;
    transition: opacity 0.25s ease;
}

.project-hero-trigger { cursor: crosshair; }
.project-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.875vw;
    line-height: 1;
    width: 2.292vw;
    height: 3.333vw;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    z-index: 3;
}
.project-hero-arrow:hover { opacity: 0.6; }
.project-hero-arrow.prev { left: 0.938vw; }
.project-hero-arrow.next { right: 0.938vw; }

/* Lightbox thumbnail strip */
.lightbox-thumbs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.833vw;
    display: flex;
    justify-content: center;
    gap: 0.312vw;
    z-index: 2;
    padding: 0 0.833vw;
    overflow-x: auto;
    flex-wrap: nowrap;
}
.lightbox-thumb {
    flex: 0 0 auto;
    width: 4.375vw;
    aspect-ratio: 16/9;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.55;
    outline: 2px solid transparent;
    outline-offset: -2px;
    transition: opacity 0.2s ease, outline-color 0.2s ease;
}
.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lightbox-thumb:hover { opacity: 0.85; }
.lightbox-thumb.active { opacity: 1; outline-color: #fff; }
.project-body {
    display: grid;
    grid-template-columns: clamp(160px, 12vw, 240px) 1fr;
    gap: clamp(32px, 4vw, 80px);
    padding: clamp(28px, 2.083vw, 48px) 0 clamp(36px, 2.604vw, 56px);
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: clamp(28px, 2.083vw, 48px);
    align-items: start;
}
.project-meta-col {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.25vw, 28px);
    padding-top: clamp(3px, 0.208vw, 6px);
}
.project-meta-item .label {
    display: block;
    font-size: clamp(9px, 0.573vw, 13px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: clamp(4px, 0.313vw, 8px);
}
.project-meta-item .value {
    display: block;
    font-size: clamp(12px, 0.781vw, 16px);
    font-weight: 400;
    color: #111;
    line-height: 1.5;
}
.project-content-col {
    min-width: 0;
}
.project-content {
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
}
.project-content > *:first-child {
    margin-top: 0;
}
.project-content p {
    font-size: clamp(12px, 0.781vw, 16px);
    line-height: 1.8;
    color: #7a7a7a;
    margin-top: 0;
    margin-bottom: 1.5rem;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}
.project-content h2, .project-content h3 {
    font-size: clamp(9px, 0.586vw, 13px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2.5rem 0 0.75rem;
    color: #111;
}

/* Gallery */
.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 1.042vw, 24px);
    margin-bottom: clamp(40px, 3.125vw, 72px);
}
.project-gallery-grid img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s;
}
.project-gallery-grid img:hover { opacity: 0.9; }

/* Project nav */
.project-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(20px, 1.562vw, 36px) 0;
    border-top: 1px solid #e8e8e8;
    margin-top: clamp(14px, 1.042vw, 24px);
    font-size: clamp(11px, 0.729vw, 15px);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #333;
}
.project-nav-link { color: #333; transition: color 0.2s; }
.project-nav-link:hover { color: #000; }
.project-nav-all { color: #999; transition: color 0.2s; }
.project-nav-all:hover { color: #333; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 999;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox .lightbox-img { max-width: 95vw; max-height: calc(100vh - 8.333vw); width: auto; height: auto; object-fit: contain; display: block; }
.lightbox-close {
    position: absolute;
    top: 1.042vw;
    right: 1.25vw;
    color: #fff;
    font-size: 1.667vw;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.083vw;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 1.042vw;
    line-height: 1;
}
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

/* ─── Generic Page ───────────────────────────────────────── */
.page-content {
    max-width: 44.792vw;
    padding: 2.604vw 0 4.167vw;
    font-size: 0.781vw;
    line-height: 1.8;
    color: #444;
}
.page-content p { margin-bottom: 1.4rem; }
.page-content h2 { font-size: 1.146vw; font-weight: 600; margin: 2rem 0 1rem; }

/* ─── Shared container alignment (header-inner ile eşit) ─── */
body.page-template-page-awards .container,
body.post-type-archive-proje .container {
    width: min(79.167vw, calc((100dvh - 5.208vw - 3.125vw) * 16 / 9));
    max-width: 100%;
}

/* ─── Expertise Page ─────────────────────────────────────── */
body.page-template-page-expertise > .container,
body.page-template-page-expertise .container {
    padding-left: 0;
    padding-right: 0;
    width: min(79.167vw, calc((100dvh - 5.208vw - 3.125vw) * 16 / 9));
    max-width: 100%;
}
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto auto;
    gap: clamp(0.417vw, 1vw, 0.833vw);
    align-items: stretch;
    padding-top: 2.24vw;
    padding-bottom: 0.677vw;
}
.expertise-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: clamp(0.417vw, 1vw, 0.833vw);
}
.expertise-card-head {
    background: #fafafa;
    padding: clamp(1.042vw, 2.5vw, 2.083vw) 0.625vw clamp(0.833vw, 2vw, 1.458vw);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.521vw, 1.2vw, 0.938vw);
}
.expertise-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    line-height: 1;
    font-size: clamp(1.25vw, 3vw, 2.083vw);
}
.expertise-card-icon i {
    font-size: inherit;
    line-height: 1;
}
.expertise-card-icon svg {
    width: clamp(1.458vw, 3vw, 2.292vw);
    height: clamp(1.458vw, 3vw, 2.292vw);
    display: block;
}
.expertise-card-title {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(0.521vw, 1.1vw, 0.781vw);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111;
    line-height: 1.3;
    text-align: center;
}
.expertise-card-panel {
    background: #f5f5f5;
    padding: clamp(0.729vw, 1.6vw, 1.25vw) clamp(0.521vw, 1.2vw, 0.938vw);
    text-align: center;
}
.expertise-card-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}
.expertise-card-panel li {
    font-size: clamp(0.521vw, 0.75vw, 0.677vw);
    color: #333;
    padding: clamp(2px, 0.25vw, 0.208vw) 0;
    line-height: 1.5;
    display: block;
    text-align: center;
}
.expertise-card-panel li::before {
    content: "\00B7\00A0";
    color: #555;
}

/* ─── Project Locations ──────────────────────────────────── */
.project-locations {
    background: #fff;
    padding: 1.719vw 0 0.365vw;
    border-top: 1px solid #e8e8e8;
}
.project-locations-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(0.573vw, 1.1vw, 0.729vw);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    color: #111;
    margin: 0 0 2.083vw;
}
.project-locations-map {
    max-width: 62.5vw;
    margin: 0 auto 1.25vw;
}
.yava-amcharts-map {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #ffffff;
}
.yava-amcharts-map [aria-labelledby],
.yava-amcharts-map a[href*="amcharts"],
.yava-amcharts-map g[aria-labelledby*="amcharts"] {
    display: none !important;
}
.project-locations-map svg {
    width: 100%;
    height: auto;
    display: block;
}
.project-locations-city {
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: 0.625vw;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555;
    margin: 0;
}

/* ─── Awards ─────────────────────────────────────────────── */
.awards-section {
    padding: 0 0 2.917vw;
}
.awards-section > .container,
.awards-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 79.167vw;
}
.awards-list .award-item {
    width: 100%;
}

.awards-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 0;
}

.award-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25vw;
    background: transparent;
    padding: 0.521vw 0.469vw;
}
.award-thumb img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    background: transparent;
}
.award-item:nth-child(odd) {
    background: #ebebeb;
}

.award-thumb {
    flex-shrink: 0;
    width: 10.104vw;
    height: 6.042vw;
    overflow: hidden;
    background: #d8d8d8;
}
.award-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.award-year {
    flex: 0 0 3.646vw;
    font-family: 'Raleway', sans-serif;
    font-size: 0.677vw;
    font-weight: 400;
    color: #888;
}

.award-location {
    flex: 1 1 0;
    font-family: 'Raleway', sans-serif;
    font-size: 0.677vw;
    font-weight: 400;
    color: #888;
}

.award-prize {
    flex: 1 1 0;
    font-family: 'Raleway', sans-serif;
    font-size: 0.677vw;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.02em;
}

.award-project {
    flex: 2 1 0;
    font-family: 'Raleway', sans-serif;
    font-size: 0.677vw;
    font-weight: 400;
    color: #444;
    text-align: left;
}

@media (max-width: 768px) {
    .award-item {
        flex-wrap: wrap;
        gap: 8px 14px;
        padding: 14px 16px;
    }
    .award-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        max-width: 100%;
    }
    .award-year,
    .award-location,
    .award-prize,
    .award-project {
        flex: none;
        min-width: 0;
        width: 100%;
        text-align: left;
    }
    .award-prize {
        font-size: 14px;
    }
}

/* ─── About Page ─────────────────────────────────────────── */
body.page-about,
body.page-template-page-about {
    background: #f7f7f7;
}
@media (min-width: 992px) {
    body.page-about,
    body.page-template-page-about {
        overflow: hidden;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }
    body.page-about #site-header,
    body.page-template-page-about #site-header {
        position: relative;
        flex-shrink: 0;
    }
}
.about-intro-band {
    background: #f7f7f7;
    padding: clamp(32px, 2.6vw, 56px) 0 clamp(14px, 1.2vw, 28px);
    width: 100%;
}
.about-intro-inner {
    max-width: clamp(680px, 65vw, 1280px);
    margin: 0 auto;
    padding: 0 clamp(20px, 6.771vw, 130px);
}
.about-logo {
    display: block;
    width: clamp(160px, 12.5vw, 280px);
    max-width: 100%;
    height: auto;
    margin: 0 auto clamp(20px, 1.562vw, 36px);
    object-fit: contain;
}
.about-text {
    max-width: 77ch;
    margin: 0 auto;
}
.about-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    line-height: 28.9px;
    font-weight: 400;
    color: rgb(17, 17, 17);
    text-align: center;
    word-break: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    margin-bottom: 1.2rem;
}
.about-text p:last-child {
    margin-bottom: 0;
}

.about-team {
    background: #f7f7f7;
    padding: clamp(8px, 0.8vw, 20px) 0 clamp(24px, 2.4vw, 56px);
    width: 100%;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(40px, 4.635vw, 100px);
    max-width: clamp(680px, 65vw, 1280px);
    margin: 0 auto;
}
.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.team-card-photo {
    width: clamp(180px, 13.021vw, 300px);
    height: clamp(180px, 13.021vw, 300px);
    overflow: hidden;
    margin-bottom: 0;
    flex-shrink: 0;
}
.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: grayscale(100%);
}
.team-card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.team-card-name {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(14px, 1.146vw, 22px);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #111;
    margin-top: clamp(16px, 1.25vw, 28px);
    margin-bottom: clamp(8px, 0.833vw, 18px);
}
.team-card-title {
    font-size: clamp(12px, 0.781vw, 16px);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #999;
    margin-bottom: clamp(12px, 1.042vw, 22px);
}
.team-card-socials {
    display: flex;
    gap: clamp(10px, 0.833vw, 18px);
    align-items: center;
}
.team-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(20px, 1.354vw, 28px);
    height: clamp(20px, 1.354vw, 28px);
    color: #333;
    transition: color 0.2s, opacity 0.2s;
}
.team-social-link:hover {
    opacity: 0.5;
}
.team-social-link svg {
    width: clamp(16px, 1.042vw, 22px);
    height: clamp(16px, 1.042vw, 22px);
    fill: currentColor;
    display: block;
}

/* ─── Contact Page ───────────────────────────────────────── */
.contact-top {
    padding: 8.333vw 0 6.406vw;
    background: #fff;
}
.contact-top-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(2.083vw, 4vw, 4.167vw);
    align-items: center;
}
.contact-brand-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.354vw, 2.5vw, 1.875vw);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #111;
    margin-bottom: 1.875vw;
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.875vw;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.729vw;
    margin-bottom: 1.042vw;
}
.contact-info-icon {
    width: 0.938vw;
    flex-shrink: 0;
    margin-top: 2px;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.contact-info-icon i {
    font-size: 0.729vw;
    line-height: 1;
}
.contact-info-value {
    font-size: 0.729vw;
    color: #333;
    line-height: 1.6;
    font-style: normal;
    transition: color 0.2s;
}
a.contact-info-value:hover { color: #111; }
.contact-address { display: block; }

.contact-social {
    display: flex;
    gap: 0.833vw;
    align-items: center;
}
.contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.458vw;
    height: 1.458vw;
    border-radius: 50%;
    background: #ebebeb;
    color: #222;
    transition: background 0.2s;
}
.contact-social-link:hover { background: #d8d8d8; }
.contact-social-link svg {
    width: 0.938vw;
    height: 0.938vw;
    display: block;
    fill: #222;
}
.contact-social-link svg path { fill: #222; }

.contact-top-map {
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-world-map {
    width: 100%;
    max-width: 19.792vw;
    height: auto;
    display: block;
}

/* Form section */
.contact-form-section {
    background: #f5f5f5;
    padding: 5.729vw 0 11.979vw;
}
.contact-form-heading {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.146vw, 2.2vw, 1.667vw);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 1.667vw;
}
.contact-form {
    display: flex;
    flex-direction: column;
}
.contact-form-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25vw;
    margin-bottom: 1.25vw;
}
.contact-field {
    display: flex;
    flex-direction: column;
}
.contact-field-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.677vw;
    color: #555;
    margin-bottom: 0.417vw;
    font-weight: 400;
}
.contact-field-label .req { color: #d33; }
.contact-field input,
.contact-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #d6d6d6;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 0.729vw;
    color: #333;
    padding: 0.625vw 0.729vw;
    outline: none;
    border-radius: 0;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #b5b5b5;
    font-size: 0.677vw;
}
.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #888;
}
.contact-field textarea {
    resize: vertical;
    min-height: 6.771vw;
    line-height: 1.6;
}
.contact-submit {
    display: inline-block;
    margin-top: 0.417vw;
    padding: 0.521vw 1.146vw;
    font-family: 'Raleway', sans-serif;
    font-size: 0.677vw;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    color: #fff;
    background: #cfcfcf;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
}
.contact-submit:hover {
    background: #111;
    color: #fff;
}

/* Feedback */
.contact-feedback {
    padding: 0.729vw 0.938vw;
    margin-bottom: 1.458vw;
    font-size: 0.677vw;
    line-height: 1.5;
    letter-spacing: 0.01em;
}
.contact-feedback--success {
    background: #f4faf4;
    border-left: 0.156vw solid #4caf50;
    color: #2e7d32;
}
.contact-feedback--error {
    background: #fff8f7;
    border-left: 0.156vw solid #e57373;
    color: #c62828;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1280px) {
    .expertise-grid { grid-template-columns: repeat(3, 1fr); }
    .expertise-card-title { font-size: clamp(11px, 1.4vw, 15px); }
    .expertise-card-panel li { font-size: clamp(11px, 1vw, 13px); }
}
@media (max-width: 768px) {
    /* Reset root font: desktop uses 0.833vw which collapses to ~6px on mobile and breaks ch/rem/em */
    html { font-size: 16px; }
    .project-hero-outer { width: 100%; max-width: 100%; }
    .project-hero-frame { height: auto; width: 100%; aspect-ratio: 16/9; }
    .project-hero-frame > img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; }
    #site-header { height: 64px; position: sticky; top: 0; }
    .header-inner { width: 100%; padding: 0 16px; }
    body.home #site-header,
    body.front-page #site-header { height: 100px; }
    body.home .yava-logo-img,
    body.front-page .yava-logo-img,
    body.home .site-logo img.custom-logo,
    body.front-page .site-logo img.custom-logo,
    .yava-logo-img,
    .site-logo img.custom-logo { height: 40px; }
    .site-nav {
        display: none;
        position: fixed;
        inset: 0;
        top: 64px;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        z-index: 199;
        padding: 32px 0;
    }
    .site-nav.open { display: flex; }
    .site-nav a, .site-nav li a { font-size: 16px; padding: 8px 12px; }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 10px 0 10px 10px;
        margin-left: 8px;
    }
    .nav-toggle span {
        width: 24px;
        height: 2px;
        background: #111;
        border-radius: 2px;
    }
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .header-extras { display: none; }
    .nav-lang-switcher {
        display: flex;
        gap: 12px;
        margin-top: 8px;
    }
    .nav-lang-switcher a {
        font-size: 14px;
        font-family: inherit;
        letter-spacing: 0.08em;
        color: #888;
        text-decoration: none;
    }
    .nav-lang-switcher a.active { color: #000; }
    .header-right {
        padding-bottom: 0;
        gap: 8px;
        align-self: center;
    }
    .lang-switcher a { font-size: 14px; }

    /* ─── Container ─── */
    .container { max-width: 100%; padding: 0 16px; }

    /* ─── Home / hero slider ─── */
    .home-slider, .slider-track { height: auto; }

    /* ─── Projects archive container: mobilde header ile hizala ─── */
    body.post-type-archive-proje .container,
    body.post-type-archive-proje > .container {
        width: 100%;
        padding: 0 16px;
    }

    /* ─── Projects grid ─── */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 16px 0 32px;
    }
    .project-card-caption {
        font-size: 11px;
        padding: 24px 10px 8px;
        letter-spacing: 0.04em;
    }

    /* ─── Project detail page ─── */
    .project-body { grid-template-columns: 1fr; gap: 24px; }
    .project-meta-col {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 18px 32px;
    }
    .project-meta-item .label { font-size: 11px; }
    .project-meta-item .value { font-size: 14px; }
    .project-title { font-size: 22px; margin: 8px 0 16px; }
    .project-content p,
    .project-content li { font-size: 15px; line-height: 1.7; }
    .project-hero-frame { min-height: 180px; }
    .project-gallery-grid { grid-template-columns: 1fr; gap: 12px; }

    /* ─── About page ─── */
    .about-intro-band { padding: 32px 0 16px; }
    .about-intro-inner {
        max-width: 100%;
        padding: 0 20px;
    }
    .about-logo { width: 160px; margin-bottom: 18px; }
    .about-text { max-width: 100%; }
    .about-text p {
        font-size: 15px;
        line-height: 1.75;
        text-align: left;
        -webkit-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
        margin-bottom: 18px;
    }
    .about-team { padding: 24px 0 60px; }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
        padding: 0 20px;
    }
    .team-card-photo { width: 180px; height: 180px; }
    .team-card-name { font-size: 15px; margin-top: 16px; margin-bottom: 6px; }
    .team-card-title { font-size: 12px; margin-bottom: 12px; }
    .team-social-link { width: 24px; height: 24px; }
    .team-social-link svg { width: 18px; height: 18px; }

    /* ─── Awards page ─── */
    .award-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px 14px 18px;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: stretch;
    }
    .award-thumb {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        max-width: 100%;
        margin-bottom: 6px;
    }
    .award-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .award-year,
    .award-location,
    .award-project {
        font-size: 13px;
        width: auto;
        flex: none;
        min-width: 0;
        text-align: left;
        color: #555;
    }
    .award-prize {
        font-size: 18px;
        font-weight: 700;
        margin: 6px 0;
    }

    /* ─── Expertise page ─── */
    .expertise-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .expertise-card-title { font-size: 13px; }
    .expertise-card-panel li { font-size: 12px; }

    /* ─── Contact page ─── */
    .contact-top { padding: 40px 0 32px; }
    .contact-top-inner { grid-template-columns: 1fr; gap: 24px; }
    .contact-top-map { display: none; }
    .contact-brand-title { font-size: 18px; margin-bottom: 18px; }
    .contact-info-icon { width: 16px; }
    .contact-info-icon i { font-size: 12px; }
    .contact-info-value { font-size: 14px; }
    .contact-social-link { width: 32px; height: 32px; }
    .contact-social-link svg { width: 14px; height: 14px; }
    .contact-form-section { padding: 40px 0 64px; }
    .contact-form-heading { font-size: 18px; margin-bottom: 18px; }
    .contact-form-fields { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
    .contact-field-label { font-size: 12px; margin-bottom: 4px; }
    .contact-field input,
    .contact-field textarea { font-size: 16px; padding: 10px 12px; }
    .contact-field input::placeholder,
    .contact-field textarea::placeholder { font-size: 14px; }
    .contact-field textarea { min-height: 120px; }
    .contact-submit { font-size: 14px; padding: 12px 24px; }

    /* ─── Page content (generic) ─── */
    .page-content p { font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
    .page-content h2 { font-size: 18px; margin: 24px 0 12px; }
}
@media (max-width: 520px) {
    body.home .yava-logo-img,
    body.front-page .yava-logo-img,
    body.home .site-logo img.custom-logo,
    body.front-page .site-logo img.custom-logo,
    .yava-logo-img,
    .site-logo img.custom-logo { height: 32px; }
    .projects-grid { grid-template-columns: 1fr; gap: 10px; }
    .project-card-caption { font-size: 10px; padding: 20px 8px 6px; }
    .project-gallery-grid { grid-template-columns: 1fr; }
    .expertise-grid { grid-template-columns: 1fr; }
    .expertise-card-title { font-size: 15px; }
    .expertise-card-panel li { font-size: 13px; }
    .contact-submit { width: 100%; text-align: center; }
    .contact-form-fields { grid-template-columns: 1fr; }
}
