/* SERVICE HERO */
.service-hero .container {
  position: relative;
  z-index: 2;
}

/* SERVICE HERO */
.service-hero {
  min-height: 55vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.service-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.15)
  );
  z-index: 1;
}


.service-hero h1 {
  color: #f7941d; /* brand color */
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow:
    0 3px 8px rgba(0,0,0,0.9),
    0 0 20px rgba(0,0,0,0.6);
}

.service-hero p {
  color: #ffffff;
  font-size: 15px;
  margin-top: 8px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.85);
}


/* CONTENT */
.service-content {
  padding: 70px 0;
}

.service-content h2 {
  color: #f7941d;
  font-weight: 800;
  margin-bottom: 20px;
}

.service-points {
  margin-top: 20px;
}

.service-points li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.service-points li::before {
  content: "•";
  color: #f7941d;
  position: absolute;
  left: 0;
}

/* CTA */
.service-cta {
  text-align: center;
  padding: 60px 20px;
}

/* GALLERY */
.service-gallery {
  padding-bottom: 60px;
}

.service-gallery img {
  width: 100%;
  border-radius: 6px;
}

/* ENQUIRY */
.enquiry-box {
  background: #f7941d;
  padding: 60px 20px;
  text-align: center;
}

.enquiry-form {
  max-width: 900px;
  margin: auto;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 8px;
  border: none;
}

.enquiry-form button {
  background: #111;
  color: #fff;
  padding: 12px 40px;
  border-radius: 30px;
  border: none;
  font-weight: 700;
}
/* ================= SERVICES DROPDOWN ================= */

/* Desktop hover dropdown */
@media (min-width: 992px) {
  .services-dropdown {
    position: relative;
  }

  .services-dropdown .custom-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 6px;
    padding: 10px 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border: none;
    z-index: 9999;
  }

  .services-dropdown:hover .custom-dropdown {
    display: block;
  }

  .custom-dropdown .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    color: #000;
    transition: all 0.2s ease;
  }

  .custom-dropdown .dropdown-item:hover {
    background: #f7941d;
    color: #fff;
  }
}

/* Mobile: disable hover dropdown */
@media (max-width: 991px) {
  .services-dropdown .custom-dropdown {
    display: none !important;
  }
}
/* ================= FABRICATION IMAGE SLIDER ================= */

.service-gallery {
  margin: 80px auto;
  position: relative;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
    /* 🔥 REQUIRED FOR MOBILE */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;

}

/* Hide scrollbar */
.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-item {
  min-width: 300px;
  max-width: 300px;
  height: 220px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
   scroll-snap-align: start;
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform .4s ease;
}

.slider-item:hover img {
  transform: scale(1.08);
}

/* SLIDER BUTTONS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #f7941d;
  border: none;
  font-size: 28px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.slider-btn.left { left: -10px; }
.slider-btn.right { right: -10px; }

.slider-btn:hover {
  background: #f7941d;
  color: #000;
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 768px) {

  .slider-item {
    min-width: 240px;
    height: 180px;
  }

  .slider-btn {
    display: none;
  }
}
/* =====================
   MOBILE CONTENT PADDING FIX
===================== */
@media (max-width: 768px) {

  /* General container padding */
  .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  /* Service content section */
  .service-content {
    padding: 50px 15px;
  }

  /* Service gallery */
  .service-gallery {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Contact section */
  .contact-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero text spacing */
  .service-hero .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* List spacing */
  .service-points {
    padding-left: 5px;
  }
}
/* ================= SERVICE HERO IMAGES ================= */

/* Iron Gate */
.hero-iron-gate {
  background-image: url("../images/services/gate.jpg");
}

/* Staircase */
.hero-staircase {
  background-image: url("../images/services/STAIRCASERAILING.jpg");
}

/* Boundary Wall */
.hero-boundary {
  background-image: url("../images/services/boundarywall.jpg");
}

/* Roofing Shed */
.hero-roofing {
  background-image: url("../images/services/roofingshade.jpg");
}

/* Rolling Shutter */
.hero-shutter {
  background-image: url("../images/services/rollingshutter.jpg");
}

/* Iron Grill */
.hero-grill {
  background-image: url("../images/services/grill-banner.jpg");
}

/* Custom Fabrication */
.hero-custom {
  background-image: url("../images/services/customfab.jpg");
}
/* ================= SLIDER DOTS ================= */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots span.active {
  background: var(--primary);
  transform: scale(1.3);
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-btn {
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #000;
}

.gallery-item {
  height: 220px;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* IMPORTANT */
  background: #000;
}
