/* Berlin Signature Catering – Custom Styles */

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

/* Mobile menu toggle */
#mobile-menu {
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* Sticky header shadow on scroll */
header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Hero gradient overlay */
.hero-overlay {
  background: linear-gradient(135deg, rgba(39, 83, 23, 0.9) 0%, rgba(61, 126, 43, 0.8) 100%);
}

/* Card hover effect */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* USP Cards */
.usp-card {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.usp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(39, 83, 23, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(101, 163, 79, 0.3);
}

/* Counter animation */
.counter {
  display: inline-block;
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 4rem;
  color: #3d7e2b;
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #3d7e2b;
  box-shadow: 0 0 0 3px rgba(61, 126, 43, 0.15);
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.faq-answer.open {
  max-height: 300px;
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 100;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

/* Pulse animation for CTA */
@keyframes pulse-green {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(39, 83, 23, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(39, 83, 23, 0);
  }
}

.pulse-cta {
  animation: pulse-green 2s infinite;
}

/* Lazy loading image fade-in */
img[loading="lazy"] {
  transition: opacity 0.3s ease;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip navigation link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: #275317;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.5rem;
}
