/* 19. Ulusal Endoüroloji Kongresi – tek stil dosyası */

/* ---- Renkler ve temel değerler (eski Blocksy paleti) ---- */
:root {
	--c-primary: #35355f;      /* lacivert: başlık/buton */
	--c-accent: #269e8b;       /* yeşil: hover */
	--c-text: #3a4f66;
	--c-heading: #192a3d;
	--c-border: #e1e8ed;
	--c-soft: #f2f5f7;
	--c-bg: #fafbfc;
	--c-white: #fff;
	--c-nav: #1f8f7a;          /* menü bandı */
	--g-nav: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
	--g-hero: linear-gradient(-225deg, #473b7b 0%, #3584a7 51%, #30d2be 100%);
	--font: 'Alan Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--container: 1290px;
	--radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font: 400 16px/1.65 var(--font);
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
}
img, iframe, video { max-width: 100%; }
img { height: auto; vertical-align: middle; }
a { color: var(--c-primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4, h5, h6 { color: var(--c-heading); font-weight: 700; line-height: 1.3; margin: 0 0 .6em; }
h1 { font-size: 36px; } h2 { font-size: 28px; } h3 { font-size: 22px; } h4 { font-size: 20px; } h5 { font-size: 17px; } h6 { font-size: 16px; }
p, ul, ol, table, figure { margin: 0 0 1.5em; }
hr { border: 0; border-top: 1px solid var(--c-border); margin: 2.5em auto; width: 100px; }
.center { text-align: center; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; padding: 8px 14px; background: #fff; }

.container { width: min(var(--container), 88vw); margin: 0 auto; }
.container.narrow { width: min(750px, 88vw); }
.container-fluid { padding: 0 2vw; }

/* ---- Buton ---- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 40px; padding: 5px 20px; border: 0; border-radius: 3px;
	background: var(--c-primary); color: #fff !important;
	font: 500 15px/1.3 var(--font); cursor: pointer; text-align: center;
	transition: background .15s;
}
.btn:hover { background: var(--c-accent); }
.btn-outline { background: transparent; color: var(--c-primary) !important; box-shadow: inset 0 0 0 1px var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff !important; }

/* ---- Header ---- */
.header-banner {
	background-size: cover; background-position: 50% 50%; background-color: #fff;
	min-height: 280px; display: flex; align-items: center;
}
.site-logo { display: inline-block; }
.site-logo img { max-height: 175px; width: auto; }
.header-nav { background: var(--g-nav); }
.header-nav .container-fluid { display: flex; justify-content: center; min-height: 44px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.nav a {
	display: flex; align-items: center; height: 100%; min-height: 44px; padding: 0 14px;
	color: var(--c-bg); font-weight: 700; font-size: 12px; line-height: 1.3; text-transform: uppercase;
}
.nav a:hover, .nav .is-active a { color: #fff; background: var(--c-primary); }
.menu-toggle {
	display: none; align-items: center; gap: 8px; margin-left: auto; padding: 0 4px;
	min-height: 44px; border: 0; background: none; color: #fff; font: 600 14px var(--font); cursor: pointer;
}
.menu-toggle svg { width: 18px; height: 14px; fill: currentColor; }

/* Mobil menü (sağdan açılır) */
.offcanvas { position: fixed; inset: 0; z-index: 900; visibility: hidden; }
.offcanvas.is-open { visibility: visible; }
.offcanvas-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .25s; }
.offcanvas.is-open .offcanvas-backdrop { opacity: 1; }
.offcanvas-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(65vw, 500px); min-width: 280px;
	background: rgba(18,21,25,.98); padding: 70px 30px 30px; overflow-y: auto;
	transform: translateX(100%); transition: transform .25s; box-shadow: 0 0 70px rgba(0,0,0,.35);
}
.offcanvas.is-open .offcanvas-panel { transform: none; }
.offcanvas-close { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border: 0; background: none; cursor: pointer; }
.offcanvas-close svg { width: 14px; height: 14px; fill: #fff; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: 8px 0; color: #fff; font-weight: 700; font-size: 20px; line-height: 1.35; }
.mobile-nav a:hover, .mobile-nav .is-active a { color: #80d0c7; }
body.no-scroll { overflow: hidden; }

/* ---- Sayfa başlık bandı + içerik ---- */
.page-hero { background: var(--g-hero); padding: 25px 0; text-align: center; }
.page-hero h1 { color: #fff; font-size: 30px; margin: 0; }
.section { padding: 50px 0; }
.content-box { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: 0 12px 18px -6px rgba(34,56,101,.04); min-width: 0; }
.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 27%; gap: 50px; align-items: start; }
.sidebar .widget-title { font-size: 20px; }
.sidebar p { font-size: 14px; margin-bottom: 1.2em; }
.sidebar p strong { color: var(--c-heading); }

.prose > :last-child { margin-bottom: 0; }
/* Alt sayfalardaki bölüm başlıkları: hepsi <h2>, aynı boyut + altında yeşil çizgi */
.prose > h2 { position: relative; font-size: 22px; color: var(--c-primary); margin: 1.6em 0 .9em; padding-bottom: 10px; }
.prose > h2:first-child { margin-top: 0; }
.prose > h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 2px; background: var(--g-nav); }
.prose > h2.center::after { left: 50%; transform: translateX(-50%); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--c-primary); }

/* Tablolar */
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--c-border); padding: 10px 14px; text-align: left; vertical-align: top; }
.price-table thead th { background: var(--c-primary); color: #fff; text-align: center; font-weight: 600; }
.price-table td:last-child { width: 45%; }
.table-scroll { overflow-x: auto; }
.abstract-table { font-size: 13px !important; line-height: 1.25; }
.abstract-table th { background: #404040; color: #fff; padding: 8px !important; }
.abstract-table td { padding: 8px !important; }
.abstract-table tbody tr:nth-child(even) { background: #ddd; }
.table-filter { width: 100%; max-width: 420px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--c-border); border-radius: 3px; font: inherit; }
.table-filter:focus { outline: none; border-color: var(--c-primary); }

/* ---- Ana sayfa ---- */
/* Video: ekranın tam genişliği, 16:9 (yükseklik sınırı yok, yanlarda boşluk kalmaz) */
.home-video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.home-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.home-invite { background: var(--c-border); }
.home-invite h2 { font-size: 30px; }
.signatures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2em; }
.signatures p { margin: 0; }
.home-dates { background: var(--g-hero); padding: 60px 0 70px; text-align: center; color: #fff; }
.home-dates h2 { font-size: 32px; color: #fff; margin: 0 0 36px; }
.dates-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 16px;
	border-radius: 999px; background: rgba(255,255,255,.15); font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.dates-eyebrow svg { width: 16px; height: 16px; fill: currentColor; }
.dates-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.date-card {
	display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px 22px 28px;
	background: #fff; border-radius: 16px; color: var(--c-heading);
	box-shadow: 0 12px 30px rgba(25,42,61,.18); transition: transform .2s, box-shadow .2s;
}
.date-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(25,42,61,.25); }
.date-icon {
	display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 6px;
	border-radius: 50%; background: var(--g-nav); color: #fff; box-shadow: 0 6px 16px rgba(19,84,122,.3);
}
.date-icon svg { width: 30px; height: 30px; fill: currentColor; }
.date-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--c-text); line-height: 1.4; }
.date-value { font-size: 18px; line-height: 1.35; color: var(--c-primary); }

/* ---- Genel bilgiler kutuları ---- */
.info-boxes { display: grid; gap: 14px; }
.info-box { display: flex; gap: 24px; align-items: flex-start; border: 1px solid #6b5fb5; border-radius: 15px; padding: 20px 26px; }
.info-icon { flex: 0 0 64px; display: flex; justify-content: center; }
.info-icon svg { width: 34px; height: 34px; fill: #2933a6; }
.info-icon img { width: 64px; }
.info-text { flex: 1; min-width: 0; }
.info-text h4 { margin-bottom: .3em; }
.info-text p { margin: 0; font-size: 14px; }
.map { display: block; width: 100%; height: 260px; border: 0; margin-top: 14px; }

/* ---- Kurullar ---- */
.people { display: grid; gap: 30px 20px; margin-bottom: 1em; }
.people-2 { grid-template-columns: repeat(2, 1fr); }
.people-3 { grid-template-columns: repeat(3, 1fr); }
.person-card { text-align: center; }
.person-card img { width: 150px; height: 150px; object-fit: cover; margin-bottom: 14px; }
.person-card h3 { font-size: 16px; margin-bottom: .3em; }
.person-card p { font-size: 14px; margin: 0; }

/* ---- Konuşmacılar ---- */
.speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 30px 20px; }
.speaker-card { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--c-heading); }
.speaker-card-photo img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; margin-bottom: 12px; }
.speaker-card-name { font-weight: 700; }
.speaker-card-org { font-size: 13px; color: var(--c-text); }
.person-photo img { width: 300px; height: 300px; object-fit: cover; display: block; margin-bottom: 24px; }
.person-head { margin-bottom: 2em; }
.person-head h1 { font-size: 28px; margin-bottom: .2em; }
.person-org { font-size: 14px; margin: 0; }

/* ---- İletişim / dokümanlar ---- */
.org-logo { max-width: 300px; }
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: start; }
.downloads figure { margin: 0; }
.downloads img { width: 100%; }

/* ---- Afiş sayfası (canvas) ---- */
.page-19-ulusal-endouroloji-kongresi-2026 { background: #fff; }
.canvas-poster { max-width: 724px; margin: 0 auto; padding: 10px; }
.canvas-poster img { width: 100%; }

/* ---- Footer ---- */
.site-footer { background: var(--c-heading); color: rgba(255,255,255,.75); font-size: 15px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #80d0c7; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1.2fr; gap: 50px; padding-top: 60px; padding-bottom: 50px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; }
.footer-logo img { display: block; width: 300px; max-width: 100%; height: auto; }
.footer-title { position: relative; font-size: 17px; color: #fff; margin: 0 0 22px; padding-bottom: 12px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 2px; background: var(--g-nav); }
.footer-org { margin: 0 0 12px; font-weight: 700; color: #fff; }
.footer-info, .footer-links { list-style: none; margin: 0; padding: 0; }
.footer-info li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; line-height: 1.5; }
.footer-info svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; fill: #80d0c7; }
.footer-links { columns: 2; column-gap: 20px; }
.footer-links li { margin-bottom: 10px; break-inside: avoid; }
.footer-links a::before { content: '›'; margin-right: 8px; color: #80d0c7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 10px 30px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; padding-right: 80px; }
.footer-bottom p { margin: 0; }

.to-top {
	position: fixed; right: 25px; bottom: 25px; z-index: 50; width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center; border-radius: 2px;
	background: var(--c-primary); color: #fff; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--c-accent); color: #fff; }

/* Çerez bildirimi */
.cookie-notice {
	position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 800; max-width: 560px;
	background: #fff; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.18);
	padding: 20px 22px; font-size: 14px;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0 0 14px; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Lightbox */
.lightbox { border: 0; padding: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; background: rgba(0,0,0,.9); }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 60px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox figcaption { color: #ddd; margin-top: 10px; font-size: 14px; }
.lightbox button { position: absolute; border: 0; background: none; color: #fff; cursor: pointer; padding: 10px; }
.lightbox .i { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close { top: 10px; right: 10px; }
.lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next, .lightbox.is-single .lightbox-count { display: none; }
.lightbox-count { position: absolute; top: 18px; left: 20px; color: #ccc; font-size: 14px; }
body.modal-open { overflow: hidden; }

/* ---- Duyarlı ---- */
@media (max-width: 1399px) {
	.nav a { padding: 0 9px; }
}
@media (max-width: 1199px) {
	.nav a { padding: 0 6px; font-size: 11px; }
}
@media (max-width: 999px) {
	.nav { display: none; }
	.menu-toggle { display: flex; }
	.header-banner { min-height: 0; padding: 20px 0; justify-content: center; text-align: center; }
	.header-banner .container { text-align: center; }
	.site-logo img { max-height: 175px; }
	.has-sidebar { grid-template-columns: 1fr; gap: 30px; }
	.people-3 { grid-template-columns: repeat(2, 1fr); }
	.dates-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
	.footer-about { grid-column: 1 / -1; }
}
@media (max-width: 689px) {
	h1 { font-size: 28px; } h2 { font-size: 24px; }
	.page-hero h1 { font-size: 24px; }
	.section { padding: 30px 0; }
	.content-box { padding: 24px 18px; }
	.signatures, .people-2, .people-3, .dates-grid, .downloads, .footer-grid { grid-template-columns: 1fr; }
	.home-dates { padding: 40px 0 50px; }
	.home-dates h2 { font-size: 26px; margin-bottom: 24px; }
	.footer-bottom .container { justify-content: center; text-align: center; padding-right: 0; padding-bottom: 80px; }
	.info-box { padding: 16px; gap: 14px; }
	.info-icon { flex-basis: 44px; }
	.info-icon img { width: 44px; }
	.price-table td:last-child { width: auto; }
	.person-photo img { width: 100%; height: auto; aspect-ratio: 1; }
}
