/* Custom styles for Bootstrap sitehome.php */

/* Hover effects */
.hover-shadow:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.hover-bg-light:hover {
    background-color: #f8f9fa !important;
    transition: background-color 0.3s ease;
}

/* Card enhancements */
.card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Carousel custom styles */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background: linear-gradient(to right, rgba(0,0,0,0.5), transparent);
}

.carousel-control-next {
    background: linear-gradient(to left, rgba(0,0,0,0.5), transparent);
}

.carousel-indicators {
    margin-bottom: 0;
}

/* Button hover effects */
.btn-outline-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.btn-outline-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3);
}

/* Featured item highlighting */
.border-warning.bg-light {
    background: linear-gradient(135deg, #fff3cd 0%, #fdf6e3 100%) !important;
    border-color: #ffc107 !important;
}

/* Category items */
.d-flex.align-items-center.p-2.border.rounded {
    transition: all 0.3s ease;
    cursor: pointer;
}

.d-flex.align-items-center.p-2.border.rounded:hover {
    border-color: #28a745 !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

/* Video responsive enhancements */
.ratio iframe {
    border-radius: 0.375rem;
}

/* Search form enhancements */
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

/* Badge styling */
.badge {
    font-size: 0.75em;
}

/* Text truncation for responsive design */
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive video adjustments */
@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;
    }
    
    .carousel-indicators {
        display: none;
    }
}

/* Print styles */
@media print {
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none !important;
    }
}