/* VerticalEdge Climbing — Brand: climbing-rock */
:root {
  --rock-dark: #1a1a2e;
  --rock-mid: #2d2d44;
  --rock-slate: #3d3d5c;
  --accent-chalk: #f0e6d3;
  --accent-rope: #c84b2f;
  --accent-moss: #5a7a4a;
  --accent-sky: #4a90c4;
  --accent-hold-yellow: #e8c547;
  --accent-hold-green: #3cb371;
  --accent-hold-red: #c84b2f;
  --text-light: #f0e6d3;
  --text-mid: #b8a898;
  --text-dark: #1a1a2e;
  --bg-page: #f5f0ea;
  --bg-card: #ffffff;
  --shadow: 0 4px 20px rgba(26,26,46,0.15);
  --radius: 8px;
  --radius-lg: 16px;
}

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

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

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-page);
  color: var(--rock-dark);
  line-height: 1.6;
}

/* ====== DEMO BAR ====== */
.demo-bar {
  background: var(--rock-dark);
  color: var(--accent-chalk);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.demo-bar span { opacity: 0.85; }
.demo-bar a {
  color: var(--accent-hold-yellow);
  text-decoration: none;
  font-weight: 600;
  padding: 2px 10px;
  border: 1px solid var(--accent-hold-yellow);
  border-radius: 20px;
  transition: background 0.2s;
}
.demo-bar a:hover { background: var(--accent-hold-yellow); color: var(--rock-dark); }
.demo-bar .cta-pesan {
  background: var(--accent-rope);
  border-color: var(--accent-rope);
  color: #fff;
}
.demo-bar .cta-pesan:hover { background: #a83820; }

/* ====== NAVIGATION ====== */
nav {
  background: var(--rock-dark);
  padding: 0 1rem;
  position: relative;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-light);
}
.nav-logo .logo-icon {
  width: 40px; height: 40px;
  background: var(--accent-rope);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo .logo-text { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.5px; }
.nav-logo .logo-text span { color: var(--accent-hold-yellow); }

/* Checkbox hack mobile menu */
#menu-toggle { display: none; }
.menu-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.menu-label span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav-links li a {
  display: block;
  padding: 8px 14px;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--accent-hold-yellow); background: rgba(232,197,71,0.1); }
.nav-cta a {
  background: var(--accent-rope) !important;
  color: #fff !important;
  padding: 8px 18px !important;
}
.nav-cta a:hover { background: #a83820 !important; }

@media (max-width: 768px) {
  .menu-label { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--rock-mid);
    flex-direction: column;
    padding: 1rem;
    gap: 4px;
    border-top: 2px solid var(--accent-rope);
  }
  #menu-toggle:checked ~ .nav-links { display: flex; }
  #menu-toggle:checked ~ .menu-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #menu-toggle:checked ~ .menu-label span:nth-child(2) { opacity: 0; }
  #menu-toggle:checked ~ .menu-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ====== HERO ====== */
.hero {
  background: linear-gradient(135deg, var(--rock-dark) 0%, var(--rock-slate) 50%, #2a3a5a 100%);
  color: var(--text-light);
  padding: 5rem 1rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(200,75,47,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(74,144,196,0.2) 0%, transparent 60%);
}
.hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(232,197,71,0.2);
  border: 1px solid var(--accent-hold-yellow);
  color: var(--accent-hold-yellow);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--accent-rope); }
.hero p {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.btn-primary { background: var(--accent-rope); color: #fff; }
.btn-secondary { background: transparent; border: 2px solid var(--accent-chalk); color: var(--accent-chalk); }
.btn-secondary:hover { background: var(--accent-chalk); color: var(--rock-dark); }

/* Rock texture decoration */
.rock-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.rock-shape {
  position: absolute;
  background: rgba(255,255,255,0.03);
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
}

/* ====== SECTIONS ====== */
section { padding: 4rem 1rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  color: var(--accent-rope);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--rock-dark);
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}
.section-header p { color: #666; max-width: 560px; margin: 0 auto; }

/* ====== CARDS ====== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,26,46,0.2); }
.card-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-body { padding: 1.25rem; }
.card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--rock-dark); }
.card-body p { font-size: 0.9rem; color: #666; }

/* ====== STATS ====== */
.stats-band {
  background: var(--rock-dark);
  color: var(--text-light);
  padding: 3rem 1rem;
}
.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent-hold-yellow);
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: var(--text-mid); margin-top: 4px; }

/* ====== HOLDS (visual decoration) ====== */
.hold {
  width: 36px; height: 36px;
  border-radius: 50% 40% 50% 40%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hold-yellow { background: var(--accent-hold-yellow); }
.hold-green { background: var(--accent-hold-green); }
.hold-red { background: var(--accent-rope); }
.hold-blue { background: var(--accent-sky); }

/* ====== ROUTE GRADES ====== */
.grade-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.grade-5a, .grade-5b { background: #d4edda; color: #155724; }
.grade-6a, .grade-6b { background: #fff3cd; color: #856404; }
.grade-7a, .grade-7b { background: #f8d7da; color: #721c24; }
.grade-8a { background: #1a1a2e; color: var(--accent-hold-yellow); }

/* ====== MEMBERSHIP CARDS ====== */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.plan-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.featured {
  border-color: var(--accent-rope);
  background: var(--rock-dark);
  color: var(--text-light);
}
.plan-card.featured .plan-price, .plan-card.featured .plan-name { color: var(--text-light); }
.plan-card.featured .plan-feature { color: var(--text-mid); }
.plan-name { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #888; }
.plan-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--rock-dark);
  margin: 0.5rem 0;
  line-height: 1;
}
.plan-price sup { font-size: 1rem; font-weight: 600; vertical-align: top; margin-top: 6px; display: inline-block; }
.plan-period { font-size: 0.85rem; color: #999; }
.plan-features { list-style: none; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.6rem; }
.plan-feature { font-size: 0.9rem; display: flex; gap: 8px; align-items: flex-start; }
.plan-feature::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; background: var(--accent-moss); border-radius: 50%; display: flex; }
.plan-card.featured .plan-feature::before { background: var(--accent-hold-yellow); }
.plan-badge {
  display: inline-block;
  background: var(--accent-rope);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

/* ====== SCHEDULE TABLE ====== */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.schedule-table th {
  background: var(--rock-dark);
  color: var(--accent-hold-yellow);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.schedule-table td {
  padding: 12px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0ebe5;
  background: var(--bg-card);
}
.schedule-table tr:hover td { background: #faf7f3; }
.schedule-table .class-name { font-weight: 600; color: var(--rock-dark); }
.schedule-table .class-level { font-size: 0.8rem; color: #888; }

/* ====== TESTIMONIALS ====== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testi-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-rope);
}
.testi-text { font-size: 0.95rem; color: #444; font-style: italic; margin-bottom: 1rem; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-role { font-size: 0.8rem; color: #888; }

/* ====== COACHES ====== */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.coach-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}
.coach-avatar {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.coach-info { padding: 1.2rem; }
.coach-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.coach-title { font-size: 0.82rem; color: var(--accent-rope); font-weight: 600; margin-bottom: 6px; }
.coach-certs { font-size: 0.8rem; color: #888; line-height: 1.5; }

/* ====== FORM ====== */
.form-section {
  background: var(--rock-dark);
  color: var(--text-light);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) { .form-grid { grid-template-columns: 1fr; } }
.form-info h2 { color: var(--text-light); }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.2rem;
}
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-label { font-size: 0.8rem; color: var(--text-mid); }
.contact-val { font-weight: 600; color: var(--text-light); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-hold-yellow);
}
.form-group select option { background: var(--rock-mid); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ====== FAQ ====== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item input[type="checkbox"] { display: none; }
.faq-question {
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent-rope);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-toggle:checked ~ .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}
.faq-toggle:checked ~ .faq-question ~ .faq-answer { max-height: 300px; padding-bottom: 1rem; }

/* ====== WALL TYPES ====== */
.wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.wall-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.wall-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.wall-info { padding: 1.25rem; }
.wall-info h3 { font-weight: 700; margin-bottom: 4px; }
.wall-info p { font-size: 0.875rem; color: #666; }
.wall-specs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 0.75rem; }
.spec-tag {
  background: var(--bg-page);
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #555;
}

/* ====== EVENTS ====== */
.event-list { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin: 0 auto; }
.event-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
}
@media (max-width: 520px) {
  .event-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .event-date-box { display: flex; gap: 12px; }
}
.event-date-box {
  background: var(--rock-dark);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 10px 14px;
  text-align: center;
  min-width: 60px;
}
.event-day { font-size: 1.6rem; font-weight: 900; color: var(--accent-hold-yellow); line-height: 1; }
.event-month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-mid); }
.event-name { font-weight: 700; margin-bottom: 4px; }
.event-meta { font-size: 0.85rem; color: #777; }

/* ====== PAGE HERO (inner pages) ====== */
.page-hero {
  background: linear-gradient(135deg, var(--rock-dark) 0%, var(--rock-slate) 100%);
  color: var(--text-light);
  padding: 3.5rem 1rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 0.75rem; }
.page-hero p { color: var(--text-mid); max-width: 560px; margin: 0 auto; }

/* ====== BREADCRUMB ====== */
.breadcrumb {
  background: var(--bg-card);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ede8e2;
}
.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: #888;
}
.breadcrumb a { color: var(--accent-rope); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #ccc; }

/* ====== FOOTER ====== */
footer {
  background: var(--rock-dark);
  color: var(--text-mid);
  padding: 3rem 1rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .brand-name { font-size: 1.2rem; font-weight: 800; color: var(--text-light); margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-col ul li a { color: var(--text-mid); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent-hold-yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--accent-hold-yellow); text-decoration: none; }

/* ====== ALERT/SUCCESS ====== */
.alert {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}
.alert.show { display: block; }

/* ====== BG PATTERNS ====== */
.bg-rock {
  background: var(--rock-dark);
}
.bg-chalk {
  background: linear-gradient(180deg, #faf7f3 0%, #f5f0ea 100%);
}
.bg-mid { background: #f0ebe5; }

/* ====== HIGHLIGHT BOX ====== */
.highlight-box {
  background: linear-gradient(135deg, var(--rock-dark), var(--rock-slate));
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.highlight-box h3 { font-size: 1.5rem; font-weight: 800; color: var(--accent-hold-yellow); margin-bottom: 0.75rem; }
.highlight-box p { color: var(--text-mid); margin-bottom: 1.5rem; }

/* ====== UTILITY ====== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.gap-top { padding-top: 0; }

@media (max-width: 600px) {
  .hero { padding: 3.5rem 1rem 3rem; }
  section { padding: 3rem 1rem; }
  .stats-band { padding: 2rem 1rem; }
}
