/*
 * topdrop-landing/src/styles.css
 *
 * This stylesheet defines the look and feel of the TopDrop landing
 * page. The palette is inspired by the illustration on the hero
 * section: warm oranges and fresh greens convey energy and growth.
 * Layouts are responsive and mobile‑friendly, stacking vertically on
 * small screens and aligning horizontally on wider displays. Feel free
 * to adjust colours or spacing to better suit your brand identity.
 */

/* Reset some default margins and set a comfortable base font */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #ffffff;
}

/* Hero Section */
header.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

header.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

header.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  box-sizing: border-box;
}

header.hero .hero-content {
  max-width: 700px;
  color: #ffffff;
}

header.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

header.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

header.hero button {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  background: #f36f2b;
  border: none;
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

header.hero button:hover {
  background: #d95e23;
}

/* Generic Section Styles */
section {
  padding: 3rem 1rem;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2b8c4f;
}

/* Features Section */
.features {
  background: #f9f9f9;
}

.features .feature {
  max-width: 350px;
  margin: 0 auto 2rem auto;
  text-align: center;
}

.features .feature h3 {
  color: #f36f2b;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.features .feature p {
  color: #555555;
  font-size: 1rem;
}

/* Dashboard Section */
.dashboard {
  background: #ffffff;
}

.dashboard-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.dash-item {
  max-width: 300px;
  margin: 0.5rem 1rem 2rem 1rem;
  text-align: center;
}

.dash-item h4 {
  color: #2b8c4f;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.dash-item p {
  color: #555555;
  font-size: 1rem;
}

/* Benefits Section */
.benefits {
  background: #f9f9f9;
}

.benefits ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.benefits ul li {
  background: #ffffff;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  padding: 1rem;
  border-left: 5px solid #f36f2b;
  color: #555555;
  font-size: 1rem;
}

/* CTA Section */
.cta {
  background: #2b8c4f;
  color: #ffffff;
  text-align: center;
  padding: 4rem 1rem;
}

.cta h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

.cta a.cta-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #f36f2b;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  transition: background 0.2s ease-in-out;
}

.cta a.cta-button:hover {
  background: #d95e23;
}

/* Footer */
footer {
  background: #333333;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .features .feature {
    display: inline-block;
    vertical-align: top;
    width: calc(33.333% - 2rem);
    margin: 0 1rem 2rem;
  }

  .dash-item {
    width: calc(33.333% - 2rem);
    margin: 0 1rem 2rem;
  }

  header.hero h1 {
    font-size: 3rem;
  }
}