:root {
  --navy: #0f172a;
  --orange: #f97316;
  --blush: #fdf2f8;
  --text: #334155;
  --muted: #64748b;
}
body {
  font-family: "Inter", sans-serif;
  color: var(--text);
}
html {
  scroll-behavior: smooth;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-pattern {
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.45)),
    url("../images/main-image-outdoor.avif");
  background-size: cover;
  background-position: center;
}
.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.image-card {
  overflow: hidden;
}
.image-card img {
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
  filter: brightness(0.95);
}
.image-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.02);
}
#backToTop.show {
  display: block !important;
}
.gallery-item {
  display: none;
}
.gallery-item.is-visible {
  display: block;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.lightbox .close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .answer {
  max-height: 220px;
}

/* keep all original colors – just enhanced spacing, hover, and reveal */
.faq-item {
  backdrop-filter: blur(2px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item .answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  margin-top: 0;
  border-top: none;
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease,
    padding 0.3s ease,
    margin 0.3s ease;
}

.faq-item.active .answer {
  max-height: 200px;
  opacity: 1;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgba(226, 232, 240, 0.8);
}

.faq-item.active button span:last-child {
  transform: rotate(45deg);
  background-color: rgba(234, 88, 12, 0.2);
}

/* reveal animation (optional) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item.reveal {
  animation-delay: calc(var(--index, 0) * 60ms);
}

/* force orange color from original */
.text-orange {
  color: #ea580c;
}

.bg-orange {
  background-color: #ea580c;
}

.border-orange {
  border-color: #ea580c;
}

.bg-orange\/10 {
  background-color: rgba(234, 88, 12, 0.1);
}

.bg-orange\/20 {
  background-color: rgba(234, 88, 12, 0.2);
}

.hover\:border-orange\/30:hover {
  border-color: rgba(234, 88, 12, 0.3);
}

.group:hover .group-hover\:text-orange {
  color: #ea580c;
}

.group:hover .group-hover\:bg-orange\/20 {
  background-color: rgba(234, 88, 12, 0.2);
}

.group:hover .group-hover\:rotate-90 {
  transform: rotate(90deg);
}

/* ensure smooth toggle */
.faq-item.active button span:last-child {
  transform: rotate(45deg);
}
