/* =========================================================
   Ella Luedeke | Personal Academic Portfolio
   Polished, Light, Academic Theme
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Merriweather:wght@400;700&display=swap');

/* ===== COLOR PALETTE ===== */
:root {
  --background: #fafafa;
  --foreground: #1a1a1a;
  --accent: #004c70;
  --accent-light: #0077b6;
  --muted: #6b7280;
  --border: #e0e0e0;
  --card-bg: #ffffff;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Merriweather', serif;
}

/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent-light);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== HEADER ===== */
#header-wrapper {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

#header h1 a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--accent);
  letter-spacing: 0.5px;
}

#header nav a {
  margin-left: 2rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s ease, border-bottom 0.25s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}
#header nav a:hover,
#header nav a.current-page-item {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* ===== BANNER ===== */
#banner-wrapper {
  background: linear-gradient(135deg, #e8f3f8 0%, #f9fafb 100%);
  text-align: center;
  padding: 5rem 1rem 4rem 1rem;
  border-bottom: 1px solid var(--border);
}

#banner h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease forwards;
}

#banner span {
  font-size: 1.2rem;
  color: var(--muted);
  animation: fadeInUp 1.2s ease forwards;
}
#banner img {
  max-width: 10%;
}

/* ===== MAIN ===== */
#main {
  max-width: 1000px;
  margin: 3rem auto 4rem auto;
  padding: 0 1.5rem;
}

section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
section:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  color: var(--foreground);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

p {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.icon {
  width: 50%;
}

/* ===== LISTS ===== */
ul.big-image-list {
  list-style: none;
}

ul.big-image-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

ul.big-image-list img {
  width: 140px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* ===== BUTTONS ===== */
.button {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  margin-top: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: background 0.25s ease, transform 0.2s ease;
}
.button:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* ===== FOOTER ===== */
#footer-wrapper {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

#footer-wrapper a {
  color: var(--accent);
  font-weight: 500;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  #header {
    flex-direction: column;
    align-items: flex-start;
  }

  #header nav {
    margin-top: 0.5rem;
  }

  #header nav a {
    margin: 0.3rem 0;
    display: inline-block;
  }

  ul.big-image-list li {
    flex-direction: column;
    text-align: center;
  }

  ul.big-image-list img {
    width: 100%;
    max-width: 250px;
  }

  section {
    padding: 1.5rem;
  }
}

/* ===== CAROUSEL ===== */
.carousel {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-top: 1.5rem;
  position: relative;
}

.carousel-track {
  display: flex;
  animation: scroll 25s linear infinite;
}

.carousel img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-right: 1px solid var(--border);
  transition: transform 0.3s ease;
}
.carousel img:hover {
  transform: scale(1.05);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.about-banner-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
