@import "./globals.css";
@import "./components.css";
@import "./variables.css";
@import "./pages/hero.css";
@import "./pages/services.css";
@import "./pages/about.css";
@import "./pages/process.css";
@import "./pages/pricing.css";
@import "./pages/gallery.css";
@import "./pages/faq.css";
@import "./pages/contact.css";

.gallery-section {
  overflow: hidden;
}

.gallery-slider {
  position: relative;
  width: min(100% - 2rem, 1100px);
  margin: 3rem auto 0;
}

.gallery-track-wrapper {
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  background: #111;
}

.gallery-track {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  transition: transform 600ms ease;
  will-change: transform;
}

.gallery-slide {
  min-width: 100%;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: clamp(320px, 65vw, 680px);
  object-fit: cover;
  display: block;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #111;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.gallery-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.gallery-btn:focus-visible {
  outline: 3px solid #c8954b;
  outline-offset: 4px;
}

.gallery-btn-prev {
  left: 1rem;
}

.gallery-btn-next {
  right: 1rem;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.gallery-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(17, 17, 17, 0.25);
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.gallery-dot.active {
  width: 34px;
  background: #c8954b;
}

.gallery-dot:focus-visible {
  outline: 3px solid #c8954b;
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .gallery-slider {
    width: min(100% - 1rem, 100%);
  }

  .gallery-slide img {
    height: 420px;
  }

  .gallery-btn {
    width: 42px;
    height: 42px;
  }

  .gallery-btn-prev {
    left: 0.75rem;
  }

  .gallery-btn-next {
    right: 0.75rem;
  }
}

@media (max-width: 480px) {
  .gallery-slide img {
    height: 330px;
  }

  .gallery-btn {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    transition: none;
  }
}
/* ============================= */
/* Creative Fade Gallery Section */
/* ============================= */

.gallery-section {
  padding: 80px 20px;
  background: #f8f8f8;
}

.gallery-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #777;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
}

/* Main gallery wrapper */
.gallery-fade {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Image container */
.gallery-fade-container {
  position: relative;
  height: 550px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
  background: #111;
}

/* Remove list spacing */
.gallery-track {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Every slide sits on top of each other */
.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  filter: blur(8px);
  transition:
    opacity 1.2s ease-in-out,
    transform 1.6s ease-in-out,
    filter 1.2s ease-in-out;
  pointer-events: none;
}

/* Active image fades in */
.gallery-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  z-index: 2;
  pointer-events: auto;
}

/* Image styling */
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark gradient overlay for premium feel */
.gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 55%),
    radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.25));
  z-index: 1;
}

/* Navigation buttons */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.9);
  color: #111;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.gallery-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.gallery-btn-prev {
  left: 20px;
}

.gallery-btn-next {
  right: 20px;
}

/* Dots */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.gallery-dot {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  width: 34px;
  border-radius: 999px;
  background: #111;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .gallery-fade-container {
    height: 360px;
    border-radius: 20px;
  }

  .gallery-btn {
    width: 42px;
    height: 42px;
  }

  .gallery-btn-prev {
    left: 12px;
  }

  .gallery-btn-next {
    right: 12px;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .gallery-fade-container {
    height: 280px;
  }

  .gallery-btn {
    width: 38px;
    height: 38px;
  }
}