/* Solo Diversity Bike 2026 — custom styles beyond Tailwind utilities */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ---- Header ---- */
#site-header.scrolled {
  background-color: rgba(10, 44, 69, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  background-color: rgba(255, 255, 255, 0.12);
  color: #f4652c;
  font-weight: 600;
}

/* ---- Section headings ---- */
.section-eyebrow {
  color: #c6f22c;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.section-title {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-top: 0.5rem;
}

/* ---- Image placeholder ----
   Usage: <div class="img-ph" data-src="" data-caption="deskripsi gambar"></div>
   Ketika file gambar sudah tersedia, isi atribut data-src="images/nama-file.jpg"
   lalu JS (js/main.js) otomatis menampilkannya sebagai background-image,
   tanpa perlu mengubah struktur HTML.
*/
.img-ph {
  position: relative;
  width: 100%;
  min-height: 160px;
  background-color: #0c2033;
  background-image: var(--stripes, repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 14px));
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,60,89,0.4), rgba(5,20,31,0.6));
}

.img-ph::after {
  content: attr(data-caption);
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.55);
  font-size: 0.7rem;
  text-align: center;
  padding: 0 1rem;
  max-width: 85%;
  line-height: 1.4;
}

.img-ph.img-ph-loaded::before,
.img-ph.img-ph-loaded::after {
  content: none;
}

/* ---- Stat cards (tagline bar) ---- */
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ---- Heritage cards ---- */
.heritage-card {
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color .2s ease, transform .2s ease;
}
.heritage-card:hover {
  border-color: rgba(198,242,44,0.4);
  transform: translateY(-2px);
}

/* ---- Program cards ---- */
.program-card {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ---- Riders ---- */
.rider-stat, .rider-mini {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.tag-pill {
  font-size: 0.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(198,242,44,0.1);
  border: 1px solid rgba(198,242,44,0.3);
  color: #c6f22c;
}

/* ---- Prize cards ---- */
.prize-card {
  position: relative;
  padding: 1.5rem 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.prize-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #f4652c;
  color: #0a2c45;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

/* ---- Landmark / Portfolio cards ---- */
.landmark-card, .portfolio-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.landmark-label {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.03);
}

.portfolio-label {
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.75);
}

/* ---- Route stats ---- */
.route-stat {
  padding: 1rem 0.5rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

/* ---- Sponsorship tiers ---- */
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  border-width: 1px;
  background: rgba(255,255,255,0.03);
  padding: 1.75rem 1.5rem;
}

.tier-tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.tier-price {
  font-size: 2rem;
  font-weight: 900;
  color: white;
}

.tier-save {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.15rem;
  margin-bottom: 1.25rem;
}

.tier-list {
  flex: 1;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  list-style: none;
  padding: 0;
}

.tier-list li {
  padding-left: 1.1rem;
  position: relative;
}

.tier-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #c6f22c;
}

.tier-cta {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  padding: 0.75rem 0;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  transition: filter .2s ease, background-color .2s ease;
}

/* ---- Contact ---- */
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(198,242,44,0.1);
  border: 1px solid rgba(198,242,44,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}
.social-btn:hover {
  background: rgba(244,101,44,0.25);
}

.form-input {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  font-size: 0.9rem;
  outline: none;
}
.form-input:focus {
  border-color: #f4652c;
}
