body {
    background-color: #f8f9fa;
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

.header {
    background-color: #8B0000; /* Dark Red */
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 5px solid #5c0000;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header h1 {
    font-size: 3em;
    margin: 0;
}

.header p {
    font-size: 1.2em;
    margin: 10px 0 0;
}

.input-area {
    margin: 20px 0;
}

.table {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.table th {
    background-color: #8B0000; /* Dark Red */
    color: white;
    font-weight: 700;
    padding: 15px;
}

.table td {
    padding: 12px;
}

.table tbody tr {
    transition: background-color 0.3s ease; /* efek transisi untuk efek hover */
}

.table tbody tr:hover {
    background-color: #f2f2f2; /* Light gray on hover */
}

.footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    font-size: 0.9em;
    color: #555;
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5em;
    }

    .header p {
        font-size: 1em;
    }

    .table th, .table td {
        font-size: 0.9em;
    }
}
.header a {
    color: #ffcccc; /* Soft pink */
    text-decoration: none;
    transition: color 0.3s ease;
}

.header a:hover {
    color: #ffffff; /* White */
    text-decoration: underline;
}
.table tbody tr:hover {
    background-color: #f2f2f2;
    transform: scale(1.02); /* tambah hover besar kecil */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.input-area select, 
.input-area input {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    max-width: 8800px; /* Batas lebar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.input-area select:focus, 
.input-area input:focus {
    border-color: #8B0000; /* Highlight warna merah */
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.5); /* Glow merah */
    outline: none;
}
.footer a {
    color: #8B0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #555;
    text-decoration: underline;
}
* {
    transition: all 0.3s ease;
}
body {
    line-height: 1.6;
}
/*produk daftart */
.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-card .card-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #8B0000;
}

.product-card .card-text {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
}

.product-card .price {
    font-size: 1.2em;
    font-weight: bold;
    color: #5c0000;
    margin-top: 10px;
}

.container h2 {
    color: #8B0000;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .product-card .card-title {
        font-size: 1.2em;
    }
    .product-card .price {
        font-size: 1em;
    }
}

/* styles daftar produk*/
#productDetails {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#productDetails h4 {
    color: #8B0000;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

#productDetails p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

/* Style untuk kontainer produk */
.product-details {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-details h4 {
    color: #8B0000;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.product-card {
    background: linear-gradient(120deg, #fff, #f8f9fa);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-card h5 {
    color: #8B0000;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-card .product-info {
    font-size: 1em;
    color: #555;
}

.product-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.product-card ul li {
    background: #f9f9f9;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.product-card p {
    margin: 10px 0;
    font-weight: bold;
}

.product-card span {
    color: #333;
    font-weight: 700;
}
/* Tombol WhatsApp */
.btn-whatsapp {
    display: inline-block;
    margin-top: 15px;
    background-color: #007bff; /* Change to blue or another color */
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    font-size: 1em;
}

.btn-whatsapp:hover {
    background-color: #0056b3;
}

.product-details {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* Animasi Hove tombol WhatsApp */
.btn-whatsapp {
    background-color: #6c757d; /* Abu-abu */
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #495057;
    transform: scale(1.1);
}
