/* ── Custom component classes (Tailwind-compatible) ────── */

.card {
  background: #ffffff;
  border: 1px solid #e8e9ec;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
}

.card-hover {
  background: #ffffff;
  border: 1px solid #e8e9ec;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);
}

.glass-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.section-padding {
  padding: 5rem 1rem;
}
@media (min-width: 640px)  { .section-padding { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .section-padding { padding-left: 2rem;   padding-right: 2rem; } }

.container-max {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}
.btn:active { transform: scale(0.95); }

.btn-primary {
  background: #002446;
  color: #fff;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 24px rgba(0,36,70,0.22);
}
.btn-primary:hover {
  background: #062a5e;
  box-shadow: 0 6px 32px rgba(0,36,70,0.32);
  color: #fff;
}

.btn-outline {
  border: 2px solid #002446 !important;
  color: #002446;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  background: transparent;
}
.btn-outline:hover {
  background: #002446;
  color: #fff;
}

.btn-ghost {
  color: rgba(0,36,70,0.7);
  padding: 0.5rem 1rem;
  background: transparent;
  border-radius: 0.75rem;
}
.btn-ghost:hover { color: #002446; background: rgba(0,36,70,0.05); }

.btn-primary-dark {
  background: #fff;
  color: #002446;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
}
.btn-primary-dark:hover { background: #f1f5f9; }

.btn-outline-dark {
  border: 1px solid rgba(255,255,255,0.30) !important;
  color: #fff;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  background: transparent;
}
.btn-outline-dark:hover { background: rgba(255,255,255,0.10); }

/* Gradient text */
.text-gradient-navy {
  background: linear-gradient(135deg, #002446 0%, #1a4e96 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;
  user-select: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Navbar scroll effect handled by JS */
#navbar { transition: all 0.3s ease; }
#navbar.scrolled {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  border-bottom: 1px solid #f1f5f9;
}

/* Mobile menu animation */
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up    { animation: fadeUp 0.5s ease-out forwards; }
.animate-fade-in    { animation: fadeIn 0.4s ease-out forwards; }
.animate-slide-down { animation: slideDown 0.25s ease-out forwards; }

/* FAQ accordion */
.faq-answer { display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform 0.2s ease; }

/* Booking wizard steps */
.booking-step { display: none; }
.booking-step.active { display: block; }

/* Spinner */
.spinner {
  width: 1rem; height: 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f3f4f5; }
::-webkit-scrollbar-thumb { background: #c4c6d0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #74777f; }

/* Focus ring */
:focus-visible {
  outline: 2px solid #002446;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Scroll offset for fixed nav */
[id] { scroll-margin-top: 80px; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
