/* ==========================================================================
   Medel Tıp — Site geneli premium cila katmanı
   Mevcut tema CSS'inin ÜZERİNE eklenir; yalnızca additive iyileştirmeler.
   Marka yeşili: #2e8b45 / koyu #0f5023 — ikincil lacivert #112d4e
   ========================================================================== */

html { scroll-behavior: smooth; }

/* Ekran dışı offcanvas/swiper'ın yarattığı yatay taşmayı garantiye al.
   Sticky header position:fixed kullandığı için bu güvenli (kırmaz). */
body { overflow-x: hidden !important; }

:root {
    --mp-green: #2e8b45;
    --mp-green-dark: #0f5023;
    --mp-navy: #112d4e;
    --mp-soft: 0 10px 30px rgba(17, 45, 78, .08);
    --mp-soft-lg: 0 24px 50px rgba(17, 45, 78, .16);
}

/* ---------- Butonlar: yumuşak geçiş + hover yükselme ---------- */
.btn {
    transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s, background-color .3s, border-color .3s, color .3s;
    will-change: transform;
}
.btn-primary,
.btn-secondary {
    border: none;
}
.btn-primary:hover,
.btn-secondary:hover,
.btn-primary:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 80, 35, .26);
}
.btn-outline-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 80, 35, .18);
}
/* Telefon/aksiyon yuvarlak butonları daha belirgin */
.dz-bnr-inr .dz-btn .btn { box-shadow: 0 12px 26px rgba(15, 80, 35, .30); }

/* ---------- Kart benzeri bloklar: hover yükselme + gölge ---------- */
.icon-bx-wraper,
.dz-card,
.dz-box,
.dz-team,
.service-box,
.pricingtable-wrapper {
    transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s, border-color .35s;
}
.icon-bx-wraper:hover,
.dz-box:hover,
.dz-team:hover,
.service-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--mp-soft-lg);
}

/* İçerik kutuları/ kart medyaları köşe yumuşatma */
.dz-card .dz-media,
.dz-media.rounded,
.dz-box .dz-media {
    border-radius: 16px;
    overflow: hidden;
}
.dz-card .dz-media img,
.dz-box .dz-media img {
    transition: transform .5s ease;
}
.dz-card:hover .dz-media img,
.dz-box:hover .dz-media img {
    transform: scale(1.05);
}

/* ---------- Bölüm başlıkları: ince premium dokunuş ---------- */
.section-head .title {
    letter-spacing: -.2px;
}
.section-head.style-1 .title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--mp-green) 0%, var(--mp-green-dark) 100%);
}
.section-head.style-1.text-start .title::after { margin-left: 0; }

/* ---------- Formlar: marka yeşili odak durumu ---------- */
.form-control,
.form-select,
.dzForm input,
.dzForm textarea,
.dzForm select {
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.form-control:focus,
.form-select:focus,
.dzForm input:focus,
.dzForm textarea:focus,
.dzForm select:focus {
    border-color: var(--mp-green) !important;
    box-shadow: 0 0 0 .22rem rgba(46, 139, 69, .16) !important;
    outline: none;
}

/* ---------- Akordeon (SSS) ---------- */
.accordion-item,
.accordion .accordion-item {
    transition: box-shadow .3s ease, transform .3s ease;
}
.accordion-button:not(.collapsed) {
    color: var(--mp-green-dark);
}
.accordion-button:focus {
    box-shadow: 0 0 0 .22rem rgba(46, 139, 69, .14);
    border-color: rgba(46, 139, 69, .4);
}

/* ---------- Breadcrumb hero: ince derinlik ---------- */
.dz-bnr-inr.dz-banner-dark::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 45, 78, .15) 0%, rgba(17, 45, 78, .55) 100%);
    pointer-events: none;
    z-index: 0;
}
.dz-bnr-inr .container { position: relative; z-index: 1; }
.dz-bnr-inr-entry h1 {
    text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}

/* ---------- Footer: link hover yumuşatma ---------- */
.site-footer a {
    transition: color .25s ease, padding-left .25s ease;
}
.footer-link li a:hover,
.widget_services ul li a:hover {
    padding-left: 6px;
}

/* ---------- Scroll-top butonu premium ---------- */
.scroltop {
    box-shadow: 0 10px 26px rgba(15, 80, 35, .35) !important;
    transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease !important;
}
.scroltop:hover {
    transform: translateY(-4px);
}

/* ---------- Seçim rengi ---------- */
::selection {
    background: rgba(46, 139, 69, .22);
    color: var(--mp-green-dark);
}
