
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Open Sans', sans-serif;
    background-color: #fffafc;
    color: #333;
    padding: 20px;
  }
  
  
  .navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
  }
  
  .navbar a {
    text-decoration: none;
    color: #d81b60;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: #ffe4ec;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1em;
  }
  
  .navbar a:hover,
  .navbar a.active {
    background-color: #f8bbd0;
    color: #880e4f;
  }
  

  .titlu-galerie {
    font-family: 'Great Vibes', cursive;
    text-align: center;
    font-size: 3.5em;
    color: #d81b60;
    margin-bottom: 30px;
    position: relative;
    cursor: default;
    transition: color 0.3s ease;
  }
  
  .titlu-galerie:hover {
    color: #f48fb1;
    text-shadow: 0 0 8px #f48fb1;
  }
  
 
  .grid-galerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .grid-galerie img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(216, 27, 96, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .grid-galerie img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(216, 27, 96, 0.35);
  }
  

  @media (max-width: 768px) {
    .titlu-galerie {
      font-size: 2.8em;
    }
  }


.lightbox {
    display: none; 
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
  }

  .lightbox.active {
    display: flex;
  }

  .lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 15px;
    box-shadow: 0 0 20px #fff;
  }
  

  .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3em;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
  }
  
  .close:hover {
    color: #f06292;
  }
  