.scroll-gallery {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 2rem;
    background: #fef6e4;
    position: relative;
  }

  .scroll-gallery-inner {
    display: flex;
    gap: 1rem;
  }

  .scroll-slide {
    flex: 0 0 auto;
    width: 300px;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    pointer-events: auto;
  }

  .scroll-slide img {
    width: 100%;
    height: 40vw;
    max-height: 280px;
    object-fit: cover ;
  }

  .scroll-slide-title {
    font-size: var(--h3-font-size);
    padding: 1rem;
    color: var(--title-color);
  }

  .scroll-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
  }

  .scroll-btn {
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--first-color);
    transition: color 0.3s;
  }

  .scroll-btn:hover {
    color: var(--first-color-alt);
  }

.image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.image-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}  

  @media screen and (max-width: 767px) {
    .scroll-gallery {
      padding: 1rem;
      gap: 0.5rem;
    }

    .scroll-slide {
      width: 200px;
      border-radius: 0.75rem;
    }

    .scroll-slide img {
      height: 150px;
    }

    .scroll-slide-title {
      font-size: 0.875rem;
      padding: 0.75rem;
    }

    .scroll-btn {
      font-size: 1.5rem;
    }
  }