* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    color: white;
    overflow: hidden; 
    height: 100vh;
    background-color: #000;
    /* Transisi halus saat ganti background */
    transition: background-image 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Kelas untuk Slideshow Background */
.bg-slide-1 { background-image: url('mesjid1.jpg'); }
.bg-slide-2 { background-image: url('mesjid2.jpg'); }
.bg-slide-3 { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('mesjid3.jpg'); }

.app-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}

/* HEADER RESPONSIVE */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vh 4vw;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
}

.nama-masjid { color: #f1c40f; font-size: 5vh; text-shadow: 3px 3px 6px #000; }
.nama-univ { font-size: 2vh; opacity: 0.9; }
.alamat { font-size: 1.5vh; opacity: 0.8; }

.info-kanan { display: flex; flex-direction: column; align-items: flex-end; }
.pill { 
    background: rgba(255,255,255,0.95); color: #000; 
    padding: 1vh 2vw; margin-bottom: 0.5vh; 
    border-radius: 8px; font-weight: bold;
}
.jam-digital { font-size: 5vh; color: #d35400; font-family: 'Orbitron', sans-serif; }
.countdown-box { font-size: 2vh; min-width: 20vw; text-align: center; text-transform: uppercase; }

/* MAIN AREA */
.main-content { flex: 1; }

/* FOOTER RESPONSIVE */
.footer-section {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.jadwal-grid-container {
    display: grid;
    grid-template-columns: 1.5fr 6fr;
    gap: 1vw;
    padding: 2vh 2vw;
}

.box-tanggal {
    border: 2px solid #f1c40f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 10px;
    padding: 1vh;
}
.box-tanggal .hari { font-size: 4vh; color: #f1c40f; font-weight: bold; }
.box-tanggal .tgl { font-size: 2vh; }
.tgl-hijriah { color: #2ecc71; font-size: 2.2vh; font-weight: bold; margin-top: 0.5vh; }

/* GRID JADWAL */
.grid-waktu {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.8vw;
}

.sholat-kolom {
    display: flex;
    flex-direction: column;
    gap: 0.5vh;
    transition: all 0.5s ease;
    border-radius: 10px;
    padding: 0.5vh;
}

.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border-radius: 5px;
}

/* Warna Kolom */
.h-1, .w-1 { background: #14e925; }
.h-2, .w-2 { background: #e91e63; }
.h-3, .w-3 { background: #f39c12; }
.h-4, .w-4 { background: #43a047; }
.h-5, .w-5 { background: #9c27b0; }
.h-6, .w-6 { background: #ff9800; }
.h-7, .w-7 { background: #2196f3; }

.header { font-size: 1.8vh; height: 4vh; color: rgba(255,255,255,0.9); text-transform: uppercase; }
.waktu { font-size: 5vh; height: 10vh; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }

/* Highlight Sholat Aktif */
.sholat-kolom.active {
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translateY(-10px);
    border: 3px solid #f1c40f;
}

.marquee-bar { background: #000; padding: 1vh 0; font-size: 2.5vh; color: #f1c40f; border-top: 1px solid #333; }