/* =========================================
   HURRIKANE POWERSPORTS — Custom Styles
   ========================================= */

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

::selection {
  background: rgba(245, 166, 35, 0.3);
  color: #fff;
}

/* ---------- Section Layout ---------- */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}

/* ---------- Section Labels & Titles ---------- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F5A623;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.section-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.section-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Buttons ---------- */
.ms-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.625rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.ms-btn:focus-visible {
  outline: 2px solid #F5A623;
  outline-offset: 2px;
}

/* Amber (primary) */
.ms-btn--amber {
  background: #F5A623;
  color: #162029;
  border-color: #F5A623;
}

.ms-btn--amber:hover {
  background: #ffb733;
  border-color: #ffb733;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.3);
}

.ms-btn--amber:active {
  transform: translateY(0);
}

/* Ghost (secondary) */
.ms-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.ms-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Outline (tertiary) */
.ms-btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.ms-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* ---------- Nav Links ---------- */
.nav-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-link:focus-visible {
  outline: 2px solid #F5A623;
  outline-offset: 1px;
}

/* Mobile nav links */
.mobile-nav-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

/* ---------- Floating Stat Cards (Hero) ---------- */
.stat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: rgba(13, 20, 25, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: float-in 0.6s ease both;
}

.stat-card:nth-child(1) { animation-delay: 0.3s; }
.stat-card:nth-child(2) { animation-delay: 0.45s; }
.stat-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card__accent {
  position: absolute;
  inset-y: 0;
  left: 0;
  width: 3px;
  border-radius: 9999px 0 0 9999px;
}

.stat-card--1 .stat-card__accent { background: linear-gradient(180deg, #F5A623, #E8900A); }
.stat-card--2 .stat-card__accent { background: linear-gradient(180deg, #BA8CCF, #7B2D8E); }
.stat-card--3 .stat-card__accent { background: linear-gradient(180deg, #5eead4, #0d9488); }

.stat-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.stat-card__number {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.stat-card__label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.3;
}

/* ---------- Inventory Cards ---------- */
.inv-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.inv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(245, 166, 35, 0.25);
}

.inv-card__img-wrap {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.inv-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.inv-card:hover .inv-card__img {
  transform: scale(1.05);
}

.inv-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #162029;
  background: #F5A623;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}

.inv-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inv-card__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.1875rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.inv-card__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  flex: 1;
}

.inv-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #F5A623;
  text-decoration: none;
  padding-top: 0.5rem;
  transition: gap 0.2s ease, color 0.15s ease;
}

.inv-card__link:hover {
  gap: 0.625rem;
  color: #ffb733;
}

.inv-card__link svg {
  flex-shrink: 0;
}

/* ---------- Service Cards ---------- */
.svc-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(123, 45, 142, 0.35);
}

.svc-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(123, 45, 142, 0.2), rgba(123, 45, 142, 0.05));
  border: 1px solid rgba(123, 45, 142, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.svc-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #BA8CCF;
}

.svc-card__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.svc-card__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Value Chips ---------- */
.value-chip {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
}

.value-chip__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #F5A623;
  flex-shrink: 0;
}

.value-chip span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Form Elements ---------- */
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: #ffffff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-input:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.form-input:focus {
  outline: none;
  border-color: #F5A623;
  background: rgba(245, 166, 35, 0.05);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #f87171;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: #1e2a38;
  color: #ffffff;
}

.form-error {
  font-size: 0.75rem;
  color: #f87171;
  margin-top: 0.25rem;
  min-height: 1rem;
}

/* ---------- Scroll Reveal ---------- */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
  }

  .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Header Scroll State ---------- */
#site-header.scrolled {
  background: rgba(13, 20, 25, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ---------- Responsive ---------- */
@media (max-width: 639px) {
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .stat-card {
    width: 100%;
    max-width: 280px;
  }

  /* Stack stat cards vertically, positioned at bottom */
  .absolute.bottom-20.lg\:bottom-24 {
    position: relative;
    bottom: auto;
    right: auto;
    flex-direction: column;
    margin-top: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .absolute.bottom-20.lg\:bottom-24 {
    position: absolute;
    bottom: 4rem;
    right: 2rem;
  }
}
