/*
Theme Name: BDZ Local Law
Theme URI: https://beylikduzuavukat.com.tr/
Author: Beylikdüzü Avukat
Description: Bağımsız Beylikdüzü hukuk bilgi sitesi için özel tema.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: bdz-local-law
*/

:root {
    --bdz-ink: #15212b;
    --bdz-ink-soft: #33424f;
    --bdz-paper: #f7f4ee;
    --bdz-white: #ffffff;
    --bdz-line: #d9d5cc;
    --bdz-accent: #9a7635;
    --bdz-accent-dark: #755823;
    --bdz-muted: #6b747b;
    --bdz-max: 1180px;
    --bdz-radius: 18px;
    --bdz-shadow: 0 18px 50px rgba(21, 33, 43, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bdz-white);
    color: var(--bdz-ink);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.bdz-container {
    width: min(calc(100% - 40px), var(--bdz-max));
    margin-inline: auto;
}

.bdz-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(21,33,43,.08);
}

.bdz-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.bdz-brand {
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .06em;
    font-size: .95rem;
    white-space: nowrap;
}

.bdz-nav {
    margin-left: auto;
}

.bdz-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.bdz-nav a {
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
}

.bdz-header-actions {
    display: flex;
    gap: 9px;
}

.bdz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    border: 1px solid transparent;
}

.bdz-btn-primary {
    background: var(--bdz-ink);
    color: var(--bdz-white);
}

.bdz-btn-outline {
    border-color: var(--bdz-line);
    background: var(--bdz-white);
}

.bdz-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(154,118,53,.16), transparent 32%),
        linear-gradient(135deg, var(--bdz-paper), #fff);
    padding: 96px 0 74px;
}

.bdz-eyebrow {
    margin: 0 0 13px;
    color: var(--bdz-accent-dark);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bdz-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.bdz-hero-copy {
    max-width: 720px;
    margin: 26px 0 0;
    color: var(--bdz-ink-soft);
    font-size: 1.1rem;
}

.bdz-search {
    margin-top: 34px;
    max-width: 760px;
    display: flex;
    background: var(--bdz-white);
    border: 1px solid var(--bdz-line);
    border-radius: 999px;
    padding: 7px;
    box-shadow: var(--bdz-shadow);
}

.bdz-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 20px;
    background: transparent;
    font-size: 1rem;
}

.bdz-search button {
    border: 0;
    cursor: pointer;
}

.bdz-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.bdz-chip {
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    border: 1px solid var(--bdz-line);
    font-size: .86rem;
}

.bdz-section {
    padding: 82px 0;
}

.bdz-section-alt {
    background: var(--bdz-paper);
}

.bdz-section-head {
    max-width: 760px;
    margin-bottom: 38px;
}

.bdz-section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.04;
    letter-spacing: -.04em;
}

.bdz-section-head p {
    margin: 15px 0 0;
    color: var(--bdz-muted);
}

.bdz-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

.bdz-card {
    min-height: 178px;
    padding: 24px;
    border-radius: var(--bdz-radius);
    background: var(--bdz-white);
    border: 1px solid var(--bdz-line);
}

.bdz-card h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
}

.bdz-card p {
    margin: 0;
    color: var(--bdz-muted);
    font-size: .92rem;
}

.bdz-card-link {
    display: block;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.bdz-card-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--bdz-shadow);
}

.bdz-feature-row {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 34px;
    align-items: start;
}

.bdz-panel {
    padding: 32px;
    border-radius: var(--bdz-radius);
    border: 1px solid var(--bdz-line);
    background: var(--bdz-white);
}

.bdz-panel h3 {
    margin-top: 0;
}

.bdz-list {
    margin: 0;
    padding-left: 20px;
}

.bdz-list li + li {
    margin-top: 9px;
}

.bdz-contact-band {
    background: var(--bdz-ink);
    color: var(--bdz-white);
}

.bdz-contact-band .bdz-section-head p {
    color: rgba(255,255,255,.72);
}

.bdz-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bdz-contact-band .bdz-btn-primary {
    background: var(--bdz-white);
    color: var(--bdz-ink);
}

.bdz-contact-band .bdz-btn-outline {
    color: var(--bdz-white);
    border-color: rgba(255,255,255,.32);
    background: transparent;
}

.bdz-content {
    padding: 68px 0 100px;
}

.bdz-content article {
    max-width: 840px;
}

.bdz-content h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: -.045em;
    line-height: 1.04;
}

.bdz-site-footer {
    padding: 42px 0 95px;
    border-top: 1px solid var(--bdz-line);
    color: var(--bdz-muted);
    font-size: .88rem;
}

.bdz-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.bdz-mobile-bar {
    display: none;
}

@media (max-width: 980px) {
    .bdz-nav {
        display: none;
    }

    .bdz-header-actions {
        margin-left: auto;
    }

    .bdz-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .bdz-feature-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        padding-bottom: 64px;
    }

    .bdz-container {
        width: min(calc(100% - 28px), var(--bdz-max));
    }

    .bdz-header-inner {
        min-height: 66px;
    }

    .bdz-header-actions {
        display: none;
    }

    .bdz-hero {
        padding: 64px 0 54px;
    }

    .bdz-grid {
        grid-template-columns: 1fr;
    }

    .bdz-search {
        border-radius: 18px;
        display: grid;
        gap: 8px;
    }

    .bdz-search input {
        min-height: 46px;
    }

    .bdz-footer-inner {
        display: block;
    }

    .bdz-mobile-bar {
        position: fixed;
        display: grid;
        grid-template-columns: 1fr 1fr;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        background: var(--bdz-white);
        border-top: 1px solid var(--bdz-line);
    }

    .bdz-mobile-bar a {
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-weight: 800;
        font-size: .82rem;
    }

    .bdz-mobile-bar a + a {
        border-left: 1px solid var(--bdz-line);
    }
}
