/* styles.css */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Inter:wght@300;400;600&family=Crimson+Text:wght@400;600&display=swap');

:root {
  --primary-color: #1a3d5d;
  --background-light: #f9fbfc;
  --background-gradient: linear-gradient(to bottom right, #e9f1f7, #f0f6fa);
  --text-color: #2a2a2a;
  --card-background: #ffffffcc;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --border-radius: 16px;
  --max-width: 1000px;
  --header-text-color: #e4edf3;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--background-gradient);
  color: var(--text-color);
  line-height: 1.6;
}

header.hero {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: var(--header-text-color);
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  font-family: 'Crimson Text', serif;
}

.logo {
  position: relative;
  top: 0;
  left: 0;
  max-width: 180px;
  height: auto;
  background: none;
  padding: 0;
  border-radius: 0;
  z-index: 10;
  filter: drop-shadow(1px 1px 6px rgba(0, 0, 0, 0.4));
  margin: 0 auto;
  display: block;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: 1rem;
  color: var(--header-text-color);
  font-family: 'Crimson Text', serif;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section {
  background: var(--card-background);
  backdrop-filter: blur(6px);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  max-width: var(--max-width);
  margin: 2rem auto;
  box-shadow: var(--shadow);
}

h2 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  margin-bottom: 1rem;
  border-left: 6px solid var(--primary-color);
  padding-left: 1rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-section img.headshot {
  max-width: 220px;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

footer {
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-light: #121212;
    --card-background: #1e1e1ecc;
    --text-color: #e0e0e0;
    --primary-color: #8fc1e3;
    --header-text-color: #d0e5f2;
  }

  body {
    background: linear-gradient(to bottom right, #101820, #1e2b38);
  }

  header.hero {
    background: linear-gradient(to right, #1e2b38, #2c3e50);
    color: var(--header-text-color);
  }

  .logo {
    background-color: none;
    filter: drop-shadow(1px 1px 6px rgba(255, 255, 255, 0.3));
  }

  footer {
    background: #0f141b;
  }
}
