/* Reset margin dan padding untuk menghindari masalah default browser */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #111;
    color: #fff;
    margin: 0;
    padding: 0;
}

header {
    background-color: #000;
    padding: 20px;
    text-align: center;
    font-size: 2em;
    color: #fff;
    border-bottom: 1px solid #444;
}

h1 {
    font-size: 2.5em;
    letter-spacing: 2px;
}

.search-bar {
    margin-top: 10px;
    text-align: center;
}

.search-bar input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
    margin-bottom: 20px;
}

/* Container untuk produk dengan grid layout */
/* .product-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px;
    padding: 0 20px;
} */
 .card-body {
    background: linear-gradient(135deg, #000000 0%, #cc0000 100%);
    padding: 20px;
    color: #000;
    border-radius: 0 0 10px 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.card-title {
    font-weight: bold;
    font-size: 1.1em;
    color: #ffd700;
    text-transform: uppercase;
}

.card-price {
    color: #f5f5f5;
    font-size: 1.1em;
    font-weight: bold;
}

.card-date {
    font-size: 0.9em;
    color: #f5f5f5;
    margin: 10px 0;
}

.card-desc {
    font-size: 0.9em;
    line-height: 1.4;
    color: #f5f5f5;
    margin-bottom: 15px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(45deg, #cc0000 0%, #000000 100%);
    color: #ffd700;
    padding: 5px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease-in-out, transform 0.2s;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    gap: 8px;
    width: 100%;
}

.read-more-btn:hover {
    background-color: #f94bff; /* Darker blue on hover */
    transform: translateY(-2px);
}


/* .card a:hover {
    box-shadow: 0 6px 14px rgba(239, 77, 251, 0.5);
    transform: translateY(-2px);
}  */


/* Styling untuk pagination */
.pagination {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

.pagination a {
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    margin: 0 5px;
    background-color: #444;
    border-radius: 5px;
    font-size: 1.2em;
}

.pagination a:hover {
    background-color: #666;
}

.pagination a.active {
    background-color: #e0e0e0;
    color: #000;
}

/* Styling untuk footer */
footer {
    background-color: #000;
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 1em;
    border-top: 1px solid #444;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #780606;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    /* position: absolute; */
    /* right: 100%; */
    animation: marquee 50s linear infinite;
    font-size: 20px;
    font-weight: bold;
    color: #FFD700;
}

@keyframes marquee {
    from {
    transform: translateX(58%);
    }
    to {
    transform: translateX(-103%);
    }
}