/* cevlan.av.tr — Cevlan Hukuk
   Logo mavisi sol rayda; portrenin #f0f0f0 fonu bantla birleşir. */
:root {
    --mavi: #12518b;
    --mavi-koyu: #0d3f6e;
    --murekkep: #0f1c2b;
    --metin: #26323f;
    --soluk: #5d6b7a;
    --cizgi: #d5dbe2;
    --kagit: #ffffff;
    --bant: #f0f0f0;
    --rail: 300px;
    --gutter: clamp(1.25rem, 5vw, 5rem);
    --olcu: 40rem;
    --sans: "Jost", "Futura", "Century Gothic", sans-serif;
    --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--kagit);
    color: var(--metin);
    font: 400 1.125rem/1.72 var(--serif);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mavi); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--mavi-koyu); }
:focus-visible { outline: 2px solid var(--mavi); outline-offset: 3px; }
.rail :focus-visible { outline-color: #fff; }
h1, h2, h3 { font-family: var(--sans); color: var(--murekkep); margin: 0; }
p { margin: 0 0 1.1em; }
[lang="en"], [lang="de"] { font-style: normal; }

.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* ---------- Sol ray ---------- */
.rail {
    position: fixed; inset: 0 auto 0 0; width: var(--rail);
    background: var(--mavi); color: #fff;
    display: flex; flex-direction: column;
    padding: 3.25rem 2.5rem 2.25rem;
    z-index: 20;
}
.rail-brand { display: block; }
.rail-brand img { width: 100%; }
.rail-lang { margin-top: 1.6rem; display: flex; gap: 1.1rem; }
.rail-lang a { font: 400 .95rem/1 var(--sans); letter-spacing: .06em; color: rgba(255, 255, 255, .62); text-decoration: none; padding: .35rem 0; border-bottom: 1px solid transparent; }
.rail-lang a:hover { color: #fff; }
.rail-lang a[aria-current="true"] { color: #fff; border-bottom-color: rgba(255, 255, 255, .8); }
.rail-nav { margin-top: 3.25rem; display: flex; flex-direction: column; }
.rail-nav a {
    font: 400 1.0625rem/1.3 var(--sans); letter-spacing: .01em;
    color: rgba(255, 255, 255, .78); text-decoration: none;
    padding: .8rem 0; border-top: 1px solid rgba(255, 255, 255, .18);
    transition: color .15s, padding-left .15s;
}
.rail-nav a:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.rail-nav a:hover { color: #fff; padding-left: .35rem; }
.rail-nav a[aria-current="page"] { color: #fff; font-weight: 500; }
.rail-contact { margin-top: auto; display: flex; flex-direction: column; gap: .2rem; }
.rail-contact a { font: 400 .95rem/1.5 var(--sans); color: rgba(255, 255, 255, .78); text-decoration: none; }
.rail-contact a:hover { color: #fff; }
.nav-btn { display: none; }

.page { margin-left: var(--rail); min-height: 100vh; display: flex; flex-direction: column; }
.page main { flex: 1; }

/* ---------- Açılış ---------- */
.hero {
    position: relative; overflow: hidden;
    min-height: min(86vh, 800px);
    display: flex; flex-direction: column; justify-content: space-between; gap: 3.5rem;
    padding: clamp(4rem, 9vh, 7rem) var(--gutter) 0;
}
.hero-text { position: relative; z-index: 1; max-width: 60rem; }
.hero-lines { font-weight: 300; font-size: clamp(2.3rem, 4.6vw, 4.2rem); line-height: 1.1; letter-spacing: -.018em; }
.hero-place { margin: 1.5rem 0 0; font: 400 1.2rem/1.4 var(--sans); color: var(--soluk); }
.hero-actions { margin: 2.75rem 0 0; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-actions .btn { margin-top: 0; }
.hero-facts {
    position: relative; z-index: 1; margin: 0; padding: 1.5rem 0 2.5rem;
    width: min(100%, 27rem);
    border-top: 2px solid var(--murekkep);
    display: grid; gap: .1rem;
}
.hero-facts div { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--cizgi); }
.hero-facts dt { font: 400 .95rem/1.5 var(--sans); color: var(--soluk); }
.hero-facts dd { margin: 0; font: 400 1.0625rem/1.45 var(--sans); color: var(--murekkep); }
.hero-galata {
    position: absolute; right: clamp(0rem, 4vw, 4rem); bottom: 0;
    width: clamp(240px, 34vw, 600px); pointer-events: none;
}

/* ---------- Bölümler ---------- */
.sec { padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); }
.sec + .sec { border-top: 1px solid var(--cizgi); }
.sec-title, .page-title { font-weight: 400; letter-spacing: -.01em; }
.sec-title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.2; margin-bottom: 2rem; }
.page-title { font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.12; margin-bottom: 2.5rem; }
.sec-title span, .page-title span { color: #8fa3b8; font-weight: 300; margin-left: .5em; white-space: nowrap; }
.page-title span { font-size: .55em; }
.sec-title span { font-size: .7em; }

.rich { max-width: var(--olcu); }
.rich h2 { font-size: 1.5rem; font-weight: 500; margin: 2.4rem 0 .8rem; }
.rich h3 { font-size: 1.2rem; font-weight: 500; margin: 2rem 0 .6rem; }
.rich > :last-child { margin-bottom: 0; }
.lead { font-size: 1.3rem; line-height: 1.6; color: var(--murekkep); max-width: 36rem; }

.more, .btn { font-family: var(--sans); }
.more { display: inline-block; margin-top: 1.75rem; font-size: 1.0625rem; font-weight: 500; }
.btn {
    display: inline-block; margin-top: 2.5rem; cursor: pointer;
    background: var(--mavi); color: #fff; border: 0; border-radius: 2px;
    font-size: 1.0625rem; font-weight: 500; line-height: 1;
    padding: 1.05rem 1.75rem; text-decoration: none; transition: background .15s;
}
.btn:hover { background: var(--mavi-koyu); color: #fff; }
.btn-ghost { background: transparent; color: var(--mavi); box-shadow: inset 0 0 0 1px var(--mavi); }
.btn-ghost:hover { background: var(--mavi); color: #fff; }

/* Hakkımızda bandı: portrenin fonu bantla aynı gri, fotoğraf banda oturur */
.band.about {
    background: var(--bant);
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 400px);
    gap: clamp(2rem, 4vw, 4rem); align-items: end;
    padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) 0;
}
.about-text { padding-bottom: clamp(3.5rem, 7vw, 6rem); align-self: center; }
.about-portrait, .doc-figure { margin: 0; position: relative; }
.about-portrait figcaption, .doc-figure figcaption {
    font: 400 .95rem/1.4 var(--sans); color: var(--soluk);
}
.about-portrait figcaption { position: absolute; right: 100%; bottom: 1.4rem; white-space: nowrap; text-align: right; padding-right: .5rem; }
.about-portrait figcaption strong { display: block; margin: 0; }
.about-portrait figcaption strong, .doc-figure figcaption strong { color: var(--murekkep); font-weight: 500; margin-right: .4em; }

/* Hizmet türleri */
.services { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--cizgi); }
.services li { font: 500 1.125rem/1.3 var(--sans); color: var(--murekkep); padding: 1.4rem 1.5rem; }
.services li + li { border-left: 1px solid var(--cizgi); }
.services li span { display: block; margin-top: .3rem; font-weight: 400; font-size: .95rem; color: var(--soluk); }

/* Alan listesi */
.area-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--murekkep); }
.area-list li { border-bottom: 1px solid var(--cizgi); }
.area-list a {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; align-items: baseline;
    padding: 1.35rem 0; text-decoration: none; color: var(--murekkep);
    transition: padding-left .15s, color .15s;
}
.area-list a:hover { padding-left: .6rem; color: var(--mavi); }
.area-name { font: 400 clamp(1.3rem, 2vw, 1.7rem)/1.25 var(--sans); }
.area-en { font: 400 1rem/1.3 var(--sans); color: var(--soluk); text-align: right; }
.area-topics { grid-column: 1 / -1; margin-top: .45rem; font-size: 1rem; line-height: 1.55; color: var(--soluk); max-width: 46rem; }

/* Ana sayfa: alt konularıyla iki sütun */
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); border-top: 2px solid var(--murekkep); }
.area-grid li { border-bottom: 1px solid var(--cizgi); }
.area-grid a { display: block; height: 100%; padding: 1.6rem 0 1.7rem; text-decoration: none; color: var(--murekkep); transition: color .15s; }
.area-grid a:hover { color: var(--mavi); }
.area-grid .area-name { display: block; }
.area-grid .area-en { display: block; text-align: left; margin-top: .2rem; }
.area-grid .area-topics { display: block; margin-top: .7rem; }

/* İçerik sayfaları */
.doc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.doc-with-figure .doc-grid { grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.doc-figure img { background: var(--bant); }
.doc-figure figcaption { margin-top: .8rem; }
.crumb { font: 400 1rem/1.3 var(--sans); margin-bottom: 1.25rem; }
.crumb a { color: var(--soluk); text-decoration: none; }
.crumb a::before { content: "‹ "; }
.crumb a:hover { color: var(--mavi); }
.topics { list-style: none; margin: 0 0 2.5rem; padding: 0; max-width: 46rem; columns: 2; column-gap: 3rem; border-top: 2px solid var(--murekkep); padding-top: 1rem; }
.topics li { font: 400 1.125rem/1.35 var(--sans); color: var(--murekkep); padding: .55rem 0; break-inside: avoid; border-bottom: 1px solid var(--cizgi); }
.other-areas .sec-title { margin-bottom: 1.5rem; }

/* İletişim */
.contact-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2rem 3rem; max-width: 60rem; }
.contact-cols h3 { font: 400 .95rem/1.3 var(--sans); color: var(--soluk); margin-bottom: .45rem; }
.contact-cols p { margin: 0 0 .3rem; font: 400 1.2rem/1.5 var(--sans); color: var(--murekkep); }
.contact-cols a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--cizgi); }
.contact-cols a:hover { color: var(--mavi); border-color: var(--mavi); }

.contact-form { max-width: 40rem; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--cizgi); }
.contact-form .field { margin: 0 0 1.4rem; }
.contact-form label { display: block; font: 500 1rem/1.3 var(--sans); color: var(--murekkep); margin-bottom: .45rem; }
.contact-form abbr { color: var(--mavi); text-decoration: none; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
    width: 100%; font: 400 1.0625rem/1.5 var(--serif); color: var(--murekkep);
    background: #fff; border: 1px solid #b9c3ce; border-radius: 2px; padding: .8rem .9rem;
}
.contact-form textarea { min-height: 11rem; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--mavi); outline-offset: 0; border-color: var(--mavi); }
.contact-form .btn { margin-top: .5rem; }
.field-error, .form-error { display: block; margin-top: .4rem; font: 400 .95rem/1.4 var(--sans); color: #a3261e; }
.form-error ul { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.form-note { margin-top: 1.5rem; font-size: 1rem; color: var(--soluk); }
.sent { margin-top: 3rem; padding: 1.5rem 1.75rem; border-left: 3px solid var(--mavi); background: var(--bant); }

/* Alt bilgi */
.foot { border-top: 1px solid var(--cizgi); padding: 2.5rem var(--gutter) 2.25rem; font: 400 .95rem/1.55 var(--sans); color: var(--soluk); }
.foot-inner { display: grid; grid-template-columns: repeat(2, minmax(0, auto)) 1fr; gap: 1.5rem 4rem; align-items: start; }
.foot p { margin: 0; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: var(--mavi); }
.foot-name { color: var(--murekkep); font-weight: 500; }
.foot-legal { text-align: right; max-width: 26rem; justify-self: end; }

/* ---------- Dar ekran ---------- */
@media (max-width: 1180px) {
    .hero-facts { width: 100%; padding-bottom: 14rem; }
    .hero-galata { width: 340px; }
}
@media (max-width: 1080px) {
    :root { --rail: 240px; }
    .rail { padding: 2.5rem 1.75rem 2rem; }
}
@media (max-width: 860px) {
    .rail {
        position: sticky; top: 0; inset: auto; width: 100%;
        flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between;
        padding: .9rem var(--gutter);
    }
    .rail-brand img { width: 138px; }
    .rail-lang { margin: 0 .9rem 0 auto; gap: .9rem; }
    .nav-btn { display: block; width: 44px; height: 44px; position: relative; cursor: pointer; margin-right: -10px; }
    .nav-btn span, .nav-btn span::before, .nav-btn span::after {
        position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; content: ""; transition: transform .2s, opacity .2s;
    }
    .nav-btn span { top: 21px; }
    .nav-btn span::before { left: 0; top: -7px; }
    .nav-btn span::after { left: 0; top: 7px; }
    .nav-toggle:checked + .nav-btn span { background: transparent; }
    .nav-toggle:checked + .nav-btn span::before { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked + .nav-btn span::after { transform: translateY(-7px) rotate(-45deg); }
    .rail-nav, .rail-contact { display: none; width: 100%; }
    .nav-toggle:checked ~ .rail-nav { display: flex; margin-top: 1rem; }
    .nav-toggle:checked ~ .rail-contact { display: flex; margin: 1.25rem 0 .75rem; }
    .page { margin-left: 0; min-height: 0; }

    body { font-size: 1.0625rem; }
    .hero { min-height: 0; padding: 3rem var(--gutter) 0; gap: 2.5rem; }
    .hero-facts { padding-bottom: 12.5rem; }
    .hero-facts div { grid-template-columns: 8.5rem minmax(0, 1fr); }
    .hero-galata { right: 50%; transform: translateX(50%); width: min(78vw, 340px); }
    .area-grid { grid-template-columns: minmax(0, 1fr); }
    .band.about { grid-template-columns: minmax(0, 1fr); padding-top: 3.5rem; }
    .about-text { padding-bottom: 0; }
    .about-portrait { max-width: 340px; justify-self: center; }
    .about-portrait figcaption { right: auto; left: 0; bottom: 1rem; text-align: left; background: rgba(240, 240, 240, .9); padding: .3rem .7rem .3rem 0; }
    .services { grid-template-columns: minmax(0, 1fr); }
    .services li + li { border-left: 0; border-top: 1px solid var(--cizgi); }
    .area-list a { grid-template-columns: minmax(0, 1fr); }
    .area-en { text-align: left; margin-top: .15rem; }
    .doc-with-figure .doc-grid { grid-template-columns: minmax(0, 1fr); }
    .doc-figure { max-width: 340px; }
    .topics { columns: 1; }
    .foot-inner { grid-template-columns: minmax(0, 1fr); }
    .foot-legal { text-align: left; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
