/* ==========================================================
   NCSCC 2026 — Single stylesheet
   ========================================================== */

:root {
  --navy: #1B1F3B;
  --navy-light: #252b50;
  --gold: #F2C94C;
  --gold-dark: #d4a843;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-600: #666;
  --text: #1A2332;
  --muted: #5F6B7A;
  --border: #E4E7EF;
  --crimson: #C52020;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--white);
  background: var(--navy);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ----------------------------------------------------------
   Header / Nav
   ---------------------------------------------------------- */
.site-header {
  background: var(--navy);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.site-header .logo img {
  height: 36px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 0.15rem;
  align-items: center;
}

.site-nav a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

/* ----------------------------------------------------------
   Page Banner
   ---------------------------------------------------------- */
.page-banner {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  text-align: center;
  padding: 3rem 2rem;
  border-bottom: 3px solid var(--gold);
}

.page-banner .label {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.page-banner h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

.page-banner p {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------
   Home Hero
   ---------------------------------------------------------- */
.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
}

.hero .logo-large {
  max-width: 500px;
  margin: 0 auto 2rem;
}

.hero .label {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
  font-weight: 700;
}

.hero .date {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 1rem;
}

.hero .venue {
  font-size: 1rem;
  opacity: 0.85;
  margin-top: 0.5rem;
}

/* ----------------------------------------------------------
   Content Area
   ---------------------------------------------------------- */
.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

/* ----------------------------------------------------------
   Cards
   ---------------------------------------------------------- */
.card {
  background: var(--white);
  color: var(--text);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.card h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.card p { margin-bottom: 0.75rem; }

.card .highlight {
  background: var(--gray-100);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  border-radius: 0 4px 4px 0;
  font-weight: 500;
}

/* ----------------------------------------------------------
   Grid Layouts
   ---------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.layout-sidebar {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ----------------------------------------------------------
   Program Schedule
   ---------------------------------------------------------- */
.schedule-section {
  width: 100%;
  color: var(--text);
}

.schedule-header {
  background:
    radial-gradient(circle at top left, rgba(242, 201, 76, 0.06), transparent 35%),
    radial-gradient(circle at bottom right, rgba(197, 32, 32, 0.06), transparent 35%),
    var(--navy);
  color: var(--white);
  border-radius: 22px;
  padding: 52px 32px;
  text-align: center;
  margin-bottom: 28px;
}

.schedule-header h1 {
  font-size: 52px;
  line-height: 1.1;
  margin: 0;
  color: var(--white);
}

.schedule-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.schedule-section .schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  color: var(--text);
}

.schedule-section .schedule-table thead {
  background: var(--navy);
  color: var(--white);
}

.schedule-section .schedule-table th {
  text-align: left;
  padding: 18px 20px;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
}

.schedule-section .schedule-table td {
  padding: 18px 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

.schedule-section .schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-section .schedule-table td:first-child {
  width: 170px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.schedule-section .schedule-table td:nth-child(3) {
  width: 240px;
}

.schedule-section .schedule-table td:nth-child(4) {
  width: 120px;
  color: var(--muted);
  font-weight: 700;
}

.schedule-section .featured td {
  background: rgba(242, 201, 76, 0.15);
}

.schedule-section .break-row td {
  background: var(--gray-100);
}

.schedule-section .lunch-row td {
  background: rgba(27, 31, 59, 0.06);
}

.schedule-section .closing-row td {
  background: rgba(197, 32, 32, 0.08);
}

.schedule-section .merged-cell {
  text-align: center;
  font-weight: 800;
  color: var(--navy);
}

.schedule-section em {
  color: var(--muted);
}

.schedule-section strong {
  color: var(--navy);
}

/* Hackathon Card */
.hackathon-card {
  margin-top: 26px;
  background: var(--navy);
  color: var(--white);
  border-radius: 22px;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.hackathon-label {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.hackathon-card h2 {
  color: var(--white);
  font-size: 32px;
  margin: 0 0 12px 0;
}

.hackathon-card p {
  color: #D8DEEA;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.hackathon-card strong {
  color: var(--white);
}

.hackathon-details {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 18px;
}

.hackathon-details div {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.hackathon-details div:last-child {
  border-bottom: none;
}

.hackathon-details span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.hackathon-details strong {
  color: var(--white);
}

/* ----------------------------------------------------------
   Speakers
   ---------------------------------------------------------- */
.speaker-card {
  text-align: center;
}

.speaker-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.speaker-card .placeholder-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--navy-light);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.speaker-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

/* ----------------------------------------------------------
   Sponsors
   ---------------------------------------------------------- */
.sponsor-section {
  text-align: center;
  padding: 3rem 0;
}

.sponsor-section h2 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.6;
  margin-bottom: 2rem;
}

.sponsor-logo {
  max-height: 200px;
  max-width: 300px;
  margin: 0 auto;
}

.sponsor-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.sponsor-row img {
  max-height: 160px;
  max-width: 250px;
}

/* ----------------------------------------------------------
   Event Details Sidebar
   ---------------------------------------------------------- */
.event-details {
  color: var(--white);
}

.event-details .detail-item {
  margin-bottom: 1.25rem;
}

.event-details .detail-label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.2rem;
}

.event-details .detail-value {
  font-size: 1rem;
  font-weight: 500;
}

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-gold {
  background: var(--crimson);
  color: var(--white);
}

.btn-gold:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ----------------------------------------------------------
   Tags
   ---------------------------------------------------------- */
.tag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.tag {
  background: var(--gray-100);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text);
}

/* ----------------------------------------------------------
   Important Dates Table
   ---------------------------------------------------------- */
.dates-table {
  width: 100%;
}

.dates-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dates-table td {
  padding: 0.75rem 0;
}

.dates-table .date-label {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  width: 120px;
}

.dates-table .date-desc {
  font-weight: 600;
}

/* ----------------------------------------------------------
   Awards
   ---------------------------------------------------------- */
.award-card {
  background: var(--white);
  color: var(--text);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.award-card .place {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

.award-card .amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
}

/* ----------------------------------------------------------
   Committee
   ---------------------------------------------------------- */
.committee-section {
  text-align: center;
  margin: 2rem 0;
}

.committee-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.committee-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.committee-member {
  text-align: center;
}

.committee-member .placeholder-img {
  width: 200px;
  height: 200px;
  background: var(--navy-light);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 8px;
  margin: 0 auto 0.75rem;
}

.committee-member h4 {
  font-size: 1.1rem;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

.site-footer .footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.site-footer .footer-logos img {
  height: 50px;
}

.site-footer .floral {
  max-width: 300px;
  margin: 1rem auto;
}

.site-footer p {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ----------------------------------------------------------
   Utility
   ---------------------------------------------------------- */
hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 2rem 0;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

.bg-white {
  background: var(--white);
  padding: 4rem 0;
}

.card-label {
  color: var(--gold);
}

.card-label.mt-1 {
  margin-top: 1rem;
}

.track-label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.committee-member .placeholder-img.small {
  width: 160px;
  height: 160px;
}

.sponsor-divider {
  max-width: 800px;
  margin: 2rem auto;
  border-top: 1px solid #ddd;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .hackathon-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .schedule-header {
    padding: 42px 20px;
    border-radius: 18px;
  }
  .schedule-header h1 {
    font-size: 38px;
  }
  .schedule-section .schedule-table,
  .schedule-section .schedule-table thead,
  .schedule-section .schedule-table tbody,
  .schedule-section .schedule-table th,
  .schedule-section .schedule-table td,
  .schedule-section .schedule-table tr {
    display: block;
  }
  .schedule-section .schedule-table thead {
    display: none;
  }
  .schedule-section .schedule-table tr {
    border-bottom: 1px solid var(--border);
    padding: 16px;
  }
  .schedule-section .schedule-table tr:last-child {
    border-bottom: none;
  }
  .schedule-section .schedule-table td {
    border-bottom: none;
    padding: 8px 0;
    width: 100% !important;
    white-space: normal !important;
  }
  .schedule-section .schedule-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--crimson);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
  }
  .schedule-section .schedule-table td:first-child {
    font-size: 18px;
  }
  .merged-cell {
    text-align: left;
  }
  .merged-cell::before {
    content: "Activity";
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }
  .site-nav { flex-wrap: wrap; justify-content: center; }
  .site-nav a { padding: 0.4rem 0.6rem; font-size: 0.8rem; }
  .hero h1 { font-size: 1.6rem; }
  .hero .logo-large { max-width: 300px; }
  .grid-2, .grid-3, .grid-4, .layout-sidebar { grid-template-columns: 1fr; }
  .content { padding: 1.5rem 1rem; }
  .page-banner { padding: 2rem 1rem; }
  .page-banner h1 { font-size: 1.6rem; }
  .sponsor-row { flex-direction: column; }
}
