﻿/* wwwroot/css/home.css */
.carousel-item {
    height: 90vh;
    min-height: 600px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}
.hero-fallback {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.product-card {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border: none;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
    }

    .product-card img {
        height: 400px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .product-card:hover img {
        transform: scale(1.05);
    }
.feature-box {
    transition: transform 0.3s;
    border: 1px solid #eee;
    background-color: #fff;
}

    .feature-box:hover {
        transform: translateY(-5px);
        background-color: #fff;
        border-color: var(--bs-primary);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    .feature-box i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: #2c3e50;
        transition: color 0.3s;
    }

    .feature-box:hover i {
        color: var(--bs-primary);
    }

.scrolling-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #2c3e50 #e9ecef;
}
    .scrolling-wrapper::-webkit-scrollbar {
        height: 8px;
    }

    .scrolling-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .scrolling-wrapper::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 10px;
        transition: background 0.3s;
    }

        .scrolling-wrapper::-webkit-scrollbar-thumb:hover {
            background: #2c3e50;
        }

.scrolling-card {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .scrolling-card {
        width: 260px;
        margin-right: 15px;
    }
    .scrolling-wrapper::-webkit-scrollbar {
        display: none;
    }
}