/* ===========================
   FONT IMPORTS
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&family=Courier+Prime&display=swap');

/* ===========================
   NOTEBOOK GRID BACKGROUND
   =========================== */
body {
  margin: 0;
  font-family: 'Courier Prime', monospace; /* updated font */

  background-color: #fdfdfd;

  background-image:
    linear-gradient(to bottom, rgba(0, 120, 255, 0.18) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 0, 0, 0.18) 1px, transparent 1px);

   background-size: 100% 28px, 60px 100%;
  color: #333;
}

/* ===========================
   BLUE HEADER WITH 50% SIDE + BOTTOM FADE
   =========================== */
header {
  background: #0a0f1c;
  color: #00bfff;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  z-index: 10;

  -webkit-mask-image: 
    linear-gradient(to right,
      transparent 0%,
      black 25%,
      black 75%,
      transparent 100%
    ),
    linear-gradient(to bottom,
      black 0%,
      black 50%,
      transparent 100%
    );

  -webkit-mask-size: 100% 100%, 100% 100%;
  -webkit-mask-repeat: no-repeat;

  mask-image: 
    linear-gradient(to right,
      transparent 0%,
      black 25%,
      black 75%,
      transparent 100%
    ),
    linear-gradient(to bottom,
      black 0%,
      black 50%,
      transparent 100%
    );

  mask-size: 100% 100%, 100% 100%;
  mask-repeat: no-repeat;
}

/* Handwritten notebook-style headers */
h1, h2, h3 {
  font-family: 'Patrick Hand', cursive;
  letter-spacing: 0.5px;
}

/* ===========================
   NAVIGATION
   =========================== */
nav a {
  margin: 0 10px;
  color: #00ff7f;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Patrick Hand', cursive; /* handwritten nav for notebook feel */
}

/* ===========================
   PAGE SECTIONS
   =========================== */
.page-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  backdrop-filter: blur(1px);
  border-radius: 8px;
  font-family: 'Courier Prime', monospace; /* technical body text */
}

/* ===========================
   EMBEDDED WORD DOC VIEWER
   =========================== */
.doc-viewer iframe {
  width: 100%;
  height: 600px;
  border: none;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* ===========================
   TIMELINE
   =========================== */
#timeline .entry {
  border-left: 4px solid #00bfff;
  padding-left: 20px;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 20px;
  font-family: 'Courier Prime', monospace;
}

#timeline .entry::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 0;
  width: 20px;
  height: 20px;
  background: #00ff7f;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff7f;
}

.year {
  font-size: 1.2em;
  font-weight: bold;
  color: #0077cc;
  font-family: 'Patrick Hand', cursive; /* handwritten year labels */
}

/* ===========================
   FOOTER
   =========================== */
footer {
  text-align: center;
  padding: 20px;
  background: #0a0f1c;
  color: #ccc;
  font-family: 'Courier Prime', monospace;
}

/* ===========================
   NAVIGATION BAR
   =========================== */
.navbar {
    background: #0A3D62;
    padding: 12px 0;
    text-align: center;
}
.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.navbar li {
    display: inline-block;
    margin: 0 20px;
}
.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

/* ===========================
   FULL‑TALL HEADER STRIP
   =========================== */
.header-strip {
    height: 100px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Fade into notebook grid */
.header-strip::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(255,255,255,0.9) 100%);
}

/* ===========================
   HEADER BACKGROUND CLASSES
   =========================== */
.header-blueprint {
    background-image: url('/assets/headers/default-blueprint.png');
}

.header-logic {
    background-image: url('/assets/headers/logic-header.png');
}

.header-agilent {
    background-image: url('/assets/headers/agilent-header.png');
}

.header-cad {
    background-image: url('/assets/headers/cad-header.png');
}

.header-simulation {
    background-image: url('/assets/headers/simulation-header.png');
}

.header-programming {
    background-image: url('/assets/headers/programming-header.png');
}

.header-sensors {
    background-image: url('/assets/headers/sensors-header.png');
}

/* ===========================
   SKILLS GRID
   =========================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 40px;
}

.skill-card {
    background: #0A3D62;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: white;
    transition: transform 0.2s ease;
}

.skill-card:hover {
    transform: translateY(-6px);
}

.skill-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.college-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.college-card {
    background: white;
    border-left: 6px solid #0A3D62;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #111;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.college-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.college-card h3 {
    margin-top: 0;
    color: #0A3D62;
}

#athlete {
  width: 280px;
  transition: transform 0.3s ease-out;
}


#athlete {
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0% { filter: drop-shadow(0 0 0px #0A3D62); }
  50% { filter: drop-shadow(0 0 6px #0A3D62); }
  100% { filter: drop-shadow(0 0 0px #0A3D62); }
}

#athlete {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.8s ease-out;
}

#athlete.visible {
  opacity: 1;
  transform: translateX(0);
}



#athlete {
  position: relative;
}

#athlete::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  width: 100%;
  height: 100%;
  background: url('/assets/athlete.png') no-repeat;
  background-size: contain;
  opacity: 0.25;
  filter: blur(4px);
  transform: translateX(-10px);
}

