/* Olivair Parachutisme */

html { scroll-behavior: smooth; }

/* Header states */
.header-transparent { background: transparent; }
.header-transparent .header-text { color: #fff; }
.header-transparent .nav-link { color: rgba(255,255,255,0.85); }
.header-transparent .nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }

.header-solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.header-solid .header-text { color: #1f2937; }
.header-solid .nav-link { color: #4b5563; }
.header-solid .nav-link:hover { color: #0891b2; background: rgba(8,145,178,0.06); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.revealed { opacity: 1; transform: translateY(0); }

/* Hero overlay */
.hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}

/* Card hover */
.card-hover {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Focus accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Print */
@media print {
  header, footer, nav { display: none !important; }
  .prose { max-width: 100%; }
}
