/* Custom styles for Gibbons Masonry & Concrete */

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

/* Navbar scroll effect */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(30, 58, 95, 0.08);
}

/* Hero gradient animation */
#hero {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Service card hover lift */
#services .group:hover {
  transform: translateY(-4px);
}

/* Gallery hover */
#gallery .group img {
  transition: transform 0.5s ease;
}

/* Form input focus glow */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}

/* Custom selection color */
::selection {
  background: #4ecdc4;
  color: #0e1b30;
}

/* Fade-in animation for sections */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu transition */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Button ripple effect */
button, a {
  position: relative;
  overflow: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  #hero {
    animation: none;
  }
  .fade-in {
    transition: none;
  }
  .group img {
    transition: none;
  }
}
