/* style.css */
:root {
  --background-fallback: #2E4B3A;
  --hero-text-color: #F9F6F1;
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #F9F6F1;
  color: #434343;
  line-height: 1.6;
}

.hero {
  background: var(--background-fallback) url('hero.png') no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: var(--hero-text-color);
  padding: 2rem;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(46, 75, 58, 0.6);
  z-index: 1;
}

.hero.light {
  background: #F9F6F1 url('hero-light.png') no-repeat center center;
  background-size: cover;
  color: #1F1F1F;
}

.hero.light::after {
  background: rgba(255, 255, 255, 0.7); /* softer white overlay */
}

.hero.light h1,
.hero.light p {
  color: #1F1F1F;
}

.hero.light .button {
  background-color: #1F1F1F;
  color: #F9F6F1;
}

.nav {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  z-index: 3;
}

.nav img {
  width: 140px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.75rem;
  margin-bottom: 1rem;
  color: var(--hero-text-color);
}

.hero p {
  font-size: 1.25rem;
  color: var(--hero-text-color);
}

.hero a.button {
  margin-top: 2rem;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #F9F6F1;
  color: #1F1F1F;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

section {
  padding: 4rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.features {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  text-align: center;
}

@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }


  #signup {
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
}

.features div {
  background-color: white;
  padding: 2rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Libre Baskerville', serif;
  color: #1F1F1F;
  font-size: 1.5rem;
  margin-top: 0;
}

#signup {
  background-color: #2E4B3A;
  color: #F9F6F1;
  padding: 4rem 1rem;
  text-align: center;
}

#signup h2, #signup p {
  color: #F9F6F1;
}

#signup input[type="email"] {
  padding: 0.75rem;
  font-size: 1rem;
  width: 80%;
  max-width: 400px;
  border: none;
  border-radius: 4px;
  margin-bottom: 1rem;
}

#signup button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #F9F6F1;
  color: #1F1F1F;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

footer {
  margin-top: 4rem;
  text-align: center;
  font-size: 0.875rem;
  color: #777;
  padding-bottom: 2rem;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }

  .nav img {
    width: 100px;
  }
}

/* Walk Detail Map Image */
.map-image {
  width: 100%;
  border-radius: 8px;
  margin: 2rem 0;
}

/* Walk Feedback Form Section */
#walk-feedback {
  background-color: #F9F6F1;
  padding: 4rem 1rem;
  text-align: center;
  border-top: 1px solid #ddd;
  max-width: 800px;
  margin: 0 auto;
}

#walk-feedback h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #1F1F1F;
}

#walk-feedback p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #434343;
  font-size: 1rem;
}

#walk-feedback form {
  max-width: 600px;
  margin: 0 auto;
}

#walk-feedback textarea,
#walk-feedback input[type="email"] {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

#walk-feedback button {
  padding: 0.75rem 1.5rem;
  background-color: #2E4B3A;
  color: #F9F6F1;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

