/* ========== City Section STYLES ========== */

.city-section {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax effect */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  transition: background-position 0.3s ease-in-out;
}

.city-section .overlay {
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 700px;
}

.city-section h1,
.city-section h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.city-section p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

/* Button (optional for hero or call-to-action) */
.city-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #0071e3;
  color: #fff;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.city-btn:hover {
  background: #005bb5;
  transform: translateY(-2px);
}

/* ===== Mobile Adjustments ===== */
@media (max-width: 991.98px) {
  .city-section {
    height: 100dvh;
    background-attachment: scroll; /* smoother on mobile */
  }
  .city-section h1,
  .city-section h2 {
    font-size: 2rem;
  }
  .city-section p {
    font-size: 1rem;
  }
  .city-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .city-section h1,
  .city-section h2 {
    font-size: 1.6rem;
  }
  .city-section p {
    font-size: 0.9rem;
  }
  .city-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* ========== Horizontal Gallery Section (for Apple-style image scrolling) ========== */

.city-gallery {
  position: relative;
  height: 100vh;
  overflow: hidden; /* hide scrollbars */
}

.city-gallery .gallery-wrapper {
  display: flex;
  height: 100%;
  width: 100%; /* dynamically set by JS (GSAP) or fallback CSS */
}

.city-gallery .gallery-slide {
  flex: 0 0 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.city-gallery .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 1rem;
  color: #fff;
  max-width: 700px;
  text-align: center;
}

#home-hero .gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

#home-hero .gallery-slide.active {
  opacity: 1;
  z-index: 1;
}

#home-hero .gallery-slide .overlay {
  text-align: center;
  color: white;
  background: rgba(0,0,0,0.4); /* better readability */
  padding: 2rem;
  border-radius: 10px;
}
