* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding-top: 80px;
    color: #fff;
}

section {
    min-height: 80vh;
    padding: 60px 20px;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 10px 50px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-links {
    margin-left: auto;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

.clock-box {
    margin-left: 40px;
    text-align: right;
}

.clock { 
    font-size:32px; 
    font-weight:700; 
    letter-spacing:.05em; 
}

.date-txt { 
    font-size:15px; 
    margin-top:2px; 
}

.logo {
    font-size: 28px;
}

.logo span {
    color: #38bdf8;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;

    background: linear-gradient(rgba(0, 0, 0, 0.601), rgba(0, 0, 0, 0.64)), url("../img/gedung.png");
    background-size: cover;
    background-position: center;
    min-height: 100vh; 

}

.hero-text {
    max-width: 500px;
    text-align: center;
}

.hero-text h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero-text span {
    color: #38bdf8;
}

.hero-text p {
    margin-bottom: 40px;
    color: #cbd5e1;
}

.hero-btns a {
    margin-right: 10px;
}

.btn-primary {
    padding: 12px 20px;
    background: #38bdf8;
    border-radius: 10px;
    text-decoration: none;
    color: black;
}

.btn-secondary {
    padding: 12px 20px;
    border: 1px solid #38bdf8;
    border-radius: 10px;
    text-decoration: none;
    color: #38bdf8;
}

.hero {
    
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/logo2.png');
    
    
    background-size: cover;      
    background-position: center;  
    background-repeat: no-repeat;
    
    
    min-height: 100vh;          
    display: flex;
    align-items: center;         
    justify-content: center;      
    text-align: center;
    color: white;               
}

.hero-text h1 {
    font-size: 3rem;             
}
    


.features {
    text-align: center;
    padding: 60px;
}

.feature-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 100px;
}

.card {
    background: #1e293b;
    padding: 20px;
    border-radius: 15px;
    width: 200px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    font-size: 40px;
    color: #38bdf8;
    margin-bottom: 10px;
}

.cta {
    text-align: center;
    padding: 60px;
}

.card h3 {
    font-size: 16px;
    opacity: 0.8;
}

.card h2 {
    font-size: 28px;
    margin-top: 10px;
    color: #38bdf8;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.card1 {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    width: 380px;
    height: 100px;
}

.form-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 80%;
    margin: 20px auto;
}

.form-box input,
.form-box select,
#btnTambah {
    width: 100%;
}

.form-box input,
.form-box select {
    min-width: 150px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: #1e293b;
    color: #fff;
    transition: 0.2s;
}

.form-box input:focus,
.form-box select:focus {
    border: 1px solid #38bdf8;
    background: #0f172a;
}

#btnTambah {
    background: #38bdf8;
    border: none;
    padding: 10px;
    border-radius: 8px;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

#btnTambah:hover {
    background: #1a93cb;
    transform: none;
}

table {
    border-collapse: collapse;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    width: 80%;
    margin: 20px auto;
}

thead {
    background: #38bdf8;
    color: #000;
}

thead th {
    padding: 12px;
    text-align: left;
    font-size: 14px;
}

tbody tr {
    transition: 0.2s;
}

tbody tr:hover {
    background: rgba(255,255,255,0.1);
}

tbody td {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

button.hapus {
    background: #ef4444;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
}

button.hapus:hover {
    background: #dc2626;
}

footer {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
}

/* Tanda miring tadi sudah dihapus dari sini */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        gap: 10px;
    }

    .hero-img {
        display: none; /* biar ga penuh */
    }

    .logo {
        font-size: 22px;
    }

    .nav-links {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .nav-links a {
        font-size: 14px;
        padding: 6px 10px;
        background: rgba(255,255,255,0.08);
        border-radius: 8px;
    }

    .clock-box {
        text-align: center;
        margin: 5px 0;
    }

    .clock {
        font-size: 18px;
    }

    .date-txt {
        font-size: 12px;
    }

    .feature-box {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card1 {
        width: 90%;
    }

    .main {
        flex-direction: column;
    }

    .form-box {
        width: 100%;
    }

    table {
        font-size: 12px;
    }

    thead {
        display: none;
    }

    table, tbody, tr, td {
        display: block;
        width: 100%;
    }

    tbody tr {
        margin-bottom: 15px;
        background: rgba(255,255,255,0.05);
        padding: 10px;
        border-radius: 10px;
    }

    tbody td {
        padding: 8px;
        text-align: right;
        position: relative;
    }

    tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        color: #38bdf8;
    }
}