/* Custom styles for Holland Frame Service */

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

/* Header scroll state */
#header.scrolled {
  background: rgba(255, 250, 248, 0.95);
  backdrop-blur-lg;
  box-shadow: 0 1px 20px rgba(123, 30, 43, 0.08);
}

#header.scrolled .font-serif {
  color: #7B1E2B !important;
}

/* Nav links */
.nav-link {
  position: relative;
}

.nav-link:hover {
  color: #7B1E2B;
}

/* Service cards */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7B1E2B, #e87d95);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Testimonial cards */
.testimonial-card {
  position: relative;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 80px;
  color: #f9dfe4;
  line-height: 1;
  pointer-events: none;
}

/* Mobile menu */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile nav links */
.mobile-nav-link {
  display: block;
  width: 100%;
}

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

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

/* Stagger children */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Selection color */
::selection {
  background: #f9dfe4;
  color: #7B1E2B;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FFFAF8;
}

::-webkit-scrollbar-thumb {
  background: #e992a0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c73d52;
}

/* Hero image parallax effect on scroll */
@media (min-width: 1024px) {
  #hero img {
    transition: transform 0.3s ease;
  }
}

/* Button hover glow */
button:hover,
a:hover {
  transition: all 0.2s ease;
}

/* Form transitions */
input,
select,
textarea {
  transition: all 0.2s ease;
}
