body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  text-align: center;
}

.summary-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: justify;
  color: #444;
}

.summary-container h1 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
  color: #222;
}

.project-info {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

/* Imaginea mare pe rând separat */
.main-image-wrapper {
  width: 300px;       /* dimensiune fixă */
  height: 200px;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.main-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* conține imaginea fără a o tăia */
  display: block;
  transition: transform 0.3s ease;
}

.main-image-wrapper img:hover {
  transform: scale(1.03);
}

/* Rândul cu imaginile mici */
.image-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.image-row img {
  width: 300px;
  height: 200px;
  object-fit: contain; /* păstrează tot conținutul, fără tăiere */
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: block;
  transition: transform 0.3s ease;
}

.image-row img:hover {
  transform: scale(1.03);
}

/* Responsive pentru mobil */
@media (max-width: 600px) {
  .main-image-wrapper,
  .image-row img {
    width: 90%;
    height: auto;
  }

  .image-row {
    flex-direction: column;
    align-items: center;
  }
}
/* Stil general pentru corpul paginii */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  background-color: #f8f8f8;
}

/* HEADER CU LOGOURI */
.logo-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 10px 0;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ccc;

  height: 100px;       /* Fixăm înălțimea antetului */
  overflow: hidden;    /* Ascundem orice depășire */
}

.logo-img {
  max-height: 80px;    /* Toate imaginile au înălțime maximă uniformă */
  width: auto;
  object-fit: contain;
}

/* Navigație */
nav {
  background-color: #003366;
  padding: 10px 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover,
nav ul li a.active {
  text-decoration: underline;
}

/* Conținut principal */
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: justify;
  color: #333;
}

main h1 {
  text-align: center;
  margin-bottom: 30px;
}

/* Container rezumat */
.summary-container {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  line-height: 1.6;
  color: #444;
}
.image-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.gallery-image {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}
.presentation-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.presentation-image {
  width: 300px;  /* poți ajusta între 250-400px în funcție de layout */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


.presentation-text a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  line-height: 1.4;
}

.presentation-text a:hover {
  text-decoration: underline;
}
.presentation-info a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.presentation-info a:hover {
  text-decoration: underline;
}
.presentation-info a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.presentation-info a:hover {
  text-decoration: underline;
}
.presentation-grid {
  display: flex;
  flex-wrap: wrap; /* permite ca ele să treacă pe rând nou dacă spațiul nu ajunge */
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.presentation-card {
  width: 300px;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
  flex-shrink: 0;
}

.presentation-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.presentation-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 10px;
}

.presentation-info p {
  margin: 5px 0;
  font-size: 15px;
}

.presentation-info a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.presentation-info a:hover {
  text-decoration: underline;
}
@media (max-width: 700px) {
  .presentation-grid {
    flex-direction: column;
    align-items: center;
  }
}
.presentation-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: stretch; /* ✨ aliniere perfectă verticală */
}

.presentation-card {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 300px;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.presentation-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.presentation-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.presentation-info p {
  margin: 5px 0;
  font-size: 14px;
}

.presentation-info a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.presentation-info a:hover {
  text-decoration: underline;
}
.presentation-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
}

.presentation-card {
  width: 300px;
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.presentation-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #222;
}

.presentation-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.presentation-card p {
  margin: 6px 0;
  font-size: 14px;
  color: #333;
}

.presentation-card a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

.presentation-card a:hover {
  text-decoration: underline;
}

/* Responsive (pentru telefon) */
@media (max-width: 700px) {
  .presentation-card {
    width: 100%;
  }

  .presentation-image {
    height: auto;
  }
}
.team-lead {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.team-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.gallery-image {
  width: 150px;
  height: auto;
  border-radius: 8px;
}
/* -------------------------- */
/* Dimensiuni uniforme imagini echipă */
.gallery-image {
  width: 180px;
  height: 180px;
  object-fit: cover;     /* decupează imaginea păstrând proporțiile */
  border-radius: 8px;     /* colțuri rotunjite, poți pune 50% pt cerc */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

/* -------------------------- */
/* Aliniere pentru Project Lead */
.team-lead {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

/* Aliniere pentru restul membrilor echipei */
.team-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
}

/* Text centrat sub imagini */
.team-row div,
.team-lead div {
  text-align: center;
  max-width: 200px;
}
.contact-footer {
  max-width: 900px;
  margin: 60px auto 0;
  background-color: #003366;
  color: white;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
  border-top: 4px solid #ffcc00;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.contact-footer strong {
  font-size: 15px;
  color: #ffcc00;
}

.contact-footer a {
  color: #aad8ff;
  text-decoration: none;
  font-weight: bold;
}

.contact-footer a:hover {
  text-decoration: underline;
}

