/* =========================
   PRIVACY PAGE
   ========================= */

/* ===== PAGE WIDTH LOCK ===== */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img,
video,
iframe {
  max-width: 100%;
}

.page-privacy {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.page-privacy .nav-links a {
  color: #000 !important;
}

.page-privacy .logo {
  filter: brightness(0) invert(0) !important;
}

.page-privacy .navbar {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.page-privacy .navbar.solid {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}

/* Make burger visible on white background */
@media (max-width: 950px) {
  .page-privacy .menu-toggle span {
    background: #000 !important;
  }
}

/* ===== PAGE WRAPPER ===== */
.privacy-page {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 1.25rem 4rem;
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

/* ===== CARD ===== */
.privacy-card {
  width: 100%;
  max-width: 100%;
  background: #f6f6f6;
  border-radius: 22px;
  padding: 2rem 1.6rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* ===== TITLE ===== */
.privacy-page h1 {
  font-family: "Permanent Marker", cursive;
  font-size: 2.6rem;
  line-height: 1.05;
  margin: 0 0 1.6rem;
  text-align: center;
}

/* ===== SECTION HEADINGS ===== */
.privacy-page h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin: 2.2rem 0 0.6rem;
}

.privacy-page h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin: 1.4rem 0 0.5rem;
}

/* ===== BODY TEXT ===== */
.privacy-page p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #222;
  margin: 0 0 1rem;
}

/* ===== LISTS ===== */
.privacy-page ul {
  margin: 0.25rem 0 1rem 1.2rem;
  padding: 0;
}

.privacy-page li {
  font-size: 0.95rem;
  line-height: 1.9;
  margin: 0.55rem 0;
  color: #222;
}

/* ===== CONTENT LINKS ===== */
.privacy-page a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-page strong {
  color: #111;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  width: 100%;
  max-width: 100%;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem 1.8rem;
  margin-top: 4rem;
  overflow: hidden;
}

.footer-legal {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  line-height: 1.6;
  text-decoration: none;
  border-bottom: none;
  outline: none;
}

.footer-legal span,
.footer-legal a,
.footer-link {
  text-decoration: none;
  border-bottom: none;
  outline: none;
}

.footer-link {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ===== FOOTER PARTNERS ===== */
.footer-partners {
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin-bottom: 1.2rem;
  overflow: visible;
}

.footer-partners-title {
  font-size: 0.85rem;
  letter-spacing: 1px;
  opacity: 0.7;
  margin: 0 0 0.75rem 0;
}

.footer-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  column-gap: 2rem;
  overflow: visible;
}

.footer-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: visible;
}

.footer-logos img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  display: block;
}

.footer-logos img[alt="ION"] {
  height: 155px;
}

.footer-logos img[alt="SolarGuard"] {
  height: 72px;
}

.footer-logos img[alt="ROC Bike Customs"] {
  height: 38px;
}

.footer-logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {
  html,
  body,
  .page-privacy,
  main,
  section,
  .privacy-page,
  .privacy-card,
  .site-footer {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    touch-action: pan-y;
  }

  .privacy-page {
    padding: 120px 1rem 3.5rem;
  }

  .privacy-card {
    padding: 1.6rem 1rem;
  }

  .privacy-page h1 {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .privacy-page h2 {
    font-size: 1.25rem;
  }

  .privacy-page h3 {
    font-size: 1.05rem;
  }

  .privacy-page p,
  .privacy-page li {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .privacy-page ul {
    margin-left: 1rem;
  }

  .footer-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 0.75rem;
    max-width: 100%;
    padding: 0 0.25rem;
  }
}

@media (max-width: 600px) {
  .footer-legal .footer-break {
    display: block;
    height: 0;
  }

  .footer-legal .footer-sep {
    display: none;
  }
}

@media (min-width: 601px) {
  .footer-legal .footer-break {
    display: none;
  }

  .footer-legal .footer-sep {
    display: inline;
  }
}

/* ===== KEEP MOBILE FOOTER LOGO SIZES CONSISTENT ACROSS ALL PAGES ===== */
@media (max-width: 700px) {
  .site-footer .footer-logos img[alt="ION"] {
    height: 76px !important;
    max-height: none !important;
    max-width: 120px !important;
  }

  .site-footer .footer-logos img[alt="SolarGuard"] {
    height: 50px !important;
    max-height: none !important;
    max-width: 110px !important;
  }

  .site-footer .footer-logos img[alt="ROC Bike Customs"] {
    height: 28px !important;
    max-height: none !important;
    max-width: 120px !important;
  }
}

/* ===== MOBILE MENU: STAY VISIBLE AFTER SCROLL ===== */
@media (max-width: 950px) {
  .navbar,
  .navbar.solid,
  .nav-bar {
    overflow: visible !important;
  }

  .navbar.solid {
    backdrop-filter: none !important;
  }

  .mobile-menu {
    position: fixed !important;
    z-index: 99999 !important;
    display: none;
    overflow: visible !important;
  }
}
