/* ======================================================
   FILE: assets/css/style_publik.css
   ====================================================== */

:root {
    --green-dark: #0f523a; --green-light: #1b7a58; --gold: #d4af37;
    --bg-color: #f8fcf9; --text-dark: #333; --text-muted: #555;
    --card-bg: #ffffff; --icon-bg: #f1f8f5;
}

/* EFEK BACKGROUND ORNAMEN */
body { 
    font-family: 'Poppins', sans-serif; background-color: var(--bg-color); 
    background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%230f523a" fill-opacity="0.03"><path d="M30 0l-5 5h-10v10l-5 5 5 5v10h10l5 5 5-5h10v-10l5-5-5-5v-10h-10l-5-5zm0 14a16 16 0 100 32 16 16 0 000-32z"/></g></g></svg>');
    color: var(--text-dark); margin: 0; padding: 0; overflow-x: hidden; transition: 0.4s ease; 
}
body.dark-mode {
    --green-dark: #2da87b; --green-light: #1b7a58; --bg-color: #121212; 
    --text-dark: #f0f0f0; --text-muted: #bbbbbb; --card-bg: #1e1e1e; --icon-bg: #2d2d2d;
    background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23d4af37" fill-opacity="0.03"><path d="M30 0l-5 5h-10v10l-5 5 5 5v10h10l5 5 5-5h10v-10l5-5-5-5v-10h-10l-5-5zm0 14a16 16 0 100 32 16 16 0 000-32z"/></g></g></svg>');
}

/* ==========================================
   TOMBOL MENU HAMBURGER (3 GARIS)
   ========================================== */
/* Setelan Default (Untuk Layar PC/Laptop) */
.btn-hamburger {
    position: absolute; 
    top: 30px; 
    left: 40px; /* Di PC: Pindah ke sudut KIRI atas */
    transform: none; /* Menghapus centering paksa dari kiri */
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    color: white; width: 50px; height: 45px; border-radius: 25px;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; font-size: 20px; z-index: 100; backdrop-filter: blur(5px);
    transition: 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-hamburger:hover { background: rgba(255,255,255,0.3); transform: scale(1.05); }

/* TOMBOL DARK MODE & VISITOR COUNTER */
.btn-dark-mode { position: absolute; top: 30px; right: 40px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; font-size: 18px; z-index: 100; backdrop-filter: blur(5px); transition: 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.btn-dark-mode:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); }
.visitor-counter { position: absolute; top: 30px; left: 110px; background: rgba(15, 82, 58, 0.7); border: 1px solid var(--gold); color: white; padding: 8px 18px; border-radius: 30px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; z-index: 100; backdrop-filter: blur(5px); box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: 0.3s ease; }
.visitor-counter i { color: var(--gold); font-size: 16px; }
.visitor-counter:hover { background: rgba(15, 82, 58, 0.9); border-color: white; }

/* MENU GLASSMORPHISM OVERLAY */
.glass-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 82, 58, 0.5); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 100001; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.4s ease; }
.glass-menu-overlay.active { opacity: 1; visibility: visible; }
.glass-menu-content { background: linear-gradient(135deg, rgba(15, 82, 58, 0.8), rgba(17, 106, 73, 0.8)); border: 1px solid rgba(212, 175, 55, 0.4); border-radius: 25px; padding: 35px 25px; text-align: center; width: 85%; max-width: 380px; box-shadow: 0 15px 40px rgba(0,0,0,0.4); position: relative; transform: translateY(-50px); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.glass-menu-overlay.active .glass-menu-content { transform: translateY(0); }
.btn-close-menu { position: absolute; top: 15px; right: 20px; background: transparent; border: none; color: var(--gold); font-size: 24px; cursor: pointer; transition: 0.3s; }
.btn-close-menu:hover { transform: scale(1.2); color: white; }
.menu-logo { width: 70px; height: 70px; object-fit: contain; background: white; padding: 5px; border-radius: 50%; border: 2px solid var(--gold); margin-bottom: 15px; }
.glass-menu-content h2 { color: var(--gold); margin: 0 0 20px 0; font-size: 20px; text-transform: uppercase; letter-spacing: 2px; border-bottom: 1px dashed rgba(212, 175, 55, 0.3); padding-bottom: 15px; }
.menu-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.menu-list li a { display: flex; align-items: center; gap: 15px; padding: 12px 20px; background: rgba(255,255,255,0.08); color: white; text-decoration: none; border-radius: 12px; font-size: 15px; font-weight: 600; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.menu-list li a i { color: var(--gold); width: 25px; font-size: 18px; }
.menu-list li a:hover { background: var(--gold); color: var(--green-dark); transform: translateX(5px); }
.menu-list li a:hover i { color: var(--green-dark); }

/* HERO SECTION */
.hero { 
    background: linear-gradient(rgba(15, 82, 58, 0.85), rgba(15, 82, 58, 0.95)), url('https://images.unsplash.com/photo-1564769625905-50e93615e769?q=80&w=1000&auto=format&fit=crop') center/cover no-repeat; 
    color: white; 
    text-align: center; 
    padding: 120px 20px 110px 20px; /* Padding atas ditambah agar tidak tertutup tombol menu */
    border-bottom: 8px solid var(--gold); 
    position: relative; 
    display: flex; /* MEMAKSA ELEMEN HERO TERSUSUN RAPI KE BAWAH (VERTIKAL) */
    flex-direction: column;
    align-items: center;
}
.hero img { width: 120px; height: 120px; object-fit: contain; background: white; padding: 10px; border-radius: 50%; border: 4px solid var(--gold); margin-bottom: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); position: relative; z-index: 2; display: block; }
.hero h1 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: 1px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); position: relative; z-index: 2; }
.hero p { margin: 10px 0 0 0; font-size: 16px; opacity: 0.9; position: relative; z-index: 2; max-width: 800px; }
.kaligrafi { font-family: 'Amiri', serif; font-size: 36px; margin: 10px 0 15px 0; color: var(--gold); text-shadow: 1px 1px 2px rgba(0,0,0,0.5); position: relative; z-index: 2; }

/* JADWAL SHOLAT & STATISTIK */
.jadwal-sholat-wrapper { background: linear-gradient(135deg, rgba(15, 82, 58, 0.75), rgba(17, 106, 73, 0.75)); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); padding: 30px 0; color: white; position: relative; z-index: 20; box-shadow: 0 -10px 30px rgba(0,0,0,0.15); border-top: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.1); margin-top: -45px; border-radius: 25px 25px 0 0; }
body.dark-mode .jadwal-sholat-wrapper { background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(30, 30, 30, 0.8)); border-top: 1px solid rgba(212, 175, 55, 0.3); border-bottom: 1px solid rgba(212, 175, 55, 0.1); }
.jadwal-container { max-width: 1000px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }

/* STATISTIK HEADER (KOLOM ELEGAN) */
.top-stat-grid { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap; 
    gap: 20px; 
    margin: 0 auto 30px auto; 
    width: 100%;
    max-width: 700px; 
    padding: 0 15px; 
    box-sizing: border-box;
}
.top-stat-box { 
    flex: 1 1 250px; 
    max-width: 320px; 
    background: rgba(255, 255, 255, 0.08); 
    border: 1px solid rgba(212, 175, 55, 0.4); 
    border-radius: 12px; 
    padding: 15px; 
    text-align: center; 
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px); 
    transition: 0.3s ease; 
}
.top-stat-box:hover { background: rgba(212, 175, 55, 0.15); border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.top-stat-label { margin: 0 0 5px 0; font-size: 12px; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 1px; }
.top-stat-value { margin: 0; font-size: 20px; color: var(--gold); font-weight: 700; letter-spacing: 0.5px; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }

.live-clock { text-align: center; flex: 1 1 200px; border-right: 2px dashed rgba(212, 175, 55, 0.3); padding-right: 15px; }
.live-clock h2 { margin: 0; font-size: 28px; color: var(--gold); letter-spacing: 2px; font-weight: 700; font-variant-numeric: tabular-nums; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.tgl-hijri { color: var(--gold); font-family: 'Amiri', serif; font-size: 18px; margin: 5px 0 0 0; font-weight: bold; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.tgl-masehi { font-size: 12px; margin: 2px 0 0 0; opacity: 0.9; }

.prayer-times { display: flex; flex: 3 1 600px; justify-content: space-around; text-align: center; gap: 10px; flex-wrap: wrap; }
.prayer-box { background: rgba(0,0,0,0.25); padding: 12px 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.15); min-width: 80px; transition: 0.3s; }
.prayer-box:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); }
.prayer-box:hover h4, .prayer-box:hover h3 { color: var(--green-dark); text-shadow: none; }
.prayer-box h4 { margin: 0; font-size: 12px; font-weight: 400; opacity: 0.9; text-transform: uppercase; }
.prayer-box h3 { margin: 5px 0 0 0; font-size: 18px; color: var(--gold); font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }

/* RUNNING TEXT (MARQUEE) */
.ticker-wrap { background: #fff3cd; border-bottom: 2px solid #ffc107; color: #856404; padding: 10px 15px; display: flex; align-items: center; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: 0.3s; }
body.dark-mode .ticker-wrap { background: #332701; border-color: #b38600; color: #ffdb4d; }
.ticker-icon { font-size: 18px; margin-right: 15px; color: #d39e00; }
body.dark-mode .ticker-icon { color: #ffdb4d; }
.ticker-text { flex: 1; overflow: hidden; }
.ticker-text marquee { font-weight: 600; font-size: 14px; padding-top: 3px; }

/* INFO JUMAT (KOTAK TIPIS) */
.info-jumat-bar { background: var(--gold); color: var(--green-dark); text-align: center; padding: 10px 20px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 10px rgba(0,0,0,0.1); position: relative; z-index: 15; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; border-bottom: 3px solid #b89222; }
body.dark-mode .info-jumat-bar { background: #d4af37; color: #121212; border-bottom: 3px solid #a68827; }
.info-jumat-bar span { display: flex; align-items: center; gap: 8px; }
.badge-jumat { background: var(--green-dark); color: white; padding: 4px 12px; border-radius: 20px; font-size: 12px; letter-spacing: 1px; }
body.dark-mode .badge-jumat { background: #121212; }

.container { max-width: 900px; margin: 0 auto; padding: 40px 20px; }

/* KOTAK MENU CTA (GLASSMORPHISM EFFECT) */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; position: relative; z-index: 10; margin-top: 20px; }
.menu-card { background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; padding: 35px 20px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.06); transition: 0.4s ease; text-decoration: none; color: var(--text-dark); border: 1px solid rgba(255,255,255,0.6); border-bottom: 4px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; }
body.dark-mode .menu-card { background: rgba(30, 30, 30, 0.75); border: 1px solid rgba(255,255,255,0.08); }
.menu-card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--gold); box-shadow: 0 15px 35px rgba(15, 82, 58, 0.15); }
.menu-card .icon-box { width: 70px; height: 70px; background: rgba(15, 82, 58, 0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-bottom: 15px; transition: 0.3s; }
body.dark-mode .menu-card .icon-box { background: rgba(212, 175, 55, 0.1); }
.menu-card i { font-size: 30px; color: var(--green-dark); }
body.dark-mode .menu-card i { color: var(--gold); }
.menu-card h3 { margin: 0 0 10px 0; font-size: 20px; color: var(--green-dark); transition: 0.3s; }
body.dark-mode .menu-card h3 { color: var(--gold); }
.menu-card p { margin: 0; font-size: 13px; color: var(--text-muted); transition: 0.3s; }
.cta-btn { margin-top: 15px; background: var(--green-light); color: white; padding: 8px 25px; border-radius: 30px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; box-shadow: 0 4px 10px rgba(27, 122, 88, 0.2); border: none; }
.menu-card:hover .cta-btn { background: var(--gold); transform: translateY(-3px); box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3); color: #fff; }

/* KUTIPAN SPIRITUAL */
.spiritual-section { background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(253,251,247,0.9) 100%); backdrop-filter: blur(10px); border-radius: 20px; padding: 40px 30px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid rgba(212, 175, 55, 0.3); margin: 40px 0; position: relative; transition: 0.3s; }
body.dark-mode .spiritual-section { background: linear-gradient(135deg, rgba(30,30,30,0.9) 0%, rgba(20,20,20,0.9) 100%); border: 1px solid rgba(212, 175, 55, 0.1); }
.quote-icon { font-size: 30px; color: var(--gold); opacity: 0.4; margin-bottom: 15px; }
.arab-text { font-family: 'Amiri', serif; font-size: 32px; color: var(--green-dark); line-height: 1.8; margin-bottom: 15px; text-shadow: 1px 1px 2px rgba(0,0,0,0.05); transition: 0.3s; }
body.dark-mode .arab-text { color: var(--gold); }
.arti-text { font-size: 15px; font-style: italic; color: var(--text-muted); margin-bottom: 15px; line-height: 1.6; transition: 0.3s; }
.sumber-text { display: inline-block; background: var(--icon-bg); color: var(--green-dark); padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 600; transition: 0.3s; }
body.dark-mode .sumber-text { background: rgba(255,255,255,0.1); color: var(--gold); }

/* PENGURUS, VIDEO, GALERI DLL */
.pengurus-section, .video-section, .galeri-section, .map-section { text-align: center; margin: 60px 0 20px 0; padding: 0; }
.profil-section { background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); text-align: center; margin: 60px 0; padding: 40px; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: 0.3s; border: 1px solid rgba(255,255,255,0.5); }
body.dark-mode .profil-section { background: rgba(30,30,30,0.85); border-color: rgba(255,255,255,0.05); }
.profil-section h2, .pengurus-section h2, .galeri-section h2, .video-section h2, .map-section h2 { color: var(--green-dark); margin-top: 0; font-size: 24px; transition: 0.3s; }
body.dark-mode .profil-section h2, body.dark-mode .pengurus-section h2, body.dark-mode .galeri-section h2, body.dark-mode .video-section h2, body.dark-mode .map-section h2 { color: var(--gold); }
.profil-section h2::after, .pengurus-section h2::after, .galeri-section h2::after, .video-section h2::after, .map-section h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--gold); margin: 15px auto 0 auto; border-radius: 2px; }
.profil-section p, .galeri-section p, .video-section p, .map-section p { color: var(--text-muted); line-height: 1.8; font-size: 15px; transition: 0.3s; }

.pengurus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; margin-top: 40px; }
.pengurus-card { background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); border-radius: 15px; padding: 30px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: 0.3s ease; border-bottom: 4px solid var(--gold); border: 1px solid rgba(255,255,255,0.5); }
body.dark-mode .pengurus-card { background: rgba(30,30,30,0.85); border-color: rgba(255,255,255,0.05); border-bottom: 4px solid var(--gold); }
.pengurus-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(15, 82, 58, 0.12); }
.pengurus-photo { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 4px solid var(--icon-bg); box-shadow: 0 5px 15px rgba(0,0,0,0.1); margin-bottom: 15px; transition: 0.3s; }
.pengurus-card h3 { margin: 0 0 5px 0; font-size: 18px; color: var(--green-dark); transition: 0.3s; }
body.dark-mode .pengurus-card h3 { color: var(--gold); }
.pengurus-card .jabatan { display: inline-block; background: var(--gold); color: white; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.pengurus-card p { font-size: 13px; color: var(--text-muted); font-style: italic; margin: 0; line-height: 1.5; transition: 0.3s; }

.galeri-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.galeri-item { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); aspect-ratio: 4/3; background: #000; }
.galeri-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; opacity: 0.9; }
.galeri-item:hover img { transform: scale(1.1); opacity: 1; }
.galeri-overlay { position: absolute; bottom: -100%; left: 0; width: 100%; padding: 15px; background: linear-gradient(transparent, rgba(15, 82, 58, 0.95)); color: white; transition: bottom 0.3s ease; text-align: left; box-sizing: border-box; }
.galeri-item:hover .galeri-overlay { bottom: 0; }
.galeri-overlay h4 { margin: 0 0 5px 0; font-size: 16px; font-weight: 600; }
.galeri-overlay p { margin: 0; font-size: 12px; opacity: 0.9; color: #f1f8f5; }

/* WADAH VIDEO UNIVERSAL */
.video-wrapper { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.video-wrapper iframe, .video-wrapper video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.yt-custom-player { cursor: pointer; }
.yt-custom-player img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: 0.3s; z-index: 1; }
.yt-custom-player:hover img { opacity: 0.5; transform: scale(1.05); }
.yt-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: var(--gold); border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.4); transition: 0.3s; z-index: 2; }
.yt-play-btn i { color: white; font-size: 22px; margin-left: 4px; }
.yt-custom-player:hover .yt-play-btn { background: var(--green-dark); transform: translate(-50%, -50%) scale(1.1); }

/* BANNER INFAQ / DONASI CEPAT */
.banner-donasi { background: linear-gradient(135deg, var(--green-dark) 0%, #116a49 100%); border-radius: 20px; padding: 40px 30px; text-align: center; color: white; box-shadow: 0 10px 30px rgba(15, 82, 58, 0.3); border: 1px solid rgba(212, 175, 55, 0.3); margin: 60px 0; position: relative; overflow: hidden; }
.banner-donasi::before { content: "\f4c0"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; font-size: 160px; color: rgba(255,255,255,0.05); right: -20px; bottom: -40px; transform: rotate(-15deg); }
.banner-donasi h2 { margin: 0 0 10px 0; font-size: 26px; color: var(--gold); position: relative; z-index: 2; }
.banner-donasi p { font-size: 15px; opacity: 0.9; margin-bottom: 25px; position: relative; z-index: 2; }
.rek-container-home { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; position: relative; z-index: 2; }
.rek-card-home { background: rgba(255,255,255,0.1); padding: 20px 35px; border-radius: 12px; border: 1px solid rgba(212, 175, 55, 0.4); backdrop-filter: blur(5px); display: inline-block; }
.rek-card-home h4 { margin: 0 0 8px 0; font-size: 16px; font-weight: 400; }
.rek-card-home h2 { margin: 0; font-size: 32px; color: var(--gold); letter-spacing: 2px; font-weight: 700; }
.rek-card-home small { display: block; margin-top: 5px; font-size: 13px; opacity: 0.8; }

.map-container { position: relative; width: 100%; padding-bottom: 45%; height: 0; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 4px solid var(--card-bg); transition: 0.3s; }
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.footer { text-align: center; padding: 30px 20px; background: #0a3525; color: rgba(255,255,255,0.7); font-size: 13px; margin-top: 20px; }

/* WIDGET BOT CHAT WHATSAPP MEWAH */
.wa-floating-btn { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background: #25D366; color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 35px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); cursor: pointer; z-index: 9999; transition: 0.3s; border: 2px solid white; animation: pulse-wa 2s infinite; }
.wa-floating-btn:hover { transform: scale(1.1); }
.wa-floating-btn::after { content: '1'; position: absolute; top: -2px; right: -2px; background: #dc3545; color: white; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: bold; display: flex; justify-content: center; align-items: center; border: 2px solid white; }
@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.wa-widget { position: fixed; bottom: 100px; right: 25px; width: 340px; background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); z-index: 9998; display: none; opacity: 0; transform: translateY(20px); transition: all 0.3s ease; overflow: hidden; border: 1px solid #ddd; }
.wa-widget.show { display: block; opacity: 1; transform: translateY(0); }
body.dark-mode .wa-widget { background: #1e1e1e; border-color: #333; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.wa-header { background: #075E54; color: white; padding: 15px 20px; display: flex; align-items: center; gap: 15px; position: relative; }
.wa-avatar { position: relative; }
.wa-avatar img { width: 45px; height: 45px; border-radius: 50%; object-fit: contain; background: white; padding: 3px; }
.wa-avatar::after { content:''; position: absolute; bottom: 2px; right: 2px; width: 12px; height: 12px; background: #25D366; border-radius: 50%; border: 2px solid white; }
.wa-info h4 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: 0.5px; }
.wa-info p { margin: 2px 0 0 0; font-size: 11px; opacity: 0.9; }
.wa-close { position: absolute; right: 15px; top: 15px; cursor: pointer; font-size: 18px; opacity: 0.8; transition: 0.3s; padding: 5px; }
.wa-close:hover { opacity: 1; transform: scale(1.1); color: #ffeb3b; }
.wa-body { padding: 20px; background: #e5ddd5; background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png'); height: 200px; overflow-y: auto; }
body.dark-mode .wa-body { background-color: #0d1418; opacity: 0.9; }
.wa-chat-bubble { background: white; padding: 12px 15px; border-radius: 0 12px 12px 12px; font-size: 13px; color: #333; position: relative; box-shadow: 0 1px 2px rgba(0,0,0,0.1); width: 85%; line-height: 1.6; }
body.dark-mode .wa-chat-bubble { background: #262d31; color: #f1f1f1; }
.wa-chat-bubble strong { color: #075E54; font-size: 12px; display: block; margin-bottom: 5px; }
body.dark-mode .wa-chat-bubble strong { color: #25D366; }
.wa-time { display: block; text-align: right; font-size: 10px; color: #999; margin-top: 5px; }
.wa-footer { padding: 15px; background: white; text-align: center; }
body.dark-mode .wa-footer { background: #1e1e1e; border-top: 1px solid #333; }
.wa-btn-start { display: inline-flex; justify-content: center; align-items: center; gap: 8px; background: #25D366; color: white; text-decoration: none; padding: 12px 20px; border-radius: 30px; font-weight: 600; font-size: 14px; width: 80%; transition: 0.3s; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); }
.wa-btn-start:hover { background: #128C7E; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4); color: white; }

/* POP-UP NOTIFIKASI ADZAN OTOMATIS */
.adzan-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 100000; opacity: 0; visibility: hidden; transition: 0.5s ease; }
.adzan-overlay.show { opacity: 1; visibility: visible; }
.adzan-box { background: linear-gradient(135deg, var(--green-dark) 0%, #0a3525 100%); border: 4px solid var(--gold); border-radius: 20px; padding: 40px; text-align: center; color: white; width: 90%; max-width: 450px; transform: scale(0.8) translateY(50px); transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 15px 40px rgba(0,0,0,0.5); position: relative; overflow: hidden; }
.adzan-overlay.show .adzan-box { transform: scale(1) translateY(0); }
.adzan-box::before { content: "\f66f"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; font-size: 150px; color: rgba(212, 175, 55, 0.05); right: -30px; bottom: -30px; transform: rotate(-15deg); }
.adzan-icon { font-size: 50px; color: var(--gold); margin-bottom: 15px; animation: pulse-adzan 2s infinite; }
@keyframes pulse-adzan { 0% { transform: scale(1); text-shadow: 0 0 0 rgba(212, 175, 55, 0.7); } 50% { transform: scale(1.1); text-shadow: 0 0 20px rgba(212, 175, 55, 0.5); } 100% { transform: scale(1); text-shadow: 0 0 0 rgba(212, 175, 55, 0); } }
.adzan-box h3 { margin: 0; font-size: 18px; color: #e9ecef; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; position: relative; z-index: 2; }
.adzan-box h1 { margin: 10px 0; font-size: 42px; color: var(--gold); font-weight: 700; letter-spacing: 2px; font-family: 'Amiri', serif; position: relative; z-index: 2; }
.adzan-box p { margin: 0; font-size: 14px; opacity: 0.9; position: relative; z-index: 2; line-height: 1.6; }
.btn-tutup-adzan { margin-top: 25px; background: rgba(255,255,255,0.1); border: 1px solid var(--gold); color: var(--gold); padding: 8px 25px; border-radius: 30px; font-size: 14px; cursor: pointer; transition: 0.3s; position: relative; z-index: 2; }
.btn-tutup-adzan:hover { background: var(--gold); color: var(--green-dark); }

/* ======================================================
   PENGATURAN LAYAR HP (MOBILE RESPONSIVE)
   ====================================================== */
@media (max-width: 600px) { 
    /* Tampilan HP: Logo dan Teks diturunkan agar tidak tertutup tombol */
    .hero { padding: 110px 20px 110px 20px; } 
    .hero h1 { font-size: 26px; } 
    .profil-section { padding: 30px 20px; } 
    
    /* Tampilan HP: Tombol Menu (Kiri Atas) & Dark Mode (Kanan Atas) */
    .btn-hamburger { top: 15px; left: 15px; width: 45px; height: 45px; font-size: 18px; }
    .btn-dark-mode { top: 15px; right: 15px; width: 45px; height: 45px; font-size: 16px; }
    
    /* Tampilan HP: Lencana Pengunjung & Jadwal Sholat */
    .visitor-counter { display: none; /* Sembunyikan yang di atas agar tidak numpuk */ }
    .live-clock { border-right: none; border-bottom: 2px dashed rgba(212, 175, 55, 0.3); padding-right: 0; padding-bottom: 15px; }
    .prayer-box { min-width: 30%; padding: 10px; }
    .info-jumat-bar { font-size: 12px; gap: 10px; flex-direction: column; }
    
    /* Tampilan HP: Grid Kotak Kaca Kehadiran & Dana Wakaf */
    .top-stat-grid { gap: 10px; margin-bottom: 20px; }
    .top-stat-box { padding: 10px 5px; flex: 1 1 140px; }
    .top-stat-value { font-size: 15px; }
    .top-stat-label { font-size: 10px; }
    
    .video-wrapper.gdrive { padding-bottom: 0 !important; height: 280px !important; }
    .map-container { padding-bottom: 75%; }
    .arab-text { font-size: 26px; }
    .rek-card-home h2 { font-size: 26px; }
    .rek-card-home { padding: 20px; width: 100%; box-sizing: border-box; }
    
    /* Tampilan HP: Bot WA Pindah ke Bawah */
    .wa-floating-btn { right: 15px; bottom: 15px; width: 55px; height: 55px; font-size: 32px; }
    .wa-widget { right: 15px; bottom: 85px; width: calc(100% - 30px); }
    .jadwal-sholat-wrapper { margin-top: -35px; border-radius: 15px 15px 0 0; }
}