/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f8f8f8;
    padding: 20px;
}

header {
    background-color: #800000;
    color: white;
    padding: 20px;
    position: relative;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Admin login button */
header a {
    position: absolute;
    top: 5px;
    right: 10px;
    padding: 10px;
    background: #2b0202;
    color: white;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px;
}

header a:hover {
    background-color: #ea9494;
    color: #2b0202;
}

section {
    margin: 20px 0;
}

/* Style untuk gambar */
section:first-of-type {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    gap: 20px;
}

section:first-of-type img {
    max-width: 45%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive untuk telefon bimbit */
@media (max-width: 768px) {
    section:first-of-type {
        flex-direction: column;
        height: auto;
    }

    section:first-of-type img {
        max-width: 90%;
        height: auto;
    }

    header {
        font-size: 18px;
        padding: 15px;
    }

    header a {
        top: 120px;
        right: 10px;
        font-size: 12px;
        padding: 8px;
    }
}

/* Style untuk form tempahan */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

input[type="date"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background-color: #0073e6;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #005bb5;
}

/* Overlay Background */
.overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* Popup Box */
.popup {
    background: white;
    padding: 20px;
    width: 400px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Input dan Butang */
.popup input, .popup button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.popup button {
    background: #008080;
    color: white;
    cursor: pointer;
}

.popup button:hover {
    background: #006666;
}
