/* =========================================
   GLOBAL & TYPOGRAPHY
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary: #1a1a2e;      /* Dark Navy */
    --accent: #d4b25f;       /* Gold/Earth */
    --light: #f8f9fa;        /* Off White */
    --dark: #111111;         /* Pure Black */
    --success: #25D366;      /* WhatsApp Green */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #2d3748;
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 14px auto 0;
    border-radius: 999px;
}

/* =========================================
   HEADER / NAVBAR (MOBILE READY)
   ========================================= */
header {
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span { color: var(--accent); }

nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}

nav a {
    color: #d4d9e8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.98rem;
}

nav a:hover, nav a.active { color: var(--accent); }

.cta-btn {
    background: var(--accent);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border: 2px solid var(--accent);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 178, 95, 0.35);
    background: var(--dark);
    border-color: var(--accent);
    color: var(--accent);
}

/* =========================================
   HERO SECTION (MOBILE OPTIMIZED)
   ========================================= */
.hero {
    background: linear-gradient(135deg, rgba(26,26,46,0.85), rgba(26,26,46,0.62)), 
                url('uploads/gallery/gal1.jpg') center/cover no-repeat;
    min-height: 56vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(212,178,95,0.08), transparent 40%);
    pointer-events: none;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 18px;
    line-height: 1.15;
    text-shadow: 0 16px 36px rgba(0,0,0,0.4);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.08rem;
    opacity: 1;
    max-width: 580px;
    margin: 0 auto 32px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.95);
}

.hero .cta-btn {
    background: white;
    color: var(--primary);
    padding: 14px 36px;
    font-size: 1.02rem;
    box-shadow: 0 18px 50px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

/* =========================================
   PRODUCT CARDS (MOBILE GRID)
   ========================================= */
.shopee-list {
    display: grid;
    /* Default Laptop: 4 kolom */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.shopee-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(212,178,95,0.1);
    display: flex;
    flex-direction: column;
}

.shopee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: rgba(212,178,95,0.25);
}

.shopee-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.shopee-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.shopee-card:hover .shopee-img img {
    transform: scale(1.05);
}

.shopee-body { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }

.shopee-meta {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
}

.shopee-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shopee-price {
    font-size: 1.08rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
}

.shopee-desc {
    font-size: 0.88rem;
    color: #475569;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    line-height: 1.6;
}

.shopee-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--success);
    color: white !important;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.shopee-btn:hover {
    background: #1db449;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* =========================================
   GALLERY & POSTER
   ========================================= */
.price-poster-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.poster-item, .gallery-item {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(212,178,95,0.15);
}

.poster-item img, .gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), filter 0.45s ease;
}

.poster-item:hover img, .gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.02);
}

/* =========================================
   FOOTER PRO
   ========================================= */
.footer-pro {
    background: linear-gradient(180deg, #1a1f34 0%, #111621 100%);
    color: #b8c1d8;
    padding-top: 70px;
    margin-top: 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 36px;
    padding-bottom: 40px;
}

.footer-title {
    color: var(--accent);
    font-size: 1.12rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #d8e2f0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #d2dbf1;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    color: #e2eaf8;
    text-decoration: none;
    margin-bottom: 14px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    gap: 8px;
}

.social-link:hover {
    color: var(--accent);
}

.map-wrapper iframe {
    border-radius: 16px;
    filter: grayscale(20%);
}

.footer-bottom {
    background: rgba(17,22,35,0.9);
    text-align: center;
    padding: 22px 20px;
    font-size: 0.84rem;
    color: #7a8599;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================
   MODAL & LIGHTBOX
   ========================================= */
.modal-rules, #lightboxModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 5000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: white;
    color: #1f2937;
    width: 100%;
    max-width: 580px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 28px;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.modal-close-btn {
    position: absolute;
    top: 18px; right: 22px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #cbd5e0;
}

#lightboxImg {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 18px;
}

/* =========================================
    MOBILE RESPONSIVE FIXES
   ========================================= */
/* =========================================
   MOBILE RESPONSIVE - FULL WIDTH IMAGES
   ========================================= */
/* =========================================
   MOBILE RESPONSIVE - FULL WIDTH & RAPI
   ========================================= */
@media (max-width: 768px) {
    /* 1. NAVBAR: Sederhana & Sticky */
    header { padding: 10px 0; }
    .nav-content { justify-content: space-between; gap: 10px; }
    nav ul { display: none; } /* Sembunyikan menu teks di HP */
    .logo { font-size: 1.2rem; }
    .cta-btn { 
        padding: 8px 16px; 
        font-size: 0.85rem; 
        border-radius: 20px;
    }

    /* 2. HERO SECTION: Font Pas Layar HP */
    .hero { min-height: 48vh; padding: 50px 20px; }
    .hero h1 { font-size: 2.1rem; line-height: 1.25; margin-bottom: 14px; }
    .hero p { font-size: 0.96rem; margin-bottom: 24px; }
    .hero .cta-btn { padding: 12px 28px; font-size: 0.95rem; }

    /* 3. KATALOG PRODUK: Grid 2 Kolom (Mobile Style) */
    .shopee-list {
        grid-template-columns: repeat(2, 1fr); /* 2 kolom di mobile */
        gap: 14px;
    }
    .shopee-card { border-radius: 16px; }
    .shopee-img { height: 160px; }
    .shopee-body { padding: 14px; }
    .shopee-title { font-size: 0.9rem; line-height: 1.25; height: auto; overflow: hidden; }
    .shopee-meta { font-size: 0.68rem; margin-bottom: 6px; }
    .shopee-price { font-size: 0.92rem; margin-bottom: 8px; }
    .shopee-desc { display: block; font-size: 0.78rem; }
    .shopee-btn { font-size: 0.8rem; padding: 10px; border-radius: 12px; }

    /* 4. POSTER HARGA & GALERI: FULL WIDTH (1 KOLOM) ✅ */
    .price-poster-grid, 
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important; /* 3 kolom galeri */
        gap: 12px;
    }
    
    .poster-item img, 
    .gallery-item img {
        width: 100%;
        height: 140px !important; /* Gambar lebih kecil & jelas */
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    /* 5. FOOTER: Stack Vertikal */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .contact-list li { justify-content: center; }
    .social-link { justify-content: center; }
    .map-wrapper iframe { height: 250px; } /* Peta lebih tinggi di HP */
}

@media (max-width: 480px) {
    .shopee-list { grid-template-columns: repeat(2, 1fr); }
    .shopee-img { height: 150px; }
    .shopee-body { padding: 12px; }
    .shopee-title { font-size: 0.85rem; }
    .shopee-price { font-size: 0.85rem; }
    .shopee-desc { font-size: 0.75rem; }
    .shopee-btn { font-size: 0.7rem; padding: 10px; }
    
    .price-poster-grid, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .poster-item img, .gallery-item img { height: 140px; }
}