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

:root {
    --bg: #f0f4f8;
    --bg2: #ffffff;
    --bg3: #e8eef5;
    --accent: #1a5fa8;
    --accent2: #0d9488;
    --accent-light: #e8f1fb;
    --text: #1a2332;
    --text-muted: #5a6a7e;
    --border: rgba(26,95,168,0.15);
    --card-bg: #ffffff;
    --shadow: 0 4px 24px rgba(26,95,168,0.08);
    --shadow-hover: 0 12px 40px rgba(26,95,168,0.16);
    --radius: 16px;
    --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.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(26,95,168,0.1);
    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: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 13px; color: #fff;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(26,95,168,0.3);
}
.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: var(--accent); 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: 72px;
    background: transparent;
}
.hero-photo-col {
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
}
.doctor-photo-wrap {
    width: 280px; height: 320px;
    border-radius: 140px 140px 120px 120px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(26,95,168,0.22);
    border: 4px solid #fff;
    position: relative;
    outline: 2px solid var(--border);
    outline-offset: 6px;
}
.doctor-photo-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 5%;
    transform: scale(1.5);
    transform-origin: center 15%;
    display: block;
}
.hero-content { flex: 1; }
.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: var(--accent); border-radius: 2px;
}
.hero-name {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 900; line-height: 1.1;
    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: 8px;
    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.8;
}
.hero-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 32px;
}
.hero-tags span {
    padding: 6px 14px; border-radius: 6px;
    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: 10px;
    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), #2471c8);
    color: #fff;
    box-shadow: 0 4px 20px rgba(26,95,168,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,95,168,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-full { width: 100%; text-align: center; }
.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: #fff; }
.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: 14px; }
.edu-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px; border-radius: 12px;
    background: var(--bg); 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: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px; text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.stat-card:hover { border-color: var(--accent); 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; }

/* ===== 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: 8px;
    padding: 4px 12px;
    height: fit-content;
    letter-spacing: 0.5px;
}
.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: 4px; 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-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
}
.specialty-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}
.spec-icon { font-size: 42px; 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(--accent2); font-weight: 700; font-size: 12px; }

/* ===== İLETİŞİM ===== */
#iletisim { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info > p { color: var(--text-muted); font-size: 16px; margin-bottom: 28px; line-height: 1.8; }
.contact-items { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px; border-radius: var(--radius);
    background: var(--bg); 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-form {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius); padding: 36px;
    box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.form-group input, .form-group textarea {
    width: 100%; padding: 13px 16px;
    background: #fff;
    border: 1.5px solid var(--border); border-radius: 10px;
    color: var(--text); font-family: inherit; font-size: 15px;
    transition: var(--transition); resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(26,95,168,0.08);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #aab4c0; }
.form-success {
    display: none; margin-top: 16px;
    padding: 16px; border-radius: 10px;
    background: rgba(13,148,136,0.1);
    border: 1px solid rgba(13,148,136,0.3);
    color: #0d9488; font-size: 14px; font-weight: 600;
    text-align: center;
}

/* ===== 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(160deg, #e8f1fb 0%, #f0f9f8 50%, #f0f4f8 100%);
    z-index: -1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    #hero { flex-direction: column; text-align: center; padding-top: 100px; gap: 40px; }
    .hero-greeting { justify-content: center; }
    .hero-desc { margin: 0 auto 24px; }
    .hero-btns { justify-content: center; }
    .hero-tags { justify-content: center; }
    .doctor-photo-wrap { width: 200px; height: 240px; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-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(26,95,168,0.12);
        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; }
    .form-row { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
}
