/* === Skydiving Mauritius — Custom Styles === */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --color-primary: #0EA5E9;
  --color-primary-dark: #0284C7;
  --color-secondary: #38BDF8;
  --color-cta: #F97316;
  --color-cta-dark: #EA580C;
  --color-bg: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #64748B;
  --color-surface: #FFFFFF;
  --radius: 12px;
  --shadow-card: 0 4px 6px -1px rgba(12, 74, 110, 0.08), 0 2px 4px -2px rgba(12, 74, 110, 0.04);
  --shadow-card-hover: 0 20px 25px -5px rgba(12, 74, 110, 0.12), 0 8px 10px -6px rgba(12, 74, 110, 0.08);
  --shadow-nav: 0 1px 3px rgba(12, 74, 110, 0.08);
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text);
  text-wrap: balance;
}

/* Smooth focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 200ms ease;
  cursor: pointer;
  border: none;
  line-height: 1.25;
}

.btn-primary {
  background: var(--color-cta);
  color: white;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  background: var(--color-cta-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-1px);
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14, 165, 233, 0.12);
  box-shadow: var(--shadow-nav);
}

.nav-link {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  transition: all 200ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary-dark);
  background: rgba(14, 165, 233, 0.08);
}

/* Cards */
.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: all 250ms ease;
  border: 1px solid rgba(14, 165, 233, 0.08);
}

.card-hover:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.card-featured {
  border: 2px solid var(--color-cta);
  position: relative;
}

/* Hero gradient overlay */
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(12, 74, 110, 0.85) 0%,
    rgba(12, 74, 110, 0.55) 50%,
    rgba(14, 165, 233, 0.25) 100%
  );
}

/* Section styling */
.section {
  padding: 5rem 1rem;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 7rem 2rem;
  }
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid rgba(14, 165, 233, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
  cursor: pointer;
  transition: color 200ms ease;
}

.faq-question:hover {
  color: var(--color-primary-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}

.faq-answer.open {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 300ms ease;
  color: var(--color-primary);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

/* Forms */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: white;
  transition: all 200ms ease;
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
  outline: none;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: var(--color-text);
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 200ms ease;
  cursor: pointer;
  border: none;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  background: #128C7E;
}

/* Trust badges */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0.625rem;
  top: 0.5rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-primary);
}

/* Image treatment */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  padding: 6rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 300ms ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
  color: var(--color-text);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--color-primary-dark);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}
