/* ===================================================
   🎨 James Hunnicutt – Personal Site Stylesheet
   Organized for clarity, scalability, and reuse
=================================================== */

/* === 1. CSS Variables & Base Styles === */
:root {
  --primary-color: #2C3E50;
  --accent-color: #1ABC9C;
  --background-color: #F4F4F4;
  --text-color: #333333;
  --hover-color: #E67E22;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f4f7fa;
  margin: 0;
  padding: 20px;
}

/* === 2. Typography === */
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

h2 {
  margin-top: 40px;
}

/* === 3. Navigation === */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

nav a {
  background-color: #3498db;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #2980b9;
}

/* === 4. Buttons === */
.button {
  background-color: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 
}

/* === 5. Imagery & Headshot === */

/* Animation: Fade In + Scale */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* === Headshot Section === */

/* Theme Variables */
:root {
  --primary-color: #2C3E50;
  --accent-color: #1ABC9C;
  --background-color: #F4F4F4;
  --text-color: #333333;
  --hover-color: #E67E22;
  --theme-border-color: #1ABC9C;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #ffffff;
    --accent-color: #81C784;
    --background-color: #121212;
    --text-color: #f0f0f0;
    --hover-color: #FFB74D;
    --theme-border-color: #81C784;
  }
}

/* Entrance Animation */
@keyframes fadeInPop {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Wrapper with Gradient Background */
.headshot-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 320px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  animation: fadeInPop 1s ease-out;
}

/* Headshot Image */
/* === Pulse Animation === */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

/* === Headshot Image with Pulse on Hover === */
.headshot-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--theme-border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.headshot-img:hover {
  animation: pulse 0.6s ease-in-out;
}

/* Caption Text */
.headshot-caption {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--background-color);
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* === Project Card === */


/* Optional: Title inside card */
.project-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--primary-color);
}

/* Optional: Description text */
.project-card p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #1E1E1E;
    --text-color: #E0E0E0;
    --primary-color: #ffffff;
    --hover-color: #FFB74D;
    --theme-border-color: #81C784;
  }
}

/* === Layout & Typography === */
body {
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  background-color: #f4f7fa;
  color: #2C3E50;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-align: center;
}

.resume-header {
  text-align: center;
  padding: 2rem;
  background-color: #ffffff;
}

.tagline {
  font-size: 1.1rem;
  color: #7f8c8d;
}

/* === Navigation === */
.resume-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  background-color: #3498db;
  padding: 1rem;
}

.resume-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.resume-nav a:hover {
  background-color: #2980b9;
}

/* === Main Content === */
.resume-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
}

.resume-section {
  margin-bottom: 2rem;
}

.skills-list {
  list-style: none;
  padding: 0;
}

.skills-list li {
  background-color: #e0f7fa;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
}

/* === Project Cards === */
.project-card {
  display: block;
  margin: 1rem auto 0;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 6px;
  background-color: var(--accent-color);
  color: white;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}



.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  border-color: var(--hover-color);
}


/* === Button === */
.button {
  display: inline-block;
  background-color: #1ABC9C;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #E67E22;
}

/* === Footer === */
.resume-footer {
  text-align: center;
  padding: 1rem;
  background-color: #ffffff;
  color: #7f8c8d;
}

/* === Headshot Styling === */
.headshot-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.headshot-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #1ABC9C;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.headshot-img:hover {
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.headshot-caption {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #2C3E50;
  background-color: #F4F4F4;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}

/* === Hobbies Component === */

.hobbies {
  padding: 2em;
  background: #f4f7fc;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.hobbies-title {
  text-align: center;
  font-size: 2em;
  color: #2a4d9b;
  margin-bottom: 0.5em;
}

.hobbies-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 2em;
  color: #555;
}

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
}

.hobby-card {
  background: white;
  border-radius: 10px;
  padding: 1.5em;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.hobby-card:hover {
  transform: translateY(-5px);
}

.hobby-card h3 {
  font-size: 1.3em;
  margin-bottom: 0.5em;
  transition: transform 0.2s ease;
}

.hobby-card h3:hover {
  transform: scale(1.05);
}
/* === Resume Download Section === */
.resume-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5em 1em;
  background: linear-gradient(135deg, #eef2fa, #dbe6ff);
  border-bottom: 1px solid #cdd6e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.resume-download h2 {
  font-size: 1.75em;
  color: #2C3E50;
  margin-bottom: 1em;
  font-family: 'Montserrat', sans-serif;
}

.resume-download .button {
  background-color: #1ABC9C;
  color: white;
  padding: 0.75em 1.5em;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1em;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  margin-top: 0.5em;
}

.resume-download .button:hover {
  background-color: #E67E22;
  transform: scale(1.05);
}