/* ============================================
   Mamasa Bike Rental — Bali, Indonesia
   Designed by WingfieldGemini
   ============================================ */

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

:root {
  --teal: #0D4F4F;
  --teal-light: #0E6B6B;
  --orange: #F97316;
  --orange-hover: #EA680C;
  --cream: #FFF8F0;
  --dark: #111111;
  --gray: #555555;
  --gray-light: #E5E5E5;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: .3s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); background: var(--cream); line-height: 1.7; overflow-x: hidden; }

/* ---------- Utilities ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-teal { background: var(--teal); color: var(--white); }
.bg-dark { background: var(--dark); color: var(--white); }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
p { color: var(--gray); }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.section-subtitle { font-size: 1.1rem; color: var(--gray); max-width: 640px; margin: 0 auto 48px; }
.badge { display: inline-block; background: var(--orange); color: var(--white); font-size: .75rem; font-weight: 700; padding: 4px 14px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-size: 1rem; font-weight: 600; border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--teal); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn-sm { padding: 10px 24px; font-size: .9rem; }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: all var(--transition); padding: 16px 0; }
.nav.scrolled { background: var(--white); box-shadow: var(--shadow); padding: 10px 0; }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.4rem; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 8px; }
.nav.scrolled .nav-logo { color: var(--teal); }
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--white); font-weight: 500; font-size: .95rem; position: relative; }
.nav.scrolled .nav-links a { color: var(--dark); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--orange); transition: width var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .btn { color: var(--white); }
.nav-cta { background: var(--orange); color: var(--white) !important; padding: 8px 20px; border-radius: 50px; font-weight: 600; }
.nav-cta:hover { background: var(--orange-hover); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.nav.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Nav for pages with light backgrounds */
.nav-dark .nav-logo { color: var(--teal); }
.nav-dark .nav-links a { color: var(--dark); }
.nav-dark .hamburger span { background: var(--dark); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); flex-direction: column; padding: 80px 32px 32px; gap: 20px; box-shadow: var(--shadow-lg); transition: right var(--transition); }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--dark) !important; font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--teal); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 32px; max-width: 520px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stat { text-align: center; }
.hero-stat-number { font-size: 2rem; font-weight: 800; color: var(--orange); }
.hero-stat-label { font-size: .85rem; color: rgba(255,255,255,.7); }

/* ---------- Page Header ---------- */
.page-header { padding: 140px 0 60px; background: var(--teal); text-align: center; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1558618666-fcd25c85f82e?w=1600&q=80') center/cover; opacity: .15; }
.page-header h1 { color: var(--white); position: relative; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.8); position: relative; font-size: 1.1rem; }
.breadcrumb { position: relative; display: flex; justify-content: center; gap: 8px; margin-top: 16px; font-size: .9rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: var(--orange); }

/* ---------- Cards Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { height: 220px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-body h3 a { color: var(--dark); }
.card-body h3 a:hover { color: var(--orange); }
.card-price { font-size: 1.3rem; font-weight: 800; color: var(--orange); margin: 8px 0; }
.card-price small { font-size: .8rem; font-weight: 400; color: var(--gray); }
.card-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.spec-tag { background: var(--cream); padding: 4px 12px; border-radius: 50px; font-size: .8rem; color: var(--teal); font-weight: 500; }

/* ---------- Features / Icon Boxes ---------- */
.icon-box { text-align: center; padding: 40px 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform var(--transition); }
.icon-box:hover { transform: translateY(-4px); }
.icon-box .icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--teal), var(--teal-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.6rem; color: var(--white); }
.icon-box h3 { color: var(--dark); }
.icon-box p { font-size: .95rem; }

/* ---------- Pricing Table ---------- */
.pricing-card { background: var(--white); border-radius: var(--radius); padding: 40px 32px; text-align: center; box-shadow: var(--shadow); position: relative; transition: transform var(--transition); border: 2px solid transparent; }
.pricing-card:hover { transform: translateY(-6px); }
.pricing-card.featured { border-color: var(--orange); }
.pricing-card.featured::before { content: 'Most Popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--white); padding: 4px 20px; border-radius: 50px; font-size: .8rem; font-weight: 700; }
.pricing-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pricing-card .price { font-size: 2.4rem; font-weight: 800; color: var(--teal); margin: 16px 0; }
.pricing-card .price small { font-size: .9rem; font-weight: 400; color: var(--gray); }
.pricing-card ul { list-style: none; text-align: left; margin: 24px 0; }
.pricing-card li { padding: 8px 0; border-bottom: 1px solid var(--gray-light); font-size: .95rem; color: var(--gray); display: flex; align-items: center; gap: 8px; }
.pricing-card li::before { content: '✓'; color: var(--orange); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.testimonial-text { font-size: 1.05rem; font-style: italic; color: var(--dark); margin-bottom: 20px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 1.1rem; }
.testimonial-name { font-weight: 600; color: var(--dark); }
.testimonial-role { font-size: .85rem; color: var(--gray); }
.stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 12px; }

/* ---------- Location Cards ---------- */
.location-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition); }
.location-card:hover { transform: translateY(-4px); }
.location-card-img { height: 200px; overflow: hidden; }
.location-card-img img { width: 100%; height: 100%; object-fit: cover; }
.location-card-body { padding: 24px; }
.location-card-body h3 { margin-bottom: 8px; }
.delivery-badge { display: inline-block; background: #D1FAE5; color: #065F46; padding: 2px 12px; border-radius: 50px; font-size: .8rem; font-weight: 600; margin-top: 8px; }
.delivery-badge.paid { background: #FEF3C7; color: #92400E; }

/* ---------- CTA Section ---------- */
.cta { padding: 80px 0; background: linear-gradient(135deg, var(--teal) 0%, #0A3D3D 100%); text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: var(--orange); border-radius: 50%; opacity: .08; }
.cta h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.8); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; font-size: 1.1rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact Form ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--dark); font-size: .95rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 18px; border: 2px solid var(--gray-light); border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font); transition: border-color var(--transition); background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.contact-info-card { background: var(--teal); color: var(--white); border-radius: var(--radius); padding: 40px 32px; height: 100%; }
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; font-size: 1.4rem; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-info-item .ci-icon { width: 44px; height: 44px; background: rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info-item h4 { font-size: 1rem; margin-bottom: 2px; color: var(--white); }
.contact-info-item p { color: rgba(255,255,255,.8); font-size: .95rem; }

/* ---------- About Timeline ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: var(--orange); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before { content: ''; position: absolute; left: -33px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); border: 3px solid var(--cream); }
.timeline-item h3 { color: var(--teal); }

/* ---------- Included Extras ---------- */
.extras-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 32px; }
.extra-item { display: flex; align-items: center; gap: 8px; background: var(--white); padding: 12px 24px; border-radius: 50px; box-shadow: var(--shadow); font-weight: 500; font-size: .95rem; }
.extra-item .extra-icon { font-size: 1.2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1.1rem; }
.footer-brand p { margin-top: 12px; font-size: .95rem; line-height: 1.7; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .9rem; }
.footer-bottom a { color: var(--orange); }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: transform var(--transition); animation: pulse-wa 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--white); }
@keyframes pulse-wa { 0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.4); } 50% { box-shadow: 0 4px 32px rgba(37,211,102,.6); } }

/* ---------- Scroll Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Misc ---------- */
.divider { width: 60px; height: 4px; background: var(--orange); border-radius: 2px; margin: 0 auto 24px; }

/* Insurance table */
.insurance-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.insurance-table th, .insurance-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--gray-light); }
.insurance-table th { background: var(--teal); color: var(--white); font-weight: 600; }
.insurance-table tr:hover { background: var(--cream); }

/* Map placeholder */
.map-placeholder { width: 100%; height: 300px; background: var(--gray-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gray); font-size: 1.1rem; margin-top: 32px; }

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .hero-stats { gap: 20px; }
  .hero-buttons { flex-direction: column; }
}
