/* ================= BODY ================= */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #fdfdfb;
  color: #333;
}

/* ================= HEADER / NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #2e7d32; /* verde consistent */
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.navbar .logo {
  font-size: 20px;
  font-weight: bold;
  color: #ffd700; /* logo auriu pentru contrast */
}

/* ================= NAV LINKS ================= */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* ================= LINKS IN POPUP ================= */
.nav-links li a {
  display: block;
  margin: 5px 0;        /* mai compact */
  padding: 8px 20px;    /* padding mai mic, uniform */
  font-size: 16px;
  text-align: center;
  color: #fff;
  background: transparent;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

/* Hover */
.nav-links li a:hover {
  background: #ffd700;
  color: #2e7d32;
}

/* Buton activ (pagina curentă) */
.nav-links li a.active,
.nav-links li a.btn.active {
  background: #ffd700;
  color: #2e7d32;
  font-weight: bold;
}
.nav-links li .btn {
  background: #ffd700;
  color: #2e7d32;
  padding: 10px 0px;
  border-radius: 9999px;
  font-weight: bold;
}

/* ================= Responsive Hamburger Popup ================= */
@media (max-width: 768px) {
  .nav-links {
    display: grid; /* 2x3 grid */
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 10px;
    position: absolute;
    top: 60px; /* sub navbar */
    left: 50%; /* centrat pe mijloc */
    transform: translateX(-50%) translateY(-20px);
    width: 260px;
    background: #2e7d32;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 999;
    padding: 10px;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .hamburger {
    display: flex;
  }
}



/* ================= HERO ================= */
.hero-despre {
  background: url('https://images.unsplash.com/photo-1500462918059-b1a0cb512f1d?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
}

/* ================= DESPRE CONTAINER ================= */
.despre-container {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px;
}

.despre-container h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #1e293b;
}

.despre-container p,
.despre-container ul {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.despre-valori ul {
  list-style: none;
  padding: 0;
}

.despre-valori li {
  margin: 10px 0;
  font-weight: bold;
}


/* Animatie intrare corectă */
.animate {
  opacity: 0; /* start invizibil */
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.animate.visible {
  opacity: 1; /* apare când clasa visible e adăugată */
  transform: translateY(0);
}

/* ================= FOOTER ================= */
.footer {
  background: #2e7d32;
  color: #ffffff;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

/* ================= SOCIAL ICONS ================= */
.social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.social-link {
  font-size: 30px;
  color: #333;
  transition: color 0.3s, transform 0.2s;
}

.social-link:hover {
  color: #007bff;
  transform: scale(1.2);
}
