#hero {
  position: relative;
  background-size: cover;
  background-position: center center;
  height: 70vh;
  /* Overlay will handle darkening */
}

header {
  position: relative;
  text-align: center;
}
header h1 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   color: #4A7C59
}

.overlay {
  position: absolute; 
  inset: 0;
  /* gives a tech vibe overlay on the hero image */
}

.hero-content {
  position: relative;
  color: #F5F3EE; /* soft cream for contrast on overlay */
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 0 0 10px rgba(0,0,0,0.6); /* subtle text glow */
}

.project-card img {
  width: 300px;      
  height: 300px;     
  object-fit: cover; 
  border-radius: 8px; 
  display: block;    
  margin-bottom: 0.5rem; 
  box-shadow: 0 4px 8px rgba(74, 124, 89, 0.3); /* moss green shadow */
  transition: transform 0.3s ease;
  margin: 0 auto 0.5rem auto;
  max-width: 100%;
  height: auto;
}

.project-card img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(41, 120, 181, 0.6); /* electric blue glow on hover */
}

.project-list {
  display: flex;
  flex-wrap: wrap;       
  gap: 2rem;              
  justify-content: center; 
  background-color: #F5F3EE; /* soft cream background for portfolio section */
  padding: 2rem;
  border-radius: 12px;
}

.project-card {
  margin: 0 auto;
  width: 300px;
  border: 1px solid #4A7C59; /* moss green border */
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  background-color: #fffef9; /* very light cream */
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.2); /* subtle moss green shadow */
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 8px 20px rgba(41, 120, 181, 0.5); /* electric blue glow on hover */
  border-color: #2978B5; /* electric blue border on hover */
  cursor: pointer;
}

h2 {
  color: #4A7C59; /* moss green heading */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

body {
  background-color: #F5F3EE; /* soft cream overall page background */
  color: #333333; /* charcoal main text */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom, #F5F3EE 0%, #E9F0EA 100%);
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.3px;
}
#about {
  padding: 4rem 1rem;
  color: #333;
  text-align: center;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fffef9; /* slightly off-white card */
  border: 1px solid #4A7C59; /* moss green border */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.15);
}

#about h2 {
  color: #4A7C59; /* moss green */
  font-size: 2rem;
  margin-bottom: 1rem;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
#projects {
  flex: auto;
  padding: 4rem 1rem;
  background-color: transparent;
}

.projects-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.1);
  text-align: center;
}

#projects h2 {
  color: #4A7C59;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.about-container,
.projects-container {
  background-color: rgba(255, 255, 255, 0.9); /* optional: subtle card feel */
  border: 1px solid rgba(74, 124, 89, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(74, 124, 89, 0.1);
}
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.25rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

form input[type="submit"] {
  margin-top: 1.5rem;
  background-color: #007BFF;
  color: white;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
  background-color: #0056b3;
}

form button[type="submit"] {
  display: block;
  margin: 1.5rem auto 0 auto;
  padding: 0.75rem 2rem;
  background-color: #a4703a;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
}
footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #f4f4f4;
  font-size: 0.9rem;
  color: #444;
  margin-top: 2rem;
}
.btn {
  display: block;                  /* makes it respect margin auto */
  margin: 1rem auto;               /* centers it horizontally */
  padding: 0.75rem 1.5rem;
  background-color: #C2813F;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  width: 100%;
  max-width: 250px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #a4662f;
  transform: translateY(-2px);
}

.hero-content h1,
.hero-content p {
  color: #fffef9; /* soft off-white */
}

.logo {
  color: #fffef9;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.5rem;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}
.hero-tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fffef9;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

html {
  scroll-behavior: smooth;
}

#quote h2 {
  font-size: 1.8rem;
  color: #4A7C59;
  margin-bottom: 1rem;
  text-align: center;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


@media (max-width: 768px) {
  .project-list {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .project-card {
    width: 90%;
    padding: 1.25rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }
    .contact-container {
    max-width: 95%;
    box-sizing: border-box;
  }

  .contact-container,
  .about-container,
  .projects-container {
    padding: 1.5rem 1rem;
  }

form input,
  form textarea {
    width: 90%;
    margin: 0 auto;
    display: block;
  }

  form button[type="submit"] {
    width: 100%;
    max-width: 250px;
  }

  .btn {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  form input,
  form textarea {
    width: 90%;
    margin: 0 auto;
    display: block;
  }

  .contact-container {
    max-width: 95%;
    box-sizing: border-box;
  }

  form button[type="submit"] {
    width: 90%;
    max-width: 250px;
    margin: 1rem auto 0;
  }
}
