/* style.css — style utama frontend publik Nusa Scooter */

/* ===== Topbar & Navbar ===== */
.topbar {
    background: var(--ns-dark);
    color: #fff;
}

.main-navbar .brand-text {
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.1;
}
.main-navbar .brand-text small {
    font-weight: 400;
    font-size: 0.65rem;
    color: #6c757d;
    letter-spacing: 0.03em;
}

.main-navbar .nav-link {
    font-weight: 500;
    color: #333;
    margin: 0 0.5rem;
}
.main-navbar .nav-link.active,
.main-navbar .nav-link:hover {
    color: var(--ns-primary);
}

.btn-whatsapp {
    background: var(--ns-whatsapp);
    color: #fff;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-whatsapp:hover { color: #fff; opacity: 0.9; }

.lang-switch a { text-decoration: none; }

/* ===== Hero ===== */
.hero-section {
    background: linear-gradient(135deg, var(--ns-dark) 0%, var(--ns-primary-dark) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-badge {
    background: rgba(255,255,255,0.15);
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
}
.hero-title .highlight { color: #74d3ff; }
.hero-image img {
    border-radius: var(--ns-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* ===== Trust bar ===== */
.trust-bar {
    background: #fff;
    border-radius: var(--ns-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top: -3rem;
    position: relative;
    z-index: 5;
}
.trust-item i {
    font-size: 1.6rem;
    color: var(--ns-primary);
}

/* ===== Cards ===== */
.section-label {
    color: var(--ns-primary);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.section-title {
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
}

.scooter-card {
    border: 1px solid #eee;
    border-radius: var(--ns-radius);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    height: 100%;
}
.scooter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.scooter-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f0f0f0;
}
.scooter-card .price {
    color: var(--ns-primary);
    font-weight: 700;
    font-size: 1.15rem;
}

.step-card {
    background: #fff;
    border-radius: var(--ns-radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.step-number {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--ns-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.article-card {
    border-radius: var(--ns-radius);
    overflow: hidden;
    border: 1px solid #eee;
    height: 100%;
    background: #fff;
}
.article-card img {
    width: 100%; height: 160px; object-fit: cover; background: #f0f0f0;
}

/* ===== CTA WhatsApp ===== */
.cta-whatsapp {
    background: var(--ns-primary);
    border-radius: var(--ns-radius);
    color: #fff;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--ns-dark);
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-links a:hover { color: #fff; }
.footer-links li { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

.footer-social {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none;
}
.footer-social:hover { background: var(--ns-primary); color: #fff; }

.footer-bottom {
    background: rgba(0,0,0,0.2);
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    width: 56px; height: 56px;
    background: var(--ns-whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 1000;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.05); }

/* ===== Booking steps ===== */
.booking-steps {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.booking-step {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: #eee;
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
}
.booking-step.active { background: var(--ns-primary); color: #fff; }
.booking-step.done { background: var(--ns-secondary); color: #fff; }

.scooter-pick-card {
    border: 2px solid #eee;
    border-radius: var(--ns-radius);
    padding: 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.scooter-pick-card.selected { border-color: var(--ns-primary); background: #f0f7ff; }
.scooter-pick-card img { width: 100%; height: 120px; object-fit: cover; border-radius: 0.5rem; }
