      
      
      
/* ===== RESET DASAR ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== BODY & BACKGROUND ===== */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #333;
    min-height: 100vh;
    padding: 20px;
}

/* ===== JUDUL ===== */
h1, h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* ===== CONTAINER ITEM ===== */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

/* ===== CARD ITEM ===== */
.card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card h3 {
    padding: 10px 15px;
    font-size: 18px;
    color: #222;
}

.card p {
    padding: 0 15px 10px;
    font-size: 14px;
    line-height: 1.5;
}

/* ===== HARGA ===== */
.harga {
    color: #2e7d32;
    font-weight: bold;
    font-size: 16px;
}

/* ===== FORM ===== */
form {
    background: rgba(255,255,255,0.95);
    max-width: 420px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

textarea {
    resize: vertical;
    min-height: 90px;
}

/* ===== BUTTON ===== */
button {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
}

button:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

/* ===== ADMIN ITEM LIST ===== */
.admin-item {
    background: rgba(255,255,255,0.9);
    margin: 10px auto;
    max-width: 420px;
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-item a {
    text-decoration: none;
    font-size: 14px;
}

/* ===== LINK ADMIN ===== */
.admin-link {
    text-align: center;
    margin-top: 30px;
}

.admin-link a {
    color: #ffffff;
    text-decoration: none;
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 20px;
}

.admin-link a:hover {
    background: rgba(0,0,0,0.5);
}

/* ===== ERROR ===== */
.error {
    text-align: center;
    color: #ff5252;
    margin-top: 10px;
}

/* ===== FOOTER ===== */
.footer {
    margin-top: 50px;
    padding: 35px 20px;
    background: rgba(0,0,0,0.75);
    color: #eee;
    border-radius: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-box {
    margin-bottom: 25px;
}

.footer h3 {
    color: #4fc3f7;
    margin-bottom: 10px;
}

.footer p {
    line-height: 1.7;
    font-size: 14px;
}



/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .card img {
        height: 150px;
    }
}






/* ===== BANNER ATAS ===== */
.banner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.banner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Teks di atas banner */
.banner-text {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.25)
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.banner-text h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 16px;
    opacity: 0.9;
}

/* Responsive banner */
@media (max-width: 600px) {
    .banner img {
        height: 220px;
    }
    .banner-text h2 {
        font-size: 22px;
    }
}

/* ===== TOMBOL HUBUNGI ADMIN - NEON PULSE ===== */
.banner-btn a {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: #FFFF33; /* kuning neon */
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    border-radius: 30px;

    text-shadow:
        0 0 6px rgba(255,255,0,0.9),
        0 0 12px rgba(255,255,0,0.8),
        0 0 20px rgba(255,255,0,0.6);

    box-shadow:
        0 0 12px rgba(255,255,0,0.9),
        0 0 25px rgba(255,255,0,0.6),
        0 8px 20px rgba(0,0,0,0.4);

    animation: neonPulse 1.8s infinite alternate;
    transition: transform 0.25s;
}

.banner-btn a:hover {
    transform: scale(1.12);
    animation-play-state: paused; /* berhenti pulse saat hover */
}

/* ===== KEYFRAMES NEON PULSE ===== */
@keyframes neonPulse {
    0% {
        text-shadow:
            0 0 4px rgba(255,255,0,0.6),
            0 0 8px rgba(255,255,0,0.5),
            0 0 14px rgba(255,255,0,0.4);

        box-shadow:
            0 0 8px rgba(255,255,0,0.5),
            0 0 15px rgba(255,255,0,0.4),
            0 6px 15px rgba(0,0,0,0.4);
    }

    100% {
        text-shadow:
            0 0 10px rgba(255,255,0,1),
            0 0 20px rgba(255,255,0,0.9),
            0 0 35px rgba(255,255,0,0.8);

        box-shadow:
            0 0 20px rgba(255,255,0,1),
            0 0 40px rgba(255,255,0,0.9),
            0 12px 30px rgba(0,0,0,0.6);
    }
}