/* ================================================
   KAAN DENT – Frontend CSS  (UTF-8)
   ================================================ */

:root {
    --primary:   #2563eb;
    --primary-d: #1d4ed8;
    --primary-l: #eff6ff;
    --accent:    #06b6d4;
    --success:   #16a34a;
    --text:      #1e293b;
    --muted:     #64748b;
    --border:    #e2e8f0;
    --bg-soft:   #f8fafc;
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    color: var(--text);
    line-height: 1.7;
}

/* ── Topbar ── */
.topbar { background: var(--primary); color: rgba(255,255,255,.9); font-size: .78rem; }
.topbar-link { color: rgba(255,255,255,.85); text-decoration: none; transition: color .15s; }
.topbar-link:hover { color: #fff; }

/* ── Navbar ── */
.navbar-brand {
    display: flex; align-items: center; gap: .5rem;
    font-weight: 700; font-size: 1.15rem;
    color: var(--primary) !important; text-decoration: none;
}
.brand-icon {
    width: 38px; height: 38px;
    background: var(--primary); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.nav-link { color: var(--text) !important; font-weight: 500; padding: .5rem .75rem !important; transition: color .15s; }
.nav-link:hover { color: var(--primary) !important; }

/* ──────────────────────────────────────────────
   HERO SECTION
────────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 50%, #f0fdf4 100%);
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}

/* Yüzen şekiller */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
    position: absolute; border-radius: 50%;
    background: rgba(37,99,235,.07);
    animation: floatShape 8s ease-in-out infinite;
}
.shape-1 { width: 350px; height: 350px; top: -80px; right: -60px; animation-delay: 0s; }
.shape-2 { width: 220px; height: 220px; bottom: 80px; left: -40px; animation-delay: 2s; background: rgba(6,182,212,.07); }
.shape-3 { width: 160px; height: 160px; top: 40%; left: 40%; animation-delay: 4s; background: rgba(22,163,74,.06); }

@keyframes floatShape {
    0%,100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-20px) scale(1.05); }
}

.hero-inner { position: relative; z-index: 2; padding: 5rem 0 3rem; }

.hero-content { }
.hero-badge {
    display: inline-block;
    background: rgba(37,99,235,.1);
    color: var(--primary);
    border: 1px solid rgba(37,99,235,.2);
    border-radius: 999px;
    padding: .35rem 1rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle { font-size: 1rem; color: var(--muted); margin-bottom: 2rem; max-width: 480px; }

/* Butonlar */
.btn-hero-primary {
    background: var(--primary); color: #fff;
    border: 2px solid var(--primary);
    border-radius: 50px; padding: .75rem 2rem;
    font-weight: 600; font-size: .9rem;
    text-decoration: none; display: inline-flex; align-items: center;
    transition: all .25s; box-shadow: 0 4px 20px rgba(37,99,235,.35);
}
.btn-hero-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,.45); color: #fff; }

.btn-hero-outline {
    background: transparent; color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px; padding: .75rem 2rem;
    font-weight: 600; font-size: .9rem;
    text-decoration: none; display: inline-flex; align-items: center;
    transition: all .25s;
}
.btn-hero-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* Hero grafik sağ taraf */
.hero-graphic {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 340px;
}
.hero-icon-wrap {
    position: relative; z-index: 2;
    width: 180px; height: 180px;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 20px 60px rgba(37,99,235,.2);
}
.hero-main-icon {
    font-size: 4.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-pulse-ring {
    position: absolute; border-radius: 50%;
    border: 2px solid rgba(37,99,235,.25);
    animation: pulse-ring 3s ease-out infinite;
}
.ring-1 { width: 220px; height: 220px; animation-delay: 0s; }
.ring-2 { width: 280px; height: 280px; animation-delay: .8s; }
.ring-3 { width: 340px; height: 340px; animation-delay: 1.6s; }
@keyframes pulse-ring {
    0%   { transform: scale(.85); opacity: .7; }
    100% { transform: scale(1.1); opacity: 0; }
}

/* Yüzen kartlar */
.hero-card-float {
    position: absolute;
    background: #fff;
    border-radius: .75rem;
    padding: .65rem 1.1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    font-size: .82rem;
    font-weight: 600;
    display: flex; align-items: center;
    animation: floatCard 4s ease-in-out infinite;
    z-index: 3;
}
.hero-card-1 { top: 30px; right: 10px; animation-delay: 0s; }
.hero-card-2 { bottom: 60px; left: 0; animation-delay: 1.5s; }
@keyframes floatCard {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* İstatistik şeridi */
.hero-stats-bar {
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,.06);
    padding: 1.5rem 0;
    margin-top: 2rem;
}
.hstat { padding: 0 1rem; }
.hstat.border-x { border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.hstat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-block;
    line-height: 1;
}
.hstat-plus { display: inline-block; font-size: 1.4rem; font-weight: 800; color: var(--primary); vertical-align: top; line-height: 1.2; }
.hstat-label { font-size: .78rem; color: var(--muted); margin-top: .25rem; font-weight: 500; }

/* ──────────────────────────────────────────────
   SECTIONS
────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.bg-light-soft { background: var(--bg-soft); }

.section-head { margin-bottom: 1rem; }
.sec-badge {
    display: inline-block;
    background: var(--primary-l);
    color: var(--primary);
    border-radius: 999px;
    padding: .3rem .9rem;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
.sec-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--text); margin-bottom: .5rem; }
.sec-sub   { color: var(--muted); font-size: .95rem; }

/* ──────────────────────────────────────────────
   HİZMET KARTLARI
────────────────────────────────────────────── */
.svc-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    overflow: hidden;
}
.svc-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform .3s;
    transform-origin: left;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(37,99,235,.12); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
    width: 58px; height: 58px;
    background: var(--primary-l);
    color: var(--primary);
    border-radius: .75rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: background .25s, color .25s;
}
.svc-card:hover .svc-icon { background: var(--primary); color: #fff; }
.svc-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.svc-desc  { color: var(--muted); font-size: .85rem; margin-bottom: 1rem; }
.svc-link  { color: var(--primary); font-size: .83rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; transition: gap .2s; }
.svc-link:hover { gap: .6rem; color: var(--primary-d); }

/* ──────────────────────────────────────────────
   NEDEN BİZ
────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .5rem; }
.why-item {
    display: flex; align-items: center; gap: .65rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: .6rem;
    padding: .65rem .9rem;
    font-size: .85rem; font-weight: 500;
    transition: background .2s, border-color .2s;
}
.why-item:hover { background: var(--primary-l); border-color: rgba(37,99,235,.2); }
.why-item i { font-size: 1.1rem; flex-shrink: 0; }

/* About visual */
.about-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 320px;
}
.about-icon-main {
    width: 200px; height: 200px;
    background: linear-gradient(135deg, var(--primary-l), #e0f2fe);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--primary);
    animation: morphShape 6s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(37,99,235,.15);
}
@keyframes morphShape {
    0%,100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50%      { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}
.about-badge {
    position: absolute;
    background: #fff;
    border-radius: .75rem;
    padding: .7rem 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    display: flex; align-items: center; gap: .65rem;
    font-size: .82rem;
}
.ab-1 { bottom: 20px; left: -10px; }
.ab-2 { top: 20px; right: 0; }
.about-badge i { font-size: 1.4rem; }
.ab-val { font-weight: 800; font-size: 1rem; color: var(--text); }
.ab-lbl { font-size: .72rem; color: var(--muted); }

/* ──────────────────────────────────────────────
   KLİNİK KARTLARI
────────────────────────────────────────────── */
.clinic-feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}
.clinic-feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(37,99,235,.1); }
.cfc-icon {
    width: 70px; height: 70px;
    background: var(--primary-l);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.25rem;
}
.cfc-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.cfc-desc  { color: var(--muted); font-size: .85rem; margin-bottom: .5rem; }
.cfc-addr  { font-size: .83rem; color: var(--muted); }

/* ──────────────────────────────────────────────
   EKİP KARTLARI
────────────────────────────────────────────── */
.team-member-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem 1.25rem 1.5rem;
    transition: transform .25s, box-shadow .25s;
}
.team-member-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.tmc-photo-wrap { margin-bottom: 1.25rem; }
.tmc-photo {
    width: 110px; height: 110px;
    border-radius: 50%; object-fit: cover;
    border: 4px solid var(--primary-l);
    margin: 0 auto; display: block;
    transition: border-color .25s;
}
.team-member-card:hover .tmc-photo { border-color: var(--primary); }
.tmc-placeholder {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--primary-l);
    color: var(--primary);
    font-size: 2.8rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
}
.tmc-name  { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.tmc-title { font-size: .83rem; font-weight: 600; color: var(--primary); margin-bottom: .2rem; }
.tmc-spec  { font-size: .78rem; color: var(--muted); }

/* ──────────────────────────────────────────────
   SÜREÇ ADIMLARI
────────────────────────────────────────────── */
.step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem 1.25rem;
    transition: transform .25s, box-shadow .25s;
    position: relative;
}
.step-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(37,99,235,.1); }
.step-num {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff;
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700;
}
.step-icon { font-size: 2.2rem; color: var(--primary); margin: .75rem 0 1rem; }
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step-desc  { font-size: .82rem; color: var(--muted); }
.step-arrow {
    position: absolute;
    right: -18px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem; color: var(--primary);
    z-index: 1;
}

/* ──────────────────────────────────────────────
   CTA SECTION
────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 50%, var(--accent) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.cta-particles { position: absolute; inset: 0; pointer-events: none; }
.cta-p {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.06);
    animation: floatShape 7s ease-in-out infinite;
}
.p1 { width: 280px; height: 280px; top: -80px; left: -50px; }
.p2 { width: 200px; height: 200px; bottom: -60px; right: 80px; animation-delay: 2s; }
.p3 { width: 120px; height: 120px; top: 30%; right: 20%; animation-delay: 4s; }
.cta-inner { position: relative; z-index: 2; }
.cta-icon { font-size: 3rem; color: rgba(255,255,255,.8); display: block; }
.cta-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: #fff; margin-bottom: .75rem; }
.cta-sub   { color: rgba(255,255,255,.8); font-size: 1rem; }
.btn-cta {
    background: #fff; color: var(--primary);
    border: none; border-radius: 50px;
    padding: .85rem 2.5rem; font-weight: 700; font-size: .95rem;
    display: inline-flex; align-items: center;
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.25); color: var(--primary-d); }

/* ──────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────── */
.footer-main    { background: #0f172a; color: #94a3b8; padding: 4rem 0 2rem; }
.footer-bottom  { background: #020617; color: #475569; font-size: .75rem; padding: 1rem 0; }
.footer-brand   { color: #fff; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; }
.footer-text    { font-size: .83rem; line-height: 1.7; }
.footer-heading { color: #e2e8f0; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.footer-links   { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .3rem; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: .83rem; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; font-size: .83rem; }
.footer-contact li { display: flex; gap: .5rem; margin-bottom: .5rem; align-items: flex-start; }
.footer-contact a { color: #94a3b8; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-contact i { margin-top: .15rem; flex-shrink: 0; }
.social-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    color: #cbd5e1; border-radius: .4rem;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 1rem;
    transition: background .15s, color .15s;
}
.social-btn:hover { background: var(--primary); color: #fff; }

/* ── WhatsApp FAB ── */
.whatsapp-fab {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    width: 56px; height: 56px;
    background: #25d366; color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; text-decoration: none;
    box-shadow: 0 6px 20px rgba(37,211,102,.45);
    z-index: 999;
    animation: waBounce 2.5s ease-in-out infinite;
}
.whatsapp-fab:hover { color: #fff; transform: scale(1.12); }
@keyframes waBounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}

/* ── Utilities ── */
.btn-primary { background: var(--primary); border-color: var(--primary); border-radius: 50px; font-weight: 600; }
.btn-primary:hover { background: var(--primary-d); border-color: var(--primary-d); }
.btn-outline-primary { border-radius: 50px; font-weight: 600; }

/* ──────────────────────────────────────────────
   DİĞER SAYFALAR (klinikler, hizmetler, vb.)
────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    padding: 4rem 0 3rem;
}
.page-hero h1 { font-weight: 800; color: var(--text); }

.card { border: 1px solid var(--border); border-radius: .75rem; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.card-img-top { border-radius: .75rem .75rem 0 0; object-fit: cover; height: 220px; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .hero-graphic { min-height: 260px; }
    .ring-2, .ring-3 { display: none; }
    .hero-inner { padding: 3.5rem 0 2rem; }
    .step-arrow { display: none !important; }
}
@media (max-width: 767.98px) {
    .section { padding: 3.5rem 0; }
    .hero-title { font-size: 2rem; }
    .why-grid { grid-template-columns: 1fr; }
    .hero-card-float { display: none; }
    .about-badge { display: none; }
}
