/* Kickstand Atlas - shared styles */

:root{
  --bg: #1a1a1a;
  --bg2:#111;
  --nav:#222;
  --text:#eee;
  --muted:#ccc;
  --accent:#f28c28;
  --muted2:#666;
}

*{ box-sizing: border-box; }

body{
  margin:0;
  font-family: 'Oswald', sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

/* Header */
header{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 1rem;
  background-color: var(--bg2);
  padding: 1rem;
  border-bottom: 2px solid var(--accent);
}

.site-logo{
  height: 60px;   /*try 42-60 */
  width: auto;
  vertical-align: middle;
}

.site-title{
  font-size: 2rem;
  letter-spacing: 2px;
}

/* Nav */
nav{
  background-color: var(--nav);
  display:flex;
  justify-content:center;
  flex-wrap: wrap;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a{
  color: var(--text);
  text-decoration:none;
  margin: 0 1rem;
  font-size: 1.1rem;
  transition: color 0.3s;
}

nav a:hover{ color: var(--accent); }

nav a.active{
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

/* Layout */
.content{
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

.content--wide { max-width: 1100px; }

.content h1, .content h2{
  color: var(--accent);
  margin-top: 1rem;
  text-align:left;
}

.content p, .content ul{ margin-bottom: 1rem; }

.content ul{
  list-style: disc;
  padding-left: 1.5rem;
}

/* Quote block under maps (reset default blockquote styling) */
blockquote.ride-quote{
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;  /* only round the right side */
}

blockquote.ride-quote::before,
blockquote.ride-quote::after{
  content: none;                 /* remove any generated quote marks */
}

/* Homepage hero */
.hero{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  min-height: calc(100vh - 120px);
  padding: 1.25rem 1rem 0.75rem;
  text-align:center;
}

.hero-logo{
  height: 110px;          /* try 80–120 */
  max-height: 140px;
  width: auto;
  display: block;
  margin: 0 auto 0.75rem; /* centered + same spacing you had */
}

@media (min-width: 900px){
  .hero-logo{ height: 120px; }
}

/* Inline/float images in content pages */
.content-img {
  float: right;
  width: 160px;
  max-width: 45%;
  margin: 0 0 1rem 1rem;
  border-radius: 6px;
  border: none;
}


.content-img--large{
  width: 75%;
  max-width: 340px;
}

/* OPTIONAL: QR image styling */
.qr-img{
  display:block;
  margin: 0.75rem auto;
  width: 220px;
  height: 220px;
}

/* Destinations page: text + image side-by-side */
.dest-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.dest-image{
  width: 100%;
  max-width: 360px;
  border-radius: 10px;
  border: 1px solid #333;
  display: block;
  margin-left: auto;
}

/* Mobile: stack image under text */
@media (max-width: 900px){
  .dest-grid{
    grid-template-columns: 1fr;
  }
  .dest-image{
    max-width: 100%;
    margin: 0;
  }
}

/* ArcGIS embeds */
.map-embed{
  margin: 1.5rem 0;
}

.map-embed iframe{
  width: 100%;
  height: 70vh;       /* was 75vh */
  min-height: 520px;  /* was 600px */
  border: 0;
}

@media (max-width: 768px){
  header{ padding: 0.75rem; }
  .site-title{ font-size: 1.5rem; }
  nav a{ margin: 0.5rem; font-size: 1rem; }
  .hero{ min-height: auto; }
  .hero h1{ font-size: 2rem; }
  .hero p{ font-size: 1rem; max-width: 92%; }
  .map-embed iframe{ height: 460px; }
}

/* Links */
.event-link, .survey-form a{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}
.event-link:hover, .survey-form a:hover{
  color: var(--accent);
}

/* OPTIONAL: button-style link */
.map-link-btn {
  display: inline-block;
  padding: 10px 14px;
  border: 2px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #111 !important;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s;
}

.map-link-btn:hover {
  background: #ffb733;
  border-color: #ffb733;
}

.disabled-link{
  color: #999 !important;
  pointer-events: none;
  text-decoration: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.disabled-link:hover{
  color: #999 !important;
  text-decoration: none;
}

/* HOG logo */
.hog-logo{
  float:right;
  width: 150px;
  margin: 0 0 1rem 1rem;
}

/* Contact form */
#contact-form{
  display:flex;
  flex-direction: column;
  gap: 0.25rem;
}

#contact-form label{
  margin-top: 0.5rem;
  font-weight: bold;
}

#contact-form input,
#contact-form textarea{
  padding: 0.6rem;
  margin-bottom: 0.75rem;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #2a2a2a;
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
}

#contact-form button{
  width: fit-content;
  padding: 0.55rem 1.1rem;
  background-color: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.2s;
}

#contact-form button:hover{
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Align labels + fields */
#contact-form .field{
  display: flex;
  align-items: center;
  gap: 16px;
}

#contact-form .label{
  width: 140px;          /* adjust if you want wider */
  text-align: right;
  font-weight: 700;
}

/* Make inputs line up */
#contact-form input,
#contact-form textarea{
  flex: 1;
}

/* Message label aligned to top of textarea */
#contact-form .field-message{
  align-items: flex-start;
}

#contact-form .field-message .label{
  padding-top: 12px;     /* tweak until it looks perfect */
}

/* Button: align with the input boxes (start edge) */
#contact-form button{
  margin-left: calc(140px + 16px); /* label width + gap */
}

/* Optional: tighten spacing between rows */
#contact-form .field{
  margin-bottom: 10px;   /* try 10–14px */
}

#contact-form button{
  margin-left: calc(140px + 16px);
}

#contact-form .field-message{
  margin-bottom: 10px;
}

/* =========================
   Experience Builder embed
   ========================= */
.xb-embed {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 1.5rem 0;
}

.xb-embed iframe {
  display: block;
  width: 100%;
  height: 85vh;
  min-height: 650px;
  border: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .xb-embed iframe {
    transform: scale(0.85);
    transform-origin: top left;
    margin-bottom: calc((740px * 0.85) - 740px);
  }
}

/* Mobile: let it scroll horizontally */
@media (max-width: 767px) {
  .xb-embed {
    overflow-x: auto;
  }
  .xb-embed iframe {
    transform: scale(0.65);
    transform-origin: top left;
    margin-bottom: calc((740px * 0.65) - 740px);
  }
}

/* ===========================
   Mobile hamburger nav
   =========================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--nav);
  border-bottom: 2px solid var(--accent);
}

.nav-toggle{
  display: none; /* hidden on desktop */
  background: transparent;
  border: 1px solid #444;
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: inherit;
  cursor: pointer;
}

@media (max-width: 768px){
  .nav-toggle{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px auto 0;

    font-size: 1.05rem;   /* NEW: slightly bigger text + ☰ */
    padding: 10px 14px;   /* NEW: bigger tap target */
    border-width: 2px;    /* NEW: optional, makes it pop */
  }

  /* hide menu by default on mobile */
  .site-nav{
    display: none;
    margin-top: 10px;
  }

  /* show when toggled */
  .site-nav.open{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav a{
    display: block;
    padding: 10px 12px;
  }
}

/* Footer */
footer{
  text-align:center;
  padding: 1rem 0;
  background-color: var(--bg2);
  color: var(--muted2);
  font-size: 0.9rem;
  clear: both;
}

/* =========================
   Homepage - Hero
   ========================= */

.hero {
  position: relative;
  background: url('../media/images/Bikes_IFO_Store.jpg') center center / cover no-repeat;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.hero > * { position: relative; z-index: 1; }

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 2px;
  margin: 0 0 0.25rem;
  color: #fff;
  text-transform: uppercase;
}

.hero h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.hero p {
  color: #e8e8e8;
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s;
}

.hero-cta:hover { background: #ffb733; }

/* =========================
   Homepage - Feature Cards
   ========================= */

.features {
  max-width: 1060px;
  margin: 3rem auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.feature-card {
  background: var(--bg);
  border: 1px solid #2e2e2e;
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.feature-card .card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 0.75rem;
}

.feature-card p {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #ccc;
  margin: 0 0 1.25rem;
}

.feature-card a.card-link {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.feature-card a.card-link:hover { color: #ffb733; border-color: #ffb733; }

/* =========================
   Homepage - Latest Updates
   ========================= */

.updates {
  max-width: 800px;
  margin: 3rem auto 2rem;
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
}

.updates::before {
  content: "";
  display: block;
  width: 140px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
}

.updates h2 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.updates ul {
  list-style-position: inside;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
}

.updates li {
  color: #ccc;
  margin: 0.6rem 0;
  font-size: 0.95rem;
}

/* =========================
   Homepage - Footer Strip
   ========================= */

.home-footer-strip {
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid #2e2e2e;
  max-width: 700px;
  margin: 0 auto;
}

.home-footer-strip p {
  color: #bbb;
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0 0 0.5rem;
}

.home-footer-strip a { color: var(--accent); }

/* =========================
   Who's Behind Us page
   ========================= */

.supporters-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.7;
}

.supporters-intro .tagline {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.supporters-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin: 2.5rem 0 1.25rem;
  text-transform: uppercase;
}

.supporters-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.org-card {
  background: var(--bg);
  border: 1px solid #333;
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  padding: 1.4rem 1.25rem;
  transition: border-color 0.2s, transform 0.15s;
}

.org-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.org-card-logo {
  display: block;
  max-height: 80px;
  max-width: 180px;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.org-card-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  background: #222;
  border: 1px dashed #444;
  border-radius: 6px;
  color: #555;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.org-card h3 {
  color: var(--accent);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  text-align: center;
}

.org-card .org-region {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.org-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.org-card .org-link {
  display: inline-block;
  color: var(--accent);
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 4px 12px;
  transition: background 0.2s, color 0.2s;
}

.org-card .org-link:hover {
  background: var(--accent);
  color: #111;
}

.supporters-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.supporter-item {
  background: var(--bg);
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.supporter-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.supporter-item .supporter-name {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.supporter-item .supporter-detail {
  color: #888;
  font-size: 0.82rem;
  margin-top: 1px;
}

.thank-you-box {
  background: #0d1f0d;
  border: 1px solid #2a4a2a;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.7;
}

.thank-you-box strong {
  color: var(--accent);
}

/* =========================
   Submit Callout Box
   ========================= */

.submit-callout {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: #0d1f0d;
  border: 1px solid #2a4a2a;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 1.75rem;
  margin: 2rem 0;
}

.submit-callout-text { flex: 1; }

.submit-callout-title {
  color: var(--accent) !important;
  font-size: 1.4rem !important;
  margin: 0 0 0.75rem !important;
  text-align: left !important;
}

.submit-callout-text p { color: #ccc; margin-bottom: 0.75rem; }

.submit-callout-text ul { color: #ccc; margin: 0.5rem 0 1rem 1.25rem; }

.submit-callout-text ul li { margin-bottom: 0.3rem; }

.submit-callout-note {
  color: var(--accent) !important;
  font-weight: 700;
  font-size: 0.95rem;
}

.submit-callout-btn {
  display: inline-block;
  background: var(--accent);
  color: #111 !important;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.submit-callout-btn:hover { background: #ffb733; }

.submit-callout-qr { flex-shrink: 0; text-align: center; }

.submit-callout-qr img {
  width: 160px;
  height: 160px;
  display: block;
  margin: 0 auto 0.5rem;
}

.submit-callout-qr p { color: #888; font-size: 0.82rem; margin: 0; }

@media (max-width: 600px) {
  .submit-callout { flex-direction: column; text-align: center; }
  .submit-callout-text ul { text-align: left; }
}

/* =========================
   Mobile map cards (replaces iframes on small screens)
   ========================= */
@media (max-width: 767px) {
  .xb-embed { display: none; }
}

.mobile-map-card {
  display: none;
  background: #0d1f0d;
  border: 1px solid #2a4a2a;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.mobile-map-card-title {
  color: var(--accent);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-map-card-desc {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.mobile-map-card-btn {
  display: block;
  background: var(--accent);
  color: #111 !important;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.7rem 1.25rem;
  border-radius: 4px;
  text-decoration: none !important;
  text-align: center;
  transition: background 0.2s;
}

.mobile-map-card-btn:hover { background: #ffb733; }

@media (max-width: 767px) {
  .mobile-map-card { display: block; }
  .map-link-btn { display: none; }
}
