/* ===================================================================
   Fizyoterrace — Kurumsal Tema
   Renkler ayarlardan (CSS değişkenleri) override edilebilir.
=================================================================== */
:root {
    --fzt-primary: #0e7c7b;
    --fzt-primary-dark: #0a5e5d;
    --fzt-secondary: #16a34a;
    --fzt-dark: #14323a;
    --fzt-muted: #6b7a82;
    --fzt-bg-soft: #f4f7f8;
    --fzt-border: #e4eaec;
    --fzt-radius: 14px;
    --fzt-shadow: 0 10px 30px rgba(16, 60, 64, .08);
    --fzt-shadow-sm: 0 4px 14px rgba(16, 60, 64, .06);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--fzt-dark);
    background: #fff;
    margin: 0;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--fzt-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--fzt-primary-dark); }

h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.25; color: var(--fzt-dark); }
.section { padding: 84px 0; }
.section-soft { background: var(--fzt-bg-soft); }
.container-fzt { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.text-primary-fzt { color: var(--fzt-primary) !important; }
.bg-primary-fzt { background: var(--fzt-primary) !important; }

.eyebrow {
    display: inline-block; color: var(--fzt-primary); font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin-bottom: 12px;
}
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 16px; }
.section-lead { color: var(--fzt-muted); font-size: 1.05rem; max-width: 640px; }

/* Butonlar */
.btn-fzt {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--fzt-primary); color: #fff; border: 0;
    padding: 13px 26px; border-radius: 50px; font-weight: 600; cursor: pointer;
    transition: transform .15s, background .2s, box-shadow .2s; text-decoration: none;
}
.btn-fzt:hover { background: var(--fzt-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--fzt-shadow-sm); }
.btn-fzt-outline {
    background: transparent; color: var(--fzt-primary); border: 2px solid var(--fzt-primary);
}
.btn-fzt-outline:hover { background: var(--fzt-primary); color: #fff; }
.btn-fzt-light { background: #fff; color: var(--fzt-primary); }
.btn-fzt-light:hover { background: #f0f0f0; color: var(--fzt-primary-dark); }

/* ---------- Üst bilgi / Header ---------- */
.topbar { background: var(--fzt-dark); color: #cdd9dc; font-size: .86rem; padding: 8px 0; }
.topbar a { color: #cdd9dc; }
.topbar a:hover { color: #fff; }
.topbar .container-fzt { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-social a { margin-left: 12px; font-size: 1rem; }

.site-header { position: sticky; top: 0; z-index: 1020; background: #fff; box-shadow: var(--fzt-shadow-sm); }
.navbar-fzt { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.35rem; color: var(--fzt-dark); }
.brand img { height: 56px; width: auto; max-width: 220px; }
.brand span small { display: block; font-size: .62rem; font-weight: 600; color: var(--fzt-muted); letter-spacing: .05em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > li { position: relative; }
.main-nav > li > a { display: block; padding: 10px 16px; color: var(--fzt-dark); font-weight: 600; border-radius: 8px; }
.main-nav > li > a:hover, .main-nav > li.active > a { color: var(--fzt-primary); background: var(--fzt-bg-soft); }
.main-nav .submenu {
    position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff;
    box-shadow: var(--fzt-shadow); border-radius: 10px; padding: 8px; list-style: none; margin: 6px 0 0;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 50;
}
.main-nav > li:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .submenu a { display: block; padding: 9px 14px; border-radius: 7px; color: var(--fzt-dark); font-weight: 500; }
.main-nav .submenu a:hover { background: var(--fzt-bg-soft); color: var(--fzt-primary); }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--fzt-dark); cursor: pointer; }

/* ---------- Hero / Slider ---------- */
.hero { position: relative; background: linear-gradient(120deg, #0e7c7b 0%, #0a5e5d 100%); color: #fff; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
.hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; background: rgba(255,255,255,.06); border-radius: 50%; z-index: 1; }
.hero::before { content: ''; position: absolute; left: -80px; bottom: -140px; width: 360px; height: 360px; background: rgba(255,255,255,.05); border-radius: 50%; z-index: 1; }
.hero-inner { position: relative; z-index: 2; padding: 50px 0; max-width: 680px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0 0 18px; }
.hero p { font-size: 1.15rem; opacity: .92; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* Slaytlar mutlak konumlu -> sabit yükseklik (içeriğe göre kısalıp uzamaz) */
.slide { position: absolute; inset: 0; display: none; }
.slide.active { display: flex; align-items: center; animation: fade .6s; }
.slide > .container-fzt { width: 100%; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.slider-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.slider-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.slider-dots button.active { background: #fff; width: 28px; border-radius: 6px; }

/* ---------- Kartlar ---------- */
.card-grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
    background: #fff; border: 1px solid var(--fzt-border); border-radius: var(--fzt-radius);
    padding: 30px 26px; transition: .25s; height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--fzt-shadow); border-color: transparent; }
.service-icon {
    width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
    background: rgba(14,124,123,.1); color: var(--fzt-primary); font-size: 1.7rem; margin-bottom: 18px;
}
.service-card h3 { font-size: 1.2rem; margin: 0 0 10px; }
.service-card p { color: var(--fzt-muted); margin: 0 0 16px; font-size: .96rem; }

.doctor-card { background: #fff; border: 1px solid var(--fzt-border); border-radius: var(--fzt-radius); overflow: hidden; transition: .25s; }
.doctor-card:hover { box-shadow: var(--fzt-shadow); transform: translateY(-5px); }
.doctor-photo { aspect-ratio: 4/4.4; background: var(--fzt-bg-soft); overflow: hidden; position: relative; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--fzt-primary); font-size: 4rem; opacity: .35; }
.doctor-body { padding: 20px; text-align: center; }
.doctor-body h3 { font-size: 1.15rem; margin: 0 0 4px; }
.doctor-title { color: var(--fzt-primary); font-weight: 600; font-size: .9rem; }
.doctor-specialty { color: var(--fzt-muted); font-size: .85rem; margin-top: 4px; }

.post-card { background: #fff; border: 1px solid var(--fzt-border); border-radius: var(--fzt-radius); overflow: hidden; transition: .25s; height: 100%; display: flex; flex-direction: column; }
.post-card:hover { box-shadow: var(--fzt-shadow); transform: translateY(-5px); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--fzt-bg-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-thumb .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--fzt-primary); opacity: .3; font-size: 3rem; }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: .76rem; font-weight: 700; color: var(--fzt-primary); text-transform: uppercase; letter-spacing: .06em; }
.post-body h3 { font-size: 1.12rem; margin: 8px 0 10px; }
.post-body h3 a { color: var(--fzt-dark); }
.post-body h3 a:hover { color: var(--fzt-primary); }
.post-meta { color: var(--fzt-muted); font-size: .82rem; margin-top: auto; padding-top: 12px; }

/* ---------- Sayfa başlığı ---------- */
.page-hero { background: var(--fzt-dark); color: #fff; padding: 56px 0; position: relative; }
.page-hero h1 { color: #fff; margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.breadcrumb-fzt { color: #9fb3b8; font-size: .9rem; }
.breadcrumb-fzt a { color: #cfe0e3; }

/* ---------- İçerik (blog/sayfa) ---------- */
.content-prose { font-size: 1.04rem; color: #2b3b42; }
.content-prose h2 { font-size: 1.5rem; margin: 32px 0 14px; }
.content-prose h3 { font-size: 1.22rem; margin: 26px 0 12px; color: var(--fzt-primary-dark); }
.content-prose p { margin: 0 0 16px; }
.content-prose ul, .content-prose ol { margin: 0 0 16px; padding-left: 22px; }
.content-prose li { margin-bottom: 8px; }
.content-prose img { max-width: 100%; height: auto; border-radius: 10px; margin: 16px 0; }
.content-prose blockquote { border-left: 4px solid var(--fzt-primary); padding: 6px 18px; color: var(--fzt-muted); background: var(--fzt-bg-soft); border-radius: 0 8px 8px 0; margin: 0 0 16px; }

.sidebar-box { background: #fff; border: 1px solid var(--fzt-border); border-radius: var(--fzt-radius); padding: 22px; margin-bottom: 24px; }
.sidebar-box h4 { font-size: 1.05rem; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--fzt-bg-soft); }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { margin-bottom: 6px; }
.cat-list a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 8px; color: var(--fzt-dark); }
.cat-list a:hover, .cat-list li.active a { background: var(--fzt-bg-soft); color: var(--fzt-primary); }
.cat-list .count { background: var(--fzt-bg-soft); border-radius: 20px; padding: 1px 10px; font-size: .78rem; color: var(--fzt-muted); }
.recent-item { display: flex; gap: 12px; margin-bottom: 14px; }
.recent-item img, .recent-item .ph { width: 64px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--fzt-bg-soft); display: grid; place-items: center; color: var(--fzt-primary); }
.recent-item a { font-weight: 600; font-size: .92rem; color: var(--fzt-dark); }
.recent-item a:hover { color: var(--fzt-primary); }
.recent-item .d { font-size: .76rem; color: var(--fzt-muted); }

/* ---------- Randevu / Takvim ---------- */
.appt-wrap { background: #fff; border: 1px solid var(--fzt-border); border-radius: var(--fzt-radius); box-shadow: var(--fzt-shadow-sm); overflow: hidden; }
.appt-steps { display: grid; grid-template-columns: 1fr 1fr; }
.appt-side { background: var(--fzt-primary); color: #fff; padding: 36px; }
.appt-side h3 { color: #fff; }
.appt-side ul { list-style: none; padding: 0; margin: 20px 0 0; }
.appt-side li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.appt-side li i { margin-top: 3px; }
.appt-form { padding: 36px; }
.form-label-fzt { font-weight: 600; font-size: .9rem; margin-bottom: 6px; display: block; }
.form-control-fzt {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--fzt-border); border-radius: 10px;
    font-size: .96rem; font-family: inherit; transition: border-color .2s; background: #fff;
}
.form-control-fzt:focus { outline: none; border-color: var(--fzt-primary); box-shadow: 0 0 0 3px rgba(14,124,123,.12); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 10px; margin-top: 6px; }
.slot-btn {
    padding: 10px 6px; border: 1.5px solid var(--fzt-border); background: #fff; border-radius: 9px;
    font-weight: 600; cursor: pointer; transition: .15s; font-size: .9rem; color: var(--fzt-dark);
}
.slot-btn:hover { border-color: var(--fzt-primary); color: var(--fzt-primary); }
.slot-btn.selected { background: var(--fzt-primary); color: #fff; border-color: var(--fzt-primary); }
.slot-empty { color: var(--fzt-muted); padding: 16px 0; grid-column: 1 / -1; }

/* ---------- İstatistik şeridi ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--fzt-primary); }
.stat .lbl { color: var(--fzt-muted); font-weight: 600; }

/* ---------- Yorumlar ---------- */
.testimonial { background: #fff; border: 1px solid var(--fzt-border); border-radius: var(--fzt-radius); padding: 28px; height: 100%; }
.testimonial .stars { color: #f5a623; margin-bottom: 12px; }
.testimonial p { font-style: italic; color: #41535b; }
.testimonial .who { font-weight: 700; margin-top: 14px; }
.testimonial .who small { display: block; color: var(--fzt-muted); font-weight: 500; }

/* ---------- SSS ---------- */
.faq-item { border: 1px solid var(--fzt-border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-q { padding: 18px 22px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q:hover { color: var(--fzt-primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--fzt-muted); }
.faq-a-inner { padding: 0 22px 20px; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-q i { transition: transform .3s; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--fzt-primary), var(--fzt-primary-dark)); color: #fff; border-radius: 20px; padding: 50px; text-align: center; }
.cta-band h2 { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--fzt-dark); color: #aebec3; padding: 64px 0 0; }
.site-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer a { color: #aebec3; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.08); margin-right: 8px; color: #fff; }
.footer-social a:hover { background: var(--fzt-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 22px 0; font-size: .86rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Bildirimler ---------- */
.alert-fzt { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.alert-success { background: #e7f6ec; color: #176a36; border: 1px solid #b6e2c4; }
.alert-error { background: #fdeaea; color: #a32626; border: 1px solid #f3c0c0; }
.field-error { color: #c0392b; font-size: .82rem; margin-top: 5px; }

/* ---------- Sayfalama ---------- */
.pagination-fzt { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination-fzt a, .pagination-fzt span { padding: 9px 15px; border-radius: 9px; border: 1px solid var(--fzt-border); color: var(--fzt-dark); font-weight: 600; }
.pagination-fzt a:hover { border-color: var(--fzt-primary); color: var(--fzt-primary); }
.pagination-fzt .current { background: var(--fzt-primary); color: #fff; border-color: var(--fzt-primary); }

/* ---------- WhatsApp yüzen buton ---------- */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 6px 20px rgba(37,211,102,.5); z-index: 1000; }
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Modal (popup) ---------- */
.fzt-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.fzt-modal.open { display: flex; }
.fzt-modal-backdrop { position: absolute; inset: 0; background: rgba(20,50,58,.55); }
.fzt-modal-card { position: relative; background: #fff; border-radius: 16px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 34px; box-shadow: 0 30px 80px rgba(0,0,0,.3); animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.fzt-modal-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--fzt-bg-soft); border: 0; font-size: 1.4rem; line-height: 1; color: var(--fzt-muted); cursor: pointer; display: grid; place-items: center; }
.fzt-modal-close:hover { background: #e6ebec; color: var(--fzt-dark); }
body.modal-open { overflow: hidden; }

/* ---------- Mobile-first yerleşimler ----------
   Varsayılan: tek sütun (mobil). Geniş ekranda iki sütuna geçer. */
.l-content-sidebar,
.l-sidebar-content,
.l-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}
@media (min-width: 992px) {
    .l-content-sidebar { grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; }
    .l-sidebar-content { grid-template-columns: 340px minmax(0, 1fr); gap: 44px; }
    .l-2col { grid-template-columns: 1fr 1.1fr; gap: 40px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .appt-steps { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .hero { min-height: 460px; }
    .brand img { height: 44px; }
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 280px; background: #fff;
        flex-direction: column; align-items: stretch; padding: 80px 18px 30px; box-shadow: -10px 0 40px rgba(0,0,0,.15);
        transition: right .3s; gap: 2px; overflow-y: auto;
    }
    .main-nav.open { right: 0; }
    .main-nav .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 14px; margin: 0; display: none; }
    .main-nav > li.expanded .submenu { display: block; }
    .nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1015; }
    .nav-backdrop.show { display: block; }
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
    .topbar-info { font-size: .8rem; gap: 12px; }
}
