/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(91, 44, 111, 0.08);
}

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

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

/* Service cards */
.service-card {
  border: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: 0 8px 40px rgba(91, 44, 111, 0.1);
}

/* Gallery */
.gallery-item {
  cursor: pointer;
  border: 1px solid rgba(91, 44, 111, 0.08);
  transition: border-color 0.3s ease;
}

.gallery-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

/* Reviews */
.review-card {
  border: 1px solid rgba(91, 44, 111, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.review-card:hover {
  box-shadow: 0 12px 40px rgba(91, 44, 111, 0.1);
  transform: translateY(-4px);
}

/* Scroll reveal (progressive enhancement, below fold only) */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .gallery-item img {
    transition: none;
  }
  .gallery-item:hover img {
    transform: none;
  }
}

/* Select styling */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B2C6F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
