/* XI. Ulusal Limnoloji Sempozyumu — Sempozyum Programı kart stilleri
   program.php ve index.php (duyuru pop-up'ı) tarafından ortak kullanılır. */

.page-hero {
    background: linear-gradient(135deg, rgba(26,54,93,0.95) 0%, rgba(44,82,130,0.95) 100%), url('../images/banner.png') center/cover;
    padding: 100px 0 50px; text-align: center; color: #fff; position: relative;
}
.page-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.page-hero .subtitle { font-size: 20px; opacity: 0.95; margin-bottom: 18px; }
.page-hero .date-badge { display: inline-block; background: rgba(255,255,255,0.2); padding: 10px 26px; border-radius: 50px; font-size: 16px; font-weight: 600; backdrop-filter: blur(10px); margin: 4px; }
.back-home { position: absolute; top: 30px; left: 30px; color: #fff; text-decoration: none; font-size: 16px; padding: 12px 25px; border: 2px solid rgba(255,255,255,0.5); border-radius: 50px; transition: all 0.3s ease; backdrop-filter: blur(10px); background: rgba(255,255,255,0.1); }
.back-home:hover { background: #fff; color: #1a365d; text-decoration: none; border-color: #fff; }
.download-doc { position: absolute; top: 30px; right: 30px; color: #fff; text-decoration: none; font-size: 14px; padding: 12px 22px; border: 2px solid rgba(255,255,255,0.5); border-radius: 50px; transition: all 0.3s ease; backdrop-filter: blur(10px); background: rgba(255,255,255,0.1); }
.download-doc:hover { background: #fff; color: #1a365d; text-decoration: none; border-color: #fff; }

.content-section { padding: 45px 0 60px; }

/* Gün başlıkları: aşağı kaydırırken üstte "yapışıp" bir sonraki günle değişir */
.day-heading {
    text-align: center;
    margin-bottom: 24px;
    padding: 14px 10px 12px;
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--sticky-bg, #f8f9fa);
    box-shadow: 0 8px 14px -6px rgba(0,0,0,0.08);
}
.day-heading h2 { font-size: 26px; font-weight: 800; color: #1a365d; margin-bottom: 4px; }
.day-heading p { color: #666; font-size: 15px; margin: 0; }

.session-header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%); color: #fff;
    padding: 12px 22px; border-radius: 12px; font-weight: 800; font-size: 15px;
    letter-spacing: 0.4px; margin: 30px 0 16px; box-shadow: 0 6px 18px rgba(26,54,93,0.25);
}
.session-header i { margin-right: 8px; color: #f6c90e; }

/* "POSTER SUNUMLARI" başlığı da gün başlıkları gibi yapışkan davransın */
.session-header.sticky-heading {
    position: sticky;
    top: 0;
    z-index: 30;
    border-radius: 12px;
}

/* Pop-up içindeki program: yapışkan başlıkların arka planı pop-up'ın beyazına uysun */
.popup-program-body { --sticky-bg: #fff; }

.prog-card {
    display: flex; background: #fff; border-radius: 14px; margin-bottom: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid #2c5282;
}
.prog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,0.1); }
.prog-time {
    flex-shrink: 0; width: 118px; background: #eef3f9; color: #1a365d; font-weight: 700;
    font-size: 13px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px 8px;
}
.prog-body { padding: 14px 20px; flex: 1; }
.prog-body h4 { font-size: 15px; font-weight: 700; color: #222; margin: 0 0 6px; line-height: 1.45; }
.prog-body p { font-size: 13px; color: #666; margin: 0; line-height: 1.5; }
.prog-body p.authors { font-style: italic; color: #3182ce; }

.invited-card { border-left-color: #f6c90e; background: linear-gradient(135deg, #fffdf5 0%, #fff8e1 100%); }
.invited-badge {
    display: inline-block; background: #f6c90e; color: #1a365d; font-size: 11px; font-weight: 800;
    padding: 3px 10px; border-radius: 20px; margin-bottom: 6px; letter-spacing: 0.5px;
}
.invited-card h4 { color: #1a365d; font-size: 17px; }

.break-card { border-left-color: #a0aec0; background: #f8f9fa; }
.break-card h4 { color: #718096; font-size: 14px; font-weight: 700; }

.highlight-card { border-left-color: #e53e3e; background: linear-gradient(135deg, #fff5f5 0%, #fff 100%); }
.highlight-card h4 { color: #c53030; }

.parallel-cols-label {
    display: grid; grid-template-columns: 118px 1fr 1fr; gap: 0; margin-bottom: 6px;
}
.parallel-cols-label div:first-child { grid-column: 2; text-align: center; font-size: 12px; font-weight: 800; color: #1a365d; background: #dbeafe; padding: 8px; border-radius: 8px 0 0 8px; }
.parallel-cols-label div:last-child { text-align: center; font-size: 12px; font-weight: 800; color: #1a365d; background: #dbeafe; padding: 8px; border-radius: 0 8px 8px 0; border-left: 1px solid #fff; }
.parallel-card .prog-body.parallel-body { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 14px 20px; }
.parallel-col:first-child { border-right: 1px dashed #cbd5e0; padding-right: 18px; }
.parallel-col h4 { font-size: 14px; }

.notes-box {
    background: linear-gradient(135deg, #ebf8ff 0%, #dbeafe 100%); border-left: 5px solid #3182ce;
    padding: 22px 26px; border-radius: 0 15px 15px 0; margin-top: 30px; font-size: 14px; color: #2c5282; line-height: 1.8;
}
.notes-box i { color: #3182ce; margin-right: 8px; }
.notes-box strong { color: #1a365d; }

/* Poster grid */
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.poster-card { background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 0 4px 14px rgba(0,0,0,0.06); border-top: 3px solid #2c5282; }
.poster-card .poster-no { display: inline-block; background: #1a365d; color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; }
.poster-card h5 { font-size: 13.5px; font-weight: 700; color: #222; margin: 0 0 6px; line-height: 1.4; }
.poster-card p { font-size: 12.5px; color: #3182ce; font-style: italic; margin: 0; }

.page-footer { background: #222; color: #fff; padding: 30px 0; text-align: center; }
.page-footer p { margin: 0; opacity: 0.8; }

/* Sayfanın en altındaki "yukarı çık" butonu */
#page-back-to-top {
    position: fixed;
    right: 24px;
    bottom: -60px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(26,54,93,0.4);
    z-index: 500;
    opacity: 0;
    transition: bottom 0.3s ease, opacity 0.3s ease, background 0.2s ease, color 0.2s ease;
}
#page-back-to-top.show { bottom: 24px; opacity: 1; }
#page-back-to-top:hover { background: #f6c90e; color: #1a365d; }

@media (max-width: 768px) {
    .page-hero { padding: 120px 20px 40px; }
    .page-hero h1 { font-size: 24px; }
    .back-home, .download-doc { position: relative; top: auto; left: auto; right: auto; display: inline-block; margin: 6px; }
    .prog-card { flex-direction: column; }
    .prog-time { width: 100%; }
    .parallel-cols-label { display: none; }
    .parallel-card .prog-body.parallel-body { grid-template-columns: 1fr; }
    .parallel-col:first-child { border-right: none; border-bottom: 1px dashed #cbd5e0; padding-right: 0; padding-bottom: 10px; margin-bottom: 10px; }
}
