/* --- 1. Global Reset & Base --- */
html {
    height: 100%;
}

html, body {
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #000; 
    overflow-x: hidden; 
}

div {
    z-index: 5;
}

/* --- 2. Main Section & Background --- */
body.coming-soon-template section {
    min-height: 100vh;
    background: url('../img/background.jpeg'); 
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 5;
    padding-bottom: 50px;
}

/* OVERLAY - Dibuat 0.4 agar background.jpeg terlihat jelas */
body.coming-soon-template section:after {
    content: "";
    background: rgba(0, 0, 0, 0.4); 
    position: absolute; 
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 10;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* --- 3. Content Elements --- */
body.coming-soon-template section .coming-soon {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: white;
    margin-top: 20px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

body.coming-soon-template section .logo img {
    max-height: 150px;
    margin-left: auto;
    margin-right: auto;
}

/* --- 4. Countdown Area --- */
body.coming-soon-template section #days, 
body.coming-soon-template section #hours, 
body.coming-soon-template section #minutes, 
body.coming-soon-template section #seconds {
    font-size: 45px;
    background: rgba(40, 167, 69, 0.3);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5); 
    border-radius: 12px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    display: block;
}

body.coming-soon-template section .small {
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* --- 5. CARD CUSTOM - HIJAU TUA & WATERMARK --- */
.card-custom {
    /* Hijau Tua Khas NU */
    background: rgba(0, 56, 27, 0.9) !important; 
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    height: 100%;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Watermark Logo HM di Setiap Card */
.card-custom::before {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-image: url('https://pengawas.mtsnu1sdr.sch.id/assets/img/logohm.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.12; /* Samar agar tidak ganggu teks */
    transform: rotate(-15deg);
    z-index: 0;
    pointer-events: none;
}

.card-custom h3 {
    color: #ffc107; /* Judul Emas */
    position: relative;
    z-index: 1;
    font-weight: bold;
}

.card-custom div, .card-custom p, .card-custom span {
    position: relative;
    z-index: 1;
}

/* --- 6. Buttons & Socials --- */
.btn-daftar {
    background: #28a745;
    color: white !important;
    padding: 18px 35px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 30px;
    transition: 0.3s ease;
    border: 2px solid #fff;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.btn-daftar:hover {
    background: #1e7e34;
    transform: scale(1.05);
}

body.coming-soon-template section .socials li a {
    height: 50px; width: 50px; line-height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-block;
    color: white;
    transition: 0.5s ease;
}

body.coming-soon-template section .socials li a:hover {
    background: #28a745;
}

/* --- 7. Footer Copyright --- */
body.coming-soon-template #copyright {
    color: #ffffff;
    position: fixed;
    bottom: 20px;
    right: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    z-index: 100;
    text-shadow: 1px 1px 5px rgba(0,0,0,1);
}

/* --- 8. Responsive Fixes --- */
@media (max-width: 767px) {
    body.coming-soon-template section { height: auto; padding-top: 20px; }
    body.coming-soon-template section #days, 
    body.coming-soon-template section #hours, 
    body.coming-soon-template section #minutes, 
    body.coming-soon-template section #seconds { font-size: 28px; }
    
    body.coming-soon-template #copyright {
        position: relative; right: 0; bottom: 0;
        margin-top: 30px; padding: 20px;
        text-align: center; width: 100%;
        background: rgba(0, 38, 18, 0.9); /* Hijau Sangat Tua */
    }
}


/* Efek Kursor Berkedip */
.cursor {
    font-weight: bold;
    color: #ffc107; /* Warna emas agar senada dengan judul card */
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

#typewriter {
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}