
/* =========================
   RESET DE BAZĂ
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   GLOBAL
========================= */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f6f8;
}

/* =========================
   HEADER
========================= */
.header {
  background: #1f4d3a;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.header h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.header p {
  font-size: 18px;
  opacity: 0.9;
}

/* =========================
   NAV
========================= */
.nav {
  background: #16382a;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: #fff;
  text-decoration: none;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 0; /* dreptunghi */
}

/* hover (când treci cu mouse-ul) */
.nav a:hover {
  background: #1f4d3a;
}

/* ACTIVE (rămâne colorat pe pagina curentă) */
.nav a.active {
  background: #1f4d3a;
}

/* =========================
   CONȚINUT / CONTAINER
========================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* =========================
   CARD
========================= */
.card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.card h2,
.card h3 {
  color: #1f4d3a;
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 15px;
}

.card a {
  text-decoration: none;
  color: #1f4d3a;
  font-weight: bold;
}

.card a:hover {
  text-decoration: underline;
}

/* =========================
   GRID (liste de carduri)
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* =========================
   HERO (dacă folosești)
========================= */
.hero {
  background: #fff;
  padding: 30px;
  margin-bottom: 40px;
  border-radius: 10px;
  text-align: center;
}

.hero img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hero h2 {
  font-size: 32px;
  color: #1f4d3a;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================
   GALERIE FOTO (3 imagini)
========================= */
.gallery-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-3 img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #16382a;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

.footer a {
  color: #cdeee0;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 800px) {
  .container {
    padding: 24px 14px;
  }

  /* Galerie compactă pe mobil: 2 pe rând */
  .gallery-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-3 img {
    height: 140px;
    object-fit: cover;
  }
}

@media (max-width: 600px) {
  .header h1 {
    font-size: 32px;
  }

  .header p {
    font-size: 16px;
  }

  .hero h2 {
    font-size: 26px;
  }
}
/* Galerie pentru 10 poze (thumbnail-uri) */
.gallery-10{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.gallery-10 img{
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

/* Tablet */
@media (max-width: 900px){
  .gallery-10{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Telefon */
@media (max-width: 600px){
  .gallery-10{
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-10 img{
    height: 130px;
  }
}