/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Hero Section */
/* .hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/img/baground.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 50px;
} */

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 12px;
}
#heroCarousel .carousel-item img {
    max-height: 600px; /* Atur tinggi maksimal slider */
    object-fit: cover; /* Potong gambar biar tetap penuh dan rapi */
    width: 100%;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Product Cards */
.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.product-card .card-body {
    padding: 15px;
}

.product-card .price {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2em;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5em;
}

/* Footer */
footer {
    margin-top: 50px;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Cart */
.cart-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.cart-item img {
    max-width: 100px;
    height: auto;
}

/* Reviews and Ratings */
.star-rating {
    color: gold;
    font-size: 1.2rem;
}
.modal-review-stars {
    color: gold;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.review-date {
    color: #6c757d;
    font-size: 0.85rem;
}
.review-status {
    margin-left: 10px;
}
.review-text {
    white-space: pre-line;
}

/* Order Details */
.order-details .card {
    border-radius: 1rem;
}
.order-details .card-header {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.order-details img:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

/* Admin Login */
.admin-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    margin-top: 80px;
}
.admin-logo {
    text-align: center;
    margin-bottom: 30px;
}
.admin-logo h1 {
    color: #343a40;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .min-vh-75 {
        min-height: 50vh;
    }
} 