/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #fdfcf9;
  color: #333;
  line-height: 1.7;
}

/* =========================
   NAVBAR
========================= */

#price-list {
  scroll-margin-top: 120px;
}
html {
  scroll-behavior: smooth;
}


.navbar {
  background: linear-gradient(90deg, #00b4d8, #0077b6);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo a {
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  text-decoration: none;
}
.logo span {
  color: #ffd166;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.nav-menu a:hover,
.nav-menu .active {
  color: #ffd166;
}

.nav-cta a {
  background: #ffd166;
  color: #003049;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

/* ===== HERO MOTOR RENTAL ===== */

.hero {
  height: 95vh;
  background: url('../assets/images/cover-putra-scooter-lombok.webp') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay */
.hero-overlay {
  background: linear-gradient(
    rgba(0, 119, 182, 0.7),
    rgba(0, 52, 89, 0.7)
  );
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #ffd166;
  color: #003049;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #e6b800;
}

.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #fff;
  color: #003049;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .hero {
    height: 85vh;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }
}


/* =========================
   SECTION
========================= */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}

section:nth-child(even) {
  background: #e9f7fb;
  border-radius: 20px;
}

h2 {
  color: #003049;
  margin-bottom: 20px;
}

ul, ol {
  padding-left: 20px;
}

/* =========================
   PRICE LIST GRID
========================= */
.price-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.motor-card {
  background: white;
  border-radius: 18px;
  padding-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  text-align: center;
  transition: 0.3s;
  overflow: hidden;
}

.motor-card:hover {
  transform: translateY(-6px);
}

.motor-card img {
  width: 70%;
  height: 200px;
  object-fit: contain;
}

.motor-card h3 {
  margin: 15px 0 8px;
  color: #003049;
}

.motor-card p {
  font-weight: bold;
  color: #0077b6;
  margin-bottom: 12px;
}

.motor-card a {
  background: #ffd166;
  color: #003049;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: 0.3s;
}

.motor-card a:hover {
  opacity: 0.9;
}

/* =========================
   HR STYLE
========================= */
hr {
  border: none;
  height: 1px;
  background: #d9eef5;
  margin: 50px auto;
  max-width: 1200px;
}

/* =========================
   CONTACT LINKS
========================= */
section a {
  color: #0077b6;
  text-decoration: none;
  font-weight: 500;
}

section a:hover {
  color: #003049;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #003049;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

footer p {
  margin-bottom: 8px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0077b6;
    flex-direction: column;
    display: none;
    padding: 20px 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  header h1 {
    font-size: 28px;
  }

  section:nth-child(even) {
    border-radius: 0;
  }
}
