:root {
    --biru: #0d6efd;
    --biru-tua: #0a58ca;
    --putih: #ffffff;
    --light-blue: #f0f4ff;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--putih);
    color: #333;
    overflow-x: hidden;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background-color: var(--biru) !important;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    z-index: 1000;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--putih) !important;
    margin-left: 12px;
}
.nav-link {
    color: var(--putih) !important;
    font-weight: 500;
    margin: 0 12px;
    transition: all 0.3s;
}
.nav-link:hover {
    color: #ffd700 !important;
}

/* ==================== HERO ==================== */
.hero {
    background: linear-gradient(rgba(13,110,253,0.92), rgba(10,88,202,0.95)),
                url('https://images.unsplash.com/photo-1519225324490-0e7e3713d0f7?auto=format&fit=crop&q=80') center/cover no-repeat;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--putih);
    text-align: center;
}
.hero h1 {
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.4rem;
    max-width: 720px;
    margin: 0 auto 40px;
}

/* ==================== SECTION UMUM ==================== */
.section-padding {
    padding: 100px 0;
}
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--biru-tua);
    margin-bottom: 4rem;
    text-align: center;
}
.bg-light-blue {
    background-color: var(--light-blue);
}

/* ==================== CARD MARKETPLACE (COMPACT 1:1) ==================== */
.card-marketplace {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.09);
    transition: all 0.35s ease;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card-marketplace:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.16);
}
.card-marketplace .card-img-top {
    width: 100%;
    height: 200px;                    /* Gambar kotak 1:1 */
    object-fit: cover;
    transition: transform 0.4s ease;
}
.card-marketplace:hover .card-img-top {
    transform: scale(1.05);
}
.card-marketplace .card-body {
    padding: 16px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-marketplace .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.card-marketplace .price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--biru-tua);
    margin: 10px 0;
}
.card-marketplace .btn-biru {
    background-color: var(--biru);
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}
.card-marketplace .btn-biru:hover {
    background-color: var(--biru-tua);
    transform: translateY(-2px);
}

/* ==================== SWIPER CUSTOM (Untuk kedua carousel) ==================== */
.swiper {
    padding: 20px 0 60px 0 !important;
}
.swiper-slide {
    display: flex;
    justify-content: center;
}

/* Panah navigasi (muncul di desktop) */
.swiper-button-next,
.swiper-button-prev {
    color: var(--biru) !important;
    background: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s;
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--biru);
    color: white !important;
    transform: scale(1.1);
}

/* Pagination dots */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s;
}
.swiper-pagination-bullet-active {
    background: var(--biru);
    transform: scale(1.3);
}



/* ==================== FOOTER ==================== 
footer {
    background-color: var(--biru-tua);
    color: var(--putih);
    padding: 90px 0 40px;
    margin-top: 50px;
}
footer h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

*/

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.9rem; }
    .hero p { font-size: 1.2rem; }
    .hero { height: 90vh; }
    .section-title { font-size: 2.3rem; margin-bottom: 3rem; }
    .section-padding { padding: 80px 0; }
    
    /* Panah swiper sembunyi di mobile */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .card-marketplace .card-title { font-size: 0.9rem; height: 44px; }
    .card-marketplace .price { font-size: 1.05rem; }
}



/* Khusus undangan */
@media (max-width: 768px) {
    .undanganSwiper .swiper-button-next,
    .undanganSwiper .swiper-button-prev {
        display: none !important;
    }
}

/* Khusus souvenir */
@media (max-width: 768px) {
    .souvenirSwiper .swiper-button-next,
    .souvenirSwiper .swiper-button-prev {
        display: none !important;
    }
}