/*
Theme Name: mzmlectro
Theme URI: https://mazmodev.com
Author: MazmoDev
Description: Tema super ringan tanpa framework berat. Fokus pada kecepatan dan SEO.
Version: 2.8 
Text Domain: mzmlectro
*/

/* --- 1. VARIABEL CSS --- */
:root {
    --primary: #0ea5e9;      /* Sky 500 */
    --primary-dark: #0284c7; /* Sky 600 */
    --secondary: #0f172a;    /* Slate 900 */
    --accent: #f59e0b;       /* Amber 500 */
    --text-main: #475569;    /* Slate 600 */
    --text-dark: #1e293b;    /* Slate 800 */
    --bg-light: #f8fafc;     /* Slate 50 */
    --white: #ffffff;
    
    --container-width: 1080px; 
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* --- 2. RESET DASAR --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text-main); line-height: 1.6; background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- 3. UTILITAS LAYOUT --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* Utilities khusus padding section */
.section-pad { padding: 80px 0; }
.section-pad-lg { padding: 100px 0; }
.bg-white { background: var(--white); }
.bg-light-border { background: var(--bg-light); border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }

/* Visibility */
.desktop-only { display: none !important; } 
.mobile-only { display: block !important; }

/* --- 4. SISTEM GRID --- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.gap-large { gap: 4rem; } /* Utilitas gap besar */

/* --- 5. RESPONSIVE HELPERS (DESKTOP) --- */
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    
    .desktop-only { display: inline-flex !important; }
    .mobile-only { display: none !important; }
    
    .md-flex { display: flex; }
    .md-w-half { width: 50%; }
}

/* --- 6. HEADER & TOP BAR --- */
.top-bar { background: var(--secondary); color: #cbd5e1; font-size: 12px; padding: 8px 0; }
.top-bar span { display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
.top-bar i { margin-top: -1px; }

.site-header { 
    position: sticky; top: 0; z-index: 1000; padding: 15px 0;
    /* REVISI PERFORMA: Gunakan warna solid transparansi, BUKAN backdrop-filter (blur) */
    background: rgba(255, 255, 255, 0.98); 
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Shadow tipis ringan */
}

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--secondary); font-size: 1.25rem; }
.logo-icon { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }

/* --- 7. NAVIGATION MENU --- */
.btn-cta { 
    background: linear-gradient(135deg, #0ea5e9, #1e40af, #0f172a); 
    color: white; padding: 10px 20px; border-radius: 50px; font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; box-shadow: 0 4px 6px rgba(14, 165, 233, 0.2);
}
.btn-cta:hover { background: linear-gradient(135deg, #0284c7, #1e3a8a, #0f172a); transform: translateY(-2px); box-shadow: 0 6px 10px rgba(14, 165, 233, 0.3); }

.mobile-menu-toggle { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--secondary); padding: 5px; }

/* Desktop Menu */
@media (min-width: 768px) {
    .mobile-menu-toggle { display: none; }
    .main-nav { display: block !important; } 
    .main-nav > ul { display: flex; gap: 30px; align-items: center; }
    .main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--text-main); position: relative; padding: 10px 0; display: flex; align-items: center; gap: 6px; }
    .main-nav a:hover { color: var(--primary); }
    .menu-item-has-children > a::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.7em; margin-top: 2px; transition: transform 0.3s; }
    .menu-item-has-children:hover > a::after { transform: rotate(180deg); }
    .main-nav li { position: relative; }
    .main-nav ul ul { visibility: hidden; opacity: 0; position: absolute; top: 100%; left: 0; background: white; box-shadow: var(--shadow-lg); min-width: 200px; border-radius: 8px; padding: 10px 0; border: 1px solid #f1f5f9; z-index: 100; transition: 0.2s; transform: translateY(10px); }
    .main-nav ul ul li a { padding: 10px 20px; display: block; white-space: nowrap; }
    .main-nav li:hover > ul { visibility: visible; opacity: 1; transform: translateY(0); }
}

/* Mobile Menu */
@media (max-width: 767px) {
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; border-top: 1px solid #eee; padding: 0; box-shadow: 0 10px 20px rgba(0,0,0,0.05); z-index: 999; max-height: 80vh; overflow-y: auto; }
    .main-nav.active { display: block; animation: slideDown 0.3s ease-out; }
    .main-nav > ul { flex-direction: column; padding: 0; }
    .main-nav li { border-bottom: 1px solid #f8fafc; width: 100%; }
    .main-nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; font-weight: 600; color: var(--text-dark); }
    .menu-item-has-children > a::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.8em; color: #94a3b8; transition: transform 0.3s; }
    .main-nav ul ul { display: none; background: transparent; padding: 5px 0 5px 0; margin-left: 24px; border-left: 2px solid #e2e8f0; }
    .main-nav ul ul li { border-bottom: none; }
    .main-nav ul ul li a { padding: 10px 15px; font-size: 0.9rem; color: var(--text-main); }
    .main-nav ul ul li a:hover { color: var(--primary); padding-left: 20px; }
    .main-nav li.open > ul { display: block; animation: fadeIn 0.3s; }
    .main-nav li.open > a { color: var(--primary); background: #f8fafc; }
    .main-nav li.open > a::after { transform: rotate(180deg); color: var(--primary); }
    .mobile-cta-container { padding: 20px; border-top: 1px solid #f1f5f9; }
    .btn-mobile-wa { width: 100%; justify-content: center; color: #ffffff !important; }
    .btn-mobile-wa:hover, .btn-mobile-wa i { color: #ffffff !important; }
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- 9. HERO SECTION --- */
.hero, .cta-section { 
    padding: 80px 0; 
    background-color: #0f172a; 
    /* Pattern & Gradient tetap ada karena ringan (SVG < 1KB) */
    background-image: 
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v1H0z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3Cpath d='M0 0h1v40H0z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E"), 
        linear-gradient(135deg, #0ea5e9, #1e40af, #0f172a);
    color: white; overflow: visible; position: relative; 
    /* PENTING: Jangan gunakan background-attachment: fixed di mobile karena bikin lag */
    background-attachment: scroll;
}
.hero h1 { font-size: 2.5rem; line-height: 1.2; font-weight: 800; margin-bottom: 20px; }
.hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; max-width: 500px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.2); }
.hero-badge-dot { color: #4ade80; }

.btn-primary { background: var(--accent); color: white; padding: 15px 30px; border-radius: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3); }
.btn-outline { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 15px 30px; border-radius: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.btn-primary:hover, .btn-outline:hover { transform: translateY(-3px); }

.hero-img-box { position: relative; border-radius: 30px; overflow: visible; }
.hero-img-box img { border-radius: 30px; border: 4px solid rgba(255,255,255,0.2); box-shadow: var(--shadow-2xl); width: 100%; height: auto; }

.floating-badge { position: absolute; bottom: -25px; left: -25px; background: white; color: var(--text-dark); padding: 15px 20px; border-radius: 16px; display: flex; align-items: center; gap: 15px; box-shadow: var(--shadow-2xl); animation: float 3s ease-in-out infinite; z-index: 10; }
.floating-icon { color: green; }
.badge-top-right { position: absolute; top: -20px; right: -20px; background: rgba(255,255,255,0.95); backdrop-filter: blur(5px); padding: 10px 15px; border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px; z-index: 10; border: 1px solid white; }
.badge-text { font-size: 0.75rem; font-weight: 700; color: #334155; }

@media (max-width: 767px) {
    .floating-badge { left: 50%; transform: translateX(-50%); bottom: -30px; width: max-content; max-width: 90%; animation: none; padding: 12px 15px; font-size: 0.85rem; }
    .badge-top-right { right: auto; left: 50%; transform: translateX(-50%); top: -20px; width: max-content; max-width: 90%; font-size: 0.85rem; }
    .hero-img-box { margin-bottom: 40px; margin-top: 20px; }
    .hero .flex { flex-wrap: wrap; }
    .hero .btn-primary, .hero .btn-outline { width: 100%; justify-content: center; margin-top: 10px; }
}

.ping-dot { position: relative; display: flex; height: 10px; width: 10px; }
.ping-dot span:first-child { position: absolute; display: inline-flex; height: 100%; width: 100%; border-radius: 50%; background-color: #38bdf8; opacity: 0.75; animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.ping-dot span:last-child { position: relative; display: inline-flex; border-radius: 50%; height: 10px; width: 10px; background-color: #0ea5e9; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (min-width: 768px) { .hero h1 { font-size: 3.5rem; } }

/* Section Components */
.section-title { text-align: center; margin-bottom: 50px; }
.label { color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; background: #e0f2fe; padding: 5px 15px; border-radius: 20px; }
.section-title h2 { font-size: 2rem; color: var(--text-dark); margin: 15px 0 10px; }
.card { 
    background: white; padding: 30px; border-radius: 20px; 
    border: 1px solid #f1f5f9; 
    /* REVISI: Shadow lebih ringan */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
    transition: 0.3s; 
}
.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
    border-color: var(--primary); 
}
.icon-box { width: 60px; height: 60px; background: #e0f2fe; color: var(--primary); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; border-radius: 12px; margin-bottom: 20px; }

/* --- 10. FOOTER --- */
.footer { background: white; padding: 60px 0 20px; border-top: 1px solid #f1f5f9; font-size: 0.9rem; }
.footer h4 { color: var(--text-dark); font-weight: 700; margin-bottom: 20px; font-size: 1rem; }
.footer ul li { margin-bottom: 12px; }
.footer a:hover { color: var(--primary); }
.copyright { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #f1f5f9; font-size: 0.8rem; }

/* -----------------------------------------------------------
   --- 11. PAGE TEMPLATES STYLES ---
   ----------------------------------------------------------- */
.post-hero { background: var(--secondary); padding: 100px 0 120px; color: white; text-align: center; position: relative; background-image: url('data:image/svg+xml,%3Csvg width=\'40\' height=\'40\' viewBox=\'0 0 40 40\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M0 0h40v1H0z\' fill=\'%23ffffff\' fill-opacity=\'0.05\' fill-rule=\'evenodd\'/%3E%3Cpath d=\'M0 0h1v40H0z\' fill=\'%23ffffff\' fill-opacity=\'0.05\' fill-rule=\'evenodd\'/%3E%3C/svg%3E'); background-size: 40px 40px; }
.post-hero-gradient { position: absolute; bottom: 0; left: 0; width: 100%; height: 80px; background: linear-gradient(to top, #ffffff, transparent); }
.post-hero-title { font-size: 2.5rem; line-height: 1.3; font-weight: 800; margin-bottom: 0; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.post-meta { margin-bottom: 20px; font-size: 0.9rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; }
.breadcrumb { 
    display: flex;          /* Ubah dari inline-flex ke flex agar kontrol wrap lebih baik */
    flex-wrap: wrap;        /* Elemen akan turun ke bawah jika tidak muat (Mobile friendly) */
    align-items: center; 
    justify-content: center; 
    gap: 6px 12px;          /* Jarak: Vertikal 6px, Horizontal 12px */
    font-size: 0.85rem; 
    color: rgba(255, 255, 255, 0.7); 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    font-weight: 600; 
    line-height: 1.4;       /* Menjaga jarak antar baris saat wrap */
}
.breadcrumb a { color: rgba(255, 255, 255, 0.9); transition: 0.3s; }
.breadcrumb a:hover { color: var(--accent); }
.content-overlap { max-width: 900px; margin-top: -60px; position: relative; z-index: 10; margin-bottom: 80px; }
.featured-image-container { border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: var(--shadow-2xl); margin-bottom: 0; position: relative; }
.entry-content-card { background: white; padding: 50px; border-radius: 0 0 16px 16px; box-shadow: var(--shadow-lg); border: 1px solid #e2e8f0; border-top: none; }
.entry-content { color: var(--text-dark); font-size: 1.05rem; line-height: 1.8; }
.entry-content h2, .entry-content h3 { margin-top: 2rem; margin-bottom: 1rem; color: var(--text-dark); font-weight: 700; }
.entry-content h2 { font-size: 1.8rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content p { margin-bottom: 1.5rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.5rem; padding-left: 2rem; }
.entry-content ul { list-style: disc; }
.entry-content blockquote { border-left: 4px solid var(--primary); padding-left: 20px; margin: 20px 0; font-style: italic; background: #f8fafc; padding: 20px; border-radius: 0 8px 8px 0; color: var(--text-main); }
.entry-content img { border-radius: 12px; height: auto; margin-bottom: 20px; box-shadow: var(--shadow); }
.post-tags { margin-top: 50px; border-top: 1px solid #f1f5f9; padding-top: 25px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tag-link { background:#f1f5f9; padding:5px 12px; border-radius:20px; font-size:0.85rem; color:var(--text-dark); transition:0.3s; }
.tag-link:hover { background:#e0f2fe; color:#0ea5e9; }
.related-posts { margin-top: 60px; padding-top: 40px; padding-bottom: 40px; border-top: 1px solid #e2e8f0; }
.related-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 30px; position: relative; padding-left: 15px; }
.related-title::before { content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px; background: var(--primary); border-radius: 4px; }
.related-card { border: 1px solid #f1f5f9; transition: 0.3s; background: white; border-radius: 12px; overflow: hidden; height: 100%; }
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.related-img { height: 160px; background: #e2e8f0; overflow: hidden; display: block; }
.related-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.related-card:hover .related-img img { transform: scale(1.05); }
.related-content { padding: 20px; }
.related-date { font-size: 0.75rem; color: #94a3b8; margin-bottom: 8px; display: block; }
.related-content h4 { font-size: 1.1rem; line-height: 1.4; margin-bottom: 0; font-weight: 700; }
.related-content h4 a { color: var(--text-dark); }
.related-content h4 a:hover { color: var(--primary); }
.nav-card { padding: 20px; display: block; text-decoration: none; height: 100%; background: white; }
.nav-prev { border-left: 4px solid var(--primary); }
.nav-next { border-right: 4px solid var(--primary); text-align: right; }
.nav-label { font-size: 0.8rem; color: var(--text-main); display: block; margin-bottom: 5px; }
.nav-title { margin: 0; font-size: 1rem; color: var(--text-dark); font-weight: 700; }
.archive-header, .page-header { background: var(--bg-light); padding: 80px 0; text-align: center; border-bottom: 1px solid #e2e8f0; position: relative; overflow: hidden; }
.archive-bg-pattern { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(#e2e8f0 1px, transparent 1px); background-size: 20px 20px; opacity: 0.5; }
.archive-title-large { font-size: 3rem; color: var(--text-dark); margin: 0; line-height: 1.2; }
.page-content-card { max-width: 800px; margin: 0 auto; background: white; padding: 40px; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid #f1f5f9; }
.pagination { margin-top: 60px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 10px 18px; margin: 0 5px; background: white; color: var(--text-dark); border: 1px solid #e2e8f0; border-radius: 8px; font-weight: 600; transition: 0.3s; }
.pagination .page-numbers:hover, .pagination .page-numbers.current { background: var(--primary); color: white; border-color: var(--primary); }

/* -----------------------------------------------------------
   --- 12. CONTACT PAGE STYLES ---
   ----------------------------------------------------------- */
.page-title { font-size: 2.5rem; font-weight: 800; color: var(--text-dark); margin: 0; }
.page-subtitle { color: var(--text-main); margin-top: 10px; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.contact-section { padding: 80px 20px; }
.contact-grid { gap: 4rem; align-items: flex-start; }
.contact-heading { font-size: 1.8rem; margin-bottom: 20px; color: var(--text-dark); font-weight: 800; margin-top: 0; }
.contact-desc { margin-bottom: 30px; color: var(--text-main); }
.contact-card { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; padding: 25px; }
.contact-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--bg-light); }
.contact-card-title { margin: 0 0 5px; font-size: 1.1rem; font-weight: 700; }
.contact-card-text { margin: 0; font-size: 0.95rem; color: var(--text-main); line-height: 1.6; }
.border-primary { border-left: 4px solid var(--primary); }
.border-accent { border-left: 4px solid var(--accent); }
.border-wa { border-left: 4px solid #25D366; }
.color-primary { color: var(--primary); }
.color-accent { color: var(--accent); }
.color-wa { color: #25D366; }
.mb-small { margin-bottom: 15px; }
.btn-wa { background: #25D366; padding: 10px 25px; font-size: 0.9rem; border: none; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); }
.btn-wa:hover { background: #128C7E; transform: translateY(-2px); }
.contact-form-card { padding: 40px; box-shadow: var(--shadow-lg); }
.mb-medium { margin-bottom: 25px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.form-input { width: 100%; padding: 12px 15px; border: 1px solid #e2e8f0; border-radius: 8px; font-family: inherit; background: var(--bg-light); outline: none; transition: 0.3s; }
.form-input:focus { border-color: var(--primary); background: white; }
.btn-submit { border: none; cursor: pointer; width: 100%; justify-content: center; font-size: 1rem; }
.btn-submit i { margin-left: 8px; }
.map-section { margin-top: 80px; }
.map-container { height: 450px; width: 100%; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-2xl); border: 4px solid white; }

/* -----------------------------------------------------------
   --- 14. HOMEPAGE MODULES (NEW CLEANUP) ---
   ----------------------------------------------------------- */

/* Services Card */
.service-desc { color:var(--text-main); font-size:0.95rem; }

/* Catalog Section */
.catalog-header { margin-bottom: 40px; flex-wrap: wrap; gap:20px; }
.catalog-title { font-size: 2rem; color: var(--text-dark); margin:0; }
.catalog-subtitle { color: var(--text-main); margin-top:5px; }
.catalog-link { color:var(--primary); font-weight:700; }
.catalog-card { padding:20px; text-align:center; }
.catalog-icon-box { background:#f1f5f9; padding:20px; border-radius:12px; margin-bottom:15px; }
.catalog-icon { font-size:3rem; color:#cbd5e1; }
.catalog-card-title { font-weight:700; margin-bottom:5px; }
.stock-badge { font-size:0.8rem; color:green; background:#dcfce7; padding:2px 8px; border-radius:10px; font-weight:bold; }

/* About Section */
.about-img-wrap { position:relative; }
.about-img { border-radius:20px; overflow:hidden; box-shadow:var(--shadow-lg); width:100%; height:auto; display:block; }
.blob-1 { position:absolute; top:-20px; left:-20px; width:100px; height:100px; background:var(--primary); z-index:-1; border-radius:12px; opacity:0.1; }
.blob-2 { position:absolute; bottom:-20px; right:-20px; width:100px; height:100px; background:var(--accent); z-index:-1; border-radius:12px; opacity:0.1; }
.about-title { font-size: 2.5rem; color: var(--text-dark); margin-top:10px; margin-bottom:20px; }
.about-text { font-size:1.05rem; color:var(--text-main); margin-bottom:30px; line-height:1.8; }
.checklist-grid { gap:15px; margin-bottom:30px; }
.check-item { display:flex; align-items:center; gap:10px; font-weight:600; color:var(--text-dark); }
.check-icon { color:var(--primary); }
.btn-about { padding:12px 30px; }

.feature-card { 
    padding: 30px 20px; 
    transition: all 0.3s ease; 
    border: 1px solid #f1f5f9;
    height: 100%; /* Agar tinggi seragam */
}
.feature-card:hover { 
    background: #fff; 
    border-color: var(--primary); 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-lg); 
}
.feature-icon-box { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 70px; 
    height: 70px; 
    border-radius: 50%; 
    background: #eff6ff; 
    color: var(--primary); 
    margin-bottom: 20px; 
    font-size: 1.8rem; 
    transition: 0.3s; 
}
.feature-card:hover .feature-icon-box { 
    background: var(--primary); 
    color: #fff; 
    transform: scale(1.1); 
}
.feature-title { font-weight: 700; margin-bottom: 10px; font-size: 1.2rem; }
.feature-desc { font-size: 0.95rem; color: var(--text-main); line-height: 1.5; }


/* Gallery Section */
.gallery-card { padding:0; overflow:hidden; position:relative; box-shadow:var(--shadow-lg); }
.gallery-img-placeholder { height:250px; background:#e2e8f0; }
.gallery-content { padding:20px; background:white; }
.gallery-title { font-weight:700; font-size:1.1rem; margin-bottom:5px; }
.gallery-link-text { font-size:0.8rem; color:var(--primary); font-weight:600; }
.gallery-overlay { position:absolute; inset:0; }

/* Blog Section */
.blog-header { margin-bottom: 40px; }
.blog-card { padding:0; overflow:hidden; display:flex; flex-direction:column; }
.blog-img-box { height:200px; overflow:hidden; }
.blog-img-placeholder { width:100%; height:100%; background:#e2e8f0; }
.blog-content-box { padding:20px; flex-grow:1; display:flex; flex-direction:column; }
.blog-meta { font-size:0.8rem; color:#94a3b8; margin-bottom:10px; }
.blog-card-title { font-size:1.2rem; margin-bottom:10px; line-height:1.4; }
.blog-excerpt { font-size:0.9rem; color:var(--text-main); margin-bottom:20px; flex-grow:1; }
.blog-read-more { color:var(--primary); font-weight:700; font-size:0.9rem; }

/* Location Section */
.location-card { margin-bottom:20px; background:white; padding:20px; border-radius:var(--radius); border:1px solid #e2e8f0; box-shadow:var(--shadow); }
.location-title { font-weight:700; margin-bottom:5px; color:var(--text-dark); }
.location-text { display:flex; gap:10px; color:var(--text-main); }
.location-icon { color:var(--primary); margin-top:5px; }
.map-box { border-radius:20px; overflow:hidden; box-shadow:var(--shadow-lg); height:400px; border:4px solid white; }

/* CTA Section */
.cta-container { max-width: 700px; margin: 0 auto; }
.cta-icon-large { font-size:3.5rem; color:rgba(255,255,255,0.2); margin-bottom:25px; display:inline-block; }
.cta-title { font-size:2.5rem; margin-bottom:15px; line-height:1.2; }
.cta-text { font-size:1.15rem; opacity:0.9; margin:0 auto 35px; line-height:1.6; }
.btn-whatsapp { background:#22c55e; border:none; box-shadow:0 10px 25px rgba(34, 197, 94, 0.4); padding: 15px 40px; font-size:1rem; }
.icon-whatsapp { font-size:1.2rem; }

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

/* CONTAINER ITEM WRAPPER */
.gallery-item-wrap {
    transition: all 0.4s ease;
    /* Penting agar animasi filter smooth */
    animation: fadeIn 0.5s; 
}

/* GALLERY CARD (FRAME IMAGE RAPI) */
.gallery-card { 
    padding: 0; 
    overflow: hidden; 
    position: relative; 
    box-shadow: var(--shadow-lg); 
    border-radius: 12px; 
    cursor: pointer;
    
    /* KUNCI FRAME RAPI: */
    width: 100%;
    aspect-ratio: 4 / 3; /* Memaksa rasio 4:3 (Landscape) agar seragam */
    background: #e2e8f0; /* Warna dasar jika loading */
}

/* GAMBAR THUMBNAIL */
.gallery-thumb {
    width: 100%;
    height: 100%; /* Mengisi penuh kartu */
    object-fit: cover; /* Crop otomatis agar tidak gepeng */
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-card:hover .gallery-thumb {
    transform: scale(1.1); /* Efek zoom saat hover */
}

/* OVERLAY ICON */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5); /* Hitam transparan */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
    z-index: 2;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon-wrap {
    color: white;
    font-size: 3rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-icon-wrap {
    transform: translateY(0);
}

/* PLACEHOLDER VIDEO */
.gallery-img-placeholder { 
    height: 100%; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    font-size: 2rem;
}

@keyframes fadeIn { 
    from { opacity: 0; transform: scale(0.9); } 
    to { opacity: 1; transform: scale(1); } 
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
    width: 100%;
    grid-column: 1 / -1; /* Agar tombol melebar penuh di grid */
}

.btn-load-more {
    background: white;
    color: var(--text-main);
    border: 2px solid #e2e8f0;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-load-more:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-load-more i {
    font-size: 0.8em;
    transition: transform 0.3s;
}

.btn-load-more.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Admin Modal (Backup CSS jika inline di functions.php kurang) */
.custom-admin-modal {
    position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.custom-admin-modal.show { opacity: 1; visibility: visible; }

.gallery-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    pointer-events: none; /* Klik tembus ke link di bawahnya */
    z-index: 1;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

/* Hide default play button on hover (because the main overlay appears) */
.gallery-card:hover .gallery-play-btn {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Adjust Placeholder Icon */
.gallery-img-placeholder {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    color: #475569;
    font-size: 2rem;
}

@media (max-width: 767px) {
    #gallery-container, 
    #portfolio-container { 
        grid-template-columns: 1fr 1fr !important; 
        gap: 10px;
    }
}


.post-image-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #64748b;
    margin: 10px 0 25px;
}

.post-image-meta i {
    color: var(--accent);
    margin-right: 5px;
}

.meta-separator {
    opacity: 0.5;
}

/* SECTION COUNTER */
.mazmo-global-views {
    position: relative;
    background: #15275d;
    padding: 16px 18px 14px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
    width: fit-content;
    overflow: visible; /* PENTING */
}

/* BADGE FLOATING */
.mazmo-global-views::after {
    content: "STAT";
    position: absolute;
    top: -8px;
    right: -8px;
    background: #020617;
    padding: 3px 7px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cbd5f5;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 9;
}

/* SETIAP BARIS */
.mazmo-global-views .item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    white-space: nowrap;
}

/* LABEL */
.mazmo-global-views .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
}

/* ANGKA */
.mazmo-global-views .value {
    font-size: 14px;
    font-weight: 600;
    color: #e5e7eb;
}

/* POST VIEW */
.mazmo-post-views {
    font-size: 12px;
    color: #9ca3af;
}


@media (max-width: 767px) {
.breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    text-transform: capitalize;

    letter-spacing: 0.1px;
    font-weight: 600;
	}
}

@media (max-width: 767px) {
.post-meta {
    margin-bottom: 20px;
    font-size: 11px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
	}
}

@media (max-width: 767px) {
.entry-content-card {
    background: white;
    padding: 20px;
    border-radius: 0 0 16px 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
    border-top: none;
	}
}