/*
Theme Name: Çekimi
Description: Çekimi.com.tr fotoğraf ve video prodüksiyon ağı.
Version: 1.7.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: cekimi
License: GNU General Public License v2 or later
*/
:root {
    color-scheme: dark;
    --bg: #121413;
    --fg: #F5F2EB;
    --accent: #D9FB63;
    --muted: #c1c2ba;
    --line: #3e413d;
    --panel: #1a1d1b;
    --heading: Georgia, "Times New Roman", serif;
    --body: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 var(--body); }
a { color: inherit; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,.brand { font-family: var(--heading); line-height: 1.08; margin: 0 0 .55em; }
h1 { font-size: clamp(2.65rem,6vw,6.15rem); letter-spacing: -.045em; max-width: 15ch; }
h2 { font-size: clamp(2rem,4vw,3.5rem); letter-spacing: -.035em; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1rem; max-width: 68ch; }
.shell { width: min(100% - clamp(32px,8vw,112px), 1350px); margin-inline: auto; }
.section { padding-block: clamp(32px,5.5vw,80px); border-bottom: 1px solid var(--line); }
.top { position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.top-inner,.nav,.actions,.custom-menu { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(12px,2vw,30px); }
.top-inner { min-height: 76px; padding-block: 12px; }
.brand { font-weight: 700; letter-spacing: .02em; font-size: 2rem; text-decoration: none; margin: 0 auto 0 0; }
.nav a,.plain { text-decoration: none; }
.custom-menu { list-style: none; margin: 0; padding: 0; }
.menu { position: relative; }
summary { cursor: pointer; }
.menu ul { z-index: 3; position: absolute; min-width: 230px; inset: 100% auto auto 0; margin: .4rem 0; padding: .5rem; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.menu li a { display: block; padding: .5rem .65rem; }
.menu li a:hover,.menu li a:focus-visible { background: #292d29; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem 1.25rem; border: 0; border-radius: 7px; background: var(--accent); color: var(--bg); font: 650 1rem/1.3 var(--body); text-decoration: none; cursor: pointer; }
.button:hover { background: #e8ff9d; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 10; background: var(--bg); padding: .5rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.hero { min-height: clamp(480px,49vw,700px); display: grid; align-items: end; position: relative; isolation: isolate; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#121413c9,transparent 85%),linear-gradient(0deg,#121413f2,transparent 75%); z-index: -1; }
.hero-inner { padding-block: clamp(45px,6vw,92px); }
.hero-inner p { font-size: clamp(1rem,1.5vw,1.18rem); margin-bottom: 1.6rem; }
.breadcrumb { color: var(--muted); padding-block: .85rem; font-size: .9rem; }
.breadcrumb span { margin-inline: .4em; }
.hero-service { min-height: clamp(390px,42vw,590px); }
.grid,.service-grid,.quote { display: grid; gap: clamp(12px,2vw,26px); }
.grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.service-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.frame { margin: 0; }
.frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 7px; }
.frame figcaption { font: 1.2rem/1.2 var(--heading); padding-top: .8rem; }
.muted { color: var(--muted); }
.panel,.faq details { border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 1.15rem; }
.panel p,.faq p { color: var(--muted); }
.panel p:last-child { margin-bottom: 0; }
.faq details { margin: 0 0 .6rem; }
.faq details p { margin: .85rem 0 0; }
.quote { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.form { display: grid; gap: .85rem; }
.form label { display: grid; gap: .25rem; }
.form :is(input,select,textarea) { width: 100%; min-height: 44px; border: 1px solid #777c75; border-radius: 5px; background: var(--bg); color: var(--fg); font: inherit; padding: .45rem .7rem; }
.form .button { justify-self: start; }
.trap { display: none; }
.footer { padding-block: 35px; }
.footer nav { display: flex; gap: .75rem 1.2rem; flex-wrap: wrap; margin-block: 1rem; }
.prose { max-width: 75ch; }
.prose iframe { max-width: 100%; }
@media (max-width: 960px) {
    .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
    .top-inner { gap: 10px; }
    .brand { font-size: 1.6rem; }
    .nav { order: 3; width: 100%; gap: .5rem 1rem; font-size: .9rem; }
    .hero { min-height: 475px; }
    .hero-image { object-position: 59% center; }
    .hero::after { background: linear-gradient(0deg,#121413fa,transparent 125%); }
    .grid,.service-grid,.quote { grid-template-columns: 1fr; }
}

/* Compact editorial layout based on the approved Çekimi reference. */
.shell { width: min(100% - clamp(36px,9.6vw,144px), 1440px); }
.top-inner { min-height: 66px; }
.top .button { min-height: 38px; font-size: .9rem; }
.nav { font: 1rem/1.3 var(--heading); }
.hero { min-height: clamp(350px,39vw,655px); }
.hero-inner { padding-block: clamp(34px,5vw,78px); }
.hero h1 { font-size: clamp(2.5rem,5.3vw,5.4rem); max-width: 18ch; margin-bottom: .42em; }
.hero::after { background: linear-gradient(90deg,#12141386,transparent 80%),linear-gradient(0deg,#121413db,transparent 68%); }
.hero-service { min-height: clamp(330px,34vw,530px); }
.hero .button { gap: 1rem; }
.section { padding-block: clamp(24px,3.15vw,56px); }
.section h2 { font-size: clamp(1.85rem,3.5vw,3.5rem); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section-heading .muted { font-size: .8rem; }
.grid { gap: clamp(10px,1.3vw,20px); }
.frame img { border-radius: 2px; aspect-ratio: 1.22; }
.frame figcaption span { display: block; text-transform: uppercase; font: .67rem/1.3 var(--body); letter-spacing: .08em; color: var(--muted); margin-bottom: .32rem; }
.service-tile { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .9rem 1rem; }
.service-tile h3 { font-size: 1.14rem; margin: 0; }
.service-tile .plain { font-size: .78rem; white-space: nowrap; }
.faq details { padding-block: .75rem; }
@media (max-width: 650px) {
    .shell { width: calc(100% - 36px); }
    .top-inner { min-height: 58px; }
    .hero { min-height: 410px; }
    .hero h1 { font-size: clamp(2.1rem,9.5vw,3.5rem); }
    .hero::after { background: linear-gradient(0deg,#121413f5,transparent 82%); }
    .hero .button { width: 100%; }
    #projeler .grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; }
    #projeler .frame { scroll-snap-align: start; }
}

.brand img { width: clamp(128px,14vw,180px); height: auto; }
.signature-service { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .52rem; min-height: 96px; text-decoration: none; font: 1.12rem/1.3 var(--heading); }
.signature-service img { grid-column: 1 / -1; width: 28px; }
.signature-service:hover { border-color: var(--accent); text-decoration: none; }
.signature-service:hover .service-arrow { color: var(--accent); }
.all-services { margin-top: 1.15rem; }
.all-services > summary { margin-bottom: .8rem; }
@media (max-width: 650px) {
    .signature-service { grid-template-columns: 28px 1fr auto; min-height: 54px; }
    .signature-service img { grid-column: auto; }
}

.service-tile h3 { display: flex; align-items: center; gap: .65rem; }
.service-tile h3 img { width: 30px; height: 30px; flex: 0 0 30px; }

/* Keep fine illustration detail legible in both service grids. */
.signature-service img,
.service-tile h3 img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex: 0 0 64px;
}
.service-tile { min-height: 100px; }
.service-tile h3 { gap: .85rem; }
@media (max-width: 650px) {
    .signature-service { grid-template-columns: 52px 1fr auto; min-height: 76px; }
    .signature-service img,
    .service-tile h3 img { width: 52px; height: 52px; flex-basis: 52px; }
    .service-tile { min-height: 76px; }
}

.partner-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0;
    padding: 4px 2px 12px;
    list-style: none;
}
.partner-track li {
    display: grid;
    place-items: center;
    flex: 0 0 clamp(136px, 16vw, 210px);
    height: clamp(94px, 10vw, 124px);
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    scroll-snap-align: start;
}
.partner-track img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.partner-controls { display: flex; gap: .4rem; flex-wrap: wrap; }
.partner-controls[hidden] { display: none; }
.partner-controls button {
    min-height: 36px;
    padding: .2rem .65rem;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--panel);
    color: var(--fg);
    cursor: pointer;
}

.mobile-menu-toggle { display: none; }

@media (max-width: 650px) {
    .top-inner { column-gap: 8px; }
    .top .brand img { width: clamp(96px, 32vw, 128px); }
    .top .button { min-height: 44px; padding-inline: .75rem; }
    .mobile-menu-toggle:not([hidden]) {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--line);
        border-radius: 7px;
        background: var(--panel);
        color: var(--fg);
        font-size: 1.2rem;
        cursor: pointer;
    }
    .mobile-menu-toggle[aria-expanded="false"]:not([hidden]) + .nav { display: none; }
    .nav, .nav .custom-menu { flex-direction: column; align-items: stretch; }
    .nav > a, .nav summary, .nav .custom-menu a {
        display: block;
        padding: .7rem .5rem;
        min-height: 44px;
    }
    .nav .menu ul { position: static; min-width: 0; }
    .partner-track li { flex-basis: calc((100% - 16px) / 2); height: 108px; padding: 6px; }
    .signature-service { grid-template-columns: 44px 1fr auto; }
    .signature-service, .service-tile { min-height: 62px; padding: .5rem .75rem; }
    .signature-service img, .service-tile h3 img { width: 44px; height: 44px; flex-basis: 44px; }
    .footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .75rem; }
    .footer nav a { display: flex; align-items: center; min-height: 44px; font-size: .9rem; }
}
