/* Enhanced Festival Cards UI/UX Improvements */

/* Modern Card Design with Depth */
.geodir-category-listing {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.geodir-category-listing:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Enhanced Image Container */
.geodir-category-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #fd7b21 0%, #ff8c42 100%);
}

.geodir-category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.geodir-category-listing:hover .geodir-category-img img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1.1);
}

/* Enhanced Avatar Design */
.listing-avatar {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
}

.listing-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.listing-avatar:hover img {
    transform: scale(1.1);
    border-color: #fd7b21;
}

.avatar-tooltip {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.avatar-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0,0,0,0.9);
}

.listing-avatar:hover .avatar-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 65px;
}

/* Modern Status Badge */
.sale-window {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(238,90,36,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Enhanced Rating Display */
.listing-rating {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-popup-rainingvis {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Enhanced Date Badge */
.count-listing {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, #fd7b21 0%, #ffc288 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 12px rgba(253,123,33,0.3);
    margin: 0;
}

.count-listing span {
    display: block;
    font-size: 20px;
    line-height: 1;
}

/* Enhanced Content Area */
.geodir-category-content {
    padding: 25px;
    background: white;
}

.geodir-category-content-title h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.geodir-category-content-title h3:hover {
    color: #fd7b21;
}

.geodir-category-location {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.geodir-category-location i {
    color: #e74c3c;
    font-size: 12px;
}

.geodir-category-content p {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Enhanced Facilities List */
.facilities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.facilities-list li {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.facilities-list li:hover {
    background: linear-gradient(135deg, #fd7b21 0%, #ffc288 100%);
    color: white;
    transform: translateY(-2px);
}

.facilities-list li i {
    color: #28a745;
    font-size: 10px;
}

.facilities-list li:hover i {
    color: white;
}

/* Enhanced Footer Actions */
.geodir-category-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f3f4;
}

.listing-item-category-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.listing-item-category {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.listing-item-category-wrap span {
    color: #495057;
    font-size: 13px;
    font-weight: 500;
}

.listing-item-category-wrap:hover span {
    color: #fd7b21;
}

.listing-item-category-wrap:hover .listing-item-category {
    transform: scale(1.1) rotate(5deg);
}

/* Enhanced Action Buttons */
.geodir-opt-list {
    display: flex;
    gap: 8px;
}

.geodir-opt-list ul {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.geodir-opt-list li a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.geodir-opt-list li a:hover {
    background: linear-gradient(135deg, #fd7b21 0%, #ffc288 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253,123,33,0.3);
}

.geodir-opt-tooltip {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.geodir-opt-list li a:hover .geodir-opt-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 50px;
}

/* Enhanced Search Section */
.festivals-search-filter-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.festivals-filter-form .form-control {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.festivals-filter-form .form-control:focus {
    border-color: #fd7b21;
    box-shadow: 0 0 0 4px rgba(253,123,33,0.1);
    transform: translateY(-2px);
}

.festivals-filter-form .btn-primary {
    background: linear-gradient(135deg, #fd7b21 0%, #ffc288 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(253,123,33,0.3);
}

.festivals-filter-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(253,123,33,0.4);
}

/* Loading States */
.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .geodir-category-listing {
        margin-bottom: 20px;
    }
    
    .geodir-category-img {
        height: 180px;
    }
    
    .geodir-category-content {
        padding: 20px;
    }
    
    .geodir-opt-list {
        margin-top: 15px;
    }
    
    .geodir-opt-list ul {
        justify-content: center;
    }
    
    .festivals-search-filter-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .geodir-category-content-title h3 {
        font-size: 16px;
    }
    
    .facilities-list {
        gap: 6px;
    }
    
    .facilities-list li {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .geodir-opt-list li a {
        width: 32px;
        height: 32px;
    }
}
