/* ======== STILURI GENERALE ======== */
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-image: url("images/plantatie4.jpg"); /* poți schimba cu prune.jpg sau alta imagine */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  text-align: center;
  position: relative;
}

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

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

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

.hero p {
  font-style: italic;
  font-size: 1.3em;
  margin-bottom: 25px;
}

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

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

/* ======== INTRODUCERE ======== */
.intro {
  padding: 60px 12%;
  text-align: center;
}

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

.intro p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 15px;
  text-align: justify;
}

/* ======== SECȚIUNE MERE ======== */
.mere-section {
  padding: 80px 10%;
  background-color: #f9f8f4;
}

.mere-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.mere-text {
  flex: 1 1 45%;
  color: #333;
  line-height: 1.8;
  text-align: justify;
}

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

.mere-text p {
  margin-bottom: 18px;
  font-size: 1.05em;
}

/* ======== SECȚIUNE MERE ======== */
.mere-section {
  padding: 80px 10%;
  background-color: #f9f8f4;
}

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

/* 🔹 IMAGINI PE STÂNGA */
.mere-images {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mere-images img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.mere-images img:hover {
  transform: scale(1.03);
}

/* 🔹 TEXT PE DREAPTA */
.mere-text {
  flex: 1 1 55%;
  color: #333;
  line-height: 1.8;
  text-align: justify;
}

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

.mere-text p {
  margin-bottom: 18px;
  font-size: 1.05em;
}

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

  .mere-images {
    order: 1;
  }

  .mere-text {
    order: 2;
  }

.mere-images img {
  width: 100%;
  height: auto; /* 🔹 în loc de o înălțime fixă */
  object-fit: contain; /* 🔹 afișează întreaga imagine */
  border-radius: 12px;
  background-color: #f5f5f5; /* 🔹 adaugă un fundal neutru în jurul pozei dacă e mai mică */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

}


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

/* ======== SECȚIUNE PRUNE ======== */
.prune-section {
  padding: 70px 10%;
  background-color: #f8f8f3;
}

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

.prune-text {
  flex: 1 1 45%;
  color: #333;
  line-height: 1.8;
  text-align: justify;
}

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

.prune-text p {
  margin-bottom: 18px;
  font-size: 1.05em;
}

/* ======== IMAGINI PRUNE ======== */
.prune-images {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prune-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.prune-images img:hover {
  transform: scale(1.03);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 900px) {
  .prune-content {
    flex-direction: column;
  }
  .prune-images img {
    height: 200px;
  }
}

/* ======== SECȚIUNE FINALĂ SOIURI – DESIGN NATURAL ======== */
.final-soiuri {
  position: relative;
  background-image: url('images/leaves-bg.jpg'); /* poți pune o imagine subtilă cu frunze sau fundal verde deschis */
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 100px 10%;
  overflow: hidden;
}

.overlay-final {
  background: rgba(40, 60, 40, 0.8); /* verde închis transparent peste fundal */
  padding: 60px 8%;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.final-soiuri h2 {
  font-size: 2.2em;
  margin-bottom: 25px;
  color: #cde0c1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.final-soiuri p {
  font-size: 1.15em;
  line-height: 1.9;
  margin-bottom: 18px;
  color: #f4f6f1;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .final-soiuri {
    padding: 70px 6%;
  }
  .final-soiuri h2 {
    font-size: 1.8em;
  }
  .final-soiuri p {
    font-size: 1.05em;
  }
}

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


