:root {
    --contact-primary: #2f80ed;
    --contact-primary-dark: #1f5fb8;
    --contact-accent: #e8f2ff;
    --contact-text: #10213a;
    --contact-text-soft: #5f6f86;
    --contact-white: #ffffff;
    --contact-border: rgba(16, 33, 58, 0.08);
    --contact-shadow: 0 18px 50px rgba(14, 30, 56, 0.10);
    --contact-shadow-hover: 0 24px 60px rgba(14, 30, 56, 0.16);
    --contact-radius-xl: 28px;
    --contact-radius-lg: 20px;
    --contact-radius-md: 14px;
    --contact-transition: all 0.25s ease;
    --contact-header-offset: 120px; /* sticky header varsa bunu 140-160 yapabilirsin */
}

/* Genel sayfa */
.page-contact-modern {
    background:
        radial-gradient(circle at top right, rgba(47, 128, 237, 0.10), transparent 25%),
        linear-gradient(180deg, #f7faff 0%, #ffffff 40%, #f8fbff 100%);
    color: var(--contact-text);
}

/* =========================================
   HERO
========================================= */

.contact-hero {
    position: relative;
    padding: calc(var(--contact-header-offset) + 30px) 0 80px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(45, 73, 110, 0.92), rgba(47, 128, 237, 0.82)),
        url(../../Foto/banner/contact.jpg) no-repeat center center / cover;
    background-size: cover;
    background-position: center;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08), transparent 18%),
        radial-gradient(circle at 85% 25%, rgba(255,255,255,0.08), transparent 20%);
    pointer-events: none;
}

/* Hero içerik */
.contact-hero__content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 12px;
}

/* Eğer text-center bootstrap çakışırsa */
.contact-hero__content.text-center {
    text-align: center;
}

/* Üst küçük badge */
.contact-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    margin-bottom: 20px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* H1 */
.contact-hero__content h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-wrap: balance;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Breadcrumb nav */
.contact-hero__content nav[aria-label="Breadcrumb"] {
    margin-top: 18px;
}

.contact-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.96);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.4;
}

.contact-breadcrumb li + li::before {
    content: "/";
    margin: 0 12px;
    color: rgba(255,255,255,0.70);
    font-weight: 700;
}

.contact-breadcrumb a,
.contact-breadcrumb span {
    color: rgba(255,255,255,0.98);
    text-decoration: none;
}

.contact-breadcrumb a:hover,
.contact-breadcrumb a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Hero açıklama */
.contact-hero__lead {
    max-width: 760px;
    margin: 22px auto 0;
    color: rgba(255,255,255,0.93);
    font-size: 1.02rem;
    line-height: 1.9;
}

/* =========================================
   SECTION HEADINGS
========================================= */

.contact-section {
    position: relative;
    padding: 78px 0 96px;
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-kicker,
.content-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--contact-accent);
    color: var(--contact-primary-dark);
    border: 1px solid rgba(47, 128, 237, 0.12);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0 0 14px;
    color: var(--contact-text);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.section-subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: var(--contact-text-soft);
    font-size: 1rem;
    line-height: 1.85;
}

/* =========================================
   GRID / KARTLAR
========================================= */

.contact-card-grid {
    row-gap: 28px;
}

.contact-card {
    position: relative;
    background: var(--contact-white);
    border: 1px solid var(--contact-border);
    border-radius: var(--contact-radius-xl);
    overflow: hidden;
    box-shadow: var(--contact-shadow);
    transition: var(--contact-transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--contact-shadow-hover);
}

.contact-card__map {
    height: 100%;
    min-height: 320px;
    background: #d9e7f7;
}

.contact-card__map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    border: 0;
}

/* Sağ bilgi alanı */
.contact-card__body {
    height: 100%;
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card__header {
    margin-bottom: 18px;
}

.contact-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(47, 128, 237, 0.10);
    color: var(--contact-primary-dark);
    border: 1px solid rgba(47, 128, 237, 0.12);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.03em;
}

.contact-card__header h2 {
    margin: 0;
    color: var(--contact-text);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.contact-card__info {
    margin: 0;
    font-style: normal;
    display: grid;
    gap: 14px;
}

/* Bilgi kutuları */
.contact-item,
.contact-action {
    background: #f8fbff;
    border: 1px solid var(--contact-border);
    border-radius: var(--contact-radius-md);
    padding: 16px 18px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item__label {
    display: inline-block;
    margin-bottom: 2px;
    color: var(--contact-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-item a,
.contact-action a {
    color: var(--contact-text);
    text-decoration: none;
    line-height: 1.75;
    font-weight: 600;
    word-break: break-word;
}

.contact-item a:hover,
.contact-item a:focus-visible,
.contact-action a:hover,
.contact-action a:focus-visible {
    color: var(--contact-primary-dark);
}

/* Telefon / WhatsApp satırı */
.contact-item--inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    background: transparent;
    border: 0;
}

.contact-action {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-action a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
}

.contact-action i,
.contact-item i {
    color: var(--contact-primary);
    flex-shrink: 0;
}

/* =========================================
   ACCESSIBILITY / FOCUS
========================================= */

.page-contact-modern a:focus-visible,
.page-contact-modern button:focus-visible,
.page-contact-modern iframe:focus-visible {
    outline: 3px solid rgba(47, 128, 237, 0.35);
    outline-offset: 3px;
    border-radius: 8px;
}

/* =========================================
   LEGACY CONFLICT FIXES
========================================= */

/* eski tema .breadcumb-wrap veya .entry etkilerini bastır */
.contact-hero .breadcumb-wrap,
.contact-hero .breadcumb-wrap.text-center,
.contact-hero .contact-hero__content {
    margin: 0 auto !important;
    padding: 0 12px !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    min-height: auto !important;
}

.contact-hero .breadcumb-wrap h1 {
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.12 !important;
    position: relative !important;
    transform: none !important;
}

.contact-hero .breadcumb-wrap ul {
    margin-bottom: 0 !important;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1199.98px) {
    :root {
        --contact-header-offset: 110px;
    }

    .contact-card__body {
        padding: 28px 26px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --contact-header-offset: 100px;
    }

    .contact-hero {
        padding: calc(var(--contact-header-offset) + 20px) 0 68px;
    }

    .contact-hero__content h1 {
        font-size: clamp(1.9rem, 5vw, 2.9rem);
    }

    .contact-card__map,
    .contact-card__map iframe {
        min-height: 280px;
    }

    .contact-section {
        padding: 64px 0 84px;
    }

    .section-heading {
        margin-bottom: 34px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --contact-header-offset: 88px;
    }

    .contact-hero {
        padding: calc(var(--contact-header-offset) + 10px) 0 58px;
    }

    .contact-hero__eyebrow {
        font-size: 0.82rem;
        padding: 8px 14px;
        margin-bottom: 16px;
    }

    .contact-hero__content h1 {
        font-size: clamp(1.72rem, 8vw, 2.3rem);
        line-height: 1.15;
    }

    .contact-breadcrumb {
        gap: 0;
        margin-top: 14px;
    }

    .contact-breadcrumb li {
        font-size: 0.92rem;
    }

    .contact-breadcrumb li + li::before {
        margin: 0 8px;
    }

    .contact-hero__lead {
        font-size: 0.96rem;
        line-height: 1.8;
        margin-top: 18px;
        max-width: 100%;
    }

    .contact-section {
        padding: 54px 0 72px;
    }

    .section-heading h2 {
        font-size: clamp(1.55rem, 7vw, 2.15rem);
    }

    .section-subtitle {
        font-size: 0.96rem;
    }

    .contact-card {
        border-radius: 20px;
    }

    .contact-card__map,
    .contact-card__map iframe {
        min-height: 230px;
    }

    .contact-card__body {
        padding: 22px 18px;
    }

    .contact-item--inline {
        grid-template-columns: 1fr;
    }

    .contact-action a {
        font-size: 0.98rem;
    }
}

@media (max-width: 575.98px) {
    .contact-hero {
        padding-top: calc(var(--contact-header-offset) + 6px);
    }

    .contact-hero__content {
        padding: 0 8px;
    }

    .contact-hero__content h1 {
        font-size: 1.6rem;
    }

    .contact-hero__lead {
        font-size: 0.93rem;
    }

    .section-kicker,
    .content-kicker {
        font-size: 0.78rem;
        padding: 9px 14px;
    }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}