/* ==================================================
   KARTEPE FSM DİŞ — site geneli + Impreza elementlerinin düzeni
   Tema Ayarları'nda renk/yazı tipi/buton ayarı yapmaya gerek kalmasın diye
   bunlar eklentiyle yüklenir. FSM elementlerinin stilleri fsm-elementler.css'te.
================================================== */

/* ---------- Yazı tipleri ve renkler ---------- */

html body {
    font-family: "DM Sans", sans-serif;
    color: #142233;
}

body h1,
body h2,
body h3,
body h4 {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #072a50;
}

.fsm-zemin-acik {
    background: #eef8f8;
}

/* ---------- Butonlar ----------
   us_btn'lere el_class="fsm-btn fsm-btn--birincil|turkuaz|anahat|link" verilir;
   Impreza'nın buton stillerinden bağımsız görünürler. */

:is(.w-btn.fsm-btn, .fsm-btn .w-btn, .fsm-form .w-btn) {
    padding: 16px 25px !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
}

:is(.w-btn.fsm-btn, .fsm-btn .w-btn, .fsm-form .w-btn)::before,
:is(.w-btn.fsm-btn, .fsm-btn .w-btn, .fsm-form .w-btn)::after {
    display: none !important;
}

:is(.w-btn.fsm-btn, .fsm-btn .w-btn, .fsm-form .w-btn):hover {
    transform: translateY(-2px);
}

:is(.w-btn.fsm-btn--birincil, .fsm-btn--birincil .w-btn, .fsm-form .w-btn) {
    background: #072a50 !important;
    color: #fff !important;
}

:is(.w-btn.fsm-btn--birincil, .fsm-btn--birincil .w-btn, .fsm-form .w-btn):hover,
:is(.w-btn.fsm-btn--turkuaz, .fsm-btn--turkuaz .w-btn) {
    background: #16a6ae !important;
    color: #fff !important;
}

:is(.w-btn.fsm-btn--turkuaz, .fsm-btn--turkuaz .w-btn):hover {
    background: #072a50 !important;
}

:is(.w-btn.fsm-btn--anahat, .fsm-btn--anahat .w-btn) {
    background: transparent !important;
    box-shadow: inset 0 0 0 1px #fff !important;
    color: #fff !important;
}

:is(.w-btn.fsm-btn--anahat, .fsm-btn--anahat .w-btn):hover {
    background: #fff !important;
    color: #072a50 !important;
}

:is(.w-btn.fsm-btn--link, .fsm-btn--link .w-btn) {
    padding: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    color: #16a6ae !important;
}

:is(.w-btn.fsm-btn--link, .fsm-btn--link .w-btn):hover {
    color: #072a50 !important;
    transform: none;
}

.fsm-split-icerik .fsm-btn--link {
    margin-top: 26px;
}

/* ---------- Hero satırları ---------- */

.fsm-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 680px;
    color: #fff;
}

.fsm-hero > .l-section-h {
    width: 100%;
}

.fsm-sayfa-hero {
    min-height: 500px;
}

.fsm-aksiyonlar {
    margin-top: 14px;
}

/* ---------- Hekimler satırı ---------- */

.fsm-hekimler {
    max-width: 980px;
    margin: 0 auto;
}

.fsm-hekimler .g-cols {
    gap: 30px !important;
}

/* ---------- Görsel + metin (split) ---------- */

.fsm-split > .l-section-h {
    max-width: none !important;
    padding: 0 !important;
}

.fsm-split .g-cols {
    gap: 0 !important;
    margin: 0 !important;
}

.fsm-split-gorsel > .vc_column-inner,
.fsm-split-gorsel > .vc_column-inner > .wpb_wrapper,
.fsm-split-foto,
.fsm-split-foto img {
    height: 100%;
}

.fsm-split-foto img {
    display: block;
    width: 100%;
    min-height: 650px;
    object-fit: cover;
}

.fsm-split-icerik > .vc_column-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 85px max(6vw, 60px) !important;
}

.fsm-split-icerik p {
    line-height: 1.8;
    color: #526779;
}

/* Kliniğimiz sayfasındaki yuvarlak köşeli versiyon */
.fsm-split-ic {
    margin: 70px max(4vw, 20px);
    overflow: hidden;
    border-radius: 30px;
}

/* ---------- Tedavi detay ---------- */

.fsm-detay .g-cols {
    gap: 70px !important;
}

.fsm-seo-icerik {
    max-width: 820px;
}

.fsm-seo-icerik h2 {
    margin-top: 42px !important;
    font-size: 38px !important;
    color: #072a50;
}

.fsm-seo-icerik p {
    font-size: 17px;
    line-height: 1.8;
    color: #526779;
}

.fsm-seo-icerik a {
    color: #16a6ae;
    font-weight: 600;
}

.fsm-yan-kutu {
    position: sticky;
    top: 120px;
    padding: 30px;
    border-radius: 22px;
    background: #eef8f8;
}

.fsm-yan-menu .menu-item {
    margin: 0 !important;
}

.fsm-yan-menu .menu-item > a {
    display: flex;
    padding: 13px 0;
    border-bottom: 1px solid #d1e5e5;
    font-weight: 600;
    color: #142233;
}

.fsm-yan-menu .menu-item > a:hover,
.fsm-yan-menu .current-menu-item > a {
    color: #16a6ae;
}

.fsm-yan-kutu .w-btn {
    margin-top: 22px;
}

/* ---------- İletişim sayfası ---------- */

.fsm-iletisim-satir .g-cols {
    gap: 30px !important;
    align-items: start;
}

.fsm-randevu-kart > .vc_column-inner {
    padding: 34px !important;
    border: 1px solid #dce8e8;
    border-radius: 24px;
    background: #f4fafa;
}

.fsm-form .w-form-row-label {
    font-weight: 700;
    color: #072a50;
}

.fsm-form input,
.fsm-form select,
.fsm-form textarea {
    border: 1px solid #cddede !important;
    border-radius: 12px !important;
    background: #fff !important;
}

.fsm-form input:focus,
.fsm-form select:focus,
.fsm-form textarea:focus {
    border-color: #16a6ae !important;
    box-shadow: 0 0 0 3px rgba(22, 166, 174, 0.12) !important;
}

#randevu {
    scroll-margin-top: 120px;
}

/* ---------- Footer (Reusable Block) ---------- */

.fsm-footer {
    background: #041f3d;
}

.fsm-footer,
.fsm-footer p {
    color: #c9d6e0;
}

.fsm-footer-menu .menu-item {
    margin: 0 !important;
}

.fsm-footer-menu .menu-item > a {
    display: block;
    margin: 10px 0;
    color: #c9d6e0;
}

.fsm-footer-menu .menu-item > a:hover {
    color: #fff;
}

.fsm-footer-logo {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 235px;
    min-height: 150px;
    padding: 14px 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.fsm-footer-logo img {
    max-height: 120px;
    object-fit: contain;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 900px) {
    .fsm-hero {
        min-height: 620px;
    }

    .fsm-hero .l-section-img {
        background-position: 65% center !important;
    }

    .fsm-split .g-cols,
    .fsm-detay .g-cols,
    .fsm-iletisim-satir .g-cols {
        grid-template-columns: 1fr !important;
    }

    .fsm-split-foto img {
        min-height: 450px;
    }

    .fsm-yan-kutu {
        position: static;
    }

    .fsm-detay .g-cols {
        gap: 35px !important;
    }
}

@media (max-width: 600px) {
    .fsm-sayfa-hero {
        min-height: 430px;
    }

    .fsm-aksiyonlar .w-btn {
        width: 100%;
    }

    .fsm-hekimler .g-cols {
        grid-template-columns: 1fr !important;
    }

    .fsm-split-foto img {
        min-height: 330px;
    }

    .fsm-split-icerik > .vc_column-inner {
        padding: 60px 24px !important;
    }

    .fsm-split-ic {
        margin: 30px 14px;
    }

    .fsm-randevu-kart > .vc_column-inner {
        padding: 26px 20px !important;
    }
}
