/* General styles for all devices */
.carousel-caption {
    padding: 1rem;
}

/* General styles */
.carousel-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(0.8);
}

.about-image {
    width: 100%;
    height: 100vh;
    object-fit: contain;
    display: none;
}

@media (min-width: 768px) {
    .about-image {
        display: block;
    }
}

body .btn-primary {
    background-color: #56b8e6 !important;
    border-color: #56b8e6 !important;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

body .btn-primary:hover {
    background-color: #3a9ec5 !important;
    /* Darker shade */
    border-color: #3a9ec5 !important;
    transform: scale(1.05);
    /* Slightly enlarge on hover */
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    padding-bottom: 10px;
}

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

.card img {
    object-fit: cover;
    /* Adjust as needed */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-footer {
    background-color: transparent;
}

.btn-hover {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-hover:hover {
    background-color: #3a9ec5 !important;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(56, 182, 235, 0.6);
}

/* Custom Carousel Styles */
.carousel {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}

.carousel-caption {
    bottom: 30%;
    text-align: center;
    padding: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-caption h2, .carousel-caption h3 {
    color: #fff;
    margin-bottom: 15px;
}

.carousel-indicators {
    bottom: 20px;
}

.btn-primary {
    background-color: #0d6efd;
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__fadeInUp {
    animation: fadeInUp 1s ease;
}

#furnitureproducts .member-img .img-fluid,
#woodentemple .member-img .img-fluid,
#jeansproducts .member-img .img-fluid,
.member-img.products_info .img-fluid,
#towelproducts .member-img .img-fluid {
    max-width: 50%;
    padding: 20px 0px;
    width: 100%;
    transition: transform 0.3s ease-in-out; /* Smooth scaling */
}

#furnitureproducts .member-img .img-fluid:hover,
#woodentemple .member-img .img-fluid:hover,
#jeansproducts .member-img .img-fluid:hover,
#towelproducts .member-img .img-fluid:hover,
.member-img.products_info .img-fluid:hover {
    transform: scale(1.1); /* Increases size by 10% on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {  
   
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        padding: 10px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .carousel-caption h3 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    
    .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}