
/* SCROLL WRAPPER */
.scroll-down-wrapper {
  width: 100%;
  text-align: center;
  margin-top: 30px;  /* pulls it up slightly to "hug" the bottom of hero */
  margin-bottom: 60px; /* space before the portfolio section */
  z-index: 10;
  position: relative;
  font-family: 'Futura', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}

.scroll-down {
  display: inline-block;
  text-decoration: none;
  color: #C29470;
  animation: float 2s infinite ease-in-out;
}

.scroll-down .mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #C29470;
  border-radius: 20px;
  margin: 0 auto 10px;
  position: relative;
}

.scroll-down .wheel {
  width: 4px;
  height: 8px;
  background: #C29470;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: wheelmove 1.5s infinite ease-in-out;
  
}

@keyframes wheelmove {
  0% { top: 10px; opacity: 1; }
  100% { top: 25px; opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
html {
  scroll-behavior: smooth;
}


/*PROJECT DESCRIPTION PAGE*/
 .section {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 60px 20px;
      background-color: none;
    }

    .content {
      padding-top: 40px;
      max-width: 600px;
      text-align: left;
    }

/*GALLERY*/

  .gallery {
      padding: 40px 20px;
    }

    .gallery-container {
      display: flex;
      overflow-x: auto;
      gap: 20px;
      padding: 20px 0;
      scroll-snap-type: scroll;
    }

    .tile {
      flex: 0 0 calc(33.333% - 20px);
      cursor: pointer;
      scroll-snap-align: start;
      position: relative;
    }

    .tile img {
      width: 100%;
      height: auto;
      border-radius: 8px;
      transition: transform 0.3s ease;
    }

    .tile:hover img {
      transform: scale(1.5);
    }


/* IMAGE SPLIT LARGE-SMALL */
.image-split-section {
  width: 100%;
  padding: 40px 0;
  box-sizing: border-box;
}

/* MAIN WRAPPER */
.image-grid {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =========================
   LARGE IMAGE (CLIPPED BOX)
========================= */
.large-image {
  width: 100%;
  height: 800px;
  border-radius: 16px;
  overflow: hidden; /* clips image inside rounded border */
}

.large-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   SMALL IMAGES GRID (3 ACROSS)
========================= */
.small-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.small-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

@media (max-width: 768px) {

  /* =========================
     SCROLL WRAPPER → STACKED
  ========================= */
  .gallery-container {
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 15px;
  }

  .tile {
    flex: 1 1 100%;
    width: 100%;
  }

   .tile img {
    transform: none !important;
    transition: none !important;
  }

  .tile:hover img {
    transform: none !important;
  }

  /* =========================
     LARGE IMAGE → RESPONSIVE
  ========================= */
  .large-image {
    height: auto; /* remove fixed 800px */
  }

  .large-image img {
    height: auto;
    width: 100%;
  }
  /* =========================
     SMALL IMAGES → STACKED
  ========================= */
  .small-images {
    grid-template-columns: 1fr; /* stack instead of 3 columns */
    gap: 15px;
  }

  .small-images img {
    height: auto;
    width: 100%;
  }
  /* =========================
     SECTION SPACING CLEANUP
  ========================= */
  .image-split-section {
    padding: 20px 15px;
  }

  .image-grid {
    max-width: 100%;
    margin: 0;
  }

}