/* ==========================================================================
   custom-overrides.css — JetSki Miami live-site polish
   ========================================================================== */

:root {
  --jsm-navy: #0b1f3a;
  --jsm-blue: #1282ff;
  --jsm-cyan: #53d3ff;
  --jsm-gold: #d4a94f;
  --jsm-white: #ffffff;
}

/* --- Brand lockup --------------------------------------------------------- */
.jsm-brand-link {
  text-decoration: none !important;
}

.jsm-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.jsm-brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.18);
  background: rgba(255, 255, 255, 0.98);
  padding: 4px;
}

.jsm-brand-wordmark {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--jsm-navy);
}

footer .jsm-brand-wordmark,
[data-theme="dark"] .jsm-brand-wordmark {
  color: inherit;
}

/* --- Mobile header buttons (hidden on desktop) ----------------------- */
.jsm-mobile-header-btns {
  display: none;                    /* hidden on desktop */
}

@media (max-width: 1023px) {
  .jsm-mobile-header-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;             /* push to the right side of header */
  }

  .jsm-mob-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
  }

  .jsm-mob-btn:active {
    transform: scale(0.96);
  }

  .jsm-mob-btn--call {
    background: rgba(11, 31, 58, 0.08);
    color: var(--jsm-navy);
  }

  .jsm-mob-btn--call svg {
    width: 16px;
    height: 16px;
  }

  .jsm-mob-btn--book {
    background: linear-gradient(135deg, var(--jsm-blue), #4d9eff);
    color: #fff;
    box-shadow: 0 4px 14px rgba(18, 130, 255, 0.3);
  }
}

@media (max-width: 480px) {
  .jsm-mob-btn {
    padding: 7px 10px;
    font-size: 13px;
  }
  .jsm-mob-btn--call span {
    display: none;               /* icon-only on very small screens */
  }
}

/* --- Sticky CTA Bar ------------------------------------------------------- */
.jsm-sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.96) 0%, rgba(18, 130, 255, 0.96) 100%);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 44px rgba(11, 31, 58, 0.28);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.jsm-sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.jsm-sticky-cta__btn:hover,
.jsm-sticky-cta__btn:focus-visible {
  transform: translateY(-1px);
}

.jsm-sticky-cta__btn--primary {
  background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
  color: var(--jsm-navy);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.2);
}

.jsm-sticky-cta__btn--call {
  color: var(--jsm-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.jsm-sticky-cta__btn--call:hover,
.jsm-sticky-cta__btn--call:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

body {
  padding-bottom: 100px !important;
}

/* --- Mobile touch target improvements ------------------------------------ */
@media (max-width: 768px) {
  a,
  button,
  [role="button"],
  input[type="submit"],
  input[type="button"],
  .btn,
  .button,
  [class*="cta"],
  [class*="btn"] {
    min-height: 44px;
    min-width: 44px;
  }

  nav a,
  .nav a,
  .navbar a,
  .menu a {
    padding: 12px 14px !important;
    display: inline-flex;
    align-items: center;
  }

  a[href^="tel:"],
  a[href^="sms:"],
  .phone-link,
  .contact-link {
    padding: 14px 18px !important;
    font-size: 18px !important;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    min-height: 48px;
    font-size: 16px !important;
  }

  textarea {
    min-height: 100px;
  }

  .jsm-brand-logo {
    width: 38px;
    height: 38px;
  }

  .jsm-brand-wordmark {
    font-size: 0.94rem;
  }

  .jsm-sticky-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px;
    gap: 8px;
  }

  .jsm-sticky-cta__btn {
    flex: 1;
    padding: 13px 12px;
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .jsm-sticky-cta {
    flex-direction: column;
  }

  .jsm-sticky-cta__btn {
    width: 100%;
  }
}
