@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    --vespa-mint: #00A88F;
    --vespa-mint-dark: #008773;
    --vespa-dark: #141414;
    --vespa-cream: #F7F6F2;
    --vespa-gray: #6C757D;
    --italy-green: #009246;
    --italy-white: #FFFFFF;
    --italy-red: #CE2B37;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--vespa-dark);
    background-color: #FFFFFF;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.font-serif-italian {
    font-family: 'Playfair Display', serif;
}

.tricolore-bar {
    height: 8px;
    width: 100%;
    background: linear-gradient(90deg, var(--italy-green) 33.3%, var(--italy-white) 33.3%, var(--italy-white) 66.6%, var(--italy-red) 66.6%);
}

.navbar-vespa {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
}

.navbar-vespa.navbar-scrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.navbar-brand-title {
    font-weight: 800;
    letter-spacing: -0.5px;
    font-size: 1.25rem;
    line-height: 1.1;
}

.navbar-brand-sub {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--vespa-mint);
    font-weight: 700;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--vespa-dark) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--vespa-mint) !important;
}

.btn-vespa {
    background-color: var(--vespa-mint);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.btn-vespa:hover {
    background-color: var(--vespa-mint-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 168, 143, 0.25);
}

.btn-vespa-dark {
    background-color: var(--vespa-dark);
    color: #fff;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-vespa-dark:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-vespa {
    border: 1.5px solid var(--vespa-dark);
    color: var(--vespa-dark);
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.3s ease;
}

.btn-outline-vespa:hover {
    background-color: var(--vespa-dark);
    color: #fff;
}

/* Hero Carousel Section */
.hero-carousel-item {
    position: relative;
    min-height: 82vh;
    background-color: #141414;
    overflow: hidden;
}

/* Transisi fade lebih lembut antar slide */
#vespaHeroCarousel .carousel-item {
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Zoom halus saat slide aktif */
.hero-carousel-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.04);
    transition: transform 6s ease-out;
}

.hero-carousel-item.active .hero-carousel-img {
    transform: scale(1);
}

.hero-carousel-overlay {
    position: relative;
    z-index: 2;
    min-height: 82vh;
    background: linear-gradient(105deg, rgba(15, 15, 15, 0.84) 0%, rgba(15, 15, 15, 0.48) 55%, rgba(15, 15, 15, 0.18) 100%);
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Animasi muncul halus saat scroll */
.scroll-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal,
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.bg-cream {
    background-color: var(--vespa-cream);
}

.vespa-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vespa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.vespa-card-img-wrap {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--vespa-cream);
}

.vespa-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vespa-card:hover .vespa-card-img-wrap img {
    transform: scale(1.06);
}

.category-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--vespa-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
}

.color-chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    background: var(--vespa-cream);
    border: 1px solid #e2e0d8;
    margin: 2px;
    font-weight: 500;
}

.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.wa-float:hover {
    transform: scale(1.1);
    color: #fff;
}

.footer-vespa {
    background-color: var(--vespa-dark);
    color: #ccc;
}

.footer-vespa a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-vespa a:hover {
    color: var(--vespa-mint);
}