/* ==========================================================================
   denta-2 — "berkayhayirci.com" esinli skin katmanı
   Palet : neredeyse-siyah (#131619) + beyaz + açık gri (#eef1f3) + kırmızı aksan (#eb1f41)
   Font  : Outfit
   Bu dosya style.css'ten SONRA yüklenir; aşağıdaki :root override'ları çatının
   (style.css) tüm değişken tabanlı renk/tipografisini yeniden giydirir.
   NOT: Hero (#hero, .intro-item-type-1) ayrı mantıkla ele alınacağı için
        ilgili kurallara dokunulmamıştır.
   ========================================================================== */

:root {
    /* Marka paleti (berkayhayirci.com) */
    --bh-ink:        #131619;  /* neredeyse-siyah: metin + koyu yüzeyler */
    --bh-navy:       #071224;  /* derin lacivert (vurgu) */
    --bh-accent:     #eb1f41;  /* kırmızı/crimson aksan / CTA */
    --bh-accent-dk:  #c1112f;  /* aksan degrade sonu / hover */
    --bh-gray:       #696d71;  /* ikincil metin */
    --bh-soft:       #eef1f3;  /* açık gri bölüm zemini */
    --bh-line:       #e7e7e7;  /* kenarlıklar */

    /* style.css çatısının tasarım tokenlarını yeniden giydir */
    --accent-color: var(--bh-accent);
    --el-gradient-start: var(--bh-accent);
    --el-gradient-end: var(--bh-accent-dk);
    --text-primary: var(--bh-ink);
    --text-secondary: var(--bh-gray);
    --background-color: #ffffff;
    --background-secondary-color: var(--bh-soft);
    --border-color: var(--bh-line);
    --font-size: 17px;
    --heading-font-weight: 700;

    /* Eski --denta-* adları geriye dönük uyum için marka renklerine bağlandı */
    --denta-teal:      var(--bh-accent);
    --denta-teal-dark: var(--bh-ink);
    --denta-gold:      var(--bh-accent);
    --denta-ink:       var(--bh-ink);
}

body {
    background: #ffffff;
    color: var(--bh-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.01em;
}

/* --- Üst bilgi şeridi (anasayfa: adres / telefon / saat) — açık gri ferah bant --- */
.denta-top-strip {
    background: var(--bh-soft);
    color: var(--bh-ink);
    font-size: .9rem;
    border-bottom: 1px solid var(--bh-line);
}

.denta-top-strip-inner {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: .6rem 0;
    flex-wrap: wrap;
}

.denta-top-strip i {
    color: var(--bh-accent);
    margin-right: .4rem;
}

/* --- Başlık / gölge --- */
.header, .header-fixed {
    box-shadow: 0 10px 30px rgba(19, 22, 25, .07);
}

.logo img {
    max-height: 54px;
    width: auto;
}

/* --- Bölüm üst başlığı (eyebrow) kırmızı aksan --- */
.section-subheading {
    color: var(--bh-accent);
    font-weight: 700;
    letter-spacing: .02em;
}

/* --- Butonlar: hap (pill) form — berkayhayirci .link-btn mantığı --- */
.btn,
.btn-with-icon,
.btn-small {
    border-radius: 999px;
}

.btn:not(.btn-border) {
    font-weight: 600;
    letter-spacing: .01em;
}

/* =========================================================================
   HERO — ayrı mantıkla ele alınacağı için DOKUNULMADI (denta-1 ile birebir)
   ========================================================================= */
#hero .carousel-item::before,
.intro-item-type-1::before {
    background: linear-gradient(90deg, rgba(23, 49, 58, .78), rgba(47, 143, 157, .34), rgba(255, 255, 255, .08)) !important;
}

#hero h2,
.intro-item-type-1 h1 {
    font-family: var(--heading-font-family);
    max-width: 12ch;
}

.denta-hero-actions .btn,
#hero .btn {
    border-radius: 999px;
}
/* ====================== HERO bloğu sonu ====================== */

/* --- Hizmetler bandı --- */
.denta-services-band .news-item,
.denta-services-band .item-style {
    border: 1px solid var(--bh-line);
    box-shadow: 0 18px 45px rgba(19, 22, 25, .07);
    border-radius: 14px;
    overflow: hidden;
}

.denta-services-band .news-item-info {
    border-top: 3px solid var(--bh-accent);
}

/* --- Öncesi & Sonrası bandı --- */
.denta-before-after-band {
    background: linear-gradient(180deg, var(--bh-soft) 0%, #fff 100%);
}

.denta-ba-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--bh-line);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(19, 22, 25, .08);
    height: 100%;
}

.denta-ba-images {
    display: grid;
    gap: 0;
    color: inherit;
    text-decoration: none;
}

.denta-ba-shot {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 16 / 6.2;
    background: #e7ebed;
    margin: 0;
}

.denta-ba-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.denta-ba-shot:first-child,
.denta-ba-shot:first-child img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.denta-ba-shot:last-child,
.denta-ba-shot:last-child img {
    border-radius: 0;
}

.denta-ba-tag {
    position: absolute;
    left: .75rem;
    top: .75rem;
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: var(--bh-ink);
    color: #fff;
    font-weight: 700;
    font-size: .78rem;
}

.denta-ba-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.35rem 1.55rem 1.55rem;
}

.denta-ba-date {
    color: var(--bh-accent);
    font-weight: 700;
    margin-bottom: .55rem;
}

.denta-ba-info h3 {
    font-family: var(--heading-font-family);
    font-weight: 700;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.14;
    margin: 0 0 .6rem;
}

.denta-ba-info h3 a {
    color: inherit;
    text-decoration: none;
}

.denta-ba-sub {
    color: var(--bh-accent);
    font-weight: 700;
    margin-bottom: .5rem;
}

.denta-ba-info p {
    line-height: 1.7;
    color: var(--bh-gray);
}

.denta-ba-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .45rem;
    margin-top: .75rem;
    color: var(--bh-accent);
    font-weight: 700;
    text-decoration: none;
}

.denta-ba-link:hover {
    color: var(--bh-accent-dk);
}

.denta-ba-detail-media {
    display: grid;
    gap: 0;
    margin-bottom: 2.25rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(19, 22, 25, .08);
}

.denta-ba-detail-shot {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #e7ebed;
    aspect-ratio: 16 / 5.2;
    margin: 0;
    box-shadow: none;
}

.denta-ba-detail-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.denta-ba-detail-shot:first-child,
.denta-ba-detail-shot:first-child img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.denta-ba-detail-shot:last-child,
.denta-ba-detail-shot:last-child img {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.denta-ba-detail-shot figcaption {
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: inline-flex;
    min-height: 2.15rem;
    align-items: center;
    padding: .4rem .8rem;
    border-radius: 999px;
    background: var(--bh-ink);
    color: #fff;
    font-weight: 700;
}

/* --- Sabit hızlı işlem butonları --- */
.denta-quick-actions {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.denta-quick-actions a {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bh-ink);
    color: #fff;
    box-shadow: 0 12px 28px rgba(19, 22, 25, .22);
    text-decoration: none;
    transition: transform .2s ease;
}

.denta-quick-actions a:hover {
    transform: translateY(-2px);
}

.denta-quick-actions a:nth-child(2) {
    background: var(--bh-accent);
}

.denta-quick-actions a:nth-child(3) {
    background: #24b26b;
}

/* --- Footer: çatı zaten --text-primary (koyu) + --background-color (beyaz)
       kullanıyor; aksan dokunuşları --- */
.footer-links ul li a:hover,
.footer a:hover {
    color: var(--bh-accent);
    opacity: 1;
}

/* --- Header / ana menü: berkayhayirci'ye yakın ferah tipografi --- */
:root { --k3-topbar-h: 56px; }   /* koyu üst bar yüksekliği (overlay konumu) */

.header-fixed {
    background: #fff;
    border-bottom: 1px solid var(--bh-line);
}

/* Anasayfa: logo + menü, hero GÖRSELİNİN üzerine ŞEFFAF biner (gri bant yok).
   Header akıştan çıkarılır; hero topbar'ın hemen altından başlar, görsel
   header'ın arkasına kadar uzar. */
.k3-home .main-inner {
    position: relative;
}

.k3-home .header {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--k3-topbar-h);
    z-index: 50;
    box-shadow: none;
}

.k3-home .header-fixed:not(.fixed) {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

/* Koyu hero üzerinde okunur olsun diye menü/logo BEYAZ (sticky'de tekrar koyu) */
.k3-home .header-fixed:not(.fixed) .brand-name,
.k3-home .header-fixed:not(.fixed) .main-mnu-list > li > a,
.k3-home .header-fixed:not(.fixed) .main-mnu-list > li a {
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.k3-home .header-fixed:not(.fixed) .brand-sub {
    color: rgba(255, 255, 255, .85);
    text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
}

.k3-home .header-fixed:not(.fixed) .main-mnu-list > li > a:hover,
.k3-home .header-fixed:not(.fixed) .main-mnu-list > li:hover > a {
    color: var(--bh-accent);
}

.k3-home .header-fixed:not(.fixed) .k3-lang-switch a {
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}

.k3-home .header-fixed:not(.fixed) .main-mnu-btn .bar {
    background: #fff;
}

/* Kaydırınca: katı beyaz sticky header (koyu metin geri gelir) */
.header-fixed.fixed {
    background: #fff;
    box-shadow: 0 8px 30px rgba(19, 22, 25, .10);
}

.main-mnu-list {
    margin-left: -2rem;
}

.main-mnu-list > li {
    margin-left: 2rem;
    padding: 1.15rem 0;
}

.main-mnu-list > li > a,
.main-mnu-list > li a {
    font-size: 1.0625rem;
    font-weight: 500;
}

.main-mnu-list > li > a:hover,
.main-mnu-list > li.active > a,
.main-mnu-list > li:hover > a {
    color: var(--bh-accent);
}

/* Marka: opsiyonel logo görseli + büyük slogan + altında firma adı (berkayhayirci) */
.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    line-height: 1.05;
}

.brand-logo {
    max-height: 48px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.brand-name {
    font-family: var(--heading-font-family);
    font-size: clamp(1.15rem, 1.6vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--bh-ink);
}

.brand-sub {
    margin-top: .15rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--bh-gray);
    line-height: 1.2;
}

/* Menü öğeleri arası nokta (•) ayraç — görseldeki gibi */
.main-mnu-list > li + li::before {
    content: "";
    position: absolute;
    left: -1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bh-line);
    font-size: 1rem;
    line-height: 0;
    pointer-events: none;
}

/* Koyu üst bardaki kırmızı "İletişim" pill CTA (en sağda) */
.k3-topbar-cta {
    display: inline-flex;
    align-items: center;
    margin-left: 1rem;
    padding: .42rem 1.25rem;
    border-radius: 999px;
    background: var(--bh-accent);
    color: #fff !important;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease;
}

.k3-topbar-cta:hover {
    background: var(--bh-accent-dk);
    color: #fff !important;
}

/* Mobil menü yalnızca <992px'te (tablet/telefon) devreye girsin */
@media (min-width: 992px) {
    .mmm,
    .mf-bg {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .denta-top-strip-inner {
        justify-content: flex-start;
        gap: .65rem;
    }

    .denta-ba-detail-shot {
        aspect-ratio: 16 / 8;
    }

    /* Appointment "Randevu Al" butonu mobilde sağ-altta (bottom:18px) durduğu için
       hızlı işlem butonlarını onun üzerine kaldır (çakışmayı önle). */
    .denta-quick-actions {
        right: 12px;
        bottom: 80px;
    }

    .denta-quick-actions a {
        width: 3.4rem;
        height: 3.4rem;
    }
}

.denta-treatment-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--bh-line);
    border-radius: 0;
    box-shadow: none;
}

.denta-treatment-card__media {
    display: block;
    position: relative;
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    background: var(--bh-soft);
    color: inherit;
}

.denta-treatment-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.denta-treatment-card:hover .denta-treatment-card__media img {
    transform: scale(1.035);
}

.denta-treatment-card__body {
    flex: 1 1 auto;
    padding: 1.75rem 2rem 2rem;
}

.denta-treatment-card__title {
    margin: 0 0 .85rem;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0;
}

.denta-treatment-card__title a {
    color: var(--bh-ink);
    text-decoration: none;
}

.denta-treatment-card__title a:hover {
    color: var(--bh-accent);
}

.denta-treatment-card__desc {
    margin: 0;
    color: var(--bh-gray);
    font-size: 1rem;
    line-height: 1.55;
}
