
/*
Student: Brendan Wahl
File Name: styles.css
Purpose: Final project website styles
*/

/* CSS reset */
html, body, header, nav, main, footer, section, article, aside, h1, h2, h3, h4, p, ul, ol, li, img, video, audio, table, tr, th, td, form, fieldset, legend, label, input, select, textarea, button, div, span {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #151515;
  --panel: #202020;
  --panel2: #2b2b2b;
  --text: #d8d8d8;
  --muted: #a8a8a8;
  --cyan: #ffff00;
  --purple: #4a4a4a;
  --gold: #ffff00;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cyan);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--cyan);
  color: #101010;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
}

.navbar {
  background: rgba(21, 21, 21, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,0,0.28);
}

.navbar-brand {
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-link {
  color: #d8d8d8 !important;
  border-radius: 999px;
  margin: 0 0.2rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  background: rgba(255,255,0,0.12);
  transform: translateY(-2px);
}

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,0,.16), transparent 35%),
    radial-gradient(circle at 82% 12%, rgba(90,90,90,.24), transparent 40%),
    linear-gradient(135deg, #151515 0%, #252525 100%);
  border-bottom: 1px solid rgba(255,255,0,0.28);
}

.hero h1 {
  font-family: 'Orbitron', Arial, sans-serif;
}

.glow {
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(255,255,0,.45);
}

.hero-card {
  background: rgba(32,32,32,.88);
  border: 1px solid rgba(255,255,0,.26);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  overflow: hidden;
}

.pulse-card {
  animation: pulseBorder 4s infinite;
}

@keyframes pulseBorder {
  0%, 100% { box-shadow: 0 0 0 rgba(255,255,0,0); }
  50% { box-shadow: 0 0 28px rgba(255,255,0,.32); }
}

.section-title {
  font-family: 'Orbitron', Arial, sans-serif;
  color: var(--cyan);
}

.content-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,0,.18);
  border-radius: 22px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}

.content-card:hover {
  transform: translateY(-4px);
}

.btn-lab {
  background: linear-gradient(90deg, #ffff00, #cfcf00);
  color: #101010;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  padding: .75rem 1.2rem;
}

.btn-lab:hover {
  color: #101010;
  transform: scale(1.04);
}

.table-dark-custom {
  background: var(--panel);
  color: var(--text);
  border-radius: 18px;
  overflow: hidden;
}

.table-dark-custom th {
  background: #2a2a2a;
  color: var(--cyan);
}

.table-dark-custom tr:nth-child(even) {
  background: rgba(255,255,255,.05);
}

.form-control,
.custom-select {
  background: #2a2a2a;
  color: var(--text);
  border: 2px solid rgba(255,255,0,.18);
}

.form-control:focus,
.custom-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 .2rem rgba(255,255,0,.18);
}

footer {
  background: #111111;
  border-top: 1px solid rgba(255,255,0,.26);
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  transition: transform .2s ease;
}

.social-icon:hover {
  transform: scale(1.12);
}

.multi-column {
  column-count: 1;
}

.mobile-table-list {
  display: block;
}

.desktop-table {
  display: none;
}

/* Mobile styles begin */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .content-card {
    margin-bottom: 1rem;
  }
}

/* Tablet styles begin */
@media (min-width: 768px) {
  .desktop-table {
    display: table;
  }

  .mobile-table-list {
    display: none;
  }

  .multi-column {
    column-count: 2;
    column-gap: 2rem;
  }
}

/* Desktop styles begin */
@media (min-width: 992px) {
  .hero h1 {
    font-size: 4rem;
  }

  .multi-column {
    column-count: 3;
  }
}

/* Large desktop styles begin */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .hero h1 {
    font-size: 5rem;
  }
}

/* Print styles begin */
@media print {
  nav, video, audio, .btn, .social-links {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .content-card {
    border: 1px solid #333;
    box-shadow: none;
  }

  a {
    color: #000;
  }
}

/* Program preview banner crop */
.preview-banner {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
}


/* Yellow and dark gray theme updates to better match the Trade Wahl app screenshot */
.content-card {
  box-shadow: 0 16px 40px rgba(0,0,0,.30), 0 0 14px rgba(255,255,0,.06);
}

.content-card h3,
.table-dark-custom td strong {
  color: var(--cyan);
}

.preview-banner {
  border: 1px solid rgba(255,255,0,.28);
  box-shadow: 0 0 18px rgba(255,255,0,.16);
  cursor: zoom-in;
}

.preview-banner:hover {
  opacity: 0.92;
}

.modal-content {
  background: #151515 !important;
  border: 1px solid rgba(255,255,0,.25) !important;
}

/* Homepage replacement content for the old audio section */
.home-insight-panel {
  background:
    linear-gradient(135deg, rgba(40,40,40,.96), rgba(20,20,20,.96)),
    radial-gradient(circle at top right, rgba(255,255,0,.20), transparent 35%);
}

.glow-label {
  color: var(--cyan);
  letter-spacing: 2px;
  font-weight: 800;
}

.metric-box {
  background: #151515;
  border: 1px solid rgba(255,255,0,.28);
  border-radius: 18px;
  padding: 1.25rem 1rem;
  box-shadow: inset 0 0 14px rgba(255,255,0,.05);
}

.metric-box h3 {
  color: var(--cyan);
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 2rem;
  margin-bottom: .25rem;
}

.metric-box p {
  color: var(--text);
  margin-bottom: 0;
  font-weight: 700;
}

.flow-card {
  position: relative;
  overflow: hidden;
}

.step-number {
  display: inline-block;
  color: #101010;
  background: var(--cyan);
  border-radius: 999px;
  font-weight: 800;
  padding: .25rem .75rem;
  margin-bottom: 1rem;
}

.command-panel {
  border-color: rgba(255,255,0,.32);
}

.terminal-mockup {
  background: #111;
  border: 1px solid rgba(255,255,0,.28);
  border-radius: 18px;
  padding: 1.25rem;
  font-family: 'Courier New', monospace;
  color: var(--cyan);
  box-shadow: inset 0 0 18px rgba(255,255,0,.08);
}

.terminal-mockup p {
  margin-bottom: .45rem;
}

.terminal-mockup p:last-child {
  margin-bottom: 0;
}

/* Split homepage feature/video section */
.equal-card-row {
  align-items: stretch;
}

.split-showcase-card,
.video-showcase-card {
  min-height: 360px;
}

.split-showcase-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-showcase-card {
  padding: 0.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage-video {
  width: 100%;
  height: 100%;
  min-height: 335px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,0,.28);
  box-shadow: inset 0 0 14px rgba(255,255,0,.05);
}

@media (max-width: 991px) {
  .split-showcase-card,
  .video-showcase-card {
    min-height: auto;
  }

  .homepage-video {
    min-height: 260px;
  }
}
