/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= GLOBAL ================= */
body {
  font-family: "Poppins", sans-serif;
  background: #fdfdfb;
  color: #333;
}

h1, h2 {
  text-align: center;
  color: #333;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #2e7d32;
  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;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  z-index: 1001; /* peste hero image */
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffd700;
}

/* Buton special din meniu */
.nav-links li .btn {
  background: #ffd700;
  color: #2e7d32;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  font-weight: bold;
}

.nav-links li .btn:hover {
  background: #fff176;
  color: #1b5e20;
}

/* Hamburger pentru mobil */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1002;
}

.hamburger span {
  width: 30px;
  height: 4px;
  background: white;
  border-radius: 2px;
}

/* ================= GALERIE ================= */
.galerie-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.galerie-container h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #d97706;
  font-size: 2em;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.galerie-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galerie-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* ================= LIGHTBOX ================= */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1005;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
}

/* ================= FOOTER ================= */
.footer {
  background: #2e7d32;
  color: #ffffff;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

/* ================= SOCIAL ================= */
.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);
}

/* ================= RESPONSIVE HAMBURGER ================= */
@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;
    left: 50%;
    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;
  }

  .nav-links li a {
    display: block;
    margin: 5px 0;
    padding: 8px 20px;
    font-size: 16px;
    text-align: center;
    color: #fff;
    background: transparent;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
  }

  .nav-links li a:hover {
    background: #ffd700;
    color: #2e7d32;
  }

  .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;
  }

  .hamburger {
    display: flex;
  }

  .galerie-grid img {
    height: 150px;
  }
}
