/* Pamja bazë */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2d2d2d;
    color: white;
    line-height: 1.6;
  }
  
  header {
    background-color: #222;
    padding: 15px;
    text-align: center;
  }
  
  header h1 {
    margin: 0;
    font-size: 2.5rem;
  }
  
  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end; /* Position items to the right */
    gap: 15px;
    flex-wrap: nowrap; /* Ensure items stay in a single line */
    overflow-x: auto; /* Allow horizontal scrolling if needed */
  }
  
  nav ul li {
    margin: 0;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: text-decoration 0.3s;
  }
  
  nav ul li a:hover,
  nav ul li a:active {
    text-decoration: underline;
    background-color: inherit; /* Maintain the background color */
    color: inherit; /* Maintain the text color */
  }
  
  /* Stilet për seksionet */
  section {
    padding: 20px;
    text-align: center;
  }
  
  #home img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
  }
  
  #home {
    animation: moveBackground 20s linear infinite; /* Ensure animation is applied globally */
  }
  
  @keyframes moveBackground {
    0% {
      background-position: center top;
    }
    100% {
      background-position: center bottom;
    }
  }
  
  footer {
    background: #000000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
  }
  
  /* Seksioni i Kontaktit */
  .contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background-color: #000000;
    color: #fff;
  }
  
  .map-container {
    position: relative;
    width: 100%;
    height: 300px;
    background: url('images/map-background.jpg') no-repeat center center/cover;
  }
  
  .map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
  }
  
  .map-overlay h2 {
    font-size: 2rem;
    margin: 0;
  }
  
  .contact-details {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 20px 0;
  }
  
  .contact-details .address,
  .contact-details .contacts {
    width: 45%;
    text-align: left;
  }
  
  .contact-details h3 {
    margin-bottom: 10px;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
  }
  
  contact-details p {
    margin: 5px 0;
  }
  
  .feedback-form {
    background: #fff;
    color: #000;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
  }
  
  .feedback-form h3 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .feedback-form input,
  .feedback-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .feedback-form label.upload {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  
  .feedback-form label.upload img {
    width: 24px;
    height: 24px;
  }
  
  .feedback-form button {
    width: 100%;
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .feedback-form button:hover {
    background-color: #444;
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .social-links img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
  }
  
  social-links img:hover {
    transform: scale(1.2);
  }
  
  /* Për hapat e vegjël */
  @media (max-width: 768px) {
    header h1 {
      font-size: 2rem;
    }
  
    nav ul li a {
      font-size: 0.8rem; /* Reduce font size for smaller screens */
      padding: 5px 8px; /* Adjust padding for smaller screens */
    }
  
    #contact-form {
      flex-direction: column;
      gap: 20px;
    }
  
    .form-container,
    .contact-info {
      width: 100%;
    }
  
    #home {
      animation: moveBackground 20s linear infinite !important; /* Force animation for smaller screens */
    }
  }
   /* Seksioni i Galerisë */
  #gallery {
    padding: 40px 20px;
    background-color: #2d2d2d;
    text-align: center;
  }
  
  #gallery h2 {
    margin-bottom: 20px;
    font-size: 2rem;
  }
  
  .gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Hapësira midis imazheve */
  }
  
  .gallery-container img {
    width: 200px; /* Përshtate madhësinë sipas nevojës */
    height: auto;
    border: 2px solid #ccc; /* Opsionale: kufi rreth fotove */
    border-radius: 8px; /* Opsionale: qoshe të rrumbullakosura */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Efekt kalimi */
  }
  
  .gallery-container img:hover {
    transform: scale(1.05); /* Zmadhim kur kalon mbi foto */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Hije gjatë kalimit mbi foto */
  }
  
  img {
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  img.loaded {
    opacity: 1;
  }
  
  #bio {
    text-align: center;
    padding: 20px;
  }
  
  .bio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .bio-image {
    width: 200px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  .bio-content {
    display: flex;               /* Aktivizon Flexbox për këtë div */
    flex-direction: column;      /* Elementët renditen njëri mbi tjetrin (vertikalisht) */
    align-items: center;         /* Qendron elementët horizontalisht në qendër */
    max-width: 800px;            /* Kufizon gjerësinë e përmbajtjes */
    margin: 0 auto;              /* Qendron div-in në qendër të faqes */
  }
  #exhibitions {
    padding: 20px;
    background-color: #2d2d2d;
  }
  
  .exhibition-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .exhibition-item {
    width: 300px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .exhibition-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .exhibition-item h3 {
    font-size: 1.2em;
    margin: 10px 0;
  }
  
  .exhibition-item p {
    color: #555;
    font-size: 0.9em;
  }
  
  /* Adjust the width of the boxes */
  .info-boxes .glass-box {
    flex: 1 1 25%;
    max-width: 350px;
  }
  
  