/* Color Scheme Media Specifications */
:root {
    --dark-blue: #131c4e;
    --mid-blue: #5b86b6;
    --light-blue: #bbdbff;

    --smoky-black: #0e0e0e;
}

/* Cooper Hewitt Font Family
Link: https://fontsource.org/fonts/cooper-hewitt/cdn */
@font-face {
    font-family: 'Cooper Hewitt';
    font-style: normal;
    font-display: swap;
    font-weight: 400; /* Body text */
    src:
        url(https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-400-normal.woff2) format('woff2'),
        url(https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-400-normal.woff) format('woff');
}

@font-face {
    font-family: 'Cooper Hewitt';
    font-style: normal;
    font-display: swap;
    font-weight: 600; /* Semi-Bold / Demi-Bold thickness */
    src:
        url(https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-600-normal.woff2) format('woff2'),
        url(https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-600-normal.woff) format('woff');
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Cooper Hewitt';
    color: #f8f8ff;
}

/* Navigation Bar */
nav {
    background-color: #1a1a1a;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;

    display: flex;
    align-items: center;
}

.logo {
    font-size: 20px;
    padding-left: 50px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
    margin-right: 50px;
}

nav ul li a {
    display: block;
    padding: 20px 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--light-blue);
}

.btn {
    padding: 8px 14px;
    background-color: var(--mid-blue);
    border-radius: 5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    /* Placeholder background until the Art & Design members of the Marketing Department create a graphic image for the Hero Section */
    background: linear-gradient(to bottom right, var(--smoky-black), var(--dark-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    color: var(--light-blue);
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--mid-blue);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-btn:hover {
    transform: scale(1.05);
    background-color: var(--light-blue);
    color: #000;
}

/* Sections */
.content {
    padding: 50px 20%;
    background-color: var(--smoky-black);
}

.content h2,
.content h3 {
    color: var(--light-blue);
    margin-bottom: 20px;
}

.content h3 {
    font-size: 20px;
}

/* The Exigency Section */
.hook {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Link styling */
.link {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-bottom 0.25s ease;
}

.link:hover {
    color: var(--mid-blue);
    border-bottom: 1px solid var(--mid-blue);
}

/* Strong emphasis text */
strong {
    color: var(--light-blue);
    font-weight: 700;
}

/* Our Mission & Vision Section */
.container {
    display: flex;
    gap: 20px;
}

.box {
    flex: 1;
    padding: 20px;
    border: thick solid var(--light-blue);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Levitation effect on hover */
.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--light-blue);
}

/* Responsive web design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
}

/* Footer */
footer p {
    text-align: center;
}

/* Animations */
.fade-in {
    opacity: 0; /* Invisible */
    animation: fadeIn 1.2s forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1.2s forwards;
    animation-delay: 0.5s; /* Appears after h1 */
}

@keyframes fadeIn {
    to {
        opacity: 1; /* Visible */
    }
}

/* Progress Updates Section - Update Cards */
#updates-section,
.updates-dark {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 40px 0;
  box-sizing: border-box;
  background: var(--bg-color);
  color: var(--text-color);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.updates-viewport {
  width: 100%;
  max-width: 100%;
  overflow:hidden;
  margin: 0;
  padding: 0 32px;
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.nav-btn {
  width: 48px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--cl-color);
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  outline-offset: 3px;
  pointer-events: auto;
}

.nav-btn:hover {
  transform: translateY(-52%);
}

.nav-btn.left { left: 16px; }
.nav-btn.right { right: 16px; }

.updates-mask {
  overflow: hidden;
  flex: 1;
  margin: 0;
  padding: 0;
  position: relative;
  box-sizing: border-box;
}

.updates-track {
  display: flex;
  gap: 20px;
  align-items: center;
  transition: transform 600ms cubic-bezier(.22,.9,.23,1);
  will-change: transform;
  padding: 12px 0 50px;
  box-sizing: border-box;
}

.update-card {
  flex: 0 0 360px;
  height: 440px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  transition: transform 300ms, box-shadow 300ms;
}

.update-card .thumb {
  height: 50%;
  display: block;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  background-color: rgba(0,0,0,0.06);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.update-card .thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.update-card .meta {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-color);
  flex: 1;
}

.update-card h3 {
  margin: 0;
  font-size: 20px;
  color: var(--text-color);
}

.update-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #bfc9cc;
  flex: 1;
}

.update-card time {
  font-size: 12px;
  color: #99a3a6;
}

.importance-1 {
  border-left: 6px solid var(--tert-accent-color);
}

.importance-2 {
  border-left: 6px solid var(--sec-accent-color);
}

.importance-3 {
  border-left: 6px solid var(--accent-color);
}

.update-card.center {
  transform: scale(1.015) translateY(-8px);
  z-index: 60;
  box-shadow: 0 28px 70px rgba(2,6,10,0.85);
}

.update-card:focus {
  box-shadow: 0 28px 70px rgba(2,6,10,0.9);
  transform: translateY(-6px);
}

@media (max-width: 1200px) {
  .update-card {
    flex: 0 0 calc((100vw - (3 * 20px) - 32px - 32px) / 3);
    height: 420px;
  }
}

@media (max-width: 900px) {
  .update-card {
    flex: 0 0 320px;
    height: 400px;
  }
}

@media (max-width: 700px) {
  .update-card {
    flex: 0 0 90vw;
    height: 400px;
  }
  .updates-viewport {
    padding: 0 12px;
  }
  .nav-btn { display: none; }
}

.side-shadow,
.left-shadow,
.right-shadow {
  display: none !important;
}
