/* =========================================================
   Futuristic Cyber Conference Theme — style.css
   eHaCON 2026 | AI & Law in the Cyber Era
   ========================================================= */

/* ---------- Root Variables ---------- */
:root {
    --bg-dark: #020617;
    --panel-dark: #0f172a;
    --neon-blue: #00e5ff;
    --neon-purple: #7c7cff;
    --neon-pink: #ff4ecd;
    --text-light: #e5e7eb;
    --text-muted: #94a3b8;
}

/* ---------- Base Reset ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- Body ---------- */
body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: radial-gradient(circle at top, #0f172a, #020617);
    color: var(--text-light);
    line-height: 1.6;
}

/* ---------- Header ---------- */
header {
    background: linear-gradient(135deg, #020617, #0f172a);
    padding: 50px 20px;
    text-align: center;
    box-shadow: 0 0 30px rgba(0,229,255,0.15);
    border-bottom: 1px solid rgba(0,229,255,0.2);
}

header h1 {
    font-size: 2.7em;
    letter-spacing: 1px;
    color: var(--neon-blue);
    text-shadow: 0 0 12px rgba(0,229,255,0.6);
}

header p {
    margin-top: 12px;
    color: var(--text-muted);
}

/* ---------- Logo Bar ---------- */
.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: linear-gradient(135deg, #e0f4ff, #cceeff, #b3e5ff);
    border-bottom: 2px solid #90caf9;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}


.logo {
    height: 65px;
    max-width: 160px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0,229,255,0.6));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(124,124,255,1));
}

/* Center logo slightly larger */
.center-logo {
    height: 75px;
}


/* ---------- Navigation ---------- */
nav {
    background: #020617;
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid rgba(0,229,255,0.15);
}

nav a {
    color: var(--neon-blue);
    text-decoration: none;
    margin: 0 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav a:hover {
    color: white;
    text-shadow: 0 0 10px var(--neon-blue);
}

/* ---------- Main Layout ---------- */
main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ---------- Cards ---------- */
.card {
    background: linear-gradient(180deg, #020617, #0f172a);
    border-radius: 16px;
    padding: 26px;
    margin-bottom: 28px;
    border: 1px solid rgba(0,229,255,0.2);
    box-shadow: 0 0 18px rgba(0,229,255,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(0,229,255,0.35);
}

/* ---------- Headings ---------- */
h1, h2, h3 {
    color: var(--neon-blue);
    text-shadow: 0 0 6px rgba(0,229,255,0.45);
    margin-bottom: 12px;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.3em;
}

/* ---------- Paragraph ---------- */
p {
    color: var(--text-light);
    margin-bottom: 10px;
}
.speaker-card {
  text-align: center;
}

.speaker-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
  border: 3px solid #e6f0ff;
}

.speaker-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.speaker-card p {
  font-size: 0.9rem;
  color: #555;
}

/* ---------- Buttons ---------- */
.button, button {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: black;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 0 18px rgba(0,229,255,0.6);
    transition: all 0.3s ease;
}

.button:hover, button:hover {
    box-shadow: 0 0 32px rgba(124,124,255,0.9);
    transform: scale(1.05);
}

/* ---------- Forms ---------- */
input, textarea, select {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,229,255,0.25);
    background: #020617;
    color: var(--text-light);
    outline: none;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0,229,255,0.5);
}

/* ---------- Tables ---------- */
table {
    width: auto;
    max-width: 100%;
    margin: 16px auto;
    border-collapse: collapse;
    background: rgba(2,6,23,0.6);
    border-radius: 12px;
    overflow: hidden;
}
th, td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(0,229,255,0.15);
    text-align: center;
}

th {
    background: rgba(0,229,255,0.08);
}

/* About page – narrow readable layout */
.about-section {
    padding: 40px 0;
}

.about-container {
    max-width: 900px;   /* controls width */
    margin: auto;
    padding: 0 20px;
}

/* ===== Topics Page Layout ===== */
.topics-section {
    width: 98%;
    margin: auto;
    padding: 40px 0;
}

.topics-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 1 row, 4 columns */
    gap: 20px;
}

/* Improve readability inside cards */
.topics-grid .card {
    padding: 20px;
}

.topics-grid h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.topics-grid ul {
    padding-left: 18px;
}

.topics-grid li {
    font-size: 14px;
    margin-bottom: 6px;
}

/* ===== Responsive Handling ===== */
@media (max-width: 1200px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .topics-grid {
        grid-template-columns: 1fr;
    }
}

.narrow-card {
  max-width: 700px;     /* 650–800px works well */
  margin: 0 auto 30px;
  text-align: center;  /* looks better for contact info */
}

.narrow-card h2 {
  margin-bottom: 16px;
}

.narrow-card p {
  line-height: 1.6;
}


/* Publication page – About-style layout */
.publication-section {
    padding: 40px 0;
}

.publication-container {
    max-width: 900px;   /* same as About page */
    margin: auto;
    padding: 0 20px;
}

.publication-container ul {
    margin-top: 15px;
    padding-left: 20px;
}

.publication-container li {
    margin-bottom: 12px;
    line-height: 1.6;
}


/* ---------- Footer ---------- */
footer {
    background: #020617;
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    border-top: 1px solid rgba(0,229,255,0.15);
    margin-top: 40px;
}

/* ---------- Scrollbar (Webkit) ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--neon-blue), var(--neon-purple));
    border-radius: 10px;
}
