/* Main CSS styles extracted from index.html */

:root {
  --primary-color: #9c3420;
  --secondary-color: #15486a;
  --accent-color: #6da5c6;
  --background-color: #ffffff;
  --card-bg-color: #f8f9fa;
  --text-color: #212529;
  --text-secondary: #6c757d;
  --border-color: #dee2e6;
  
  /* Font families */
  --heading-font: 'Space Grotesk', 'Segoe UI', sans-serif;
  --body-font: 'IBM Plex Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Apply heading font to all headings */
h1, h2, h3, h4, h5, h6,
.section-title, .project-title, .intro h1, .about-info h3 {
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

/* Header Styles */
header {
  padding: 100px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 400px; /* Explicit height for the header */
  display: flex;
  align-items: center;
  justify-content: center;
}

#neural-network-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: rgba(255, 255, 255, 0.5); /* Fallback background */
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #9c3420 0%, #1d5377 100%);
  opacity: 0.1;
  z-index: -2;
}

header .intro h1 {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
  position: relative;
  z-index: 1;
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(142, 68, 173, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
  z-index: -2;
}

.intro {
  position: relative;
  z-index: 1;
}

.intro h1 {
  font-size: 5rem;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: -0.03em; /* Even tighter for main heading */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.intro p.title {
  font-family: var(--body-font);
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-weight: 300;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.intro p.subtitle {
  font-family: var(--body-font);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.7;
  font-weight: 300;
}
.neural-learn-more {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 5;
}

#neural-info-btn {
  background: rgba(21, 72, 106, 0.7);
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body-font);
  font-size: 0.9rem;
  transition: background 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
#neural-info-btn:hover {
  background: rgba(109, 165, 198, 0.9);
}
.neural-popover {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  width: 250px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.neural-popover.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.neural-popover p {
  color: var(--text-color);
  margin: 0 0 12px 0;
  font-size: 0.9rem;
}
.neural-learn-link {
  color: var(--accent-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.neural-learn-link:hover {
  color: var(--primary-color);
}
/* Navigation */
.main-nav {
  background-color: var(--card-bg-color);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  text-align: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 20px;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent-color);
}

/* Project Section Styles */
.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--text-color);
  position: relative;
  padding-bottom: 15px;
  font-weight: 500;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.projects-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card, .blog-post-card {
  background-color: var(--card-bg-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.project-card:hover, .blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.project-image {
  height: 200px;
  background-color: #e9ecef;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.placeholder-img {
  font-size: 4rem;
  color: var(--secondary-color);
  opacity: 0.7;
}

.project-status {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-family: var(--body-font);
}

.project-info, .blog-post-info {
  padding: 25px;
}

.project-title, .blog-post-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
  position: relative;
  display: inline-block;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.project-title::after, .blog-post-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.blog-post-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.project-description, .blog-post-excerpt {
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background-color: rgba(142, 68, 173, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-color);
  border: 1px solid rgba(142, 68, 173, 0.2);
  font-family: var(--body-font);
  font-weight: 500;
}

.project-link, .blog-post-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.project-link:hover, .blog-post-link:hover {
  color: var(--primary-color);
}

.project-link i, .blog-post-link i {
  margin-left: 8px;
}

/* About Me Section */
.about-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.profile-pic {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

.profile-pic img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
}

.profile-pic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(142, 68, 173, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
}

.profile-pic i {
  font-size: 6rem;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
}

.about-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 500;
}

.about-info p {
  margin-bottom: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.skill-tag {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-family: var(--body-font);
  font-weight: 500;
}

/* Footer Styles */
footer {
  background-color: #e9ecef;
  color: var(--text-secondary);
  text-align: center;
  padding: 30px 0;
  margin-top: 40px;
}

.footer-links {
  margin-top: 20px;
}

.footer-links a {
  color: var(--text-color);
  margin: 0 15px;
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .projects-grid, .blog-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .nav-link {
    padding: 8px 15px;
    font-size: 1rem;
  }
}

/* Parallax CSS additions for Claire Alverson's website */

/* Prepare elements for parallax effects */
.parallax-container {
overflow: hidden;
position: relative;
}

/* Enhanced header for parallax background */
header {
height: 500px !important;
padding: 70px 0 50px !important;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
/* Add a gradient background that will show during parallax movement */
background-image: linear-gradient(135deg, 
  rgba(156, 52, 32, 0.1) 0%, 
  rgba(21, 72, 106, 0.1) 100%);
will-change: transform; /* Optimize for animations */
transition: background-position 0.1s ease-out;
}

/* Add a subtle parallax to section titles */
.section-title {
position: relative;
will-change: transform;
transition: transform 0.1s ease-out;
}

/* Enhance project cards for parallax scrolling */
.project-card, .blog-post-card {
will-change: transform;
transition: transform 0.1s ease-out;
}

/* Profile picture parallax effect */
.profile-pic {
position: relative;
will-change: transform;
transition: transform 0.1s ease-out;
}

/* Create layers for the about section */
.about-content {
position: relative;
will-change: transform;
transition: transform 0.1s ease-out;
}

/* Enhanced parallax for neural network visualization */
#neural-network-container {
perspective: 1000px; /* Add depth perspective */
}

/* Optional: Add depth to the skills list with staggered animation */
.skills-list {
position: relative;
}

.skill-tag {
will-change: transform;
transition: transform 0.2s ease-out;
}

/* Parallax-ready section backgrounds */
.section {
position: relative;
overflow: hidden;
}

/* Add this class to any element you want to have parallax scrolling */
.parallax-element {
will-change: transform;
transition: transform 0.1s ease-out;
}