/* === 1. GLOBAL & FONT === */
:root {
  --font-header: 'Nunito', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --color-orange: #FF6B00;
  --color-teal: #00C4CC;
  --color-dark: #0d2438;
  --color-text: #333;
  --color-text-light: #888;
  --color-bg: #ffffff;
  --color-bg-grey: #f4f7f6;
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-grey);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* === 2. NAVBAR === */
.navbar {
  width: 100%;
  background-color: #ffffff;
  padding: 16px 20px; 
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.navbar .logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.navbar .logo img {
  height: 40px; 
  display: block;
  width: auto;
}

/* Navigasi Tengah */
.nav-links ul {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
  font-family: var(--font-body);
}

.nav-links a:hover {
  color: var(--color-teal);
}

/* Tombol Reserve Navbar */
.reserve-btn {
  font-family: var(--font-header);
  background-color: var(--color-orange);
  color: #ffffff;
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  white-space: nowrap; 
}

.reserve-btn:hover {
  background-color: #e05e00;
}

/* === 3. HERO & FORM LAYOUT === */
.hero {
  padding: 40px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.5fr 3fr 0.5fr 3.5fr;
  align-items: center;
  gap: 16px;
}

/* Kolom Kiri: Gambar */
.hero-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.kincir-img, .helmet-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.kincir-img { z-index: 2; }
.helmet-img { z-index: 1; }


/* Kolom Kanan: Konten */
.hero-content {
  background-color: var(--color-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* === BAGIAN HARGA (Rapi & Modern) === */
.price-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.price-tag .old {
  font-size: 16px;
  color: #aaa;
  text-decoration: line-through;
}

.price-tag .new {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-header);
  color: var(--color-teal);
  line-height: 1;
}

.price-tag .vat {
  font-size: 11px;
  color: #777;
  font-weight: 700;
  background-color: #f0f0f0;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-header);
  font-size: 36px;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-desc {
  font-size: 16px;
  margin-bottom: 16px;
  color: #555;
}
.hero-desc .accent {
  color: var(--color-orange);
  font-weight: 700;
}
.hero-note {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  font-style: italic;
}


/* === TOMBOL PILIHAN (CHECKLIST) === */
.opt-block { margin-bottom: 24px; }

.opt-title {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 10px;
}

.color-row, .size-row { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 12px; 
}

.color-card, .size-box {
  display: flex; 
  align-items: center; 
  justify-content: center;
  gap: 8px;
  border: 1px solid #e0e0e0;
  padding: 10px 16px; 
  border-radius: 6px; 
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
  min-width: 60px;
}

.color-card .label, .size-box { 
  font-weight: 600; 
  font-size: 14px; 
  color: #555;
}

.color-card:hover, .size-box:hover {
  border-color: #bbb;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.color-card .dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #ddd; }
.dot.black { background-color: #333; }
.dot.green { background-color: #4CAF50; }
.dot.white { background-color: #f9f9f9; }

.color-card.is-active, .size-box.is-active {
  border-color: var(--color-orange);
  background-color: #fff5eb;
  color: var(--color-orange);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.15);
}
.color-card.is-active .label, 
.size-box.is-active {
  color: var(--color-orange);
}

.tiny-note { font-size: 12px; color: var(--color-text-light); margin-top: 8px; }


/* === FORMULIR & CHECKBOX === */
.reserve-form { margin-top: 32px; border-top: 1px solid #eee; padding-top: 32px; }
.reserve-form .row { display: flex; gap: 16px; margin-bottom: 16px; }
.reserve-form .row .field { flex: 1; }

.reserve-form input[type="text"], 
.reserve-form input[type="email"] {
  width: 100%; padding: 12px 16px; border: 1px solid #ccc;
  border-radius: var(--border-radius); font-size: 16px;
  transition: border-color 0.3s ease;
}
.reserve-form input:focus { 
  outline: none; 
  border-color: var(--color-teal); 
  box-shadow: 0 0 0 3px rgba(0, 196, 204, 0.1);
}

/* ---- PERBAIKAN CHECKBOX DIMULAI DI SINI ---- */
.reserve-form .agree {
  display: flex;           /* KUNCI: Flexbox untuk menata ke samping */
  align-items: flex-start; /* KUNCI: Checkbox tetap di atas meski teks 2 baris */
  gap: 12px;               /* Jarak antara checkbox dan teks */
  font-size: 13px;
  color: #777;
  margin-bottom: 24px;
  cursor: pointer;
  text-align: left;
}

.reserve-form .agree input {
  margin-top: 3px;         /* Turun sedikit agar sejajar mata dengan huruf */
  accent-color: var(--color-orange); /* Warna centang oranye */
  width: 16px;             /* Ukuran checkbox fix */
  height: 16px;
  flex-shrink: 0;          /* Mencegah checkbox gepeng di HP */
  cursor: pointer;
}
/* ------------------------------------------- */

.reserve-form .agree a {
  color: var(--color-teal);
  text-decoration: none;
  font-weight: 700;
}

.cta {
  display: flex; align-items: center; justify-content: center;
  background-color: var(--color-orange); color: #fff;
  font-family: var(--font-header); font-weight: 800;
  padding: 14px 24px; border-radius: var(--border-radius);
  border: none; font-size: 16px; cursor: pointer; width: 100%;
  transition: all 0.3s ease;
}
.cta:hover {
  background-color: #e05e00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}
.cta-arrow { margin-left: 12px; }


/* === 4. MEDIA QUERIES (MOBILE) === */

@media (max-width: 768px) {
  .navbar { padding: 12px 16px; }
  .navbar-content { gap: 12px; }
  .navbar .logo img { height: 32px; }
  
  .nav-links { display: none; }

  .reserve-btn { padding: 6px 16px; font-size: 12px; }

  .hero-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .col-spacer { display: none; }
  
  .hero-canvas {
    aspect-ratio: 16 / 9;
    margin-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 24px;
  }
  .hero-title {
    font-size: 28px;
  }
  .price-tag .new {
    font-size: 24px;
  }
  .reserve-form .row.two {
    flex-direction: column;
    gap: 16px;
  }
}