/* ============================================
   GROUP YATRA CAROUSEL STYLES - PROFESSIONAL VERSION
   ============================================ */

.group-yatra-container {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 2rem 0 3rem;
}

.group-yatra-container.active {
    display: block;
    opacity: 1;
}

.group-yatra-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem 1rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 24px;
    color: white;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.3);
}

.group-yatra-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.group-yatra-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 500;
}

/* Carousel Container */
.group-carousel-wrapper {
    position: relative;
    padding: 2rem 0;
    max-width: 100%;
    margin: 0 auto;
}

.group-carousel-container {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    padding: 0 60px;
}

.group-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem 0;
}

/* Package Card - Professional Design */
.group-package-card {
    flex: 0 0 340px;
    min-width: 340px;
    max-width: 340px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    border: 1px solid #e5e7eb;
}

.group-package-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.25);
    border-color: #1e40af;
}

/* Image Section - Clickable */
.group-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    cursor: pointer;
}

.group-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.group-package-card:hover .group-card-image img {
    transform: scale(1.1);
}

/* Badges - More Visible */
.group-badges-top {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    z-index: 3;
}

.badge-hurry,
.badge-filling {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    animation: pulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-hurry {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.badge-filling {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.badge-duration-group {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.98);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    color: #1e40af;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-duration-group i {
    color: #1e40af;
}

/* Content Section */
.group-card-content {
    padding: 1.75rem;
}

.group-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Dates Section - Image Style */
.group-dates-compact {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.dates-header-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #059669;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-item-compact {
    background: white;
    padding: 12px;
    border-radius: 10px;
    border-left: 4px solid #10b981;
    font-size: 13px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.date-item-compact:last-child {
    margin-bottom: 0;
}

.date-text-compact {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.date-text-compact i {
    color: #10b981;
    font-size: 14px;
}

/* Seats Info - Professional Style */
.seats-row-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.seat-badge-compact {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: transform 0.2s ease;
}

.seat-badge-compact:hover {
    transform: translateY(-2px);
}

.seat-badge-compact i {
    font-size: 13px;
    margin-bottom: 2px;
}

.seat-badge-compact.total {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.seat-badge-compact.booked {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.seat-badge-compact.available {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.seat-badge-label {
    font-size: 9px;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.seat-badge-number {
    font-size: 16px;
    font-weight: 900;
}

/* Price Section - Professional */
.group-price-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #3b82f6;
}

.price-label-compact {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-amount-compact {
    font-size: 2rem;
    font-weight: 900;
    color: #10b981;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-person {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

/* Book Button - Professional */
.btn-book-group {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-book-group i {
    font-size: 16px;
}

.btn-book-group:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
    color: white;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.btn-book-group:active {
    transform: translateY(-1px);
}

/* Navigation Arrows - More Visible and Clickable */
.group-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: white;
    border: 3px solid #1e40af;
    border-radius: 50%;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-size: 1.4rem;
    pointer-events: auto;
}

.group-carousel-nav:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.5);
}

.group-carousel-nav:active {
    transform: translateY(-50%) scale(1.05);
}

.group-carousel-nav.prev {
    left: 0;
}

.group-carousel-nav.next {
    right: 0;
}

/* Indicators - Professional */
.group-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2.5rem;
}

.group-indicator {
    width: 45px;
    height: 8px;
    background: #cbd5e1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.group-indicator:hover {
    background: #94a3b8;
}

.group-indicator.active {
    background: #1e40af;
    width: 70px;
    box-shadow: 0 2px 10px rgba(30, 64, 175, 0.4);
}

/* View All Button - Professional */
.view-all-group {
    text-align: center;
    margin-top: 3rem;
}

.btn-view-all-group {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-view-all-group:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4);
    color: white;
}

.btn-view-all-group i:last-child {
    transition: transform 0.3s ease;
}

.btn-view-all-group:hover i:last-child {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 1400px) {
    .group-package-card {
        flex: 0 0 320px;
        min-width: 320px;
        max-width: 320px;
    }
}

@media (max-width: 1200px) {
    .group-package-card {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 300px;
    }
    
    .group-carousel-container {
        padding: 0 50px;
    }
}

@media (max-width: 991px) {
    .group-package-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }
    
    .group-yatra-header h2 {
        font-size: 2rem;
    }
    
    .group-carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .group-package-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }
    
    .group-yatra-header {
        padding: 1.5rem 1rem;
    }
    
    .group-yatra-header h2 {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .group-yatra-header p {
        font-size: 1rem;
    }
    
    .group-carousel-container {
        padding: 0 40px;
    }
    
    .group-carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .group-carousel-track {
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .seat-badge-compact {
        font-size: 10px;
        padding: 6px 8px;
    }
    
    .seat-badge-number {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .group-carousel-container {
        padding: 0 35px;
    }
    
    .group-carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.group-loading {
    text-align: center;
    padding: 4rem;
    color: #64748b;
}

.group-loading i {
    font-size: 3rem;
    animation: spin 1s linear infinite;
    color: #1e40af;
}

.group-loading p {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.group-empty-state {
    text-align: center;
    padding: 4rem;
    color: #64748b;
}

.group-empty-state i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
    color: #94a3b8;
}

.group-empty-state h3 {
    margin-bottom: 0.75rem;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 700;
}

.group-empty-state p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Fix for Service Icon Visibility - CRITICAL FIX */
.service-icon-item[data-service="group-yatra"] .service-icon-box {
    background: white !important;
    border: 2px solid #1e40af;
}

.service-icon-item[data-service="group-yatra"] .service-icon-box i {
    color: #1e40af !important;
    font-size: 1.5rem;
}

.service-icon-item[data-service="group-yatra"]:hover .service-icon-box {
    background: #1e40af !important;
    border-color: #1e40af;
}

.service-icon-item[data-service="group-yatra"]:hover .service-icon-box i {
    color: white !important;
}

.service-icon-item[data-service="group-yatra"].active .service-icon-box {
    background: #1e40af !important;
    border-color: #1e40af;
}

.service-icon-item[data-service="group-yatra"].active .service-icon-box i {
    color: white !important;
}

/* Remove ALL color overrides - let it inherit naturally like other menu items */
.service-icon-item[data-service="group-yatra"] span {
    /* No color specified - will use default like others */
}