﻿/* ══════════════════════════════════════════════════════════════
   GALLARDO GROUP — proje10.css
   Lagom tasarım dili entegrasyonu
   ────────────────────────────────────────────────────────────
   Bu dosya proje9.css + related_projects.css + gallery_ic_mekan.css
   yerine geçer. AYNI class isimlerini ve AYNI CSS custom property
   isimlerini kullanır (--primary-color, --gold, --navy, vb.) —
   proje.aspx ve proje.aspx.cs'te TEK SATIR değişmedi, sadece görsel
   dil değişti. Marka renkleri (#0b326d, #14417d, #c8a84b, #8a6d2f,
   #ff6b35) gerçek sitenin kendi token'larından birebir alındı.
   ══════════════════════════════════════════════════════════════ */

:root {
    --primary-color: #0b326d;
    --secondary-color: #14417d;
    --accent-color: #ff6b35;
    --text-primary: #17212e;
    --text-secondary: #5b6472;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-deep: #eef1f7;
    --border-color: #e3e7ee;
    --shadow-sm: 0 1px 2px rgba(11, 50, 109, .06);
    --shadow-md: 0 2px 10px rgba(11, 50, 109, .08);
    --shadow-lg: 0 10px 30px rgba(11, 50, 109, .12);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    /* keychain / iletişim bölümü — aynı isimler, yeni değerler */
    --navy: #0b326d;
    --navy-dark: #071e45;
    --gold: #c8a84b;
    --gold-lt: #e4c97e;
    --gold-dk: #8a6d2f;
    --kc-text: #17212e;
    --muted: #5b6472;
    --serif: 'Fraunces', 'Iowan Old Style', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── "denge" işareti — sayfa boyunca tekrar eden marka motifi ── */
.gg-mark {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
    flex-shrink: 0;
}

    .gg-mark span {
        display: block;
        height: 2px;
        background: currentColor;
        border-radius: 1px;
    }

        .gg-mark span:first-child {
            width: 100%;
        }

        .gg-mark span:last-child {
            width: 58%;
        }

::selection {
    background: var(--gold);
    color: var(--navy-dark);
}

::-moz-selection {
    background: var(--gold);
    color: var(--navy-dark);
}

html {
    scroll-behavior: smooth;
}

/* ── galeri hızlı erişim butonu (sağ alt, sabit) ── */
.gallery-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 18px rgba(7,30,69,.4);
    z-index: 60;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    transition: background .2s, transform .2s, box-shadow .2s;
    border: 2px solid var(--gold);
}

    .gallery-fab:hover {
        background: var(--gold-dk);
        border-color: var(--gold-dk);
        transform: translateY(-3px);
        box-shadow: 0 8px 22px rgba(7,30,69,.5);
    }

    .gallery-fab:focus-visible {
        outline: 2px solid var(--gold-lt);
        outline-offset: 3px;
    }

@media (max-width: 480px) {
    .gallery-fab {
        width: 48px;
        height: 48px;
        font-size: 1.05rem;
        right: 16px;
        bottom: 16px;
    }
}

/* ════════════════════════════════════════════════════════════
   GOOGLE MAPS
════════════════════════════════════════════════════════════ */
.google-maps-container {
    margin: 3rem 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

    /* DÜZELTME: LoadGoogleMaps() sunucu tarafında <h3> üretiyor,
       eski CSS h4 hedefliyordu ve hiç uygulanmıyordu — h3'e düzeltildi */
    .google-maps-container h3 {
        font-family: var(--serif);
        font-size: 1.4rem;
        font-weight: 500;
        color: var(--navy-dark);
        margin: 0;
        padding: 1.4rem 1.75rem;
        background: var(--bg-light);
        border-bottom: 1px solid var(--border-color);
        display: flex;
        align-items: center;
    }

        .google-maps-container h3 svg {
            margin-right: .65rem;
            flex-shrink: 0;
            color: var(--gold-dk);
        }

.map-embed {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    filter: grayscale(.22) sepia(.1) saturate(1.25) hue-rotate(-6deg) contrast(1.02);
}

    .map-embed iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }

/* ════════════════════════════════════════════════════════════
   COMMERCIAL AREAS
════════════════════════════════════════════════════════════ */
.commercial-areas-container {
    margin: 3rem 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

    /* DÜZELTME: LoadCommercialAreas() de <h3> üretiyor — h4 değil */
    .commercial-areas-container h3 {
        font-family: var(--serif);
        font-size: 1.4rem;
        font-weight: 500;
        color: var(--navy-dark);
        margin: 0;
        padding: 1.4rem 1.75rem;
        background: var(--bg-light);
        border-bottom: 1px solid var(--border-color);
        display: flex;
        align-items: center;
    }

        .commercial-areas-container h3 i {
            margin-right: .65rem;
            flex-shrink: 0;
            color: var(--gold-dk);
        }

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1px;
    padding: 1px;
    background: var(--border-color);
}

.area-card {
    background: var(--bg-white);
    padding: 1.75rem 1rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}

    .area-card:hover {
        background: var(--bg-light);
    }

    .area-card i {
        font-size: 1.5rem;
        color: var(--gold-dk);
        transition: var(--transition);
    }

    .area-card:hover i {
        transform: scale(1.08);
        color: var(--navy);
    }

    .area-card span {
        font-size: .86rem;
        font-weight: 500;
        color: var(--text-primary);
        line-height: 1.3;
    }

/* ════════════════════════════════════════════════════════════
   PAGE HEADER
════════════════════════════════════════════════════════════ */
.page-header {
    position: relative;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    overflow: hidden;
    background: var(--navy-dark);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(.35) sepia(.15) saturate(1.2) contrast(1.05);
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,30,69,.55) 0%, rgba(7,30,69,.2) 35%, rgba(7,30,69,.35) 60%, rgba(7,30,69,.95) 100%), linear-gradient(150deg, rgba(7,30,69,.3), rgba(200,168,75,.14));
}

.hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10rem 2rem 0;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    .hero-overlay .breadcrumb-nav {
        background: transparent !important;
        border-bottom: none !important;
        margin-top: 0 !important;
        padding: 0 !important;
        position: static;
    }

    .hero-overlay .breadcrumb-list {
        padding: 0 0 2.2rem !important;
        max-width: none !important;
    }

        .hero-overlay .breadcrumb-list a {
            color: rgba(255,255,255,.8) !important;
        }

            .hero-overlay .breadcrumb-list a:hover {
                color: #fff !important;
                border-bottom-color: #fff !important;
            }

            .hero-overlay .breadcrumb-list a[href="/"]::before {
                filter: brightness(0) invert(1);
            }

        .hero-overlay .breadcrumb-list li > span[itemprop="name"] {
            color: rgba(255,255,255,.6) !important;
        }

        .hero-overlay .breadcrumb-list li[aria-hidden="true"] {
            color: rgba(255,255,255,.35) !important;
        }

.page-header-kicker {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--gold-lt);
    margin: 0 0 .9rem;
}

    .page-header-kicker:empty {
        display: none;
    }

.page-header h1 {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 500;
    letter-spacing: -.01em;
    line-height: 1;
    max-width: 16ch;
}

.hero-loc {
    margin: 1.1rem 0 0;
    font-size: 1.05rem;
    color: rgba(255,255,255,.85);
}

    .hero-loc:empty {
        display: none;
        margin: 0;
    }

.hero-tagline {
    margin: .7rem 0 0;
    max-width: 60ch;
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255,255,255,.78);
}

    .hero-tagline:empty {
        display: none;
        margin: 0;
    }

/* ── hero-ledger: Proje Alanı / Konut(+Ofis) / Dükkan ── */
.hero-ledger {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,.22);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

    .hero-ledger:empty {
        display: none;
        border-top: none;
    }

.ledger-item {
    padding: 22px 0 22px 0;
    border-right: 1px solid rgba(255,255,255,.16);
    padding-right: 24px;
}

    .ledger-item:first-child {
        padding-left: 0;
    }

    .ledger-item:last-child {
        border-right: none;
    }

    .ledger-item + .ledger-item {
        padding-left: 24px;
    }

    .ledger-item .num {
        display: block;
        font-family: var(--serif);
        font-size: 1.7rem;
        color: #fff;
    }

    .ledger-item .label {
        display: block;
        font-size: .82rem;
        color: rgba(255,255,255,.68);
        margin-top: 2px;
    }

@media (max-width: 760px) {
    .hero-ledger {
        grid-template-columns: 1fr 1fr;
    }

    .ledger-item:nth-child(2) {
        border-right: none;
    }

    .ledger-item:nth-child(3) {
        border-top: 1px solid rgba(255,255,255,.16);
        padding-top: 18px;
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .page-header {
        min-height: 100vh;
    }

    .hero-overlay {
        padding: 8rem 1.25rem 0;
    }
}

/* ════════════════════════════════════════════════════════════
   CONTAINER + GRID  (mevcut basit sınıflar korunuyor)
════════════════════════════════════════════════════════════ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.col-lg-6, .col-12 {
    padding: 0 1rem;
    width: 100%;
}

.col-lg-6 {
    width: 50%;
}

.col-lg-8 {
    width: 66.666%;
}

.col-lg-4 {
    width: 33.333%;
}

.col-md-10 {
    width: 83.333%;
}

    .col-md-10.mx-auto, .col-lg-8.mx-auto {
        margin-left: auto;
        margin-right: auto;
    }

/* ════════════════════════════════════════════════════════════
   PROJECT SUMMARY
════════════════════════════════════════════════════════════ */
.project-summary {
    background: var(--bg-white);
    border-left: 3px solid var(--gold);
    padding: 1.4rem 1.75rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp .6s ease;
}

    .project-summary p {
        margin: 0;
        font-family: var(--serif);
        font-size: 1.25rem;
        line-height: 1.55;
        color: var(--navy-dark);
        font-weight: 400;
    }

.hero-grid {
    gap: 0;
}

/* ── side-ledger: logo + özellikler tek beyaz kartta, sticky ── */
.side-ledger {
    position: sticky;
    top: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
}

/* "Proje Logosu" bölümü kaldırıldı — kontrol derleme için markup'ta
   duruyor ama görsel olarak yok (bkz. proje.aspx style="display:none") */
.project-logo {
    display: none !important;
}

.logo-container-side, .logo-badge {
    display: none;
}

/* ── ledger-cta: "Bilgi Alın" butonu, side-ledger'ın en üstünde ── */
.ledger-cta {
    padding: 1.5rem 1.5rem 1.3rem;
    border-bottom: 1px solid var(--border-color);
}

.ledger-kicker {
    font-size: .92rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cta-btn {
    display: block;
    width: 100%;
    padding: .9rem 1rem;
    background: var(--navy-dark);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: .94rem;
    font-weight: 500;
    letter-spacing: .01em;
    transition: background .2s;
}

    .cta-btn:hover {
        background: var(--gold-dk);
    }

/* details-section artık side-ledger içinde tek sütunlu ledger */
.details-section {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.details-title {
    color: var(--navy-dark);
    font-family: var(--serif);
    font-size: 1.15rem !important;
    font-weight: 500;
    margin: 0;
    padding: 1.1rem 1.5rem;
    text-align: left;
    letter-spacing: -.01em;
    border-bottom: 1px solid var(--border-color);
}

.row-table {
    display: block;
    background: none;
    gap: 0;
}

.detail-box {
    background: transparent;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: .9rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

    .detail-box:last-child {
        border-bottom: none;
    }

    .detail-box:hover {
        background: var(--bg-light);
    }

    .detail-box img {
        width: 26px;
        height: 26px;
        object-fit: contain;
        flex-shrink: 0;
        filter: brightness(0) saturate(100%) invert(20%) sepia(44%) saturate(1000%) hue-rotate(180deg) brightness(85%) contrast(95%);
    }

    .detail-box div {
        flex: 1;
    }

    .detail-box h4 {
        color: var(--text-secondary);
        margin: 0 0 .2rem;
        font-weight: 500;
        text-transform: none;
        letter-spacing: .01em;
    }

    .detail-box p {
        font-family: var(--serif);
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--navy-dark);
        margin: 0;
    }

    .detail-box a {
        color: var(--navy-dark);
        text-decoration: none;
        font-weight: 500;
    }

        .detail-box a:hover {
            color: var(--gold-dk);
        }

.detail-link-tapu {
    color: var(--navy-dark);
    font-weight: 500;
    text-decoration: none;
}

    .detail-link-tapu:hover {
        color: var(--gold-dk);
        text-decoration: underline;
    }

.detail-box-360 {
    background: rgba(200, 168, 75, .08);
}

    .detail-box-360 h4 {
        color: var(--gold-dk);
    }

.detail-box-360-icon {
    filter: brightness(0) saturate(100%) invert(58%) sepia(53%) saturate(478%) hue-rotate(358deg) brightness(97%) contrast(96%) !important;
}

.detail-box-360-link {
    color: var(--navy-dark);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .side-ledger {
        position: static;
    }
}

/* ════════════════════════════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════════════════════════════ */
.text-primary {
    color: var(--navy-dark) !important;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 2.1rem;
    margin-bottom: 0;
    letter-spacing: -.01em;
}

.text-muted {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.8;
    background: var(--bg-white);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
}

    .text-muted h5 {
        font-family: var(--serif);
        color: var(--navy-dark);
        font-size: 1.25rem;
        font-weight: 500;
        margin: 2rem 0 1rem;
        padding-bottom: .5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .text-muted ul {
        list-style: none;
        padding-left: 0;
        margin: 1rem 0;
    }

        .text-muted ul li {
            padding: .5rem 0 .5rem 1.6rem;
            position: relative;
        }

            .text-muted ul li::before {
                content: '';
                position: absolute;
                left: 0;
                top: 1rem;
                width: 8px;
                height: 1px;
                background: var(--gold-dk);
            }

/* Not: .details-section / .row-table / .detail-box stilleri artık
   yukarıda "side-ledger" bloğunda tanımlı (logo ile birleşik sticky
   kart). Burada tekrar tanımlanmıyor. */

/* ════════════════════════════════════════════════════════════
   YOUTUBE / WEBSITE LINK
════════════════════════════════════════════════════════════ */
.youtube-container {
    margin: 3rem 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
}

    .youtube-container h4 {
        font-family: var(--serif);
        color: var(--navy-dark);
        font-size: 1.4rem;
        font-weight: 500;
        margin-bottom: 1.4rem;
        text-align: center;
    }

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    filter: grayscale(.12) sepia(.06) saturate(1.1);
}

    .youtube-embed iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

.website-link-container {
    text-align: center;
    margin: 2rem 0;
}

.website-link-btn {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    background: var(--navy-dark);
    color: white;
    padding: .9rem 2.2rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid var(--gold);
    transition: var(--transition);
}

    .website-link-btn:hover {
        background: var(--gold-dk);
        border-color: var(--gold-dk);
        color: white;
    }

    .website-link-btn svg {
        width: 18px;
        height: 18px;
    }

/* ════════════════════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════════════════════ */
.gallery {
    background: var(--bg-deep);
    border: none;
    border-top: 3px solid var(--gold);
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.big-image-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: var(--navy-dark);
}

.big-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    cursor: pointer;
    filter: grayscale(.38) sepia(.16) saturate(1.15) contrast(1.05);
    transition: filter .35s ease, transform .5s ease;
}

    .big-image:hover {
        filter: none;
        transform: scale(1.015);
    }

.thumbnails {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(11,50,109,.14);
}

    .thumbnails img {
        width: 150px;
        aspect-ratio: 3/4;
        object-fit: cover;
        cursor: pointer;
        transition: var(--transition);
        border: none;
        filter: grayscale(.38) sepia(.16) saturate(1.15) contrast(1.05);
    }

        .thumbnails img:hover {
            filter: none;
        }

        .thumbnails img.active-thumb {
            outline: 2px solid var(--gold-dk);
            outline-offset: 2px;
            filter: none;
        }

/* ── Galeri sekme navigasyonu ── */
.gallery-nav {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(11,50,109,.14);
    flex-wrap: wrap;
}

.gallery-nav-btn {
    padding: .8rem 1.6rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

    .gallery-nav-btn i {
        font-size: .95rem;
        color: var(--gold-dk);
    }

    .gallery-nav-btn:hover {
        color: var(--navy-dark);
    }

    .gallery-nav-btn.active {
        color: var(--navy-dark);
        border-bottom-color: var(--gold-dk);
    }

.gallery-panel {
    display: none;
}

    .gallery-panel.active {
        display: block;
        animation: fadeInUp .3s ease;
    }

/* ── Daire tipi seçici ── */
.daire-tipi-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 1rem 0;
    align-items: center;
}

.daire-tipi-label {
    font-size: .74rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-right: .25rem;
    flex-shrink: 0;
}

.daire-tipi-btn {
    padding: .38rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: var(--bg-white);
    font-family: inherit;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.4;
}

    .daire-tipi-btn:hover {
        border-color: var(--gold-dk);
        color: var(--navy-dark);
    }

    .daire-tipi-btn.active {
        background: var(--navy-dark);
        border-color: var(--navy-dark);
        color: #fff;
    }

.gallery-counter {
    font-size: .76rem;
    color: var(--text-secondary);
    text-align: right;
    padding: .35rem 0 .5rem;
}

.ic-mekan-bos {
    text-align: center;
    padding: 3.5rem 1rem;
    color: var(--text-secondary);
    font-size: .9rem;
    display: none;
}

    .ic-mekan-bos i {
        font-size: 2.4rem;
        display: block;
        margin-bottom: .85rem;
        color: var(--border-color);
    }

.gallery-load-more {
    text-align: center;
    padding: 1.5rem 0 .5rem;
    display: none;
}

    .gallery-load-more.visible {
        display: block;
    }

.gallery-load-more-btn {
    padding: .6rem 2rem;
    background: transparent;
    border: 1px solid var(--navy-dark);
    border-radius: 100px;
    color: var(--navy-dark);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

    .gallery-load-more-btn:hover {
        background: var(--navy-dark);
        color: #fff;
    }

    .gallery-load-more-btn .spinner {
        display: none;
        width: 14px;
        height: 14px;
        border: 2px solid currentColor;
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin .7s linear infinite;
        flex-shrink: 0;
    }

    .gallery-load-more-btn.loading .spinner {
        display: inline-block;
    }

    .gallery-load-more-btn.loading .btn-text {
        display: none;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ════════════════════════════════════════════════════════════
   İLETİŞİM BÖLÜMÜ — KEYCHAIN (orijinal proje7.css tasarımı,
   BİREBİR — animasyonlar, altın anahtar, toz parçacıkları,
   nabız halkası dahil hiçbir şey değiştirilmedi)
════════════════════════════════════════════════════════════ */
.kc-section {
    position: relative;
    padding: 5rem 2rem 7rem;
    background: linear-gradient(160deg, #071e45 0%, var(--navy) 55%, #0d3a80 100%);
    overflow: hidden;
    margin-top: 2rem;
}

    .kc-section::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(ellipse 55% 45% at 15% 25%, rgba(200,168,75,.13) 0%, transparent 60%), radial-gradient(ellipse 45% 55% at 85% 75%, rgba(200,168,75,.09) 0%, transparent 60%);
        animation: bgPulse 9s ease-in-out infinite alternate;
    }

@keyframes bgPulse {
    0% {
        opacity: .5;
    }

    100% {
        opacity: 1;
    }
}

.kc-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.kc-dust {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

    .kc-dust span {
        position: absolute;
        border-radius: 50%;
        background: rgba(200,168,75,.18);
        animation: dustFloat var(--d,12s) ease-in-out infinite var(--dl,0s);
    }

@keyframes dustFloat {
    0%,100% {
        transform: translateY(0) scale(1);
        opacity: .4;
    }

    50% {
        transform: translateY(-55px) scale(1.3);
        opacity: .85;
    }
}

.kc-eyebrow {
    position: relative;
    z-index: 2;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-lt);
    text-align: center;
    margin-bottom: .4rem;
    opacity: .85;
}

.kc-heading {
    position: relative;
    z-index: 2;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 3.5rem;
    line-height: 1.1;
}

    .kc-heading em {
        color: var(--gold);
        font-style: normal;
    }

.kc-key-assembly--inline {
    display: none;
}

.kc-key-assembly--absolute {
    position: absolute;
    top: 0;
    left: -10px;
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: assemblyBob 4.8s ease-in-out infinite;
    transform-origin: center top;
}

.kc-heading-row {
    display: block;
}

.kc-stage {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 110px;
}

.kc-ring-wrap {
    position: relative;
    z-index: 20;
    width: 180px;
    height: 180px;
    margin: 0 auto -58px;
    filter: drop-shadow(0 16px 44px rgba(0,0,0,.55));
    animation: ringBob 4.8s ease-in-out infinite;
    transform-origin: center top;
}

@keyframes ringBob {
    0%,100% {
        transform: rotate(-1.2deg);
    }

    50% {
        transform: rotate(1.2deg) translateY(-11px);
    }
}

@keyframes assemblyBob {
    0%,100% {
        transform: rotate(-1.2deg);
    }

    50% {
        transform: rotate(1.2deg) translateY(-11px);
    }
}

.kc-ring-shine {
    position: absolute;
    top: 14%;
    left: 18%;
    width: 38%;
    height: 22%;
    background: radial-gradient(ellipse, rgba(255,255,255,.45) 0%, transparent 70%);
    border-radius: 50%;
    animation: shineFlicker 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shineFlicker {
    0%,100% {
        opacity: .55;
    }

    50% {
        opacity: 1;
    }
}

.kc-connector {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f0d87a, #8a6d2f);
    box-shadow: 0 3px 10px rgba(0,0,0,.45), inset 0 1px 3px rgba(255,255,255,.4);
    flex-shrink: 0;
}

.kc-chain {
    width: 10px;
    height: 32px;
    background: linear-gradient(to bottom, #e0c060 0%, #c8a84b 20%, #f0d87a 40%, #c8a84b 60%, #e0c060 80%, #c8a84b 100%);
    border-radius: 5px;
    box-shadow: 2px 0 4px rgba(0,0,0,.3), -1px 0 3px rgba(255,255,255,.15);
    flex-shrink: 0;
}

.kc-key-svg {
    width: 72px;
    flex-shrink: 0;
    filter: drop-shadow(5px 8px 18px rgba(0,0,0,.55));
    animation: keyPendulum 4.8s ease-in-out infinite;
    transform-origin: 36px 0;
}

@keyframes keyPendulum {
    0%,100% {
        transform: rotate(-8deg);
    }

    25% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-4deg);
    }
}

.kc-card {
    position: relative;
    z-index: 10;
    background: #fff;
    border-radius: 26px;
    padding: 5.8rem 2.8rem 2.8rem;
    box-shadow: 0 40px 90px rgba(0,0,0,.38), 0 0 0 1.5px rgba(200,168,75,.22), inset 0 1px 0 rgba(255,255,255,.85);
    animation: cardSway 4.8s ease-in-out infinite;
    transform-origin: top center;
    overflow: hidden;
}

@keyframes cardSway {
    0%,100% {
        transform: rotate(-.5deg);
    }

    50% {
        transform: rotate(.5deg) translateY(4px);
    }
}

.kc-card::before, .kc-card::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ddb84a, #7a5d20);
    box-shadow: 0 2px 5px rgba(0,0,0,.35), inset 0 1px 2px rgba(255,255,255,.3);
}

.kc-card::before {
    left: 24px;
}

.kc-card::after {
    right: 24px;
}

.kc-pierce-shadow {
    position: absolute;
    top: 112px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 14px;
    background: linear-gradient(to bottom, rgba(0,0,0,.16), transparent);
    border-radius: 0 0 50% 50%;
    pointer-events: none;
    z-index: 25;
}

.kc-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    text-align: center;
    margin-bottom: .3rem;
}

.kc-form-sub {
    text-align: center;
    color: var(--muted);
    font-size: .86rem;
    margin-bottom: 1.8rem;
}

.form-result {
    display: block;
    font-size: .95rem;
    font-weight: 600;
}

.kc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

    .kc-grid .fw {
        grid-column: 1 / -1;
    }

.kc-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

    .kc-field label {
        font-size: .72rem;
        font-weight: 600;
        color: var(--navy);
        text-transform: uppercase;
        letter-spacing: .9px;
    }

.kc-input {
    padding: .8rem 1rem;
    border: 2px solid #e6eaf3;
    border-radius: 11px;
    font-family: inherit;
    font-size: max(.93rem,16px);
    color: var(--kc-text);
    background: #f7f9fc;
    transition: border-color .25s, box-shadow .25s, background .25s;
    outline: none;
    width: 100%;
    -webkit-appearance: none;
}

    .kc-input:focus {
        border-color: var(--gold);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(200,168,75,.13);
    }

textarea.kc-input {
    resize: none;
    min-height: 120px;
}

select.kc-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230b326d' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 2.5rem;
}

.kc-checks {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.kc-check-row {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.5;
    cursor: pointer;
}

    .kc-check-row input[type="checkbox"] {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        accent-color: var(--navy);
        margin-top: 1px;
        cursor: pointer;
    }

    .kc-check-row a {
        color: var(--navy);
        font-weight: 600;
        text-decoration: underline;
    }

.kc-error {
    color: #dc3545;
    font-size: .8rem;
    margin-top: .25rem;
    display: block;
}

.kc-btn {
    margin-top: 1.8rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--navy) 0%, #14417d 100%);
    color: #fff;
    font-family: inherit;
    font-size: .96rem;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 20px rgba(11,50,109,.35);
    -webkit-appearance: none;
    touch-action: manipulation;
}

    .kc-btn::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(200,168,75,.28) 0%, transparent 55%);
        opacity: 0;
        transition: opacity .3s;
    }

    .kc-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(11,50,109,.5);
    }

        .kc-btn:hover::after {
            opacity: 1;
        }

    .kc-btn:active {
        transform: translateY(0);
    }

.modal-content {
    padding: 2rem;
}

    .modal-content h4 {
        color: var(--navy);
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

    .modal-content h5 {
        color: var(--navy);
        font-size: 1.2rem;
        margin: 1.5rem 0 .75rem;
        font-weight: 600;
    }

    .modal-content p {
        margin-bottom: 1rem;
        line-height: 1.8;
        color: #495057;
    }

    .modal-content ul {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }

    .modal-content li {
        margin-bottom: .5rem;
        line-height: 1.6;
        color: #495057;
    }

/* PERF #7: ekran dışındayken anahtarlık animasyonlarını duraklat */
.kc-section::before,
.kc-dust span,
.kc-key-assembly--absolute,
.kc-key-assembly--inline,
.kc-key-svg,
.kc-ring-wrap,
.kc-ring-shine,
.kc-card {
    animation-play-state: paused;
}

.kc-section.kc-in-view::before,
.kc-section.kc-in-view .kc-dust span,
.kc-section.kc-in-view .kc-key-assembly--absolute,
.kc-section.kc-in-view .kc-key-assembly--inline,
.kc-section.kc-in-view .kc-key-svg,
.kc-section.kc-in-view .kc-ring-wrap,
.kc-section.kc-in-view .kc-ring-shine,
.kc-section.kc-in-view .kc-card {
    animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
    .kc-section::before,
    .kc-dust span,
    .kc-key-assembly--absolute,
    .kc-key-assembly--inline,
    .kc-key-svg,
    .kc-ring-wrap,
    .kc-ring-shine,
    .kc-card {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .kc-section {
        padding: 4rem 1.25rem 5.5rem;
        overflow: hidden;
    }

    .kc-eyebrow {
        text-align: center;
        margin-bottom: .5rem;
    }

    .kc-heading-row {
        display: block;
        margin-bottom: 2.5rem;
        position: relative;
        z-index: 2;
    }

    .kc-key-assembly--inline {
        display: flex;
        position: absolute;
        left: 0;
        top: 0;
        flex-direction: column;
        align-items: center;
        width: 56px;
        z-index: 30;
        animation: assemblyBob 4.8s ease-in-out infinite;
        transform-origin: center top;
    }

        .kc-key-assembly--inline .kc-key-svg {
            width: 50px;
        }

        .kc-key-assembly--inline .kc-connector {
            width: 16px;
            height: 16px;
        }

        .kc-key-assembly--inline .kc-chain {
            width: 8px;
            height: 22px;
        }

    .kc-key-assembly--absolute {
        display: none !important;
    }

    .kc-heading {
        text-align: center;
        margin-bottom: 0;
        font-size: clamp(1.35rem, 5vw, 1.9rem);
    }

    .kc-container {
        position: relative;
    }

    .kc-stage {
        padding-left: 0;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .kc-ring-wrap {
        width: 130px;
        height: 130px;
        margin: 0 auto -44px;
        position: relative;
        z-index: 20;
    }

    .kc-card {
        padding: 5rem 1.75rem 2.5rem;
        border-radius: 22px;
        width: 100%;
        overflow: hidden;
    }

    .kc-form-title {
        font-size: 1.25rem;
    }

    .kc-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

        .kc-grid .fw {
            grid-column: 1 / -1;
        }
}

@media (max-width: 480px) {
    .kc-section {
        padding: 3.5rem 1rem 5rem;
    }

    .kc-ring-wrap {
        width: 110px;
        height: 110px;
        margin: 0 auto -38px;
    }

    .kc-key-assembly--inline {
        width: 46px;
    }

        .kc-key-assembly--inline .kc-key-svg {
            width: 44px;
        }

    .kc-card {
        padding: 4.5rem 1.2rem 2rem;
        border-radius: 18px;
    }

    .kc-form-title {
        font-size: 1.15rem;
    }

    .kc-grid {
        grid-template-columns: 1fr;
    }

        .kc-grid .fw {
            grid-column: 1;
        }
}

@media (max-width: 360px) {
    .kc-ring-wrap {
        width: 96px;
        height: 96px;
        margin: 0 auto -32px;
    }

    .kc-key-assembly--inline {
        width: 40px;
    }

        .kc-key-assembly--inline .kc-key-svg {
            width: 38px;
        }

    .kc-card {
        padding: 3.8rem 1rem 1.75rem;
    }

    .kc-form-title {
        font-size: 1rem;
    }
}

/* ════════════════════════════════════════════════════════════
   SATIŞTA OLAN PROJELERİMİZ
════════════════════════════════════════════════════════════ */
.related-projects-section {
    padding: 5rem 2rem 6rem;
    background: var(--bg-light);
}

.related-projects-container {
    max-width: 1400px;
    margin: 0 auto;
}

.related-projects-header {
    text-align: center;
    margin-bottom: 3rem;
}

.related-label {
    display: inline-block;
    padding: .3rem 0;
    color: var(--gold-dk);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: .7rem;
    border-bottom: 1px solid var(--gold-dk);
}

.related-title {
    font-family: var(--serif);
    font-size: 2.1rem;
    font-weight: 500;
    color: var(--navy-dark);
    letter-spacing: -.01em;
    margin-bottom: .6rem;
}

.related-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.related-card {
    background: #fff;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

    .related-card:hover {
        border-color: var(--gold-dk);
        box-shadow: var(--shadow-md);
    }

.related-card-img-wrap {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--bg-deep);
    text-decoration: none;
}

.related-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    filter: grayscale(.15);
    transition: filter .35s ease, transform .5s ease;
}

.related-card:hover .related-card-img {
    filter: none;
    transform: scale(1.04);
}

.related-card-badge {
    position: absolute;
    top: .8rem;
    left: .8rem;
    padding: .28rem .75rem;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: var(--navy-dark);
    color: #fff;
    white-space: nowrap;
}

.related-card-body {
    padding: 1.3rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .5rem;
}

.related-card-title {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--navy-dark);
    margin: 0;
    line-height: 1.3;
}

    .related-card-title a {
        color: inherit;
        text-decoration: none;
    }

        .related-card-title a:hover {
            color: var(--gold-dk);
        }

.related-card-location {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: var(--text-secondary);
    font-size: .8rem;
}

    .related-card-location svg {
        flex-shrink: 0;
        color: var(--gold-dk);
    }

.related-card-desc {
    font-size: .87rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: .25rem 0 .5rem;
}

.related-card-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    color: var(--navy-dark);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    padding: .5rem 0;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    width: fit-content;
}

    .related-card-link:hover {
        border-bottom-color: var(--gold-dk);
        color: var(--gold-dk);
    }

    .related-card-link svg {
        transition: transform .25s ease;
        flex-shrink: 0;
    }

    .related-card-link:hover svg {
        transform: translateX(3px);
    }

.related-all-link {
    text-align: center;
    margin-top: 1rem;
}

.related-all-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 2.2rem;
    background: var(--navy-dark);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: .92rem;
    transition: var(--transition);
    border: 1px solid var(--gold);
}

    .related-all-btn:hover {
        background: var(--gold-dk);
        border-color: var(--gold-dk);
    }

    .related-all-btn svg {
        transition: transform .25s ease;
    }

    .related-all-btn:hover svg {
        transform: translateX(4px);
    }

/* ════════════════════════════════════════════════════════════
   ANİMASYONLAR
════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp .6s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .col-lg-6, .col-lg-8, .col-lg-4 {
        width: 100%;
    }
    /* logo-container-side kaldırıldı */
    .row-table {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    /* Proje Özellikleri + Bilgi Alın, açıklama metninden önce gözüksün */
    .hero-grid {
        display: flex;
        flex-direction: column;
    }

        .hero-grid .col-lg-4 {
            order: 1;
        }

        .hero-grid .col-lg-8 {
            order: 2;
            margin-top: 2rem;
        }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .text-primary {
        font-size: 1.6rem;
        text-align: center;
    }

    .row-table {
        grid-template-columns: 1fr;
    }
    /* project-logo kaldırıldı */
    .details-title {
        padding: 1rem 1.25rem;
    }

    .details-title {
        font-size: 1.3rem;
    }

    .project-summary {
        padding: 1.1rem 1.4rem;
    }

    .google-maps-container h3, .commercial-areas-container h3 {
        font-size: 1.15rem;
        padding: 1.1rem 1.4rem;
    }

    .map-embed {
        height: 340px;
    }

    .areas-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .col-md-10, .col-lg-8 {
        width: 100%;
    }

    .thumbnails img {
        width: 78px;
        height: 78px;
    }

    .gallery-nav-btn {
        padding: .6rem 1.1rem;
        font-size: .82rem;
    }

    .daire-tipi-btn {
        padding: .35rem .85rem;
        font-size: .76rem;
    }

    .related-projects-section {
        padding: 3.5rem 1.25rem 4.5rem;
    }

    .related-title {
        font-size: 1.6rem;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.25rem;
    }

    .related-card-body {
        padding: 1.1rem 1.2rem 1.3rem;
    }
}

@media (max-width: 480px) {
    .text-primary {
        font-size: 1.4rem;
        text-align: center;
    }

    .map-embed {
        height: 280px;
    }

    .areas-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .related-title {
        font-size: 1.4rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .related-card {
        flex-direction: row;
        align-items: stretch;
    }

    .related-card-img-wrap {
        width: 110px;
        min-width: 110px;
        aspect-ratio: auto;
    }

    .related-card-img {
        padding: .9rem;
    }

    .related-card-body {
        padding: .9rem 1rem;
    }

    .related-card-title {
        font-size: .95rem;
    }

    .related-card-desc {
        -webkit-line-clamp: 2;
        font-size: .82rem;
    }

    .related-all-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 1920px) {
    .related-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .related-title {
        font-size: 2.4rem;
    }
}
