/* RWW Bouw - Custom Styles */

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

/* Hero overlay */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(28, 25, 23, 0.7) 0%,
    rgba(28, 25, 23, 0.5) 50%,
    rgba(28, 25, 23, 0.8) 100%
  );
}

/* Photo grid hover effect */
.project-card img {
  transition: transform 0.5s ease;
}
.project-card:hover img {
  transform: scale(1.05);
}

/* Review cards */
.review-card {
  position: relative;
}
.review-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: rgba(153, 27, 27, 0.15);
  position: absolute;
  top: -0.5rem;
  left: 0.5rem;
  line-height: 1;
}

/* Sticky header transition */
.site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background-color: rgba(28, 25, 23, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  transform: translateX(0);
}

/* Process step connector */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  width: 3rem;
  height: 2px;
  background-color: #991B1B;
  opacity: 0.3;
}

@media (max-width: 767px) {
  .process-step:not(:last-child)::after {
    top: auto;
    bottom: -0.75rem;
    left: 50%;
    right: auto;
    width: 2px;
    height: 1.5rem;
    transform: translateX(-50%);
  }
}

/* Star rating */
.stars {
  color: #FBBF24;
  letter-spacing: 2px;
}

/* Form focus states */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #991B1B;
  box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.1);
}

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

/* Contact floating button mobile */
.floating-cta {
  animation: pulse-subtle 3s infinite;
}

@keyframes pulse-subtle {
  0%, 100% { box-shadow: 0 4px 15px rgba(153, 27, 27, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(153, 27, 27, 0.6); }
}
