/* Sıla Hero — koyu espresso zemin + Satoshi başlık + özellik kartları + alıntı kartı */
.sila-hero {
    --sh-min-h: clamp(620px, 90vh, 880px);
    --sh-content-max: var(--sila-content-max, clamp(1100px, 96vw, 1680px));
    --sh-pad-x: var(--sila-pad-x, clamp(20px, 4vw, 40px));
    --sh-pad-y: clamp(48px, 7vh, 96px);

    --sh-ink: #f4ece1;
    --sh-muted: #cdbfae;
    --sh-accent: #c2935c;
    --sh-accent-soft: #d8b486;
    --sh-line: rgba(214, 184, 138, 0.22);
    --sh-card-bg: rgba(28, 22, 17, 0.55);
    --sh-card-border: rgba(214, 184, 138, 0.18);

    --sh-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
    --sh-sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --sh-title: "Satoshi", ui-sans-serif, system-ui, -apple-system, sans-serif;

    --sh-title-color: #f5ede2;
    --sh-accent-color: #c89b6a;

    --sh-btn-radius: 12px;
    --sh-btn1-bg: #b07f4b;
    --sh-btn1-color: #fbf6ee;
    --sh-btn2-color: #f0e7d9;

    --sh-grad-from: rgba(30, 22, 16, 0.72);
    --sh-grad-mid: rgba(32, 24, 17, 0.48);
    --sh-grad-to: rgba(32, 24, 17, 0.08);
    --sh-content-gap: clamp(18px, 2.6vh, 26px);
    --sh-nav-offset: var(--navbar-offset, 80px);

    position: relative;
    width: 100%;
    min-height: var(--sh-min-h);
    display: flex;
    overflow: hidden;
    font-family: var(--sh-sans);
    color: var(--sh-ink);
    isolation: isolate;
    background: #1b1510;
}

/* Hero navbar altına taşsın — arka plan üstten başlar, içerik nav yüksekliği kadar aşağıda */
body.has-sila-hero {
    padding-top: 0 !important;
}

body.has-sila-hero .sila-hero {
    margin-top: 0;
}

body.has-sila-hero .sila-hero__inner {
    padding-top: calc(var(--sh-pad-y) - 8px + var(--sh-nav-offset));
}

.vc_column-inner:has(.sila-hero),
.vc_column-inner:has(> .wpb_wrapper > .sila-hero) {
    padding: 0 !important;
    margin: 0 !important;
}

.sila-hero *,
.sila-hero *::before,
.sila-hero *::after {
    box-sizing: border-box;
}

/* ── Arka plan görseli ── */
.sila-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sila-hero__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 84% 42%;
}

/* Navbar bandı: görseli kırpmadan üstte maskele */
body.has-sila-hero .sila-hero__overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--sh-nav-offset);
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(18, 12, 8, 0.8) 0%,
        rgba(18, 12, 8, 0.42) 72%,
        rgba(18, 12, 8, 0) 100%
    );
}

.sila-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            105deg,
            var(--sh-grad-from) 0%,
            var(--sh-grad-from) 32%,
            var(--sh-grad-mid) 56%,
            var(--sh-grad-to) 100%
        ),
        /* Üst bant — menü okunurluğu + sağdaki portre alanı */
        linear-gradient(
            to bottom,
            rgba(18, 12, 8, 0.62) 0%,
            rgba(18, 12, 8, 0.34) 11%,
            rgba(18, 12, 8, 0.08) 24%,
            rgba(18, 12, 8, 0) 36%
        ),
        linear-gradient(
            to left,
            rgba(18, 12, 8, 0.42) 0%,
            rgba(18, 12, 8, 0.16) 22%,
            rgba(18, 12, 8, 0) 48%
        ),
        linear-gradient(
            to bottom,
            rgba(20, 15, 11, 0) 55%,
            rgba(20, 15, 11, 0.35) 100%
        );
}

/* ── İç düzen ── */
.sila-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--sh-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: calc(var(--sh-pad-y) - 8px) var(--sh-pad-x) var(--sh-pad-y);
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    gap: clamp(24px, 4vw, 56px);
}

.sila-hero__content {
    width: min(560px, 100%);
    margin-bottom: clamp(28px, 4vh, 44px);
    display: flex;
    flex-direction: column;
    gap: var(--sh-content-gap);
}

/* ── Başlık ── */
.sila-hero__title {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.2vh, 14px);
    font-family: var(--sh-title);
    font-weight: 500;
    line-height: 1.02;
    color: var(--sh-title-color);
}

.sila-hero__title-pre {
    display: block;
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    font-weight: 500;
    color: var(--sh-ink);
}

.sila-hero__title-main {
    display: block;
    margin: 0;
    font-size: clamp(2.7rem, 6vw, 4.6rem);
    font-weight: 600;
    color: var(--sh-accent-color);
    letter-spacing: 0.005em;
}

/* ── Ünvan satırı ── */
.sila-hero__role {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sh-accent-soft);
}

/* ── Açıklama ── */
.sila-hero__desc {
    margin: 0;
    max-width: 44ch;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.75;
    color: var(--sh-muted);
}

/* ── Butonlar ── */
.sila-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
}

.sila-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 15px 28px;
    border-radius: var(--sh-btn-radius);
    font-family: var(--sh-sans);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sila-hero__btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sila-hero__btn--1 {
    background: var(--sh-btn1-bg);
    color: var(--sh-btn1-color) !important;
    box-shadow: 0 14px 32px rgba(176, 127, 75, 0.32);
}

.sila-hero__btn--1:hover,
.sila-hero__btn--1:focus {
    transform: translateY(-2px);
    background: #c08a52;
    box-shadow: 0 18px 38px rgba(176, 127, 75, 0.4);
}

.sila-hero__btn--2 {
    background: rgba(244, 236, 225, 0.06);
    color: var(--sh-btn2-color) !important;
    border-color: rgba(216, 180, 134, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sila-hero__btn--2:hover,
.sila-hero__btn--2:focus {
    transform: translateY(-2px);
    background: rgba(244, 236, 225, 0.12);
    border-color: var(--sh-accent-soft);
}

/* ── Özellik kartı ── */
.sila-hero__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: clamp(18px, 2vw, 24px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(250, 244, 235, 0.06);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.sila-hero__feature {
    position: relative;
    padding: 0 clamp(12px, 1.4vw, 20px);
    text-align: center;
}

.sila-hero__feature + .sila-hero__feature::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 1px;
    background: var(--sh-line);
}

.sila-hero__feature-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--sh-ink);
}

.sila-hero__feature-ico svg {
    width: 30px;
    height: 30px;
}

.sila-hero__feature-title {
    margin: 0 0 5px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--sh-ink);
}

.sila-hero__feature-desc {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--sh-muted);
}

/* ── Alıntı kartı (sağ alt, features ile aynı hizada) ── */
.sila-hero__quote {
    margin-left: auto;
    margin-bottom: clamp(28px, 4vh, 44px);
    align-self: flex-end;
    width: min(330px, 42vw);
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    background: rgba(248, 242, 233, 0.7);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.sila-hero__quote-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--sh-accent);
    color: #fbf6ee;
}

.sila-hero__quote-ico svg {
    width: 16px;
    height: 16px;
}

.sila-hero__quote-text {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: #4a3a2c;
}

.sila-hero__quote-sign {
    display: block;
    margin-top: 10px;
    font-family: var(--sh-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: #9c6b3c;
    opacity: 0.9;
}

/* 13–15″ laptop (14″ 1366×768, ölçekli 1080p vb.): saçta hafif kırpma olmasın */
@media (min-width: 1025px) and (max-width: 1679px) {
    body.has-sila-hero .sila-hero__bg img {
        object-position: 84% 35%;
    }
}

@media (min-width: 1025px) and (max-width: 1679px) and (max-height: 820px) {
    body.has-sila-hero .sila-hero__bg img {
        object-position: 84% 31%;
    }
}

/* Full HD (1920×1080 vb.): saçı kırpmadan tam kadraj */
@media (min-width: 1680px) and (min-height: 900px) {
    body.has-sila-hero .sila-hero__bg img {
        object-position: 84% 34%;
    }

    body.has-sila-hero .sila-hero__overlay::after {
        background: linear-gradient(
            to bottom,
            rgba(18, 12, 8, 0.86) 0%,
            rgba(18, 12, 8, 0.5) 75%,
            rgba(18, 12, 8, 0) 100%
        );
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .sila-hero {
        --sh-min-h: auto;
    }

    .sila-hero__bg img {
        object-position: 72% 36%;
    }

    .sila-hero__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .sila-hero__content {
        width: min(620px, 100%);
        margin-bottom: 0;
    }

    .sila-hero__quote {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        width: min(360px, 100%);
        margin-top: 4px;
    }
}

@media (max-width: 680px) {
    .sila-hero__overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(20, 15, 11, 0.78) 0%,
                rgba(20, 15, 11, 0.86) 55%,
                rgba(20, 15, 11, 0.96) 100%
            );
    }

    .sila-hero__inner {
        padding-bottom: clamp(40px, 8vh, 72px);
    }

    .sila-hero__features {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sila-hero__feature {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 4px;
        align-items: start;
        text-align: left;
        padding: 0;
    }

    .sila-hero__feature + .sila-hero__feature::before {
        display: none;
    }

    .sila-hero__feature-ico {
        grid-column: 1;
        grid-row: 1 / -1;
        align-self: start;
        margin-bottom: 0;
    }

    .sila-hero__feature-title {
        grid-column: 2;
        grid-row: 1;
        margin: 0 0 4px;
    }

    .sila-hero__feature-desc {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
    }

    .sila-hero__actions {
        width: 100%;
    }

    .sila-hero__btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .sila-hero__quote {
        position: static;
        width: 100%;
        margin-top: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sila-hero__btn {
        transition: none;
    }

    .sila-hero__btn:hover,
    .sila-hero__btn:focus {
        transform: none;
    }
}
