@font-face {
    font-family: 'Outfit Variable';
    /*src: url('../fonts/outfit.woff2') format('woff2');*/
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Plus Jakarta Sans Variable';
    /*src: url('../fonts/plus.woff2') format('woff2');*/
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'JetBrains Mono Variable';
    /*src: url('../fonts/jetbrains.woff2') format('woff2');*/
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tasarım tokenları --- */
:root {
    --paper: #F8FAF6;
    --panel: #FFFFFF;
    --panel-tint: #F0F7F2;
    --ink: #14261C;
    --ink-muted: #415A4D;
    --pine: #1B5E3C;
    --pine-hover: #14472D;
    --pine-light: #E8F5EE;
    --pine-dark: #0F3824;
    --pine-2: #2A7B54;
    --obsidian: #0D281E;
    --obsidian-2: #081A13;
    --terra: #C85A32;
    --terra-hover: #A8441F;
    --abbey: #4C4F56;
    --gold: #D97706;
    --line: #E1E8DF;
    --line-soft: #EDF2EC;
    --line-focus: #1B5E3C;
    --footer-link: #96B8A6;
    --footer-bright: #4ADE80;
    --hero-sub: #D2E4DA;
    --badge-notice-bg: #FEF3C7;
    --badge-notice-fg: #92400E;
    --badge-emergency-bg: #FEE2E2;
    --badge-emergency-fg: #991B1B;
    --badge-success-bg: #E8F5EE;
    --badge-success-fg: #165837;
    --font-heading: 'Outfit Variable', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans Variable', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono Variable', 'JetBrains Mono', monospace;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 26px;
    --sh-sm: 0 1px 2px rgba(13, 40, 30, 0.05), 0 2px 8px rgba(13, 40, 30, 0.05);
    --sh-md: 0 4px 14px rgba(13, 40, 30, 0.08), 0 2px 6px rgba(13, 40, 30, 0.05);
    --sh-lg: 0 18px 44px rgba(13, 40, 30, 0.14), 0 4px 14px rgba(13, 40, 30, 0.07);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --header-h: 72px;
}

/* --- Sıfırlama ve temel --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--pine);
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font: inherit;
    border: 0;
    background: none;
    cursor: pointer;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

:focus-visible {
    outline: 2px solid var(--line-focus);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection {
    background: var(--pine-light);
    color: var(--pine-dark);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    background: var(--pine);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 14px;
    transition: top 0.2s ease;
}

    .skip-link:focus {
        top: 12px;
    }

/* --- Yerleşim yardımcıları --- */
.container {
    width: min(1240px, 100% - 48px);
    margin-inline: auto;
}

.section {
    padding-block: clamp(56px, 8vw, 96px);
}

.section--tint {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--panel-tint) 100%);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.sec-head-group {
    max-width: 640px;
}

.overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pine-2);
    margin-bottom: 14px;
}

    .overline::before {
        content: "";
        width: 26px;
        height: 2px;
        background: var(--terra);
        border-radius: 2px;
    }

.sec-title {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 700;
    color: var(--ink);
}

.sec-lede {
    color: var(--ink-muted);
    margin-top: 12px;
    font-size: 16px;
}

.sec-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-weight: 700;
    font-size: 15px;
    color: var(--pine);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease;
}

    .sec-link svg {
        transition: transform 0.25s var(--ease-out);
    }

    .sec-link:hover {
        color: var(--pine-hover);
    }

        .sec-link:hover svg {
            transform: translateX(4px);
        }

/* --- Rozetler ve çipler --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 5px 12px;
    border-radius: 999px;
    line-height: 1.3;
}

.badge--success {
    background: var(--badge-success-bg);
    color: var(--badge-success-fg);
}

.badge--notice {
    background: var(--badge-notice-bg);
    color: var(--badge-notice-fg);
}

.badge--emergency {
    background: var(--badge-emergency-bg);
    color: var(--badge-emergency-fg);
}

.badge--mono {
    background: var(--pine-light);
    color: var(--pine-dark);
    font-family: var(--font-mono);
    font-weight: 600;
}

.badge--condolence {
    background: var(--abbey);
    color: var(--panel);
}

/* --- Düğmeler --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

    .btn svg {
        flex: 0 0 auto;
    }

    .btn:hover {
        transform: translateY(-2px);
    }

    .btn:active {
        transform: translateY(0);
    }

.btn--primary {
    background: var(--pine);
    color: #fff;
    box-shadow: 0 6px 18px rgba(27, 94, 60, 0.28);
}

    .btn--primary:hover {
        background: var(--pine-hover);
        box-shadow: 0 10px 26px rgba(27, 94, 60, 0.34);
    }

.btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
}

    .btn--ghost:hover {
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.8);
    }

.btn--light {
    background: #fff;
    color: var(--pine-dark);
    box-shadow: var(--sh-md);
}

    .btn--light:hover {
        color: var(--pine);
    }

.btn--terra {
    background: var(--terra);
    color: #fff;
    box-shadow: 0 6px 18px rgba(200, 90, 50, 0.3);
}

    .btn--terra:hover {
        background: var(--terra-hover);
    }

.btn--sm {
    padding: 9px 18px;
    font-size: 14px;
    border-radius: 10px;
}

.btn--lg {
    padding: 16px 30px;
    font-size: 16px;
}

/* --- Üst şerit --- */
.topbar {
    background: var(--obsidian-2);
    color: var(--footer-link);
    font-size: 12.5px;
    border-bottom: 1px solid rgba(74, 222, 128, 0.12);
}

.topbar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
}

.topbar-group {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

    .topbar-item svg {
        opacity: 0.7;
    }

.topbar a {
    color: var(--footer-link);
    font-weight: 600;
    transition: color 0.2s ease;
}

    .topbar a:hover {
        color: var(--footer-bright);
    }

.topbar-phone {
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* --- Ana başlık --- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

    .header.is-scrolled {
        box-shadow: var(--sh-md);
        background: rgba(255, 255, 255, 0.97);
    }

.header-in {
    display: flex;
    align-items: center;
    gap: 28px;
    height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    padding: 4px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--sh-sm);
    border: 1px solid var(--line-soft);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.12;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: var(--pine-dark);
}

.brand-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-muted);
    transition: color 0.2s ease, background-color 0.2s ease;
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 4px;
        height: 2px;
        background: var(--pine);
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.28s var(--ease-out);
    }

    .nav-link:hover {
        color: var(--pine);
        background: var(--pine-light);
    }

        .nav-link:hover::after, .nav-link.is-active::after {
            transform: scaleX(1);
        }

    .nav-link.is-active {
        color: var(--pine);
    }

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-arrow {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 190px;
    padding: 8px;
    background: var(--white, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

    .nav-dropdown-menu a {
        display: block;
        padding: 10px 12px;
        border-radius: 8px;
        color: var(--ink-muted);
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

        .nav-dropdown-menu a:hover {
            color: var(--pine);
            background: var(--pine-light);
        }

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.header-cta {
    margin-left: 6px;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line);
    align-items: center;
    justify-content: center;
    color: var(--pine-dark);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(8, 26, 19, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    .nav-backdrop.open {
        opacity: 1;
        pointer-events: auto;
    }

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 60;
    height: 100dvh;
    width: min(340px, 88vw);
    background: #fff;
    box-shadow: var(--sh-lg);
    transform: translateX(105%);
    transition: transform 0.35s var(--ease-out);
    display: flex;
    flex-direction: column;
    padding: 20px 22px 28px;
}

    .mobile-nav.open {
        transform: translateX(0);
    }

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mobile-nav-close {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--ink);
}

.mobile-nav a.mnav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 10px;
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
}

    .mobile-nav a.mnav-link svg {
        color: var(--pine-2);
    }

    .mobile-nav a.mnav-link.is-active {
        color: var(--pine);
    }

.mobile-nav .btn {
    margin-top: 20px;
}

.mobile-dropdown {
    border-bottom: 1px solid var(--line-soft);
}

.mobile-dropdown-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

    .mobile-dropdown-toggle span {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 10px;
        font-weight: 600;
        font-size: 16px;
        color: var(--ink);
        border-bottom: 1px solid var(--line-soft);
    }

.mobile-dropdown-arrow {
    color: var(--pine-2);
    transition: transform 0.25s ease;
}

.mobile-dropdown-menu {
    display: none;
    padding-bottom: 8px;
}

.mobile-dropdown.open .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown.open .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu a {
    display: block;
    padding: 11px 10px 11px 28px;
    color: var(--ink-muted);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-top: 1px solid var(--line-soft);
}

    .mobile-dropdown-menu a:hover {
        color: var(--pine);
        background: var(--pine-light);
    }

/* --- Sayfa üst bandı (alt sayfalar) --- */
.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--obsidian) 0%, var(--pine-hover) 55%, var(--pine) 100%);
    padding: clamp(48px, 7vw, 84px) 0 clamp(44px, 6vw, 72px);
}

    .page-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(640px 300px at 88% -12%, rgba(74, 222, 128, 0.22), transparent 70%);
        pointer-events: none;
    }

.crumb {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--footer-link);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

    .crumb a {
        color: var(--footer-link);
        transition: color 0.2s ease;
    }

        .crumb a:hover {
            color: var(--footer-bright);
        }

    .crumb svg {
        opacity: 0.6;
    }

.page-hero h1 {
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.page-hero .page-sub {
    color: var(--hero-sub);
    margin-top: 12px;
    max-width: 62ch;
    position: relative;
    z-index: 2;
    font-size: 16px;
}

/* --- CTA bandı --- */
.cta-band {
    padding-bottom: clamp(56px, 8vw, 96px);
}

.cta-in {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--obsidian) 0%, var(--pine-dark) 60%, var(--pine) 100%);
    border-radius: var(--r-xl);
    padding: clamp(32px, 5vw, 56px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

    .cta-in::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(480px 260px at 92% 120%, rgba(200, 90, 50, 0.35), transparent 70%);
        pointer-events: none;
    }

    .cta-in h3 {
        color: #fff;
        font-size: clamp(22px, 2.6vw, 30px);
        position: relative;
        z-index: 2;
    }

    .cta-in p {
        color: var(--hero-sub);
        margin-top: 10px;
        max-width: 52ch;
        position: relative;
        z-index: 2;
        font-size: 15.5px;
    }

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Hizmet CTA kartı tüm genişlik (bento kapanışı) */
.svc-grid .svc-cta-card {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

    .svc-grid .svc-cta-card::before {
        width: 100%;
    }

/* --- Alt bilgi (footer) --- */
.footer {
    background: var(--obsidian);
    color: var(--footer-link);
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr;
    gap: 40px;
    padding-bottom: 48px;
}

.f-logo-wrap {
    background: #fff;
    display: inline-block;
    padding: 10px 14px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.f-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.f-about {
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 40ch;
}

.f-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.f-links li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--footer-link);
    font-size: 14.5px;
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.2s ease, transform 0.25s var(--ease-out);
}

    .f-links li a:hover {
        color: var(--footer-bright);
        transform: translateX(3px);
    }

.f-contact li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 14.5px;
    padding: 6px 0;
    line-height: 1.55;
}

.f-contact svg {
    flex: 0 0 auto;
    margin-top: 4px;
    color: var(--pine-2);
}

.f-contact a {
    color: var(--footer-link);
    transition: color 0.2s ease;
}

    .f-contact a:hover {
        color: var(--footer-bright);
    }

.footer-bottom {
    border-top: 1px solid #1E4233;
    padding: 20px 0;
}

.footer-bottom-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
}

    .footer-bottom-in .mono {
        font-family: var(--font-mono);
    }


/* --- Yardımcılar --- */
.mt-auto {
    margin-top: auto;
}

.text-center {
    text-align: center;
}

.mono {
    font-family: var(--font-mono);
}

/* --- Kaydırma animasyonu --- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
    transition-delay: var(--d, 0ms);
}

    .reveal.in {
        opacity: 1;
        transform: none;
    }

@media (max-width: 1080px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 960px) {
    .nav, .header-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .topbar-hide-sm {
        display: none;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .container {
        width: calc(100% - 32px);
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Hareket azaltma tercihi --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-slide.is-active img {
        animation: none;
        transform: none;
    }
}
