@import url("https://fonts.googleapis.com/css2?family=BBH+Bartle&family=Battambang:wght@100;300;400;700;900&family=Borel&family=Bungee+Spice&family=Bungee+Tint&family=Caprasimo&family=Cascadia+Code:ital,wght@0,200..700;1,200..700&family=Content:wght@400;700&family=Edu+NSW+ACT+Hand+Pre:wght@400..700&family=Fasthand&family=Fjalla+One&family=Hanuman:wght@100..900&family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&family=Kaushan+Script&family=Konkhmer+Sleokchher&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Metal&family=Monoton&family=Oswald:wght@200..700&family=Permanent+Marker&family=Playwrite+RO:wght@100..400&family=Rubik+Distressed&family=Shadows+Into+Light&family=Slabo+27px&display=swap");

body {
    background-color: #f8f9fa; /* Light gray background for better card contrast */
    color: #212529;
}

.view-detail .card {
    transition: transform 0.3s ease;
}

.view-detail .product-title-detail {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.view-detail .product-price-detail {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

/* Image Gallery */
.view-detail .main-image {
    transition: all 0.3s ease;
}

.view-detail .main-image img {
    transition: transform 0.5s ease;
}

.view-detail .main-image:hover img {
    transform: scale(1.05);
}

.view-detail .thumbnail {
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.view-detail .thumbnail:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.view-detail .thumbnail.active-thumbnail {
    border-color: #198754; /* Success color */
    opacity: 1;
}

/* Buttons */
.view-detail .btn {
    transition: all 0.3s ease;
}

.view-detail .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Specs Box */
.view-detail .bg-light {
    background-color: #f8f9fa !important;
}

/* Dark Mode Support */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode .view-detail .card {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

body.dark-mode .view-detail .bg-light {
    background-color: #2c2c2c !important; /* Darker bg for image column and spec boxes */
    border-color: #444 !important;
}

body.dark-mode .view-detail .text-muted {
    color: #a0a0a0 !important;
}

body.dark-mode .view-detail .breadcrumb-item a {
    color: #888;
}

body.dark-mode .view-detail .product-title-detail {
    color: #ffffff;
}

body.dark-mode .view-detail .border-light {
    border-color: #444 !important;
}

body.dark-mode .view-detail .btn-outline-secondary {
    color: #e0e0e0;
    border-color: #666;
}

body.dark-mode .view-detail .btn-outline-secondary:hover {
    background-color: #444;
    border-color: #444;
}

/* Responsive */
@media (max-width: 991px) {
    .view-detail .col-lg-6.bg-light {
        min-height: 400px;
    }
}
