/* Carousel Styles */
.carousel-item img {
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
}


/* General Utilities */
.hover-shadow:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Branch Stuff */
.branch-card {
    transition: all 0.3s ease;
    border-left: 5px solid transparent !important;
}

.branch-card:hover {
    border-left: 5px solid #0d6efd !important; /* Bootstrap Primary Color */
    transform: translateX(5px);
    background-color: #ffffff;
}


/* Brand Section Styles */
.brand-logo {
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.7;
    max-height: 60px; /* Keeps logos uniform */
    width: auto;
}

.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.section-title-line {
    height: 3px;
    width: 60px;
    background-color: #0d6efd; /* Bootstrap primary blue */
    margin: 10px auto;
}

/* Essentials */
.essential-card img {
    transition: transform 0.5s ease;
}

.essential-card:hover img {
    transform: scale(1.1);
}

.essential-card {
    cursor: pointer;
}

/* Optional: Make the card text align nicely */
.essential-card .card-body {
    padding: 1.25rem;
}

/* Why Choose Us Styles */
.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(13, 110, 253, 0.1); /* Light blue tint */
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon-wrapper {
    background-color: #0d6efd;
    color: #ffffff;
    transform: rotateY(360deg);
}

/* About Page Styling */
.border-primary {
    border-color: #0d6efd !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

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

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.product-card img {
    height: 200px;
    object-fit: contain; /* Good for product shots with white backgrounds */
}

@media (min-width: 992px) {
    #featured-products .col-lg-2 {
        width: 20%; /* Forces 5 items per row on desktop */
    }
}

.extra-small {
    font-size: 0.75rem;
}

/* 5-Column Layout for Featured Products */
@media (min-width: 992px) {
    .col-lg-custom {
        flex: 0 0 auto;
        width: 20%;
    }
}

