/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #f5f3ff;
    --bg2: #ffffff;
    --bg3: #ede9fe;
    --accent: #7c3aed;
    --accent2: #0891b2;
    --accent-light: #ede9fe;
    --text: #18181b;
    --text-muted: #71717a;
    --border: rgba(124,58,237,0.13);
    --card-bg: #ffffff;
    --shadow: 0 4px 24px rgba(124,58,237,0.09);
    --shadow-hover: 0 16px 48px rgba(124,58,237,0.18);
    --radius: 20px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ===== NAVBAR ===== */
#navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}
#navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(124,58,237,0.08);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(124,58,237,0.35);
    overflow: hidden;
}
.logo img { width: 28px; height: 28px; }
.nav-links { list-style: none; display: flex; gap: 36px; }
.nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-size: 14px; font-weight: 600;
    transition: color var(--transition); position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 2px;
    transition: width var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 100px 24px 80px;
    max-width: 1100px; margin: 0 auto;
    gap: 80px;
}
.hero-content { flex: 1; order: 1; }
.hero-photo-col {
    flex: 0 0 auto; order: 2;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.hero-photo-col::before {
    content: '';
    position: absolute;
    width: 540px; height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, rgba(8,145,178,0.06) 60%, transparent 80%);
    z-index: 0;
}
.doctor-photo-wrap {
    width: 420px; height: 480px;
    border-radius: 220px 220px 200px 200px;
    overflow: hidden;
    box-shadow: 0 24px 72px rgba(124,58,237,0.22), 0 0 0 6px rgba(124,58,237,0.08);
    border: 4px solid #fff;
    position: relative; z-index: 1;
    background: linear-gradient(135deg, #ede9fe 0%, #e0f2fe 100%);
}
.doctor-photo-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
}
.hero-greeting {
    font-size: 12px; color: var(--accent); font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
}
.hero-greeting::before {
    content: ''; display: inline-block;
    width: 28px; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 2px;
}
.hero-name {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 900; line-height: 1.08;
    margin-bottom: 14px; color: var(--text);
}
.hero-name span {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-title-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 8px 20px; border-radius: 30px;
    font-size: 13px; font-weight: 700;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}
.hero-desc {
    font-size: 16px; color: var(--text-muted);
    max-width: 480px; margin-bottom: 24px;
    line-height: 1.85;
}
.hero-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 32px;
}
.hero-tags span {
    padding: 6px 16px; border-radius: 30px;
    font-size: 13px; font-weight: 600;
    background: #fff; color: var(--text-muted);
    border: 1px solid var(--border);
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
    padding: 14px 30px; border-radius: 12px;
    font-size: 15px; font-weight: 700;
    text-decoration: none; display: inline-block;
    transition: var(--transition); cursor: pointer; border: none;
    font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #9333ea);
    color: #fff;
    box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(124,58,237,0.45); }
.btn-outline {
    background: transparent; color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-lg { padding: 18px 52px; font-size: 17px; border-radius: 14px; }
.mt-20 { margin-top: 24px; }

/* ===== SECTIONS ===== */
section { padding: 100px 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block;
    background: var(--accent-light); color: var(--accent);
    padding: 6px 20px; border-radius: 30px;
    font-size: 12px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 16px;
    border: 1px solid var(--border);
}
.section-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800; color: var(--text);
}
.section-header h2 span {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== HAKKIMDA ===== */
#hakkimda { background: var(--bg3); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }

.edu-list { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.edu-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px; border-radius: 14px;
    background: #fff; border: 1px solid var(--border);
}
.edu-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    flex-shrink: 0; margin-top: 6px;
}
.edu-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.edu-item span { font-size: 13px; color: var(--text-muted); }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(135deg, var(--accent), var(--accent2)) border-box;
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 28px; text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
}
.stat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.stat-number {
    display: block;
    font-size: 44px; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-top: 8px; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== YAYINLAR ===== */
#yayinlar { background: #fff; }
.section-sub { color: var(--text-muted); font-size: 15px; margin-top: 8px; }
.publications-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.pub-card {
    display: flex; align-items: flex-start; gap: 24px;
    padding: 24px 28px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.pub-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateX(4px); }
.pub-year {
    flex-shrink: 0;
    font-size: 13px; font-weight: 800;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px 12px;
    height: fit-content;
}
.pub-body h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.5; }
.pub-journal { font-size: 13px; color: var(--accent2); font-weight: 600; font-style: italic; margin-top: 4px; }
.pub-type {
    display: inline-block; font-size: 11px; font-weight: 700;
    letter-spacing: 0.8px; text-transform: uppercase;
    padding: 2px 10px; border-radius: 6px; margin-bottom: 6px;
    background: var(--accent-light); color: var(--accent);
    border: 1px solid var(--border);
}
.pub-type-chapter { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.pub-type-book { background: #fefce8; color: #854d0e; border-color: #fde68a; }
.pub-type-conf { background: #fdf4ff; color: #7e22ce; border-color: #e9d5ff; }
.pub-footer { text-align: center; }

/* ===== UZMANLIK ===== */
#uzmanlik { background: var(--bg); }
.specialties-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.specialty-card {
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
}
.specialty-card:hover {
    transform: translateY(-6px);
    border-left-color: var(--accent2);
    box-shadow: var(--shadow-hover);
}
.spec-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.specialty-card h3 {
    font-size: 18px; font-weight: 800;
    color: var(--text); margin-bottom: 10px;
}
.specialty-card > p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
.spec-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.spec-list li {
    font-size: 13px; color: var(--text); font-weight: 500;
    padding: 6px 12px; border-radius: 8px;
    background: var(--accent-light);
    display: flex; align-items: center; gap: 8px;
}
.spec-list li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: 12px; }

/* ===== İLETİŞİM ===== */
#iletisim { background: var(--bg3); }
#iletisim .section-header p {
    color: var(--text-muted); font-size: 16px;
    max-width: 520px; margin: 12px auto 0; line-height: 1.8;
}
.contact-cards-row {
    display: flex; flex-wrap: wrap; gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}
.contact-cards-row .contact-item {
    flex: 1; min-width: 240px; max-width: 340px;
}
.contact-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px; border-radius: var(--radius);
    background: #fff; border: 1.5px solid var(--border);
    transition: var(--transition);
}
.contact-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.contact-icon { font-size: 24px; flex-shrink: 0; }
.contact-item strong { font-size: 13px; font-weight: 700; color: var(--text); display: block; margin-bottom: 3px; }
.contact-item p { font-size: 14px; color: var(--text-muted); margin: 0; }
.contact-link { font-size: 14px; color: var(--accent); text-decoration: none; font-weight: 500; }
.contact-link:hover { text-decoration: underline; }
.contact-cta { text-align: center; margin-top: 20px; }

/* ===== FOOTER ===== */
footer { background: var(--text); padding: 32px 0; }
.footer-inner {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; text-align: center;
}
footer p { font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-note { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ===== HERO BACKGROUND ===== */
body::before {
    content: '';
    position: fixed; top: 0; left: 0; right: 0; height: 100vh;
    background: linear-gradient(150deg, #f5f3ff 0%, #e0f2fe 55%, #f5f3ff 100%);
    z-index: -1;
}

/* ===== LANG TOGGLE ===== */
.lang-toggle {
    display: inline-flex;
    background: rgba(124,58,237,0.07);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--border);
}
.lang-btn {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-muted);
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.lang-btn.active {
    background: var(--accent);
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    #hero { flex-direction: column; text-align: center; padding-top: 100px; gap: 40px; }
    .hero-content { order: 2; }
    .hero-photo-col { order: 1; }
    .hero-greeting { justify-content: center; }
    .hero-desc { margin: 0 auto 24px; }
    .hero-btns { justify-content: center; }
    .hero-tags { justify-content: center; }
    .hero-photo-col::before { width: 340px; height: 340px; }
    .doctor-photo-wrap { width: 280px; height: 330px; }
    .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 80px 24px 32px;
        gap: 0;
        box-shadow: 0 8px 32px rgba(124,58,237,0.1);
        z-index: 999;
        border-bottom: 2px solid var(--border);
    }
    .nav-links.mobile-open { display: flex; }
    .nav-links li { border-bottom: 1px solid var(--border); }
    .nav-links a { display: block; padding: 16px 0; font-size: 16px; color: var(--text); }
    .nav-links a::after { display: none; }
    .hamburger { display: flex; }
    .specialties-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .btn-lg { padding: 16px 32px; font-size: 15px; }
    .contact-cards-row .contact-item { min-width: 100%; }
}
