/* assets/css/style.css - Frontend Landing Page Styles */
:root {
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    --bg: #ffffff;
    --card: #f6f6f7;
    --tx: #16171a;
    --mu: #5d6068;
    --red: #e4002b;
    --red-hover: #c70025;
    --bd: #e2e3e6;
    --gold: #fff4d6;
    --gold-bd: #e5b93c;
    --green: #25d366;
}

/* Pure clean light mode */
:root {
    --bg: #ffffff;
    --card: #f8fafc;
    --tx: #0f172a;
    --mu: #64748b;
    --red: #e4002b;
    --red-hover: #c70025;
    --bd: #e2e8f0;
    --gold: #fffbeb;
    --gold-bd: #fde68a;
    --green: #22c55e;
}

html {
    scroll-padding-top: env(safe-area-inset-top, 0px);
    scroll-behavior: smooth;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--tx);
    font-family: "Tiro Bangla", "Hind Siliguri", "Noto Sans Bengali", system-ui, serif;
    line-height: 1.6;
}

.w {
    max-width: 580px;
    margin: 0 auto;
    padding: 20px 16px;
}

/* Header & Logo */
.logo {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.5px;
    text-align: center;
}
#lg {
    color: #fff;
    background: #16171a;
    border-radius: 12px;
    padding: 10px 14px;
    display: inline-block;
    margin: 0 auto 10px;
}
.logo-wrap { text-align: center; width: 100%; padding: 10px 0 4px; }
.logo-wrap img { display: block; margin: 0 auto; max-height: 52px; max-width: 220px; object-fit: contain; }
.logo b { color: var(--red); }

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { animation: rise .65s ease var(--d, 0ms) both; }
@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; animation: none; }
}

h1 {
    font-size: 26px;
    line-height: 1.35;
    margin: 14px 0 10px;
    text-align: center;
    font-weight: 700;
}
h1 span { color: var(--red); }
h2 { font-size: 20px; margin: 0 0 10px; font-weight: 700; }
p { color: var(--mu); margin: 0 0 12px; font-size: 15px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--red);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity .2s, transform .1s;
}
.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.btn:hover { opacity: 0.95; }
.btn:active { transform: scale(0.99); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn.wa { background: #22c55e; color: #fff; }
.btn.cl { background: #0f172a; color: #fff; border: 1px solid var(--bd); }

.cw { display: flex; gap: 10px; margin-top: 12px; }
.cw .btn { flex: 1; padding: 13px 6px; font-size: 15px; }

/* Cards & Badges */
.card {
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: 14px;
    padding: 18px;
    margin: 14px 0;
}
.card.gold { background: var(--gold); border-color: var(--gold-bd); }
.badges { display: flex; gap: 10px; margin-top: 14px; }
.badges .card { flex: 1; margin: 0; text-align: center; }
.big { font-size: 24px; font-weight: 800; color: var(--red); }
.sm { font-size: 13px; color: var(--mu); }

/* Form Elements */
label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin: 14px 0 6px;
}
input, select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--bd);
    border-radius: 10px;
    background: var(--bg);
    color: var(--tx);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
}
input:focus, select:focus {
    border-color: var(--red);
}
input[type=range] {
    padding: 0;
    accent-color: var(--red);
    height: 8px;
    background: var(--bd);
    border-radius: 4px;
    cursor: pointer;
}

/* Steps list */
.steps { counter-reset: s; padding: 0; list-style: none; margin: 0; }
.steps li { counter-increment: s; padding: 8px 0 8px 44px; position: relative; font-size: 15px; }
.steps li:before {
    content: counter(s, bengali);
    position: absolute;
    left: 0;
    top: 7px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    text-align: center;
    line-height: 32px;
}
.gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.gift-item { background: var(--bg); border-radius: 12px; padding: 12px 6px; text-align: center; border: 1px solid var(--bd); }
.gift-ico { display: flex; align-items: center; justify-content: center; height: 48px; margin-bottom: 6px; color: var(--red); }
.gift-ico img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.gift-name { font-size: 12px; font-weight: 700; }
.si { border-radius: 12px; overflow: hidden; margin: 0 0 12px; background: var(--bg); border: 1px dashed #e5b93c; }
.si img { width: 100%; display: block; }
.si .ph { aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--mu); font-size: 14px; }
.fv { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.fv .vi { flex: 0 0 82%; scroll-snap-align: start; }
.fv .vb { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--bd); }
.fv .vb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fv .vb .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.fv .vi span { display: block; font-size: 13px; font-weight: 700; margin-top: 6px; }
.tick { padding: 0; list-style: none; margin: 0; }
.tick li { margin: 8px 0; color: var(--mu); font-size: 15px; }

/* Calendar Date Selector */
.cal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.d {
    border: 1px solid var(--bd);
    background: var(--bg);
    color: var(--tx);
    border-radius: 10px;
    padding: 8px 4px;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    transition: all .2s;
}
.d b { display: block; font-size: 18px; margin: 2px 0; }
.d:hover { border-color: var(--red); }
.d.on {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* Bike Grid */
.bg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}
.bc {
    background: var(--bg);
    border: 1px solid var(--bd);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.bi {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    background: var(--card);
}
.bc div.bt { padding: 10px; flex: 1; }
.bc b { display: block; font-size: 15px; }
.bc small { color: var(--mu); font-size: 12px; }
.bc a {
    margin: 0 10px 10px;
    padding: 9px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

/* Video Player */
.vid {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    margin: 12px 0 16px;
    border: 1px solid var(--bd);
}
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* EMI Calculator */
.emi-box {
    background: var(--bg);
    border: 1px solid var(--bd);
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
}
.emi-result {
    text-align: center;
    background: var(--gold);
    border: 1px solid var(--gold-bd);
    border-radius: 10px;
    padding: 14px;
    margin-top: 14px;
}
.emi-amount { font-size: 28px; font-weight: 800; color: var(--red); }

/* Sticky Floating Contact Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--bd);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.06);
}
.sticky-bar .w { padding: 0; max-width: 580px; margin: 0 auto; }

/* Footer */
.ft {
    background: var(--card);
    border-top: 1px solid var(--bd);
    margin-top: 20px;
    padding-bottom: 70px; /* Space for sticky bar */
}
.ft p { margin: 0 0 10px; }
.ft a { color: var(--red); text-decoration: none; font-weight: 600; }
.mp {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--bd);
    margin: 10px 0;
    background: var(--bg);
}
.mp iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Unlimited Calendar Date Picker */
.date-picker-box {
    margin: 8px 0 10px;
}
.date-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.date-input-wrap svg {
    position: absolute;
    left: 14px;
    pointer-events: none;
    color: var(--red);
}
.date-input-wrap input[type=date] {
    padding-left: 44px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--bd);
    background: #ffffff;
    transition: all .2s;
}
.date-input-wrap input[type=date]:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.1);
}
.selected-date-display {
    font-size: 14px;
    color: var(--red);
    font-weight: 700;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fff1f2;
    border: 1px solid #ffe4e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.quick-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 14px;
}
.q-btn {
    padding: 7px 14px;
    border-radius: 20px;
    background: var(--bg);
    border: 1px solid var(--bd);
    color: var(--tx);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}
.q-btn:hover {
    border-color: var(--red);
    color: var(--red);
}
.q-btn.on {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* Dialog Modal */
dialog {
    border: 1px solid var(--bd);
    border-radius: 16px;
    background: var(--bg);
    color: var(--tx);
    max-width: min(520px, 92vw);
    max-height: 80vh;
    overflow: auto;
    padding: 20px;
    font-family: inherit;
}
dialog::backdrop { background: rgba(0, 0, 0, 0.6); }

/* Hero Section Custom Background & Branding Styles */
.hero-banner-wrap {
    position: relative;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--bd);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.hero-banner-wrap.light_tint {
    background-color: #ffffff;
}
.hero-banner-wrap.light_tint .hero-inner-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.97) 100%);
    padding: 24px 20px;
}
.hero-banner-wrap.dark_overlay .hero-inner-overlay {
    background: linear-gradient(180deg, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.95) 100%);
    color: #ffffff;
    padding: 24px 20px;
}
.hero-banner-wrap.dark_overlay h1, .hero-banner-wrap.dark_overlay p {
    color: #f1f5f9;
}
.hero-banner-wrap.gradient_accent .hero-inner-overlay {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(254,242,242,0.92) 100%);
    border-top: 4px solid var(--red);
    padding: 24px 20px;
}
.hero-banner-wrap.clean_soft .hero-inner-overlay {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(4px);
    padding: 24px 20px;
}

.hero-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin: 0 auto 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.hero-tagline {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--mu);
    margin-top: -4px;
    margin-bottom: 12px;
}

/* Gift Badges & Subtitle */
.gift-item {
    position: relative;
}
.gift-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #f59e0b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
}
.gift-sub {
    font-size: 11px;
    color: var(--mu);
    margin-top: 2px;
    line-height: 1.2;
}

/* Customer Showcase / Gift Winners Premium Auto-Scrolling Slider */
.showcase-section-card {
    position: relative;
    overflow: hidden;
}
.showcase-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.showcase-section-header h2 {
    margin-bottom: 2px;
}
.showcase-nav-btns {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-top: 4px;
}
.showcase-nav-btn {
    position: absolute;
    top: 115px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}
.showcase-nav-btn:hover {
    background: var(--red);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}
.showcase-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}
.showcase-nav-btn.prev { left: 10px; }
.showcase-nav-btn.next { right: 10px; }


.showcase-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    margin-top: 14px;
    touch-action: pan-y;
}
.showcase-slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.showcase-slide {
    min-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
}

.showcase-card {
    background: #ffffff;
    border: 1px solid var(--bd);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: box-shadow .25s ease;
}
.showcase-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.09);
}

.showcase-img-wrap {
    width: 100%;
    height: 220px;
    background: #0f172a;
    overflow: hidden;
    position: relative;
}
.showcase-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.showcase-card:hover .showcase-img-wrap img {
    transform: scale(1.03);
}
.showcase-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.showcase-verified-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #4ade80;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 2;
}

.showcase-gift-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fef08a;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid rgba(254, 240, 138, 0.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}
.showcase-gift-tag span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.showcase-gift-tag b {
    color: #fef08a;
}

.showcase-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
.showcase-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--tx);
    line-height: 1.25;
}
.showcase-loc {
    font-size: 12px;
    color: var(--mu);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
}
.showcase-bike {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--red);
    background: #fff1f2;
    border: 1px solid #fecaca;
    padding: 3px 9px;
    border-radius: 12px;
    white-space: nowrap;
}
.showcase-quote {
    font-size: 13px;
    color: #334155;
    line-height: 1.55;
    background: #f8fafc;
    border-left: 3px solid var(--red);
    padding: 10px 12px;
    border-radius: 0 10px 10px 0;
    margin-top: 4px;
    position: relative;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.showcase-quote .quote-icon {
    flex-shrink: 0;
    color: #cbd5e1;
    margin-top: 2px;
}

.showcase-slider-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding: 0 4px;
}
.showcase-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}
.showcase-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.showcase-dot.active {
    width: 22px;
    border-radius: 6px;
    background: var(--red);
}

.showcase-autoplay-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--mu);
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 20px;
}
.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulseRing 1.8s infinite;
}
@keyframes pulseRing {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Bike Models Pagination / Load More */
.bike-extra-item {
    display: none;
    animation: fadeInBike .35s ease forwards;
}
.bike-extra-item.is-visible {
    display: flex !important;
}
@keyframes fadeInBike {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.btn-more {
    transition: all .2s;
}
.btn-more:hover {
    background: var(--red) !important;
    color: #fff !important;
    border-color: var(--red) !important;
}
