/* Dr.Yusuf ERKUL — Karanlık Edebi Kişisel Web Sitesi */
:root {
  --bg-deep: #090706; --bg-surface: #110d0a; --bg-elevated: #18120e; --bg-card: rgba(24, 18, 14, 0.78);
  --text-primary: #f2eadf; --text-secondary: #d6c8b6; --text-muted: #9e8d7a;
  --accent: #c9935b; --accent-dim: #8f5d32;
  --border-subtle: rgba(201, 147, 91, 0.18); --border-strong: rgba(201, 147, 91, 0.42);
  --font-display: 'Cormorant Garamond', Georgia, serif; --font-body: 'EB Garamond', Georgia, serif;
  --header-height: 82px; --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: var(--bg-deep); color: var(--text-primary); font-family: var(--font-body); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; background-color: var(--bg-deep); color: var(--text-primary); display: flex; flex-direction: column; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; color: inherit; }
.hidden { display: none !important; }

.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); z-index: 100; background: linear-gradient(180deg, rgba(9, 7, 6, 0.92) 0%, rgba(9, 7, 6, 0.55) 75%, rgba(9, 7, 6, 0) 100%); transition: background-color var(--transition), border-color var(--transition); }
.site-header.scrolled { background: rgba(9, 7, 6, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-subtle); }
.header-inner { max-width: 1320px; height: 100%; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; flex-direction: column; gap: 6px; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; letter-spacing: 0.02em; color: var(--text-primary); }
.brand-underline { width: 34px; height: 1.5px; background: var(--accent); transition: width var(--transition); }
.brand:hover .brand-underline { width: 58px; }
.desktop-nav { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.nav-link { font-family: var(--font-display); font-size: 1.08rem; letter-spacing: 0.03em; color: var(--text-secondary); position: relative; padding: 4px 0; transition: color var(--transition); }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent); transition: width var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link.active::after, .nav-link:hover::after { width: 100%; }

.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; background: transparent; border: 1px solid var(--border-subtle); border-radius: 4px; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 1.5px; background: var(--text-primary); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(4px); z-index: 150; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(300px, 82vw); background: var(--bg-surface); border-left: 1px solid var(--border-subtle); z-index: 160; padding: 1.75rem; transform: translateX(100%); transition: transform var(--transition); display: flex; flex-direction: column; }
.mobile-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border-subtle); }
.drawer-brand { font-family: var(--font-display); font-size: 1.25rem; }
.drawer-close { background: none; border: none; font-size: 1.8rem; color: var(--text-secondary); cursor: pointer; line-height: 1; }
.drawer-nav { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.drawer-link { font-family: var(--font-display); font-size: 1.35rem; color: var(--text-secondary); transition: color 0.2s ease, padding-left 0.2s ease; }
.drawer-link:hover, .drawer-link.active { color: var(--accent); padding-left: 6px; }

main { flex: 1; }
.view { display: none; animation: viewFadeIn 0.45s ease; }
.view.active { display: block; }
@keyframes viewFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.hero-stage { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-height) + 2.5rem) clamp(1.5rem, 5vw, 4.5rem) 4rem; overflow: hidden; background-color: var(--bg-deep); }
.hero-grid { width: 100%; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); position: relative; z-index: 3; }
.hero-content { max-width: 580px; }
.hero-photo-wrap { display: flex; justify-content: center; align-items: center; }
.hero-photo { display: block; width: auto; max-width: 100%; height: auto; max-height: 540px; object-fit: contain; border-radius: 12px; border: 1px solid rgba(201, 147, 91, 0.28); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72); }
.hero-quote-block { display: flex; flex-direction: column; gap: 1.1rem; }
.hero-lead { font-family: var(--font-display); font-size: clamp(1.9rem, 3.1vw, 2.65rem); font-weight: 400; font-style: italic; line-height: 1.24; color: var(--text-primary); margin-bottom: 0.35rem; }
.hero-lead strong { font-weight: 600; color: #fff8ee; }
.hero-paragraph { font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.68; color: var(--text-secondary); }
.hero-paragraph strong { color: var(--text-primary); font-weight: 600; }
.hero-signature { margin-top: 1.6rem; margin-bottom: 1.4rem; }
.sig-path { stroke-dasharray: 620; stroke-dashoffset: 620; animation: drawSignature 2.4s cubic-bezier(0.35, 0, 0.25, 1) 0.25s forwards; }
@keyframes drawSignature { to { stroke-dashoffset: 0; } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; font-family: var(--font-display); font-size: 1.08rem; }
.hero-primary-link { color: var(--accent); border-bottom: 1px solid var(--border-strong); padding-bottom: 2px; transition: color var(--transition), border-color var(--transition); }
.hero-primary-link:hover { color: var(--text-primary); border-color: var(--text-primary); }
.hero-secondary-link { color: var(--text-muted); transition: color var(--transition); }
.hero-secondary-link:hover { color: var(--text-primary); }
.hero-sep { color: var(--accent-dim); }

.page-container { max-width: 980px; margin: 0 auto; padding: calc(var(--header-height) + 3.5rem) clamp(1.25rem, 4vw, 2.5rem) 5rem; }
.page-header { margin-bottom: 2.75rem; border-bottom: 1px solid var(--border-subtle); padding-bottom: 1.75rem; }
.page-eyebrow { font-family: var(--font-display); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 0.4rem; }
.page-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 500; line-height: 1.15; color: var(--text-primary); }
.page-subtitle { margin-top: 0.75rem; max-width: 680px; color: var(--text-secondary); font-size: 1.08rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 2.2rem; }
.filter-btn { background: transparent; border: 1px solid var(--border-subtle); color: var(--text-secondary); padding: 0.42rem 1.05rem; border-radius: 999px; font-family: var(--font-display); font-size: 1rem; cursor: pointer; transition: all 0.25s ease; }
.filter-btn:hover { border-color: var(--accent); color: var(--text-primary); }
.filter-btn.active { background: rgba(201, 147, 91, 0.14); border-color: var(--accent); color: var(--accent); }
.works-list { display: flex; flex-direction: column; gap: 1.25rem; }
.work-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 6px; padding: 1.65rem 1.85rem; cursor: pointer; transition: border-color var(--transition), transform var(--transition), background-color var(--transition); }
.work-card:hover { border-color: var(--border-strong); transform: translateY(-2px); background: rgba(30, 22, 17, 0.9); }
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.55rem; }
.work-badge { color: var(--accent); border: 1px solid var(--border-subtle); padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.82rem; }
.work-card-title { font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; color: var(--text-primary); margin-bottom: 0.5rem; line-height: 1.25; }
.work-card-excerpt { color: var(--text-secondary); font-size: 1.02rem; }
.work-read-more { display: inline-block; margin-top: 0.9rem; font-family: var(--font-display); color: var(--accent); font-size: 1rem; }

.work-reader { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 8px; padding: clamp(1.75rem, 5vw, 3.5rem); }
.reader-back { background: none; border: none; color: var(--accent); font-family: var(--font-display); font-size: 1.05rem; cursor: pointer; margin-bottom: 1.75rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.reader-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.8vw, 2.75rem); font-weight: 500; line-height: 1.2; margin-bottom: 0.75rem; }
.reader-cover-img { display: block; width: auto; max-width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: 8px; margin: 1.25rem auto 0; border: 1px solid var(--border-subtle); }
.reader-body { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 1.12rem; color: var(--text-secondary); }
.drop-cap::first-letter { font-family: var(--font-display); float: left; font-size: 3.8rem; line-height: 0.84; padding-right: 0.6rem; padding-top: 0.2rem; color: var(--accent); font-weight: 600; }
.reader-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.reader-nav-btn { background: transparent; border: 1px solid var(--border-subtle); color: var(--text-secondary); padding: 0.55rem 1.1rem; border-radius: 4px; cursor: pointer; transition: all 0.25s ease; }
.reader-nav-btn:hover { border-color: var(--accent); color: var(--text-primary); }

.trainings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.training-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 6px; padding: 1.65rem; display: flex; flex-direction: column; gap: 0.9rem; }
.training-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.training-tag { font-size: 0.8rem; color: var(--accent); background: rgba(201, 147, 91, 0.1); border: 1px solid var(--border-subtle); padding: 0.15rem 0.6rem; border-radius: 999px; }
.training-title { font-family: var(--font-display); font-size: 1.48rem; font-weight: 500; line-height: 1.25; }
.training-desc { color: var(--text-secondary); font-size: 0.98rem; }
.syllabus-toggle { background: none; border: none; color: var(--accent); font-family: var(--font-display); font-size: 1rem; text-align: left; cursor: pointer; padding: 0.25rem 0; }
.syllabus-list { list-style: none; padding-left: 0.9rem; border-left: 1px solid var(--border-strong); display: none; flex-direction: column; gap: 0.45rem; font-size: 0.94rem; color: var(--text-secondary); }
.syllabus-list.open { display: flex; }
.training-cta { margin-top: auto; padding-top: 0.6rem; }

.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }
.book-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 6px; padding: 1.6rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; }
.book-cover { width: 158px; height: 226px; border-radius: 2px 6px 6px 2px; padding: 1.25rem 1rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; box-shadow: -6px 8px 20px rgba(0, 0, 0, 0.65), inset 10px 0 18px rgba(0, 0, 0, 0.35); border: 1px solid rgba(201, 147, 91, 0.35); transition: transform var(--transition); overflow: hidden; }
.book-cover-img-wrap { width: auto; height: auto; max-width: 190px; max-height: 260px; padding: 0; }
.book-cover-img-wrap img { width: auto; height: auto; max-width: 100%; max-height: 258px; object-fit: contain; display: block; }
.book-card:hover .book-cover { transform: translateY(-4px) rotateY(-6deg); }
.book-cover-author { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.book-cover-title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; line-height: 1.25; color: var(--text-primary); }
.book-cover-ornament { width: 36px; height: 1px; background: var(--accent); margin: 0 auto; }
.book-info-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.book-info-meta { font-size: 0.88rem; color: var(--text-muted); }

.custom-page-banner { margin-bottom: 2rem; display: flex; justify-content: center; }
.custom-page-banner img { display: block; width: auto; max-width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: 10px; border: 1px solid var(--border-subtle); }
.custom-page-body { display: flex; flex-direction: column; gap: 1.25rem; font-size: 1.12rem; color: var(--text-secondary); margin-bottom: 2.5rem; }
.custom-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.custom-item-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 1.4rem; display: flex; flex-direction: column; gap: 0.65rem; }
.custom-item-img { display: block; width: auto; max-width: 100%; height: auto; max-height: 360px; object-fit: contain; border-radius: 6px; margin: 0 auto 0.35rem; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(5, 4, 3, 0.84); backdrop-filter: blur(6px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-card { position: relative; max-width: 600px; width: 100%; background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: 8px; padding: 2.25rem; }
.modal-close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: none; font-size: 1.8rem; color: var(--text-muted); cursor: pointer; }
.modal-eyebrow { font-size: 0.86rem; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.35rem; }
.modal-title { font-family: var(--font-display); font-size: 1.85rem; margin-bottom: 1.25rem; }
.modal-quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--text-primary); border-left: 2px solid var(--accent); padding-left: 1.1rem; margin-bottom: 1.25rem; }
.modal-summary { color: var(--text-secondary); font-size: 1rem; }

.bio-intro { max-width: 720px; margin-bottom: 3rem; font-size: 1.22rem; color: var(--text-primary); }
.timeline-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.8rem; }
.timeline-heading { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--accent); margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-subtle); }
.timeline-list { list-style: none; border-left: 1px solid var(--border-subtle); padding-left: 1.4rem; display: flex; flex-direction: column; gap: 1.35rem; }
.timeline-item { position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -1.72rem; top: 0.45rem; width: 9px; height: 9px; border-radius: 50%; background: var(--bg-deep); border: 1.5px solid var(--accent); }
.timeline-item.current::before { background: var(--accent); box-shadow: 0 0 10px rgba(201, 147, 91, 0.7); }
.timeline-year { display: inline-block; font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 0.15rem; }
.timeline-item p { color: var(--text-secondary); font-size: 1.02rem; }
.section-divider { border: none; border-top: 1px solid var(--border-subtle); margin: 4rem 0 3.2rem; }
.contact-section { display: grid; grid-template-columns: 1fr 1.35fr; gap: 2.5rem; align-items: start; }
.contact-title { font-family: var(--font-display); font-size: 2rem; font-weight: 500; margin-bottom: 0.65rem; }
.contact-desc { color: var(--text-secondary); }
.contact-form { display: flex; flex-direction: column; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.92rem; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 4px; padding: 0.7rem 0.9rem; font-size: 1rem; color: var(--text-primary); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.btn-primary, .btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 0.65rem 1.45rem; border-radius: 4px; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.03em; cursor: pointer; transition: all 0.25s ease; }
.btn-primary { background: var(--accent); color: #120d0a; border: 1px solid var(--accent); font-weight: 600; align-self: flex-start; }
.btn-primary:hover { background: #d8a670; }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--border-strong); }
.btn-outline:hover { background: rgba(201, 147, 91, 0.14); color: var(--text-primary); }
.form-feedback { font-size: 0.96rem; color: var(--accent); min-height: 1.4rem; }

.site-footer { border-top: 1px solid var(--border-subtle); padding: 1.6rem clamp(1.5rem, 4vw, 3.5rem); background: var(--bg-deep); }
.footer-inner { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 0.75rem; font-family: var(--font-display); font-size: 0.98rem; color: var(--text-muted); }
.footer-dot { color: var(--accent-dim); }

@media (max-width: 900px) { .hero-grid, .timeline-grid, .contact-section { grid-template-columns: 1fr; } .hero-grid { gap: 2.5rem; } .hero-photo { max-height: 440px; } }
@media (max-width: 720px) { .desktop-nav { display: none; } .menu-toggle { display: flex; } .form-row { grid-template-columns: 1fr; } .hero-stage { padding-top: calc(var(--header-height) + 1.75rem); } }
