/* Custom CSS for 3D Print Store */

/* Product card styles */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Hero section styles */
.hero-section {
    background-color: #212529;
    position: relative;
}

/* Testimonial card styles */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Mobile navigation styles */
@media (max-width: 991.98px) {
    /* Mobile navigation buttons */
    .container.d-lg-none .btn {
        padding: 0.7rem 0.5rem;
        font-size: 1rem;
        border-radius: 0.5rem;
        transition: all 0.2s ease;
        height: 48px; /* Minimum touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Button hover and active states */
    .container.d-lg-none .btn:hover,
    .container.d-lg-none .btn:active,
    .container.d-lg-none .btn.active {
        background-color: var(--bs-primary);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    /* Active state styling */
    .btn.active {
        background-color: var(--bs-primary) !important;
        color: white !important;
        border-color: var(--bs-primary) !important;
    }
    
    /* Increase tap target size for mobile */
    .container.d-lg-none .d-flex {
        gap: 0.4rem;
    }
    
    /* Make icons more prominent */
    .container.d-lg-none .btn i {
        font-size: 1.2rem;
    }
    
    /* Make sure the badge is visible */
    .container.d-lg-none .badge {
        transform: translate(-50%, -50%) !important;
        right: auto !important;
        top: 0 !important;
        font-size: 0.65rem !important;
        padding: 0.25rem 0.4rem;
    }
    
    /* Fix header spacing */
    header.bg-white {
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    /* Better spacing for main content */
    main.container {
        padding-top: 1rem;
    }
    
    /* Make search bar more prominent */
    .container.d-lg-none .form-control {
        height: 42px;
    }
    
    /* Sticky mobile navigation */
    header.bg-white {
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #212121 !important;
    }
}

/* Product display styles */
.product-card .card-img-top,
.product-card .bg-secondary {
    transition: all 0.3s ease;
}

.product-card:hover .bg-secondary {
    background-color: var(--bs-primary) !important;
}

/* Hero section styles */
.hero-image {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Custom design section */
.custom-design-section {
    background-color: var(--bs-primary);
    color: white;
    height: 100%;
}
