/* =========================================================
   Gazi Yıldırım — Ayra üzerine site özelleştirmeleri
   Renkler Ayra ile aynı: ana #006578, koyu #00505e, altın #d4a457, krem #f7f5f0
   ========================================================= */
:root {
    --gy-primary: #006578;
    --gy-primary-dark: #00505e;
    --gy-gold: #d4a457;
    --gy-cream: #f7f5f0;
    --gy-line: #d8d4c8;
    --gy-muted: #5f6b6d;
    --gy-text: #222219;
}

/* Ayra başlıkları capitalize ediyor; Türkçe cümle başlıkları için kapat */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 { text-transform: none; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: #fff; padding: 8px 14px; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Header ---------- */
.site-logo { gap: 12px; }
.site-logo img { margin-right: 0; width: 46px; min-width: 46px; }
.site-logo .logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.site-logo .logo-name { font-size: 22px; font-weight: 700; color: var(--gy-primary); white-space: nowrap; }
.site-logo .logo-sub { font-family: "Open Sans", sans-serif; font-size: 12.5px; font-weight: 600; color: var(--gy-muted); letter-spacing: .2px; margin-top: 3px; white-space: nowrap; }
.mainmenu { margin-left: 40px; }
.menu-list > li.active > a { color: var(--gy-primary); }
.lang-switch {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid var(--gy-line); color: var(--gy-primary);
    font-weight: 700; font-size: 13px; margin-right: 14px;
}
.lang-switch:hover { background: var(--gy-primary); color: #fff; border-color: var(--gy-primary); }
.header-right .phone-call { margin-right: 18px; }
@media (max-width: 1399px) {
    .mainmenu { margin-left: 24px; }
    .site-logo .logo-name { font-size: 19px; }
}
@media (max-width: 991px) {
    .site-logo .logo-name { font-size: 18px; }
    .site-logo .logo-sub { font-size: 11px; }
    .site-logo img { width: 40px; min-width: 40px; }
    .mainmenu { margin-left: 0; }
}

/* ---------- Genel ---------- */
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }
.bg-cream { background: var(--gy-cream); }
.text-muted-gy { color: var(--gy-muted); }
@media (max-width: 767px) { .section-pad { padding: 64px 0; } .section-pad-sm { padding: 48px 0; } }

.btn-whatsapp { background: #25d366; color: #fff; border: none; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }
.btn-outline-light-c { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-light-c:hover { background: #fff; color: var(--gy-primary-dark); }
.btn i { margin-right: 6px; }

/* ---------- Hero ---------- */
.hero-area .hero-sub-heading span { text-transform: none; }
.hero-area .h1 { font-size: 58px; }
.hero-area .h2 { font-size: 26px; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 34px; }
.hero-quick a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--gy-text); }
.hero-quick a i { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #e6f0f2; color: var(--gy-primary); }
.hero-quick a:hover { color: var(--gy-primary); }
.hero-img img.hero-photo { border-radius: 24px; object-fit: cover; width: 100%; max-height: 620px; object-position: top center; }
@media (max-width: 991px) { .hero-area .h1 { font-size: 40px; } .hero-area .h2 { font-size: 21px; } }

/* ---------- Doktor kartları ---------- */
.doctor-card { background: #fff; border: 1px solid var(--gy-line); border-radius: 20px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.doctor-card:hover { box-shadow: 0 18px 40px rgba(0, 101, 120, .12); transform: translateY(-4px); }
.doctor-card .doctor-photo { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--gy-cream); }
.doctor-card .doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doctor-card .doctor-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.doctor-card h3 { font-size: 24px; margin-bottom: 4px; }
.doctor-card .doctor-title { color: var(--gy-primary); font-weight: 600; margin-bottom: 14px; }
.doctor-card p { color: var(--gy-muted); flex: 1; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 20px; }
.tag-list span { background: #e6f0f2; color: var(--gy-primary-dark); border-radius: 30px; padding: 4px 14px; font-size: 13.5px; font-weight: 600; }

/* ---------- Hizmet grupları ---------- */
.service-card h2 a { color: inherit; }
.service-card h2 a:hover { color: var(--gy-primary); }
.service-group-head { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; }
.service-group-head .icon { width: 54px; height: 54px; border-radius: 16px; background: var(--gy-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; flex: none; }
.service-group-head h2 { margin: 0; font-size: 32px; }
.service-group-head p { margin: 2px 0 0; color: var(--gy-muted); }
.service-group + .service-group { margin-top: 70px; }
.service-group { scroll-margin-top: 120px; }

/* ---------- Kategori kutuları ---------- */
.cat-tile { position: relative; display: block; border-radius: 20px; overflow: hidden; min-height: 260px; color: #fff; isolation: isolate; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 50, 60, .1) 20%, rgba(0, 50, 60, .85) 100%); z-index: -1; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile .cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.cat-tile h3 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.cat-tile p { color: rgba(255,255,255,.88); margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.cat-tile .cat-link { font-weight: 700; color: #fff; }
.cat-tile.no-img { background: linear-gradient(135deg, var(--gy-primary), var(--gy-primary-dark)); }

/* ---------- Makale listesi ---------- */
.article-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.article-filter a { padding: 9px 20px; border-radius: 30px; border: 1.5px solid var(--gy-line); font-weight: 600; color: var(--gy-text); background: #fff; }
.article-filter a.active, .article-filter a:hover { background: var(--gy-primary); color: #fff; border-color: var(--gy-primary); }
.article-search { max-width: 520px; margin: 0 auto 26px; position: relative; }
.article-search input { width: 100%; border: 1.5px solid var(--gy-line); border-radius: 40px; padding: 13px 54px 13px 22px; font-size: 16px; background: #fff; }
.article-search input:focus { border-color: var(--gy-primary); }
.article-search button { position: absolute; right: 6px; top: 6px; width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--gy-primary); color: #fff; }
.blog-card .blog-thumb img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.blog-card h3 a { color: inherit; }
.blog-card .blog-thumb.ph { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e6f0f2, var(--gy-cream)); display: flex; align-items: center; justify-content: center; color: var(--gy-primary); font-size: 46px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--gy-muted); }

/* ---------- Makale detay ---------- */
.article-wrap { max-width: 780px; }
.article-lead { font-size: 19px; line-height: 1.7; color: var(--gy-text); }
.short-box { background: #e6f0f2; border-left: 4px solid var(--gy-primary); border-radius: 12px; padding: 20px 24px; margin: 26px 0 34px; }
.short-box strong { display: block; color: var(--gy-primary-dark); margin-bottom: 4px; font-family: "Bricolage Grotesque", sans-serif; font-size: 18px; }
.short-box p { margin: 0; }
.prose { font-size: 17px; line-height: 1.8; color: #2b2b26; font-weight: 400; }
.prose h2 { font-size: 27px; margin: 40px 0 14px; scroll-margin-top: 110px; }
.prose h3 { font-size: 21px; margin: 30px 0 10px; scroll-margin-top: 110px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 20px 0; padding-left: 24px; }
.prose ul li { list-style: disc; margin-bottom: 8px; }
.prose ol li { list-style: decimal; margin-bottom: 8px; }
.prose li::marker { color: var(--gy-primary); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15.5px; }
.prose th, .prose td { border: 1px solid var(--gy-line); padding: 10px 12px; vertical-align: top; }
.prose th { background: var(--gy-cream); }
.prose a { color: var(--gy-primary); text-decoration: underline; }
.table-scroll { overflow-x: auto; }
.cta-box { background: linear-gradient(135deg, var(--gy-primary), var(--gy-primary-dark)); color: #fff; border-radius: 20px; padding: 34px; margin: 46px 0 20px; }
.cta-box h3 { color: #fff; font-size: 24px; }
.cta-box p { color: rgba(255,255,255,.88); }
.cta-box .btn-primary { background: #fff; color: var(--gy-primary-dark); border-color: #fff; }
.disclaimer-note { font-size: 14px; color: var(--gy-muted); border-top: 1px solid var(--gy-line); padding-top: 16px; margin-top: 30px; }
.sticky-side { position: sticky; top: 110px; }
.toc-nav a.toc-link { display: block; }
.toc-nav a.toc-link.lvl-3 { padding-left: 16px; font-size: 14px; }

/* ---------- Doktor sayfası ---------- */
.doctor-hero-photo { border-radius: 24px; overflow: hidden; background: var(--gy-cream); }
.doctor-hero-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top center; }
.pub-list { font-size: 15px; line-height: 1.7; font-weight: 400; }
.pub-list h3 { font-size: 19px; margin: 30px 0 12px; color: var(--gy-primary-dark); }
.pub-list ol { padding-left: 26px; }
.pub-list ol li { list-style: decimal; margin-bottom: 10px; }
.pub-list ul li { list-style: disc; margin-left: 20px; margin-bottom: 8px; }
.collapse-fade { position: relative; max-height: 560px; overflow: hidden; }
.collapse-fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, #fff); }
.collapse-fade.open { max-height: none; }
.collapse-fade.open::after { display: none; }
.timeline-tabs { scroll-margin-top: 120px; }

/* ---------- Videolar ---------- */
.video-card { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--gy-line); height: 100%; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; cursor: pointer; border: 0; padding: 0; width: 100%; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s; }
.video-thumb:hover img { opacity: 1; }
.video-thumb .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(0, 101, 120, .92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; padding-left: 4px; }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 { font-size: 17px; padding: 16px 18px 18px; margin: 0; line-height: 1.4; }

/* ---------- SSS ---------- */
.faq-acc .accordion-item { border: 1px solid var(--gy-line); border-radius: 14px !important; overflow: hidden; margin-bottom: 12px; }
.faq-acc .accordion-button { font-weight: 700; font-size: 17px; padding: 18px 22px; color: var(--gy-text); background: #fff; box-shadow: none; }
.faq-acc .accordion-button:not(.collapsed) { color: var(--gy-primary); background: #f2f8f9; }
.faq-acc .accordion-body { font-weight: 400; line-height: 1.75; }
.faq-acc .accordion-body ul li { list-style: disc; margin-left: 20px; }

/* ---------- İletişim ---------- */
.gy-card { background: #fff; border: 1px solid var(--gy-line); border-radius: 18px; padding: 26px; height: 100%; }
.gy-card .ic { width: 50px; height: 50px; border-radius: 14px; background: #e6f0f2; color: var(--gy-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.gy-card h3 { font-size: 19px; margin-bottom: 6px; }
.gy-card p, .gy-card a { color: var(--gy-muted); margin: 0; }
.hours-table { width: 100%; }
.hours-table td { padding: 9px 0; border-bottom: 1px dashed var(--gy-line); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.closed td:last-child { color: #a3572a; }
.hours-table tr.today td { color: var(--gy-primary); font-weight: 700; }
.form-gy label { font-weight: 600; margin-bottom: 6px; display: block; }
.form-gy .form-control { border: 1.5px solid var(--gy-line); border-radius: 12px; padding: 12px 16px; font-size: 16px; }
.form-gy .form-control:focus { border-color: var(--gy-primary); box-shadow: 0 0 0 3px rgba(0, 101, 120, .12); }
.form-gy .form-check-input:checked { background-color: var(--gy-primary); border-color: var(--gy-primary); }
.form-gy .hp { position: absolute; left: -9999px; }
.map-wrap { border-radius: 20px; overflow: hidden; border: 1px solid var(--gy-line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.alert-gy { border-radius: 14px; padding: 16px 20px; }

/* ---------- Footer ---------- */
.footer-contact li { display: flex; gap: 10px; align-items: baseline; }
.footer-contact li i { color: var(--gy-gold); width: 16px; }
.footer-legal a { color: inherit; }
.footer-legal span { margin: 0 8px; opacity: .6; }
.footer-disclaimer { font-size: 13px; opacity: .65; text-align: center; margin: 10px 0 0; }

/* ---------- Yüzen WhatsApp ve çerez çubuğu ---------- */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 10px 25px rgba(0,0,0,.2); }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }
.cookie-bar { position: fixed; left: 16px; bottom: 16px; z-index: 1000; max-width: 420px; background: #fff; border: 1px solid var(--gy-line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 12px 30px rgba(0,0,0,.12); display: flex; gap: 14px; align-items: center; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 14px; line-height: 1.5; }
.cookie-bar a { color: var(--gy-primary); text-decoration: underline; }
@media (max-width: 575px) { .cookie-bar { right: 16px; max-width: none; bottom: 90px; } }

/* =========================================================
   Gebelik hesaplayıcı
   ========================================================= */
.calc-card { background: #fff; border: 1px solid var(--gy-line); border-radius: 24px; padding: 34px; box-shadow: 0 20px 50px rgba(0, 60, 70, .06); }
.calc-modes { display: inline-flex; background: var(--gy-cream); border-radius: 40px; padding: 5px; margin-bottom: 26px; flex-wrap: wrap; }
.calc-modes button { border: 0; background: transparent; padding: 10px 20px; border-radius: 40px; font-weight: 700; color: var(--gy-muted); }
.calc-modes button.active { background: var(--gy-primary); color: #fff; }
.calc-card .form-control, .calc-card .form-select { border: 1.5px solid var(--gy-line); border-radius: 14px; padding: 13px 16px; font-size: 17px; }
.calc-card .form-control:focus, .calc-card .form-select:focus { border-color: var(--gy-primary); box-shadow: 0 0 0 3px rgba(0, 101, 120, .12); }
.calc-card label { font-weight: 700; margin-bottom: 8px; display: block; }
.calc-hint { font-size: 14px; color: var(--gy-muted); margin-top: 6px; }
.calc-error { color: #b4441f; font-weight: 600; margin-top: 10px; }

.calc-result { margin-top: 34px; }
.calc-result[hidden] { display: none; }
.res-main { background: linear-gradient(135deg, var(--gy-primary), var(--gy-primary-dark)); color: #fff; border-radius: 24px; padding: 34px; position: relative; overflow: hidden; }
.res-main::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.07); }
.res-main .res-label { text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; opacity: .8; font-weight: 700; }
.res-main .res-week { font-family: "Bricolage Grotesque", sans-serif; font-size: 58px; font-weight: 700; line-height: 1.05; margin: 6px 0 4px; color: #fff; }
.res-main .res-week small { font-size: 26px; font-weight: 600; opacity: .9; }
.res-main .res-tri { display: inline-block; background: rgba(255,255,255,.16); border-radius: 30px; padding: 5px 14px; font-weight: 700; font-size: 14px; margin-top: 8px; }
.res-progress { margin-top: 26px; }
.res-progress .bar { height: 12px; background: rgba(255,255,255,.2); border-radius: 10px; position: relative; overflow: visible; }
.res-progress .fill { height: 100%; border-radius: 10px; background: var(--gy-gold); width: 0; transition: width 1s ease; }
.res-progress .marks { display: flex; justify-content: space-between; font-size: 12.5px; opacity: .85; margin-top: 8px; }
.res-progress .tri-lines span { position: absolute; top: -3px; width: 2px; height: 18px; background: rgba(255,255,255,.55); }

.res-stat { background: #fff; border: 1px solid var(--gy-line); border-radius: 20px; padding: 22px 24px; height: 100%; }
.res-stat .k { color: var(--gy-muted); font-size: 14px; font-weight: 600; }
.res-stat .v { font-family: "Bricolage Grotesque", sans-serif; font-size: 25px; font-weight: 700; color: var(--gy-text); margin-top: 4px; line-height: 1.2; }
.res-stat .s { font-size: 14px; color: var(--gy-primary); font-weight: 600; margin-top: 4px; }
.res-stat .ic { width: 42px; height: 42px; border-radius: 12px; background: #e6f0f2; color: var(--gy-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }

.baby-card { background: var(--gy-cream); border-radius: 24px; padding: 28px; display: flex; gap: 24px; align-items: center; }
.baby-card .emoji { font-size: 64px; width: 110px; height: 110px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 10px 25px rgba(0,0,0,.06); }
.baby-card h3 { font-size: 22px; margin-bottom: 6px; }
.baby-card .size { color: var(--gy-primary); font-weight: 700; margin-bottom: 8px; }
.baby-card p { margin-bottom: 6px; font-weight: 400; }
@media (max-width: 575px) { .baby-card { flex-direction: column; text-align: center; } .res-main .res-week { font-size: 44px; } .calc-card { padding: 22px; } }

.milestones { position: relative; padding-left: 30px; }
.milestones::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: var(--gy-line); }
.milestone { position: relative; padding: 0 0 22px; }
.milestone::before { content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--gy-line); }
.milestone.done::before { background: var(--gy-primary); border-color: var(--gy-primary); }
.milestone.now::before { background: var(--gy-gold); border-color: var(--gy-gold); box-shadow: 0 0 0 5px rgba(212, 164, 87, .25); }
.milestone .w { font-size: 13px; font-weight: 700; color: var(--gy-primary); text-transform: uppercase; letter-spacing: .5px; }
.milestone h4 { font-size: 17px; margin: 2px 0 2px; }
.milestone .d { font-size: 14px; color: var(--gy-muted); }

.week-strip { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.week-strip button { flex: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--gy-line); background: #fff; font-weight: 700; color: var(--gy-muted); }
.week-strip button.current { border-color: var(--gy-gold); color: var(--gy-text); }
.week-strip button.sel { background: var(--gy-primary); color: #fff; border-color: var(--gy-primary); }

.calc-mini { background: #fff; border-radius: 24px; padding: 30px; box-shadow: 0 20px 50px rgba(0, 60, 70, .08); }

@media print {
    .header-area, .footer, .whatsapp-float, .cookie-bar, .page-header, .calc-form-area, .no-print { display: none !important; }
}

.mini-list li { margin-bottom: 6px; }
.mini-list a { color: var(--gy-text); font-weight: 600; font-size: 15px; }
.mini-list a:hover { color: var(--gy-primary); }
.mini-list i { color: var(--gy-primary); font-size: 12px; margin-right: 6px; }

/* Header sığdırma: menü öğeleri tek satır */
@media (min-width: 992px) {
    .menu-list > li > a { white-space: nowrap; font-size: 15.5px; }
    .header-right .btn, .header-right .phone-call { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1599px) {
    .header-right .phone-call { display: none !important; }
}
@media (min-width: 992px) and (max-width: 1299px) {
    .menu-list { gap: 6px; }
    .menu-list > li > a { font-size: 14.5px; }
    .site-logo .logo-sub { display: none; }
    .lang-switch { margin-right: 8px; }
}
@media (max-width: 575px) {
    .site-logo .logo-name { font-size: 16px; }
    .site-logo .logo-sub { font-size: 10.5px; }
    .site-logo img { width: 36px; min-width: 36px; }
    .lang-switch { width: 34px; height: 34px; margin-right: 8px; }
    .service-group-head h2 { font-size: 24px; }
    .page-header-inner h1 { font-size: 30px; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 26px; right: 14px; bottom: 14px; }
}

/* ---- Mobil düzeltmeleri ---- */
.gy-card a.btn { color: #fff; }
.prose { overflow-wrap: break-word; }
.hours-table td:first-child { white-space: nowrap; padding-right: 14px; vertical-align: top; }
@media (max-width: 991px) {
    /* g-5 aralığı (3rem) mobilde kenarlardan taşıyordu */
    .row.g-5 { --bs-gutter-x: 1.5rem; }
}
@media (max-width: 575px) {
    .footer-cta-btns .btn { flex: 1 1 100%; justify-content: center; }
    .calc-modes { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 16px; gap: 4px; width: 100%; }
    .calc-modes button { padding: 9px 6px; font-size: 13px; line-height: 1.25; border-radius: 12px; }
    .gy-card { padding: 20px; }
    .page-header-inner h1 { font-size: 26px; }
    .prose h2 { font-size: 23px; }
    .prose h3 { font-size: 19px; }
}
