/* Hamburger icon animation */
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger span + span { margin-top: 5px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
#mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
#mobile-nav.open {
  max-height: 600px;
}

/* Testimonial horizontal scroll-snap on mobile */
@media (max-width: 768px) {
  .testimonial-slider {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 1rem;
    padding-bottom: 1rem;
  }
  .testimonial-slider::-webkit-scrollbar { display: none; }
  .testimonial-slide {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
}

/* Gallery masonry — ensure break-inside works */
.gallery-grid {
  column-gap: 0.75rem;
}
.gallery-grid img {
  display: block;
  width: 100%;
}

/* Lightbox — override hidden when open */
#lightbox:not(.hidden) {
  display: flex !important;
}

/* Smooth body fade-in */
body {
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Form focus ring override */
.form-field:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
}
.form-field.error {
  border-color: #FB7185;
}
.form-field.error:focus {
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.35);
}

/* Hero scroll chevron bounce */
.scroll-chevron {
  animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}
