:root {
    --primary: #1e7e34;
    --primary-dark: #21893f;
    --bg: #f4f6f8;
    --card: #ffffff;
    --text: #212529;
    --border: #dee2e6;
    --radius: 12px;
    --shadow: 0 8px 20px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ================= HEADER ================= */
header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 35px;
}

header h1 {
    font-size: 32px;
    font-weight: 700;
}

/* ================= SECTION ================= */
section {
    max-width: 1100px;
    margin: 0 auto 35px;
    background: var(--card);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ================= TITLE ================= */
section h3 {
    font-size: 21px;
    color: var(--primary);
    margin-bottom: 18px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
}

/* ================= LIST ================= */
ul {
    list-style: none;
}

ul li {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

ul li:last-child {
    border-bottom: none;
}

/* LINK MASJID */
ul li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

ul li a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ================= BUTTON ================= */
section:last-of-type {
    background: transparent;
    box-shadow: none;
    text-align: center;
    padding: 0;
}

button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

button:hover {
    background: var(--primary-dark);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    header h1 {
        font-size: 26px;
    }

    section {
        margin: 0 15px 30px;
        padding: 22px;
    }
}


/* ================= GALERI ================= */
.galeri {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.galeri img {
    width: 100%;
    height: 140px; /* DIPERKECIL */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.galeri img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.18);
}

/* ================= ROOT VARIABLES ================= */
:root {
    --primary: #1e7e34;
    --primary-dark: #145a28;
    --bg: #f4f6f8;
    --card-bg: rgba(255,255,255,0.7);
    --text: #212529;
    --border: #dee2e6;
    --radius: 15px;
    --shadow: 0 10px 25px rgba(0,0,0,0.1);
    --gold: #f7d40f;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ================= HEADER ================= */
header.header {
    width: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1e7e34, #145a28);
    text-align: center;
    padding: 60px 20px;
    overflow: hidden;
    position: relative;
}

/* Tulisan header */
.text-elegant-gold {
    color: var(--gold);
    text-shadow: 2px 2px 5px rgba(232, 15, 15, 0.3);
}

.text-elegant-white {
    color: #fdfff7;
    text-shadow: 2px 2px 5px rgba(10, 36, 237, 0.877);
}

/* Animasi masuk header */
@keyframes slideIn {
    0% { opacity: 0; transform: translateY(-30px);}
    100% { opacity: 1; transform: translateY(0);}
}

.animate-slide {
    animation: slideIn 1s ease forwards;
}

.animate-slide-delay {
    animation: slideIn 5s ease 1s forwards;
}

/* ================= GLASS CARD ================= */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* ================= CARD TITLE ================= */
.card-title {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
}

/* ================= LIST ITEMS ================= */
ul {
    list-style: none;
}

ul li {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    transition: backgroun 0.25s ease;
    cursor: default;
}

ul li:hover {
    background: rgba(6, 217, 55, 0.44);
}

/* ================= NAVBAR ================= */
.navbar {
    font-weight: 600;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    header.header {
        min-height: 200px;
        padding: 40px 15px;
    }

    header.header h1 {
        font-size: 22px;
    }

    header.header h2 {
        font-size: 16px;
    }

    .glass-card {
        padding: 15px;
    }
}

/* HEADER MODERN */
.header {
    height: 20vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    text-align: center;
    position: relative;
    color: white;
}

.text-elegant-gold {
    color: #f5c542;
    letter-spacing: 2px;
}

.text-elegant-white {
    color: #ffffff;
    opacity: 0.9;
}

/* Animasi */
.animate-slide {
    animation: slideUp 1s ease-out;
}

.animate-slide-delay {
    animation: slideUp 5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



.navbar a i {
    transition: 0.3s ease;
}

.navbar a:hover i {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Section Masjid */
section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
}

section h3 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0f172a;
}

/* Card Info Masjid */
section p {
    background: white;
    padding: 12px 18px;
    margin: 8px auto;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    font-size: 16px;
}

/* Map Styling */
iframe {
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    margin-top: 20px;
}

/* Galeri */
.galeri {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.galeri img {
    width: 100%;
    border-radius: 15px;
    transition: 0.4s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.galeri img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 15px;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #0d6efd, #004aad);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

/* ===== CARD UTAMA ===== */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* ===== JUDUL ===== */
.card-title {
    font-weight: bold;
    color: #0d6efd;
    letter-spacing: 1px;
}

/* ===== LIST FASILITAS ===== */
.list-group-item {
    border: none;
    padding: 18px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 10px;
    background: #f8f9fa;
}

.list-group-item:hover {
    background: #0d6efd;
    color: white;
    transform: translateX(8px);
}

/* Supaya link ikut berubah warna */
.list-group-item a {
    color: inherit;
    display: block;
}

.list-group-item:hover a {
    color: white;
}

/* ===== TOMBOL KEMBALI ===== */
.btn-secondary {
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    transform: scale(1.05);
}

/* ===== BODY ===== */
body {
    background: #f4f6f9;
    font-family: 'Segoe UI', sans-serif;
}


