/* ======= GENERAL ======= */

* {
    box-sizing: border-box;
  }
  
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* elimină scroll-ul orizontal */
    width: 100%;
  }
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(213, 234, 255); /* corectare de la 263 */
  }
  
  /* ======= NAVBAR ======= */
  .navbar {
    background-color: rgb(20, 35, 87);
    display: flex;
    justify-content: center;
    padding: 15px 0;
    border-bottom: 5px solid rgb(243, 187, 84);
  }
  
  .navbar a {
    color: rgb(243, 187, 84);
    text-decoration: none;
    margin: 0 20px;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
  }
  
  .navbar a:hover {
    color: white;
  }
  
  /* ======= TITLURI ======= */
  h1 {
    text-align: center;
    color: rgb(20, 35, 87);
    margin-top: 40px;
    margin-left: 30px;
    margin-right: 30px;
    font-size: 36px;
  }
  
  
  /* ======= SECTIUNE GRID 2x2 (INDEX & PEOPLE) ======= */
  
  .grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
    padding: 40px 10%;
  }
  
  .grid-2x2 .cell {
    font-size: 16px;
    line-height: 1.6;
    color: rgb(20, 35, 87);
  }
  
  .grid-2x2 .cell.image img {
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .grid-2x2 .cell.text {
      font-size: 18px;
      line-height: 1.8;
      margin-bottom: 20px;
    }
  /* ======= RESPONSIVITATE GENERALĂ ======= */
  
  @media (max-width: 768px) {
    .grid-2x2 {
      grid-template-columns: 1fr;
    }
  
    .grid-2x2 .cell {
      text-align: center;
    }
  }
  
  
  /* ======= MODIFICĂRI DOAR PENTRU PAGE: people.html ======= */
  
  .event-page .grid-2x2 .cell.text p {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 15px;
    white-space: pre-line;
  }
  
  .event-page .grid-2x2 .cell.image img {
    width: 80%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
  }
  
  .event-page .person-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
  }
  .courses-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 10%;
  }
  
  .course-card {
    background-color: #ffffff;
    border: 2px solid #cccccc;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .course-card h2 {
    margin-top: 0;
    color: rgb(20, 35, 87);
  }
  
  .course-card h4 {
    color: #444;
    margin-bottom: 10px;
  }
  
  .course-card p {
    color: #222;
    line-height: 1.6;
    font-size: 16px;
  }
  .alineat {
    text-indent: 40px;
    margin: 30px 10%;
  }
  .title-with-image {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* spațiu între titlu și imagine */
  }
  
  .title-with-image h1 {
    margin: 0;
  }
  
  .title-image {
    height: 100px; 
    width: auto;
  }
  
  .contact-card {
    background-color: rgb(230, 243, 255);
    border: 2px solid #cccccc;
    border-radius: 15px;
    padding: 25px;
    margin: 40px 10%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
  }
  .venue-page h2{
    text-align: center;
    color: rgb(20, 35, 87);
    margin-top: 40px;
    margin-left: 30px;
    margin-right: 30px;
  }
  .image-gallery {
    display: flex;
    flex-wrap: wrap;   /* pozele trec pe rânduri noi */
    gap: 20px;         /* spațiu între poze */
    justify-content: center;
  }
  
  .image-gallery img {
    width: 45%;            /* două poze pe un rând */
    border-radius: 15px;   /* colțuri rotunjite */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Efect frumos când treci cu mouse-ul peste imagine */
  .image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  .dccu-page h2{
    text-align: center;
    color: rgb(20, 35, 87);
    margin-top: 40px;
    margin-left: 30px;
    margin-right: 30px;
  }
  .poza_mare {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 30px;
    margin-right: 30px;
  }
  .poza_mare_2 {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 30px;
    margin-right: 30px;
    display: flex;
    justify-content: center; /* aliniere orizontală */
    align-items: center;     /* aliniere verticală, dacă div-ul are înălțime */
  }
.Data {
    text-align: center;
    color: rgb(20, 35, 87);
    margin-top: 40px;
    margin-left: 30px;
    margin-right: 30px;
  }