/* css/contact.css */

/* Keep navbar behavior consistent with other white pages */
.page-contact .nav-links a {
  color: #000 !important;
}

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

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

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

/* Page wrapper */
.contact-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 1.25rem 4rem;
}

/* Hero */
.contact-hero {
  text-align: center;
  margin-bottom: 2.2rem;
}

.contact-hero h1 {
  font-family: "Permanent Marker", cursive;
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
}

.contact-hero p {
  line-height: 1.85;
  color: #222;
  max-width: 700px;
  margin: 0 auto;
}

/* Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.6rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-side {
    order: -1;
  }
}

/* Cards */
.contact-card,
.contact-side-card {
  background: #f6f6f6;
  border-radius: 22px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}

.contact-card h2,
.contact-side-card h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-weight: 700;
  font-size: 0.95rem;
  color: #111;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 2px solid rgba(0,0,0,0.14);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  font-family: "Fira Mono", monospace;
  font-size: 0.95rem;
  outline: none;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(0,0,0,0.45);
}

.special-tour-fields {
  display: grid;
  gap: 0.9rem;
}

/* Buttons */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 1.6rem;
  border-radius: 999px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  background: #111;
}

/* Ghost buttons in bottom CTA */
.contact-btn.ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
  box-shadow: none;
}

.contact-btn.ghost:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

/* Side buttons */
.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  height: 54px;
  padding: 0 1.4rem;
  margin-top: 0.7rem;
  border-radius: 999px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: 1.15rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

.contact-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  background: #111;
}

.contact-pill.outline {
  background: transparent;
  color: #000;
  box-shadow: none;
}

.contact-pill.outline:hover {
  background: #000;
  color: #fff;
}

.contact-pill-icon {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
}

/* Side text */
.contact-side-card p {
  line-height: 1.8;
  color: #222;
  margin: 0 0 0.4rem;
}

.contact-side-card .small {
  font-size: 0.95rem;
  opacity: 0.9;
}

.contact-divider {
  height: 1px;
  background: rgba(0,0,0,0.10);
  margin: 1.2rem 0 1.1rem;
}

.contact-side-card h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

/* Map link */
.contact-map {
  display: inline-block;
  margin-top: 0.6rem;
  color: #000;
  font-weight: 800;
  text-decoration: none;
  opacity: 0.8;
}

.contact-map:hover {
  opacity: 1;
}

/* Note */
.contact-note {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
}

/* Bottom CTA */
.contact-bottom-cta {
  margin-top: 3.2rem;
}

.contact-bottom-cta-inner {
  background: #000;
  color: #fff;
  border-radius: 22px;
  padding: 2.4rem 1.6rem;
  text-align: center;
}

.contact-bottom-cta-inner h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.contact-bottom-cta-inner p {
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 1.35rem;
}

.contact-bottom-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Success modal */
.success-modal[hidden] {
  display: none;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.45);
}

.success-modal-card {
  width: min(100%, 520px);
  background: #fff;
  border-radius: 22px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  text-align: center;
}

.success-modal-card h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: 2rem;
  margin: 0 0 0.6rem;
}

.success-modal-card p {
  margin: 0 0 1.2rem;
  line-height: 1.7;
  color: #222;
}

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

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

.footer-legal {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

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

@media (max-width: 600px) {
  .footer-legal {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .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;
  }
}

.footer-link {
  white-space: nowrap;
}

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

.footer-partners {
  text-align: center;
  margin-bottom: 1.2rem;
}

.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: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  column-gap: 3rem;
}

.footer-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logos a:nth-child(1) {
  justify-self: end;
}

.footer-logos a:nth-child(2) {
  justify-self: center;
}

.footer-logos a:nth-child(3) {
  justify-self: start;
}

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

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

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

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

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

@media (max-width: 700px) {
  .footer-logos {
    gap: 1.4rem;
  }

  .footer-logos img {
    height: 32px;
    max-width: 120px;
  }
}

/* Hard desktop safety */
@media (min-width: 951px) {
  .menu-toggle {
    display: none !important;
    pointer-events: none !important;
  }

  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 950px) {
  .page-contact .menu-toggle span {
    background: #000 !important;
  }
}