/* ====== Body ====== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

/* ====== Navbar Umum ====== */
.navbar {
    background-color: #ff5722;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease;
}
.navbar:hover {
    background-color: #e64a19;
}
.navbar-brand {
    color: white;
    font-weight: bold;
    transition: text-shadow 0.3s ease;
}
.navbar-brand:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* ====== Navbar Admin ====== */
.navbar.bg-dark {
    background-color: #006b22 !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
.navbar-brand.fw-bold {
    color: #ffc107 !important;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.navbar-brand.fw-bold:hover {
    color: #ffffff !important;
    text-shadow: 0 0 6px rgba(255,255,255,0.6);
}
.navbar-nav .nav-link {
    color: #f8f9fa !important;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 8px;
    padding: 8px 12px;
}
.navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffc107 !important;
}
.navbar-nav .nav-link.text-danger {
    font-weight: bold;
}
.navbar-nav .nav-link.text-danger:hover {
    background-color: rgba(220,53,69,0.15);
    color: #ff4d4d !important;
}

/* ====== Kartu Produk ====== */
.product-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    background-color: #fff;
    transition: transform 0.2s, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.product-card img {
    max-width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 10px;
    animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}
.product-price {
    color: #e53935;
    font-weight: bold;
    font-size: 1rem;
    transition: text-shadow 0.3s ease;
}
.product-price:hover {
    text-shadow: 0 0 5px rgba(229, 57, 53, 0.8);
}

/* ====== Info Produk ====== */
.product-info {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-img {
    max-width: 100%;
    border-radius: 10px;
}

/* ====== Model Viewer ====== */
model-viewer {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
}
model-viewer:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ====== Footer ====== */
.footer {
    background: linear-gradient(90deg, #05852b, #046b23);
    color: white;
    padding: 30px 0;
    margin-top: 50px;
    width: 100vw;
}
.footer a {
    color: #ffc107;
    text-decoration: none;
}
.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ====== Footer Admin Khusus ====== */
.bg-dark.text-white.text-center.py-4.mt-auto {
    background-color: #004d19 !important; /* warna hijau gelap */
    color: #ffffff !important;
    font-size: 0.95rem;
    border-top: 3px solid #ffc107;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.bg-dark.text-white.text-center.py-4.mt-auto a {
    color: #ffc107;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bg-dark.text-white.text-center.py-4.mt-auto a:hover {
    color: #ffffff;
    text-decoration: underline;
}

