/* Custom styles for Structural Steel Service */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1c1c1c;
}
::-webkit-scrollbar-thumb {
  background: #515151;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e05238;
}

/* Service card stagger animation */
.service-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

/* Gallery item */
.gallery-item {
  cursor: pointer;
}

/* Testimonial card */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Navbar scroll state */
.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Mobile link hover */
.mobile-link {
  display: block;
  padding: 0.5rem 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .service-card,
  .gallery-item,
  .testimonial-card {
    transition: none;
  }
  .gallery-item img {
    transition: none;
  }
}

/* Fade-in animation for scroll sections */
.fade-in-section {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Hero tag animation */
.hero-tag {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Decorative elements */
.divider-accent {
  position: relative;
}
.divider-accent::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 2px;
  background: #e05238;
}
