/* ======== GENERAL ======== */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f6;
  color: #333;
  line-height: 1.7;
}

/* ======== HERO SECTION ======== */
.hero {
  background-size: cover;
  background-position: center;
  height: 70vh;
  position: relative;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.overlay {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.3em;
  font-style: italic;
}

.hero nav {
  margin-top: 20px;
}

.hero nav a {
  text-decoration: none;
  color: #fff;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s;
}

.hero nav a:hover,
.hero nav a.active {
  color: #a8d08d;
}

/* ======== INTRO ======== */
.intro {
  padding: 80px 10%;
  background-color: #f6faf3;
  text-align: center;
}

.intro h2 {
  color: #4b772f;
  font-size: 2em;
  margin-bottom: 20px;
}

.intro p {
  font-size: 1.15em;
  text-align: justify;
  max-width: 900px;
  margin: 0 auto;
}

/* ======== PROIECT SECTIONS ======== */
.proiect {
  padding: 80px 10%;
}

.proiect.alt {
  background-color: #f1f9f0;
}

.proiect-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.proiect-content .image img {
  width: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.proiect-content .text {
  flex: 1;
  min-width: 320px;
}

.proiect-content h3 {
  color: #4b772f;
  font-size: 1.7em;
  margin-bottom: 15px;
}

.proiect-content p {
  font-size: 1.08em;
  text-align: justify;
  line-height: 1.8;
}

.proiect-content ul {
  margin: 20px 0;
  padding-left: 25px;
}

.proiect-content li {
  margin-bottom: 8px;
}

/* ======== REZULTATE ======== */
.rezultate {
  padding: 80px 10%;
  text-align: center;
  background-color: #edf7ea;
}

.rezultate h2 {
  color: #4b772f;
  font-size: 2em;
  margin-bottom: 25px;
}

.rezultate p {
  font-size: 1.15em;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: justify;
}

/* ======== FOOTER ======== */
footer {
  background-color: #7bb661;
  color: white;
  text-align: center;
  padding: 25px;
  font-size: 0.95em;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 900px) {
  .proiect-content {
    flex-direction: column;
    align-items: center;
  }

  .proiect-content .image img {
    width: 80%;
  }

  .hero h1 {
    font-size: 2.3em;
  }
}
