@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
  /* site-colors (Randomized): 
    #27AE60 (Primary)
    #1ABC9C (Secondary)
    #F1C40F (Accent)
    #F2F2F2 (Light)
  */
  --primary-color: #27AE60;
  --secondary-color: #16A085; /* Darker variant of primary */
  --accent-color: #F1C40F;
  --light-color: #F2F2F2;
  --dark-color: #2C3E50;
  --gradient-primary: linear-gradient(135deg, #27AE60 0%, #1ABC9C 100%);
  --hover-color: #16A085;
  --background-color: #F8FDF9; /* Very light tint of primary */
  --text-color: #2C3E50;
  --border-color: rgba(241, 196, 15, 0.2);
  --divider-color: rgba(22, 160, 133, 0.1);
  --shadow-color: rgba(22, 160, 133, 0.1);
  --highlight-color: #AE278B; /* Complementary */

  /* font-heading: 'Oswald', font-text: 'Lato' */
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--alt-font);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  text-transform: uppercase; /* Oswald looks good uppercase */
}

/* Neuromorphism Helpers */
.neuro-card {
  background: var(--background-color);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), 
              -8px -8px 16px var(--light-color);
  transition: all 0.3s ease;
}

.neuro-card:hover {
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.15), 
              -10px -10px 20px var(--light-color);
  transform: translateY(-5px);
}

.neuro-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: var(--primary-color);
  color: var(--light-color);
  font-weight: bold;
  text-decoration: none;
  box-shadow: 5px 5px 10px var(--shadow-color), 
              -5px -5px 10px var(--light-color);
  transition: all 0.2s ease-in-out;
}

.neuro-button:hover {
  background: var(--hover-color);
  box-shadow: inset 2px 2px 5px var(--shadow-color), 
              inset -2px -2px 5px var(--light-color);
}

/* Header/Footer Dark Theme */
header, footer {
  background-color: var(--dark-color);
  color: var(--light-color);
}
header a, footer a {
  color: var(--light-color);
  transition: color 0.3s;
}
header a:hover, footer a:hover {
  color: var(--accent-color);
}

/* Hamburger Menu CSS (Checkbox Hack) */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  cursor: pointer;
  display: block;
  font-size: 2rem; /* Icon size */
}

/* Mobile: hide nav, show hamburger */
@media (max-width: 768px) {
  .navigation ul {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%; /* Position below header */
    left: 0;
    background-color: var(--dark-color);
    padding: 1rem 0;
  }
  .nav-toggle:checked ~ .navigation ul {
    display: flex;
  }
}

/* Desktop: show nav, hide hamburger */
@media (min-width: 769px) {
  .nav-toggle-label {
    display: none;
  }
  .navigation ul {
    display: flex !important;
    flex-direction: row;
    position: static;
  }
}

/* Timeline CSS */
.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--divider-color);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
}
.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 4rem;
  text-align: right;
}
.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 4rem;
  text-align: left;
}
.timeline-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: var(--light-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 10;
}
.timeline-item:nth-child(odd) .timeline-icon {
  right: -25px;
  transform: translateY(-50%) translateX(50%);
}
.timeline-item:nth-child(even) .timeline-icon {
  left: -25px;
  transform: translateY(-50%) translateX(-50%);
}
.timeline-content {
  background: var(--background-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px var(--shadow-color);
  border-radius: 12px;
  padding: 1.5rem;
}

/* Mobile Timeline */
@media (max-width: 768px) {
  .timeline::before {
    left: 25px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 5rem;
    padding-right: 1rem;
    text-align: left !important;
  }
  .timeline-icon {
    left: 0 !important;
    transform: translateY(-50%) translateX(0) !important;
  }
}

/* Helper class for text shadow */
.text-shadow-light {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}