/* =========================================
   CSS MODERN ISLAMIC GREEN - SPMB MI IMAMI
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --primary: #0f9d58;
    --primary-dark: #0b6e3d;
    --primary-light: #34d399;
    --accent: #f5b301;
    --teal: #0d9488;
    --dark: #0f1f1a;
    --gray: #5c7268;
    --light: #f8fdfa;
    --white: #ffffff;
    --radius: 24px;
    --shadow: 0 15px 35px rgba(15, 157, 88, 0.08);
    --shadow-hover: 0 25px 50px rgba(15, 157, 88, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--light); color: var(--dark); line-height: 1.6; overflow-x: hidden; position: relative; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* BACKGROUND ORNAMENTS */
.bg-shapes { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.shape-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: rgba(52, 211, 153, 0.3); }
.shape-2 { bottom: -10%; right: -10%; width: 600px; height: 600px; background: rgba(13, 148, 136, 0.2); }

/* TOPBAR */
.topbar { background: rgba(15, 31, 26, 0.95); backdrop-filter: blur(10px); color: #fff; font-size: 13px; position: relative; z-index: 100; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 10px 5%; display: flex; justify-content: space-between; align-items: center; }
.clock { font-family: 'Space Grotesk', monospace; font-weight: 700; background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 8px; letter-spacing: 1px; border: 1px solid rgba(255,255,255,0.1); }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 999; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 30px rgba(0,0,0,0.03); border-bottom: 1px solid rgba(15, 157, 88, 0.1); }
.logo { display: flex; align-items: center; gap: 15px; }
.logo-icon-wrapper { width: 50px; height: 50px; background: white; border-radius: 12px; display: grid; place-items: center; box-shadow: 0 5px 15px rgba(15, 157, 88, 0.15); padding: 5px; }
.logo-img { width: 100%; height: 100%; object-fit: contain; }
.logo-text .title { font-weight: 800; font-size: 22px; color: var(--primary-dark); line-height: 1; letter-spacing: -0.5px; }
.logo-text .subtitle { font-size: 12px; color: var(--primary); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; display: block; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 14px; transition: 0.3s; color: var(--gray); }
.nav-links a:hover { color: var(--primary); }
.btn-nav { background: linear-gradient(135deg, var(--primary), var(--teal)); color: white !important; padding: 12px 24px; border-radius: 50px; box-shadow: 0 8px 20px rgba(15, 157, 88, 0.25); transition: 0.3s; }
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(15, 157, 88, 0.35); }

/* HERO */
.hero { padding: 120px 5% 100px; text-align: center; position: relative; }
.hero-content { max-width: 800px; margin: 0 auto; }
.badge { display: inline-block; background: rgba(15, 157, 88, 0.1); color: var(--primary-dark); padding: 8px 20px; border-radius: 50px; font-weight: 700; font-size: 14px; margin-bottom: 25px; border: 1px solid rgba(15, 157, 88, 0.2); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 25px; letter-spacing: -1px; }
.gradient-text { background: linear-gradient(135deg, var(--primary), var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--gray); font-size: 18px; max-width: 600px; margin: 0 auto 40px; font-weight: 400; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--primary), var(--teal)); color: white; padding: 16px 40px; border-radius: 50px; font-weight: 700; font-size: 16px; box-shadow: 0 10px 30px rgba(15, 157, 88, 0.3); transition: 0.3s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(15, 157, 88, 0.4); }

/* SECTION */
.section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; position: relative; }
.section-head { text-align: center; margin-bottom: 60px; }
.tag { background: white; color: var(--primary); padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid rgba(15, 157, 88, 0.1); display: inline-block; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-top: 15px; letter-spacing: -0.5px; }

/* ALERTS */
.alert-pengumuman { background: white; border-left: 6px solid var(--accent); padding: 25px; border-radius: 16px; max-width: 800px; margin: 0 auto; display: flex; align-items: center; gap: 20px; font-weight: 500; color: var(--dark); box-shadow: 0 10px 30px rgba(245, 179, 1, 0.1); }
.alert-pengumuman i { font-size: 28px; color: var(--accent); }
.alert-tutup { background: #fef2f2; color: #991b1b; padding: 20px; border-radius: 16px; font-weight: 600; border: 1px solid #fecaca; display: inline-block; }

/* BANNER GRID */
.banner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.banner-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; height: 300px; transition: 0.4s; background: white; }
.banner-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.banner-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.banner-card:hover img { transform: scale(1.08); }
.banner-title { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(15, 31, 26, 0.9)); color: white; padding: 50px 25px 25px; font-weight: 700; font-size: 20px; }

/* PROMO GRID */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.promo-card { background: white; border-radius: var(--radius); padding: 40px 30px; text-align: center; box-shadow: var(--shadow); border: 2px solid transparent; transition: 0.4s; position: relative; overflow: hidden; }
.promo-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }
.promo-icon { width: 80px; height: 80px; background: linear-gradient(135deg, rgba(15, 157, 88, 0.1), rgba(13, 148, 136, 0.1)); border-radius: 24px; display: grid; place-items: center; margin: 0 auto 25px; font-size: 35px; color: var(--primary); transform: rotate(-5deg); transition: 0.4s; }
.promo-card:hover .promo-icon { transform: rotate(0deg) scale(1.1); }
.promo-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 15px; }
.promo-price { color: var(--gray); font-size: 15px; margin-bottom: 20px; }
.promo-price strong { color: var(--primary-dark); font-size: 18px; }
.kode { display: inline-block; background: #f8fafc; border: 2px dashed var(--primary-light); padding: 12px 25px; border-radius: 12px; font-weight: 800; color: var(--primary-dark); font-size: 16px; letter-spacing: 1px; }

/* FORM */
.form-wrapper { background: white; border-radius: var(--radius); padding: 50px; max-width: 700px; margin: 0 auto; box-shadow: var(--shadow-hover); border: 1px solid rgba(15, 157, 88, 0.1); }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; color: var(--dark); }
.form-group input { width: 100%; padding: 16px 20px; border-radius: 14px; border: 2px solid #e2e8f0; font-family: inherit; font-size: 15px; transition: 0.3s; background: #f8fafc; color: var(--dark); }
.form-group input:focus { border-color: var(--primary); outline: none; background: white; box-shadow: 0 0 0 5px rgba(15, 157, 88, 0.1); }
.btn-submit { width: 100%; padding: 18px; border-radius: 14px; border: none; background: linear-gradient(135deg, var(--primary), var(--teal)); color: white; font-weight: 700; font-size: 16px; cursor: pointer; transition: 0.3s; box-shadow: 0 10px 25px rgba(15, 157, 88, 0.3); display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(15, 157, 88, 0.4); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* FOOTER */
.footer { background: var(--dark); color: white; padding: 50px 5%; text-align: center; margin-top: 50px; }
.footer-logo { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 20px; }
.footer-logo img { width: 50px; height: 50px; object-fit: contain; background: white; padding: 6px; border-radius: 12px; }
.footer p { color: #94a3b8; font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hide-mobile { display: none; }
    .topbar-inner { flex-direction: column; gap: 5px; text-align: center; }
    .hero { padding: 80px 5% 60px; }
    .form-wrapper { padding: 30px 20px; }
    .alert-pengumuman { flex-direction: column; text-align: center; }
}