/* ==========================================================================
   hakanemmez.com — tema (Medova) üzerine marka uyarlamaları
   Tema yapısı korunur; yalnızca renk, logo ve siteye özgü bileşenler eklenir.
   ========================================================================== */

:root {
    /* Marka: eski logodaki teal (#36999e) — beyaz metinle AA kontrast için bir ton koyu */
    --theme-color: #2a7f84;
    --theme-color2: #36999e;
    --brand-teal-light: #e8f4f4;
    --title-color: #1c2b3a;
}

/* ---------------------------------------------------------------- erişilebilirlik */
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 10000;
    background: var(--title-color); color: #fff; padding: 10px 18px; border-radius: 6px;
    transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--theme-color2); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* <picture> sarmalayıcısı tema seçicilerini bozmasın */
picture.media-pic { display: contents; }

/* ---------------------------------------------------------------- logo */
.site-logo { display: inline-flex; flex-direction: column; line-height: 1.1; text-decoration: none; }
.site-logo .logo-name { font-family: var(--title-font); font-weight: 600; font-size: 22px; letter-spacing: .02em; color: #414141; white-space: nowrap; }
.site-logo .logo-title-prefix { color: var(--theme-color2); font-weight: 500; }
.site-logo .logo-sub { font-family: var(--body-font); font-size: 13px; font-weight: 500; color: var(--theme-color2); margin-top: 4px; letter-spacing: .03em; }
.site-logo--light .logo-name { color: #fff; }
.site-logo--light .logo-sub, .site-logo--light .logo-title-prefix { color: #8fd3d6; }
.site-logo img { max-height: 60px; width: auto; }
.header-logo { max-width: none; }
.mobile-logo .site-logo { align-items: center; }
@media (max-width: 575px) {
    .site-logo .logo-name { font-size: 18px; }
    .site-logo .logo-sub { font-size: 12px; }
}

/* ---------------------------------------------------------------- header */
.header-layout6 .header-button { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.lang-switch a { color: inherit; opacity: .75; padding: 4px 2px; }
.lang-switch a.active, .lang-switch a:hover { opacity: 1; color: var(--theme-color); }
.header-top .lang-switch { color: #fff; }
.header-top .lang-switch a.active, .header-top .lang-switch a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.mobile-lang { display: flex; justify-content: center; gap: 18px; margin-top: 24px; font-weight: 600; }
.mobile-lang a.active { color: var(--theme-color); text-decoration: underline; }

/* Uzmanlık mega menüsü: 6 sütun liste */
.main-menu ul.mega-menu.specialty-mega { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 30px; padding: 28px 30px; max-width: 1100px; }
@media (min-width: 1400px) { .main-menu ul.mega-menu.specialty-mega { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 1320px; } }
.main-menu ul.mega-menu.specialty-mega > li > a { font-size: 16px; line-height: 1.35; white-space: normal; }
.main-menu ul.mega-menu.specialty-mega li li a { font-size: 15px; line-height: 1.5; white-space: normal; }

/* ---------------------------------------------------------------- hero */
.th-hero-bg:before { z-index: 1; background: linear-gradient(90deg, rgba(10, 38, 48, .82) 0%, rgba(10, 38, 48, .55) 55%, rgba(10, 38, 48, .25) 100%); }
.th-hero-bg .media-pic img, .th-hero-bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-6 .hero-style6 .hero-title { text-wrap: balance; }

/* ---------------------------------------------------------------- bölümler */
.about-counter-wrap .box-icon i { font-size: 30px; color: var(--theme-color); }
.service-card3 .box-icon i { font-size: 28px; color: var(--theme-color); }
.service-card3 .box-img img, .service-card7 .box-img img, .blog-grid .blog-img img, .gallery-card .box-img img, .th-blog .blog-img img { object-fit: cover; }
.service-card3 .box-img { aspect-ratio: 387 / 238; overflow: hidden; }
.service-card3 .box-img img { width: 100%; height: 100%; }
.service-card7 .box-img { aspect-ratio: 1378 / 798; overflow: hidden; }
.service-card7 .box-img img { width: 100%; height: 100%; }
.img-box6-1 .img1 { aspect-ratio: 524 / 344; overflow: hidden; border-radius: inherit; }
.img-box6-1 .img1 img { width: 100%; height: 100%; object-fit: cover; }
.img-box6-2 .img1 { aspect-ratio: 382 / 566; overflow: hidden; }
.img-box6-2 .img1 img { width: 100%; height: 100%; object-fit: cover; }
.why-img-box3 { aspect-ratio: 798 / 520; overflow: hidden; border-radius: 24px; }
.why-img-box3 img { width: 100%; height: 100%; object-fit: cover; }
.contact-img4 { aspect-ratio: 798 / 836; overflow: hidden; border-radius: 24px; }
.contact-img4 img { width: 100%; height: 100%; object-fit: cover; }
.blog-grid.style2 .blog-img { aspect-ratio: 494 / 528; overflow: hidden; }
.blog-grid.style2 .blog-img img { width: 100%; height: 100%; }
.th-blog.single-grid .blog-img { aspect-ratio: 524 / 280; overflow: hidden; }
.th-blog.single-grid .blog-img img { width: 100%; height: 100%; }
.accordion-area5 .box-icon i { font-size: 22px; color: var(--theme-color); }
.service-card-tab2 .box-date-wrap .box-subtitle { text-transform: none; }

/* Galeri / video kartları */
.gallery-card .box-img { aspect-ratio: 524 / 490; overflow: hidden; position: relative; }
.gallery-card .box-img img { width: 100%; height: 100%; }
.gallery-card.video-card .box-img { aspect-ratio: 16 / 9; }
.gallery-card .box-img .icon-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; background: var(--theme-color); color: #fff; }
.gallery-card.video-card .box-img .icon-btn { width: 64px; height: 64px; line-height: 64px; border-radius: 50%; font-size: 20px; }
.gallery-card .gallery-content .box-title { font-size: 18px; line-height: 1.4; margin-bottom: 0; }
.video-desc { margin-top: 12px; font-size: 15px; }

/* ---------------------------------------------------------------- sayfa içerikleri */
.lead-text { color: var(--title-color); font-weight: 500; }
.rich-text h2 { font-size: 28px; margin: 40px 0 18px; }
.rich-text h3 { font-size: 22px; margin: 30px 0 14px; }
.rich-text h4 { font-size: 19px; margin: 24px 0 12px; }
.rich-text p, .rich-text li { font-size: 17px; line-height: 1.75; }
.rich-text ul, .rich-text ol { padding-left: 22px; margin-bottom: 22px; }
.rich-text ul li::marker { color: var(--theme-color); }
.rich-text img { max-width: 100%; height: auto; border-radius: 16px; }
.rich-text table { width: 100%; margin-bottom: 24px; }
.rich-text a { text-decoration: underline; text-underline-offset: 3px; }
.page-img { aspect-ratio: 1620 / 750; overflow: hidden; border-radius: 24px; }
.page-img img { width: 100%; height: 100%; object-fit: cover; }

.medical-disclaimer { display: flex; gap: 16px; align-items: flex-start; background: var(--brand-teal-light); border-left: 4px solid var(--theme-color); border-radius: 12px; padding: 20px 24px; }
.medical-disclaimer__icon { color: var(--theme-color); font-size: 22px; line-height: 1.4; }
.medical-disclaimer__text { margin: 0; font-size: 15px; color: var(--title-color); }
.footer-disclaimer { color: #b7bdde; font-size: 14px; margin: 30px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }

.subtopic-card { display: flex; flex-direction: column; height: 100%; padding: 24px 26px; border: 1px solid var(--th-border-color); border-radius: 20px; background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s; }
.subtopic-card:hover { border-color: var(--theme-color); box-shadow: 0 10px 30px rgba(28, 43, 58, .08); transform: translateY(-2px); }
.subtopic-card__title { font-family: var(--title-font); font-size: 20px; font-weight: 600; color: var(--title-color); margin-bottom: 8px; }
.subtopic-card__text { font-size: 15px; color: var(--body-color); flex: 1; }
.subtopic-card__more { margin-top: 14px; color: var(--theme-color); font-weight: 600; font-size: 15px; }

.related-card { display: flex; gap: 16px; align-items: center; height: 100%; padding: 14px; border: 1px solid var(--th-border-color); border-radius: 18px; background: #fff; transition: border-color .3s; }
.related-card:hover { border-color: var(--theme-color); }
.related-card__img { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; }
.related-card__img img { width: 100%; height: 100%; object-fit: cover; }
.related-card__body { display: flex; flex-direction: column; }
.related-card__type { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--theme-color); font-weight: 600; }
.related-card__title { font-family: var(--title-font); font-weight: 600; color: var(--title-color); line-height: 1.35; }
.related-card__text { font-size: 14px; margin-top: 4px; color: var(--body-color); }
.related-card--stack { flex-direction: column; align-items: stretch; }
.related-card--stack .related-card__img { flex: none; width: 100%; height: auto; aspect-ratio: 16 / 10; }

.specialty-children { list-style: none; padding: 0; margin: 0 0 20px; }
.specialty-children li { padding: 4px 0; font-size: 15px; }
.specialty-children a { color: var(--body-color); }
.specialty-children a:hover { color: var(--theme-color); }
.widget_categories a.active { background: var(--theme-color); border-color: var(--theme-color); color: #fff; }
.widget_categories a.active::before { color: #fff; }
.widget_categories .count { opacity: .7; }
.offer-phone { margin: 18px 0 0; }
.offer-phone a { color: #fff; font-weight: 600; }

/* Özgeçmiş */
.cv-photo .box-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 24px; }
.cv-photo .box-img img { width: 100%; height: 100%; object-fit: cover; }
.cv-section .border-title { margin-bottom: 24px; }
.cv-section ul { list-style: none; padding: 0; }
.checklist.style3 ul li { position: relative; }
.pub-stat { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 18px; background: var(--brand-teal-light); color: var(--title-color); height: 100%; transition: background .3s, color .3s; }
.pub-stat:hover { background: var(--theme-color); color: #fff; }
.pub-stat__num { font-family: var(--title-font); font-size: 40px; font-weight: 700; line-height: 1; color: var(--theme-color); min-width: 64px; }
.pub-stat:hover .pub-stat__num { color: #fff; }
.pub-stat__label { font-weight: 600; font-size: 17px; }

/* Yayınlar */
.pub-list { padding-left: 0; list-style: none; margin: 0; }
.pub-list--numbered { counter-reset: pub; }
.pub-list--numbered > .pub-item { counter-increment: pub; }
.pub-list--numbered > .pub-item::before { content: counter(pub); flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--brand-teal-light); color: var(--theme-color); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.pub-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--th-border-color); }
.pub-item__cover { flex: 0 0 96px; }
.pub-item__cover img { width: 96px; height: auto; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
.pub-item__title { font-size: 17px; line-height: 1.45; margin-bottom: 6px; }
.pub-item__title a { color: var(--title-color); }
.pub-item__title a:hover { color: var(--theme-color); }
.pub-item__title i { font-size: 12px; margin-left: 4px; opacity: .6; }
.pub-item__authors, .pub-item__meta, .pub-item__doi { font-size: 15px; margin-bottom: 4px; }
.pub-item__meta { font-style: italic; }
.pub-count { color: var(--body-color); margin-bottom: 10px; }

/* Ödüller */
.award-list { list-style: none; padding: 0; margin: 0; }
.award-item { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--th-border-color); }
.award-item__year { flex: 0 0 76px; height: 44px; border-radius: 30px; background: var(--theme-color); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.award-item__title { margin-bottom: 6px; line-height: 1.45; }
.award-item__org { color: var(--theme-color); font-weight: 500; margin-bottom: 6px; }
.award-item__desc { font-size: 15px; }

/* Hasta yorumları */
.testimonial-item { background: #fff; border-radius: 24px; padding: 36px; }
.testimonial-item blockquote { margin: 0 0 20px; padding: 0; background: none; font-size: 17px; line-height: 1.75; }
.testimonial-item blockquote::before, .testimonial-item blockquote::after { display: none; }
.testimonial-note { font-size: 14px; color: var(--body-color); }

/* ---------------------------------------------------------------- formlar */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; }
.form-consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 4px; flex: 0 0 18px; accent-color: var(--theme-color); display: inline-block !important; }
.form-consent label { font-size: 14px; line-height: 1.6; margin: 0; padding: 0 !important; }
.form-consent label::before, .form-consent label::after { display: none !important; }
.form-consent a { text-decoration: underline; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--error-color) !important; }
.form-consent input.is-invalid + label { color: var(--error-color); }
.field-error { display: block; color: var(--error-color); font-size: 13px; margin-top: 6px; }
.form-messages.success { color: var(--success-color); font-weight: 500; }
.form-messages.error { color: var(--error-color); font-weight: 500; }
.form-note { font-size: 13px; color: var(--body-color); margin: 14px 0 0; }
.appointment-notes { background: var(--brand-teal-light); border-radius: 24px; padding: 36px; }
.contact-map iframe { width: 100%; height: 450px; border: 0; display: block; }

.empty-state { padding: 60px 0; text-align: center; }
.breadcumb-wrapper:not(.background-image) { background: linear-gradient(120deg, #123540 0%, var(--theme-color) 100%); }
.breadcumb-wrapper.background-image::before { content: ""; position: absolute; inset: 0; background: rgba(12, 40, 48, .65); z-index: -1; }
.breadcumb-title { text-wrap: balance; }

/* ---------------------------------------------------------------- tema renk düzeltmeleri */
:root { --smoke-color5: #eef7f7; }
.header-top .lang-switch { color: var(--title-color); }
.header-top .lang-switch a.active, .header-top .lang-switch a:hover { color: var(--theme-color); }
.hero-style6 .hero-title .text-theme { color: #7fd6d9 !important; }
.breadcumb-menu li[aria-current="page"] { color: #9fe0e3; }
/* Türkçe başlıklarda "ve" gibi bağlaçlar büyütülmesin */
.th-mobile-menu a, .main-menu ul.mega-menu li a, .main-menu ul.sub-menu li a { text-transform: none; }
