/* PedalKu — Toko & Rental Sepeda | cycling-lime palette */
:root {
  --lime: #9fd629;
  --lime-dark: #7ab81e;
  --lime-light: #d4f070;
  --black: #111417;
  --dark: #1c2226;
  --mid: #2e3a40;
  --gray: #4a5a62;
  --silver: #8fa0a8;
  --light: #e8f4f0;
  --white: #ffffff;
  --accent: #ff6b1a;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  min-height: 100vh;
}

/* DEMO BAR */
.demo-bar {
  background: var(--black);
  border-bottom: 2px solid var(--lime);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.8rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.demo-bar span { color: var(--silver); }
.demo-bar a {
  color: var(--lime);
  text-decoration: none;
  font-weight: 700;
  padding: 3px 10px;
  border: 1px solid var(--lime);
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}
.demo-bar a:hover { background: var(--lime); color: var(--black); }
.demo-bar .cta-wa {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}
.demo-bar .cta-wa:hover { background: var(--lime-dark); border-color: var(--lime-dark); }

/* NAVIGATION */
nav {
  background: var(--black);
  padding: 0 20px;
  position: relative;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon { color: var(--lime); }
.logo span { color: var(--lime); }

/* mobile menu hack */
#menu-toggle { display: none; }
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.menu-btn .bar {
  width: 24px; height: 3px;
  background: var(--light);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
#menu-toggle:checked ~ .nav-inner .menu-btn .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#menu-toggle:checked ~ .nav-inner .menu-btn .bar:nth-child(2) { opacity: 0; }
#menu-toggle:checked ~ .nav-inner .menu-btn .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  color: var(--silver);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--lime); background: rgba(159,214,41,0.1); }
.nav-links .btn-nav {
  background: var(--lime);
  color: var(--black) !important;
  font-weight: 700;
  margin-left: 8px;
}
.nav-links .btn-nav:hover { background: var(--lime-dark); }

@media (max-width: 720px) {
  .menu-btn { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 16px;
    border-top: 1px solid var(--mid);
    z-index: 999;
  }
  .nav-links a { border-radius: 0; padding: 12px 24px; width: 100%; }
  .nav-links .btn-nav { margin: 8px 24px 0; width: auto; text-align: center; border-radius: var(--radius); }
  #menu-toggle:checked ~ .nav-inner .nav-links { display: flex; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--mid) 60%, #1a2e1a 100%);
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(159,214,41,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(159,214,41,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(159,214,41,0.15);
  border: 1px solid var(--lime);
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--lime); }
.hero p {
  font-size: 1.1rem;
  color: var(--silver);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--lime);
  color: var(--black);
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--lime-dark); transform: translateY(-1px); }
.btn-outline {
  border: 2px solid var(--lime);
  color: var(--lime);
  padding: 12px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--lime); color: var(--black); }

/* SECTIONS */
.section { padding: 64px 20px; }
.section-alt { background: rgba(0,0,0,0.3); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 900; color: var(--white); margin-bottom: 10px; }
.section-head h2 span { color: var(--lime); }
.section-head p { color: var(--silver); max-width: 520px; margin: 0 auto; }
.label { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; display: block; }

/* CARDS GRID */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

.card {
  background: var(--mid);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(159,214,41,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.card-body { padding: 20px; }
.card-body h3 { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.card-body p { font-size: 0.9rem; color: var(--silver); margin-bottom: 12px; line-height: 1.5; }
.price-tag {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--lime);
}
.price-tag small { font-size: 0.75rem; color: var(--silver); font-weight: 400; }
.badge {
  display: inline-block;
  background: rgba(159,214,41,0.15);
  color: var(--lime);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.badge-accent { background: rgba(255,107,26,0.15); color: var(--accent); }

/* FEATURES */
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(159,214,41,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 28px; height: 28px; fill: var(--lime); }
.feature-card { padding: 24px; background: var(--mid); border-radius: 12px; border: 1px solid rgba(159,214,41,0.08); }
.feature-card h3 { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--silver); line-height: 1.55; }

/* STATS */
.stats-row { display: flex; flex-wrap: wrap; gap: 0; justify-content: center; background: var(--mid); border-radius: 12px; overflow: hidden; border: 1px solid rgba(159,214,41,0.1); }
.stat-item { flex: 1; min-width: 140px; padding: 32px 20px; text-align: center; border-right: 1px solid rgba(159,214,41,0.08); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--lime); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.82rem; color: var(--silver); }

/* TESTIMONIALS */
.testi-card { background: var(--mid); border-radius: 12px; padding: 24px; border: 1px solid rgba(159,214,41,0.08); }
.testi-text { font-size: 0.95rem; color: var(--light); font-style: italic; line-height: 1.6; margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; color: var(--black);
}
.testi-name { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.testi-role { font-size: 0.78rem; color: var(--silver); }
.stars { color: var(--lime); font-size: 0.9rem; margin-bottom: 12px; }

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, var(--black) 0%, var(--mid) 100%);
  padding: 60px 20px 40px;
  text-align: center;
}
.page-header h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; color: var(--white); margin-bottom: 10px; }
.page-header h1 span { color: var(--lime); }
.page-header p { color: var(--silver); max-width: 500px; margin: 0 auto; }

/* BREADCRUMB */
.breadcrumb { display: flex; gap: 6px; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 0.82rem; }
.breadcrumb a { color: var(--lime); text-decoration: none; }
.breadcrumb span { color: var(--silver); }

/* FILTER TABS */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-tab {
  padding: 8px 18px;
  border: 1px solid var(--mid);
  background: var(--mid);
  color: var(--silver);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}
.filter-tab.active, .filter-tab:hover { background: var(--lime); color: var(--black); border-color: var(--lime); }

/* PRODUCT DETAIL */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-visual {
  background: var(--mid);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  border: 1px solid rgba(159,214,41,0.1);
}
.product-info h1 { font-size: 1.8rem; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.product-price-big { font-size: 2rem; font-weight: 900; color: var(--lime); margin-bottom: 20px; }
.spec-list { list-style: none; margin-bottom: 24px; }
.spec-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; color: var(--silver); }
.spec-list li::before { content: ''; display: block; width: 8px; height: 8px; background: var(--lime); border-radius: 50%; flex-shrink: 0; }
@media (max-width: 680px) { .product-detail { grid-template-columns: 1fr; } }

/* RENTAL TABLE */
.rental-table { width: 100%; border-collapse: collapse; }
.rental-table th { background: var(--lime); color: var(--black); padding: 12px 16px; text-align: left; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.rental-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; color: var(--light); }
.rental-table tr:hover td { background: rgba(159,214,41,0.05); }

/* FORM */
.form-card { background: var(--mid); border-radius: 16px; padding: 32px; max-width: 600px; margin: 0 auto; border: 1px solid rgba(159,214,41,0.1); }
.form-card h2 { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--silver); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark);
  border: 1.5px solid var(--gray);
  border-radius: var(--radius);
  color: var(--light);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--lime); }
.form-group select option { background: var(--dark); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.btn-submit {
  width: 100%;
  background: var(--lime);
  color: var(--black);
  border: none;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--lime-dark); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: 1.5rem; font-weight: 900; color: var(--white); margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-icon { width: 44px; height: 44px; background: rgba(159,214,41,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 22px; height: 22px; fill: var(--lime); }
.contact-item h4 { font-size: 0.85rem; color: var(--silver); margin-bottom: 2px; }
.contact-item p { color: var(--white); font-size: 0.95rem; }

/* TEAM */
.team-card { background: var(--mid); border-radius: 12px; padding: 24px; text-align: center; border: 1px solid rgba(159,214,41,0.08); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 900; color: var(--black); }
.team-card h3 { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.team-card p { font-size: 0.85rem; color: var(--silver); }

/* MAP PLACEHOLDER */
.map-placeholder {
  background: var(--mid);
  border-radius: 12px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(159,214,41,0.08);
  color: var(--silver);
}
.map-placeholder svg { width: 48px; height: 48px; fill: var(--lime); opacity: 0.7; }

/* BLOG / TIPS */
.tip-card { background: var(--mid); border-radius: 12px; overflow: hidden; border: 1px solid rgba(159,214,41,0.08); transition: transform 0.2s; }
.tip-card:hover { transform: translateY(-3px); }
.tip-thumb { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.tip-body { padding: 20px; }
.tip-body h3 { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.tip-body p { font-size: 0.85rem; color: var(--silver); line-height: 1.55; }
.tip-meta { font-size: 0.75rem; color: var(--lime); margin-bottom: 8px; }

/* PROMO BANNER */
.promo-banner {
  background: linear-gradient(90deg, var(--lime-dark) 0%, var(--lime) 100%);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.promo-banner h3 { font-size: 1.4rem; font-weight: 900; color: var(--black); }
.promo-banner p { color: rgba(0,0,0,0.7); margin-top: 4px; }
.btn-dark { background: var(--black); color: var(--white); padding: 12px 24px; border-radius: var(--radius); text-decoration: none; font-weight: 800; transition: background 0.2s; white-space: nowrap; }
.btn-dark:hover { background: var(--dark); }

/* FOOTER */
footer {
  background: var(--black);
  padding: 48px 20px 24px;
  border-top: 1px solid rgba(159,214,41,0.12);
}
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.88rem; color: var(--silver); line-height: 1.6; margin-top: 10px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 800; color: var(--white); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.8px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--silver); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--lime); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: var(--silver); }
.footer-bottom a { color: var(--lime); text-decoration: none; }

/* ALERT */
.alert-success { background: rgba(159,214,41,0.12); border: 1px solid var(--lime); border-radius: var(--radius); padding: 14px 18px; color: var(--lime); font-size: 0.9rem; margin-top: 16px; display: none; }

/* COLOR helpers */
.bg-a { background: linear-gradient(135deg, #2e4020 0%, #1a2e1a 100%); }
.bg-b { background: linear-gradient(135deg, #203040 0%, #1a2535 100%); }
.bg-c { background: linear-gradient(135deg, #302010 0%, #251a10 100%); }
.bg-d { background: linear-gradient(135deg, #2a2040 0%, #1c1530 100%); }
.bg-e { background: linear-gradient(135deg, #203030 0%, #142020 100%); }
