/* --- TEMA WARNA JAi ---------------------------------------------------- */
:root {
    --bg-color: #060e1f; 
    --panel-bg: #111b2d;
    --accent-blue: #00e0ff;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --font-family: 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }


.pemisah-jarak1 {
    height: 10px; /* Tukar nilai ini mengikut kesesuaian */
}

.pemisah-jarak {
    height: 80px; /* Tukar nilai ini mengikut kesesuaian */
}


.tajuk {
    font-size: 2.0rem;
    font-weight: bold;
    color: var(--text-primary);
    letter-spacing: 3px;
    margin-top: 15px;
    margin-left: 10px;
}


/* --- ===Header.php+++ ---------------------------------------------------- */
/* --- ===Header.php+++ ---------------------------------------------------- */


/* --- NAVAL --- */
.nav-bar {
    text-align: right;      /* KETENGAH / KETEPI: Guna 'left', 'center', atau 'right' */
    padding: 0px;           /* RUANG TEBAL: Besar/kecilkan ruang atas bawah */
}

.nav-link {
    font-size: 15px;         /* SAIZ HURUF: Besar/kecilkan ikut suka */
    color: #ffffff;          /* WARNA HURUF: Warna putih (asal) */
    margin: 0 12px;          /* JARAK: Jarak antara setiap menu */
}

/* --- WARNA BILA KLIK / HOVER --- */
.nav-link:hover, .nav-link.active {
    color: #00e0ff;          
}


/* --- HEADER --- */
.header-block .panel-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 224, 255, 0.3);
    flex-shrink: 0;
}

.header-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-blue);
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 224, 255, 0.6);
    animation: flicker-glow 2s infinite alternate;

}

@keyframes flicker-glow {
    0% {
        opacity: 0.1;
        text-shadow: 0 0 5px rgba(6, 99, 111, 0.532);
    }
    100% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(0, 224, 255, 1), 0 0 30px rgba(0, 224, 255, 0.6);
    }
}


.status-tag {
    font-size: 0.8rem;
    color: #4caf50;
    display: block;
}

/* --- CLOCK --- */
.clock-widget {
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
    color: var(--accent-blue);
}
#clock-time { font-size: 1.5rem; font-weight: bold; letter-spacing: 2px; }
#clock-date { font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; }



/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {


    .brand-name {font-size: 1.8rem;}

    .status-tag {font-size: 0.8rem;}
    
    .clock-widget {display: none;}
    
}







/* --- ===footer.php+++ ----------------------------------------------------- */
/* --- ===footer.php+++ ----------------------------------------------------- */



/* --- FOOTER & CONTACT --- */
.contact-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}
.contact-btn:hover { background: var(--accent-blue); color: var(--bg-color); }







/* --- ===index.php+++ ----------------------------------------------------- */

/* --- ===index.php+++ ----------------------------------------------------- */



body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
}

.page-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    
}

.main-block {
    border: 5px solid #000000;
    border-radius: 10px;
  
    background-color: var(--panel-bg);
  
}

.panel-content {
    padding: 20px;
    height: auto;
    

}





/* --- MID SECTION --- */
.mid-section { display: flex; gap: 20px; }

.activity-area {
    flex: 2;
    display: flex;
    flex-direction: column;
    text-align: center;
    
}

.image-placeholder {
    width: 90%;
    background: #1a263d;
    border-radius: 10px;
    margin: 0 auto 10px auto;
}

.main-activity-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    
    
}

.activity-caption {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-blue);
    letter-spacing: 3px;
    margin-top: 15px;
}



.button-area { flex: 1.2; border-radius: 20px; }
.button-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 25px; }

.command-button {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    min-height: 180px;
    text-decoration: none;
}

.command-button:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.4);
    transform: translateY(-5px);
    background-color: rgba(0, 224, 255, 0.05);
}

.button-img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
    margin-bottom: 12px;
}

.btn-title { font-weight: bold; font-size: 0.9rem; color: var(--text-primary); text-transform: uppercase; text-align: center; }
.btn-desc { font-size: 0.7rem; color: var(--text-secondary); margin-top: 4px; text-align: center; }



/* --- MODAL --- */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}
.modal-content {
    background-color: var(--panel-bg);
    margin: 10% auto;
    padding: 30px;
    border: 2px solid var(--accent-blue);
    border-radius: 20px;
    width: 350px;
    text-align: center;
    position: relative;
}
.close-btn { position: absolute; right: 20px; top: 10px; color: var(--text-secondary); font-size: 28px; cursor: pointer; }

@keyframes flicker-glow {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}



/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .mid-section { flex-direction: column; }
    
    .command-button {
        min-height: 100px; /* Pendekkan sikit di phone */
        padding: 10px;
    }

    .btn-desc { display: none; } /* Sembunyi desc di phone supaya tak serabut */
    
    .activity-caption { font-size: 1rem;}
    
    .brand-name { font-size: 1.1rem; }

    .button-img {
        max-width: 60%;
        max-height: 60%;
        object-fit: contain;
        margin-bottom: 0px;
    }




}







/* --- ===galeri.php+++ ----------------------------------------------------- */
/* --- ===galeri.php+++ ----------------------------------------------------- */

/* style.css */

.aktiviti-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.grid-gambar {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 gambar satu baris */
    gap: 15px;
    margin-bottom: 20px;
}

.grid-gambar img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #000; /* Mengikut tema border hitam anda sebelumnya */
    transition: transform 0.3s ease;
    object-position: center;


}






.grid-gambar img:hover {
    transform: scale(1.02); /* Efek zoom sikit bila sentuh gambar */
}

.keterangan-bawah {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff; /* Tukar ke putih jika background anda gelap */
    margin-top: 10px;
    background: #232d3f; /* Contoh background teks */
    padding: 10px;
    border-radius: 8px;
}

/* Responsif untuk Handphone */
@media (max-width: 600px) {
    .grid-gambar {
        grid-template-columns: 1fr; /* Jadi 1 gambar satu baris di phone */
    }
}









/* --- CSS UNTUK PAGE ARKITEKTUR --- */

.aktiviti-container {
    width: 100%;
    max-width: 1000px; /* Samakan dengan max-width .page-container anda */
    margin: 20px auto;
    padding: 10px;
    text-align: center;
}

.keterangan-arkitektur {
    background: #232d3f; /* Warna latar belakang gelap untuk tajuk */
    color: var(--text-primary);
    padding: 15px;
    font-weight: bold;
    border-radius: 8px 8px 0 0; /* Lengkungan di atas sahaja */
    border: 1px solid #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-gambar {
    width: 100%;
    background: var(--panel-bg);
    border: 1px solid #333;
    border-radius: 0 0 12px 12px; /* Lengkungan di bawah sahaja */
    padding: 20px; /* Ruang antara border dan gambar */
    display: flex;
    justify-content: center;
}

.single-gambar img {
    width: 100%;      /* Gambar akan ikut lebar kontainer */
    max-width: 100%;  /* Elakkan gambar melimpah keluar */
    height: auto;     /* Kekalkan nisbah (ratio) gambar */
    border-radius: 10px;
    border: 2px solid #000;
    display: block;
}

