html {
  scroll-behavior: smooth;
}

/* Keep section headings clear of the sticky navbar */
section[id] {
  scroll-margin-top: 64px;
}

/* Navbar */
.nav-link {
  display: inline-block;
  color: #374151;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 9999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: #117a8b;
  background-color: rgba(17, 122, 139, 0.08);
}

.nav-link.is-active {
  color: #fff;
  background-color: #117a8b;
  font-weight: 600;
}

#navbar.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#menu.active {
  right: 0;
}

/* Hero */
.hero-overlay {
  background:
    linear-gradient(to right,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.6) 25%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.6) 75%,
      rgba(0, 0, 0, 0.85) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 25%);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-right {
  animation: slideInRight 1s ease-out;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  width: 20px;
  border-radius: 6px;
  background: white;
}

/* Side download panels */
.broucherDownloadContainer,
.costSheetDownloadContainer {
  transition: all 0.5s ease;
}

.broucherDownloadContainer.broucherActive,
.costSheetDownloadContainer.costSheetActive {
  left: 0;
}

@keyframes colorCycle {
  0% {
    background-color: #ff0000;
  }
  100% {
    background-color: #117a8b;
  }
}

.animate-color-change {
  animation: colorCycle 1s infinite alternate;
}

/* FAQ */
.faq-item {
  padding: 18px 20px;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #117a8b;
  border-radius: 12px;
  background: #fff;
}

.faq-answer {
  color: #4b5563;
  font-size: 15px;
}

.faq-answer p + p,
.faq-answer ul + p,
.faq-answer ol + p {
  margin-top: 8px;
}

/* SEO content: highlighted keywords + internal links */
.seo-content strong,
.about-intro strong,
.faq-answer strong {
  color: #111827;
  font-weight: 600;
}

.seo-link {
  color: #117a8b;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(17, 122, 139, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.seo-link:hover {
  text-decoration-color: #117a8b;
}
