/* =========================================================
   CONCRETE CORE — Stylesheet
   ========================================================= */

:root {
    --bg: #f7f5f1;
    --bg-alt: #e9e7e2;
    --card-bg: #ffffff;
    --ink: #1c1b19;
    --ink-soft: #5c5a55;
    --orange: #e9650f;
    --orange-dark: #c8540c;
    --dark-btn: #4b5159;
    --dark-btn-hover: #3a3f46;
    --whatsapp: #22c35e;
    --whatsapp-dark: #1da851;
    --line: #d9d6cf;
    --radius: 6px;
    --font-display: "Poppins", "Segoe UI", sans-serif;
    --font-body: "Inter", "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
}

/* DÜZELTME: Leaflet içindeki SVG'lerin ezilmesini engellemek için :not filtresi eklendi */
img, svg:not(.leaflet-zoom-animated) {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    padding: 14px 26px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn-primary {
    background: var(--orange);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--orange-dark);
    }

.btn-lg {
    padding: 17px 32px;
    font-size: 0.85rem;
}

.btn-dark {
    background: var(--dark-btn);
    color: #fff;
    width: 100%;
}

    .btn-dark:hover {
        background: var(--dark-btn-hover);
    }

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    width: 100%;
    margin-top: 14px;
    padding: 14px 22px;
}

    .btn-whatsapp:hover {
        background: var(--whatsapp-dark);
    }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    background: #f4f2ee;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 24px;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    color: var(--ink);
    white-space: nowrap;
}

    .logo span {
        color: var(--orange);
    }

.main-nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
    margin-right: 30px;
}

    .main-nav a {
        font-family: var(--font-display);
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        color: var(--ink);
        padding: 6px 0;
        position: relative;
    }

        .main-nav a.active {
            color: var(--orange);
        }

        .main-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0;
            height: 2px;
            background: var(--orange);
            transition: width 0.2s ease;
        }

        .main-nav a:hover::after,
        .main-nav a.active::after {
            width: 100%;
        }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

    .nav-toggle span {
        display: block;
        height: 2px;
        background: var(--ink);
        border-radius: 2px;
    }

/* =========================================================
   HERO (YENİLENDİ - Arka Plan Resmi Entegre Edildi)
   ========================================================= */
.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #1b1815;
}

/* Eski SVG ve overlay kodları kaldırıldı, yerine tek bir optimize katman eklendi */
.hero-bg {
    position: absolute;
    inset: 0;
    /* Hem karartma gradyanı hem de arka plan görseli tek kuralda birleştirildi */
    background: linear-gradient(90deg, rgba(10,9,8,0.85) 0%, rgba(10,9,8,0.5) 50%, rgba(10,9,8,0.2) 100%), url('/image/foto1.jpeg'); /* Uzantınız farklıysa (png vb.) burayı güncelleyin */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding-top: 70px;
    padding-bottom: 70px;
}

    .hero-content h1 {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: clamp(2rem, 4.6vw, 3.1rem);
        line-height: 1.18;
        color: #fff;
        margin: 0 0 22px;
    }

        .hero-content h1 .accent {
            color: var(--orange);
        }

    .hero-content p {
        color: #e9e4dc;
        font-size: 1.02rem;
        max-width: 520px;
        margin: 0 0 30px;
    }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
    padding: 96px 0 100px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.01em;
    margin: 0 0 26px;
}

    .section-title .bar {
        width: 5px;
        height: 26px;
        background: var(--orange);
        border-radius: 2px;
    }

.title-rule {
    height: 1px;
    background: var(--line);
    margin-bottom: 46px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px 30px;
    box-shadow: 6px 6px 0 rgba(28,27,25,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 10px 14px 0 rgba(28,27,25,0.06);
    }

.card-icon {
    width: 44px;
    height: 44px;
    color: var(--orange);
    margin-bottom: 20px;
}

    .card-icon svg {
        width: 100%;
        height: 100%;
    }

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.service-card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin: 0 0 20px;
}

.card-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: var(--orange);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
    background: var(--bg-alt);
    padding: 96px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.eyebrow {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    margin: 0;
    color: var(--ink);
}

.about-text h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.85rem;
    color: var(--orange);
    margin: 4px 0 22px;
}

.about-copy {
    color: var(--ink-soft);
    max-width: 480px;
    margin: 0 0 38px;
}

/* Çerçevenin yüksekliğini ve konumunu belirliyoruz */
.image-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    height: 380px; /* Görselin düzgün görünmesi için ideal bir yükseklik */
}

/* Hakkımızda resmi için yeni CSS kuralı */
.about-bg {
    width: 100%;
    height: 100%;
    /* wwwroot/image klasöründeki 2. resminizin adı ve uzantısına göre burayı güncelleyin */
    background-image: url('/image/foto2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.stats {
    display: flex;
    gap: 56px;
}

.stat-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--ink);
}

.stat-plus {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--ink);
}

.stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    margin-top: 4px;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

    .image-frame svg {
        width: 100%;
        height: auto;
        display: block;
    }

.frame-corner {
    position: absolute;
    top: -14px;
    left: -14px;
    width: 64px;
    height: 64px;
    border-top: 4px solid var(--orange);
    border-left: 4px solid var(--orange);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
    padding: 96px 0 110px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: start;
}

.contact-form-wrap h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.7rem;
    margin: 0 0 30px;
}

.field {
    margin-bottom: 18px;
}

    .field label {
        display: block;
        font-family: var(--font-mono);
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        color: var(--ink-soft);
        margin-bottom: 8px;
    }

    .field input,
    .field textarea {
        width: 100%;
        font-family: var(--font-body);
        font-size: 0.95rem;
        padding: 13px 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #fff;
        color: var(--ink);
        resize: vertical;
    }

        .field input:focus,
        .field textarea:focus {
            border-color: var(--orange);
            outline: none;
        }

.form-status {
    min-height: 1.2em;
    font-size: 0.85rem;
    color: var(--orange-dark);
    margin: 12px 0 0;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.info-box {
    background: #efece6;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.info-block h4 {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    color: var(--orange);
    margin: 0 0 10px;
}

.info-block p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink);
}

.info-block a:hover {
    color: var(--orange);
}

/* DÜZELTME: map-box konteynerinin yerleşimi esnetildi */
.map-box {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    height: 100%;
    min-height: 360px;
}

#map-landing {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 26px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-box {
        min-height: 300px;
    }
}

@media (max-width: 760px) {
    .main-nav {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: #f4f2ee;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

        .main-nav.open {
            max-height: 280px;
        }

        .main-nav a {
            padding: 16px 24px;
            border-bottom: 1px solid var(--line);
        }

            .main-nav a::after {
                display: none;
            }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .stats {
        gap: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
