/* Custom Styles for BA-ITC Shop */

:root {
    --primary-color: #0b3d0b; /* Deep dark green */
    --secondary-color: #1b5e20; /* Medium dark green */
    --highlight-color: #388e3c; /* Slightly lighter green for accents */
    --light-green: #66bb6a; /* Lighter green for hover and highlights */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-section {
    background: linear-gradient(135deg, #1b5e20 0%, #388e3c 100%); /* Smooth green gradient */
}

.btn-primary {
    background: linear-gradient(135deg, #0b3d0b 0%, #1b5e20 100%); /* Deep green to medium green */
    border: none;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #388e3c 0%, #66bb6a 100%); /* Light green accent on hover */
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

    footer a:hover {
        color: var(--highlight-color) !important; /* Subtle green on footer links */
    }

.product-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 250px;
    object-fit: cover;
}

.badge-new {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b; /* Red for new badge */
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color); /* Dark green for prices */
}

.rating {
    color: #ffa500; /* Orange for ratings */
}

/* Loading Spinner */
.spinner-border {
    color: var(--primary-color); /* Dark green spinner */
}

/* Form Styling */
.form-control:focus {
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 0.2rem rgba(56, 142, 60, 0.25); /* Focus on light green */
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b; /* Red background for cart badge */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
