/* Base styles */
.category-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.category-overlay {
    transition: all 0.3s ease;
    opacity: 0;
    background: rgba(155, 155, 154, 0.7) !important;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.category-card:hover .category-content {
    opacity: 1;
    transform: translateY(0);
}

.category-link {
    transition: all 0.3s ease;
    color: #E1AD01;
    border: 1px solid #E1AD01;
}

.category-link:hover {
    background-color: #E1AD01;
    color: #FAF3E0;
    border-color: #E1AD01 !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.custom-rounded {
    border-radius: 20px !important;
}

.text-color-ro {
    color: #2E2E2E;
}

/* Carousel controls */
.carousel-control-prev, .carousel-control-next {
    width: 10%;
    opacity: 0.7;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    background-color: #adb5bd;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-indicators button.active {
    background-color: #E1AD01;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .category-content h3 {
        font-size: 1.2rem;
    }

    .category-link {
        font-size: 0.875rem;
        padding: 6px 12px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
    }

    .carousel-inner .row {
        flex-direction: column !important;
        align-items: center;
    }

    .category-card {
        margin-bottom: 1rem;
    }
}
