/* ============================================================
   GLOBAL – LEBIH MODERN & ANIMATIF
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1b2d24;
    background:
        radial-gradient(circle at 10% 20%, rgba(58, 145, 99, 0.08), transparent 35%),
        radial-gradient(circle at 90% 80%, rgba(26, 86, 219, 0.06), transparent 30%),
        linear-gradient(135deg, #f3f7f5 0%, #eef4f1 50%, #f7faf8 100%);
    padding: 45px 24px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    position: relative;
}

/* ============================================================
   ORBS
   ============================================================ */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.25;
    z-index: 0;
    animation: orbFloat 12s ease-in-out infinite alternate;
}
.orb-one {
    width: 400px; height: 400px;
    top: -150px; left: -100px;
    background: radial-gradient(circle, rgba(46, 125, 87, 0.30), transparent);
    animation-duration: 14s;
}
.orb-two {
    width: 500px; height: 500px;
    right: -200px; bottom: -200px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.20), transparent);
    animation-duration: 18s;
    animation-delay: 2s;
}
.orb-three {
    width: 250px; height: 250px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.10), transparent);
    animation-duration: 20s;
    animation-delay: 4s;
}
.orb-four {
    width: 300px; height: 300px;
    top: 20%; right: 5%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent);
    animation-duration: 16s;
    animation-delay: 1s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.15); }
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page-wrapper {
    width: 100%;
    max-width: 1000px;
    position: relative;
    z-index: 2;
    animation: pageSlideUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pageSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================================
   TOP NAVIGATION
   ============================================================ */
.top-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 0 6px;
    animation: fadeDown 0.8s 0.1s both;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #65756d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s ease, transform 0.3s ease;
}
.back-link i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.85);
    color: #2e7d57;
    box-shadow: 0 4px 16px rgba(25, 50, 39, 0.06);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    font-size: 14px;
}
.back-link:hover {
    color: #2e7d57;
    transform: translateX(-4px);
}
.back-link:hover i {
    transform: translateX(-5px) scale(1.06);
    background: #2e7d57;
    color: white;
    box-shadow: 0 8px 24px rgba(46,125,87,0.25);
}

/* ============================================================
   BRAND MINI – SAMA SEPERTI NAVBAR INDEX
   ============================================================ */
.brand-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.brand-mini:hover {
    transform: scale(1.02);
}

.brand-mini .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2E7D57, #1A56DB);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    box-shadow: 0 4px 12px rgba(46, 125, 87, 0.15);
}

.brand-mini .brand-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(46, 125, 87, 0.12);
    animation: brandPulse 2.5s ease-in-out infinite;
}

.brand-mini .brand-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px solid rgba(46, 125, 87, 0.05);
    animation: brandPulse 2.5s ease-in-out infinite 0.8s;
}

@keyframes brandPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.brand-mini:hover .brand-icon {
    transform: rotate(-6deg) scale(1.05);
}

.brand-mini .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-mini .brand-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1E2A20;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.brand-mini:hover .brand-name {
    color: #2E7D57;
}

.brand-mini .brand-tag {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #767F73;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.brand-mini:hover .brand-tag {
    opacity: 1;
}

/* ============================================================
   CARD UTAMA – GLASSMORPHISM PREMIUM
   ============================================================ */
.detail-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 30px 80px rgba(25, 55, 42, 0.08),
        0 10px 30px rgba(25, 55, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    animation: cardAppear 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s ease;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(45px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.detail-card:hover {
    transform: translateY(-6px) scale(1.005);
    box-shadow: 
        0 40px 100px rgba(25, 55, 42, 0.12),
        0 15px 40px rgba(25, 55, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.detail-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #2E7D57, #43a66f, #8bc8a4, #4A83B8, #1A56DB);
    background-size: 300% 100%;
    animation: gradientMove 6s ease-in-out infinite;
    z-index: 2;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.detail-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(46,125,87,0.03), transparent 70%);
    pointer-events: none;
    border-radius: 50%;
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

/* ============================================================
   CARD HEADER
   ============================================================ */
.card-header {
    padding: 50px 60px 36px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    position: relative;
    z-index: 1;
}

.meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    animation: fadeUp 0.8s 0.35s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.category-badge:hover::before {
    left: 100%;
}

.category-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.badge-food { background: #FFF3E0; color: #E65100; border-color: rgba(230, 81, 0, 0.12); }
.badge-craft { background: #F3E5F5; color: #7B1FA2; border-color: rgba(123, 31, 162, 0.12); }
.badge-service { background: #E3F2FD; color: #1A56DB; border-color: rgba(26, 86, 219, 0.12); }
.badge-other { background: #F5F5F5; color: #616161; border-color: rgba(97, 97, 97, 0.08); }

.status-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #829089;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255,255,255,0.5);
    padding: 6px 14px 6px 10px;
    border-radius: 40px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0,0,0,0.03);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #37a76c;
    box-shadow: 0 0 0 0 rgba(55,167,108,0.35);
    animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
    0% { box-shadow: 0 0 0 0 rgba(55,167,108,0.40); }
    70% { box-shadow: 0 0 0 8px rgba(55,167,108,0); }
    100% { box-shadow: 0 0 0 0 rgba(55,167,108,0); }
}

.title {
    max-width: 850px;
    color: #172c22;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
    animation: titleReveal 1s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.date-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #718078;
    font-size: 14px;
    font-weight: 500;
    animation: fadeUp 0.8s 0.7s both;
}

.date-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eff8f3;
    color: #2e7d57;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.date-info:hover .date-icon {
    transform: rotate(-10deg) scale(1.1);
    background: #2e7d57;
    color: white;
}

/* ============================================================
   CARD BODY
   ============================================================ */
.card-body {
    padding: 48px 60px 54px;
    animation: fadeUp 0.9s 0.8s both;
    position: relative;
    z-index: 1;
}

.content-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #263a31;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.content-label::before {
    content: "";
    width: 5px;
    height: 22px;
    border-radius: 10px;
    background: linear-gradient(to bottom, #2e7d57, #65b989);
}

.content-label i {
    color: #2e7d57;
    font-size: 14px;
    margin-right: 2px;
}

.content {
    color: #37443e;
    font-size: 17px;
    line-height: 2.1;
    font-weight: 400;
    letter-spacing: -0.005em;
    word-break: break-word;
    background: rgba(46, 125, 87, 0.02);
    padding: 20px 24px;
    border-radius: 16px;
    border-left: 4px solid #2e7d57;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.content:hover {
    background: rgba(46, 125, 87, 0.04);
    border-color: #1A56DB;
}

/* ============================================================
   UMKM META – KONTAK & PENGAJU
   ============================================================ */
.umkm-meta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    padding: 1.5rem 0 0.5rem;
    border-top: 2px solid rgba(46, 125, 87, 0.06);
}

/* Tombol kontak WhatsApp (warna hijau PantauBolon) */
.umkm-meta .contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.2rem 0.6rem 0.8rem;
    border-radius: 12px;
    background: #2E7D57;
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(46, 125, 87, 0.25);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    flex: 0 1 auto;
}

.umkm-meta .contact-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -70%;
    width: 45%;
    height: 300%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.umkm-meta .contact-item:hover::before {
    left: 125%;
}

.umkm-meta .contact-item:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(46, 125, 87, 0.35);
    background: #1D5C3E;
}

.umkm-meta .contact-item .contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.umkm-meta .contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(-4deg);
}

.umkm-meta .contact-item .contact-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.umkm-meta .contact-item .contact-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.umkm-meta .contact-item .contact-number {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ===== TOMBOL PENGAJU (GRADIEN HIJAU-BIRU + EFEK KILAU) ===== */
.umkm-meta .btn-pengaju {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #2E7D57, #1A56DB);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(46, 125, 87, 0.15);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    font-weight: 600;
    flex: 0 1 auto;
}

.umkm-meta .btn-pengaju::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -70%;
    width: 45%;
    height: 300%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.umkm-meta .btn-pengaju:hover::before {
    left: 125%;
}

.umkm-meta .btn-pengaju:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(46, 125, 87, 0.25);
    background: linear-gradient(135deg, #1D5C3E, #0F3B8C);
}

.umkm-meta .btn-pengaju i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.umkm-meta .btn-pengaju:hover i {
    transform: scale(1.1) rotate(-4deg);
}

.umkm-meta .btn-pengaju .meta-label {
    opacity: 0.7;
    font-weight: 400;
}

.umkm-meta .btn-pengaju .meta-value {
    font-weight: 700;
}

/* ============================================================
   CARD FOOTER
   ============================================================ */
.card-footer {
    padding: 24px 60px;
    background: linear-gradient(180deg, #fbfdfc, #f5f9f7);
    border-top: 1px solid rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 1s both;
    position: relative;
    z-index: 1;
    border-radius: 0 0 32px 32px;
}

.publication-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #78867f;
    font-size: 13px;
    font-weight: 500;
}

.publication-info i {
    color: #2e7d57;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.publication-info:hover i {
    transform: rotate(20deg) scale(1.15);
}

.btn-umkm-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2E7D57, #1A56DB);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 16px rgba(46,125,87,0.15);
}

.btn-umkm-back::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -70%;
    width: 45%;
    height: 300%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: rotate(20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.btn-umkm-back:hover::before {
    left: 125%;
}

.btn-umkm-back:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 32px rgba(46,125,87,0.25);
    background: linear-gradient(135deg, #1D5C3E, #0F3B8C);
}

.btn-umkm-back i {
    transition: transform 0.3s ease;
}

.btn-umkm-back:hover i {
    transform: rotate(8deg) scale(1.1);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    body { padding: 28px 16px; }
    .card-header { padding: 36px 28px 28px; }
    .card-body { padding: 32px 28px 38px; }
    .card-footer { padding: 18px 28px; flex-direction: column; align-items: stretch; }
    .title { font-size: 2rem; }
    .content { font-size: 16px; padding: 16px 18px; line-height: 1.9; }
    .umkm-meta { gap: 1rem; flex-direction: column; }
    .umkm-meta .contact-item { width: 100%; justify-content: center; }
    .umkm-meta .btn-pengaju { width: 100%; justify-content: center; }
    .btn-umkm-back { width: 100%; justify-content: center; }
    .brand-mini .brand-tag { display: none; }
}

@media (max-width: 576px) {
    body { padding: 16px 10px; }
    .top-navigation { padding: 0 2px; }
    .detail-card { border-radius: 24px; }
    .card-header { padding: 28px 18px 22px; }
    .card-body { padding: 26px 18px 30px; }
    .card-footer { padding: 16px 18px; }
    .meta-top { flex-direction: column; align-items: flex-start; gap: 12px; }
    .title { font-size: 1.7rem; letter-spacing: -0.03em; }
    .date-info { font-size: 12px; }
    .content { font-size: 15px; padding: 14px 16px; line-height: 1.85; }
    .btn-umkm-back { font-size: 12px; padding: 10px 16px; }
    .umkm-meta .contact-item { padding: 0.5rem 1rem; gap: 0.6rem; }
    .umkm-meta .contact-item .contact-icon { width: 34px; height: 34px; font-size: 1rem; }
    .umkm-meta .contact-item .contact-title { font-size: 0.85rem; }
    .umkm-meta .contact-item .contact-number { font-size: 0.7rem; }
    .umkm-meta .btn-pengaju { font-size: 0.85rem; padding: 0.5rem 1rem; }
    .brand-mini .brand-name { font-size: 0.95rem; }
    .brand-mini .brand-icon { width: 32px; height: 32px; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Foto usaha (jika diunggah) */
.umkm-foto-besar { margin: 0 0 1.5rem; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); }
.umkm-foto-besar img { width: 100%; max-height: 380px; object-fit: cover; display: block; }
