@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;600&display=swap');
:root { --primary-green: #0f5132; --gold: #d4af37; --light-bg: #f8f9fa; --dark-green: #0a3d25; }
body { font-family: 'Sarabun', sans-serif !important; background-color: var(--light-bg); display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
.navbar-custom { background-color: var(--primary-green); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.navbar-custom .nav-link { color: rgba(255,255,255,0.9); transition: color 0.3s; }
.navbar-custom .nav-link:hover { color: var(--gold); }
.dropdown-menu { border: none; box-shadow: 0 4px 8px rgba(0,0,0,0.1); border-radius: 8px; margin-top: 10px; }
.dropdown-item:hover { background-color: var(--light-bg); color: var(--primary-green); }
/* Logo Styling */
.navbar-brand img { height: 42px; width: auto; object-fit: contain; background-color: white; padding: 2px; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.15); transition: transform 0.2s; }
.navbar-brand img:hover { transform: scale(1.05); }
.carousel-item img { height: 280px; width: 100%; object-fit: cover; object-position: center 40%; filter: brightness(95%); transition: transform 4s ease-in-out; }
.carousel-item.active img { transform: scale(1.05); }
.carousel-inner { border-radius: 25px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); overflow: hidden; border: 4px solid #fff; }
.section-header { border-left: 5px solid var(--primary-green); padding-left: 15px; margin-bottom: 20px; color: var(--primary-green); font-weight: bold; }
.module-card { transition: all 0.3s; border: 1px solid #e0e0e0; cursor: pointer; }
.module-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); background-color: var(--primary-green); color: white !important; }
.module-card:hover i { color: var(--gold) !important; }
.sidebar-widget { border-radius: 12px; overflow: hidden; box-shadow: 0 3px 8px rgba(0,0,0,0.05); border: none; margin-bottom: 15px; background: white; }
.prayer-widget { background: linear-gradient(145deg, var(--primary-green) 0%, var(--dark-green) 100%); color: white; padding: 15px; border-radius: 12px; }
.prayer-time-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }
.footer-section { background-color: #1a1a1a; color: #adb5bd; padding-top: 50px; font-size: 0.9rem; border-top: 5px solid var(--gold); }
.footer-section h5 { color: #fff; font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-section h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background-color: var(--gold); }
.footer-link { color: #adb5bd; text-decoration: none; display: block; margin-bottom: 8px; transition: color 0.2s; }
.footer-link:hover { color: var(--gold); padding-left: 5px; }
.counter-box { background: rgba(255,255,255,0.05); padding: 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); margin-top: 10px; }
.counter-item { display: flex; justify-content: space-between; margin-bottom: 8px; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 5px; }
.counter-item:last-child { margin-bottom: 0; border-bottom: none; }
.counter-num { color: var(--gold); font-weight: bold; font-family: monospace; font-size: 1.1em; }
.contact-header-bg { background: linear-gradient(to right, var(--primary-green), var(--dark-green)); color: white; padding: 60px 0; margin-bottom: 40px; text-align: center; }
.contact-info-card { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); height: 100%; border-left: 4px solid var(--gold); }
.contact-icon { width: 40px; height: 40px; background: var(--primary-green); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0; }
.map-frame { border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); height: 100%; min-height: 350px; }
.award-img { transition: transform 0.3s ease; border: 5px solid #fff; }
.award-img:hover { transform: scale(1.02) rotate(1deg); }
.mosque-featured-box { background: #fff; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); padding: 20px; border-left: 5px solid var(--gold); margin-bottom: 30px; }
.mosque-data-row { border-bottom: 1px dashed #eee; padding: 8px 0; display: flex; justify-content: space-between; }
.mosque-data-row:last-child { border-bottom: none; }
.mosque-card { transition: transform 0.2s; border: 1px solid #eee; }
.mosque-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
/* Halal Promo Styling */
.halal-promo-card { background: #fff; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); overflow: hidden; transition: transform 0.3s ease; }
.halal-promo-card:hover { transform: translateY(-5px); }
.promo-img-wrapper { position: relative; height: 320px; overflow: hidden; }
.promo-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.halal-promo-card:hover .promo-img-wrapper img { transform: scale(1.1); }
.promo-badge { position: absolute; top: 20px; right: 20px; background: #dc3545; color: white; padding: 8px 20px; border-radius: 30px; font-weight: bold; box-shadow: 0 4px 10px rgba(220,53,69,0.4); z-index: 10; animation: pulse 2s infinite; }
.halal-badge-overlay { position: absolute; bottom: 20px; left: 20px; background: rgba(15, 81, 50, 0.9); color: white; padding: 5px 15px; border-radius: 5px; font-size: 0.9rem; backdrop-filter: blur(4px); }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #212529; color: white; padding: 15px; z-index: 9999; display: none; box-shadow: 0 -2px 10px rgba(0,0,0,0.2); }
.cookie-banner button { background: var(--gold); border: none; color: #212529; padding: 5px 20px; border-radius: 5px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.cookie-banner button:hover { background: #fff; }