/*
 * excursions-index.css
 * Extracted from pages/excursions/index.php (Wave 16)
 * Pure CSS — no PHP coupling.
 */

        .excursion-card {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: none;
            border-radius: 20px;
            overflow: hidden;
            height: 100%;
            background: white;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            position: relative;
        }
        
        .excursion-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0,123,255,0.05) 0%, rgba(40,167,69,0.05) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1;
        }
        
        .excursion-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .excursion-card:hover::before {
            opacity: 1;
        }
        
        .excursion-card .card-body {
            position: relative;
            z-index: 2;
        }
        
        .excursion-image {
            height: 250px;
            object-fit: cover;
            width: 100%;
            display: block;
            transition: transform 0.35s ease;
        }
        
        /* Make image link appear natural */
        a:hover .excursion-image {
            transform: scale(1.03);
        }
        
        /* Ensure image link is above badges */
        .position-relative a {
            z-index: 5;
            position: relative;
            display: block;
            overflow: hidden;
        }

        /* MARKETPLACE BADGE */
        .tenant-badge {
            position: absolute;
            bottom: 15px;
            left: 15px;
            background: rgba(255, 255, 255, 0.9);
            color: #333;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 10;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .tenant-badge i { color: #0d6efd; }
        
        .price-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: white;
            color: #333;
            padding: 12px 18px;
            border-radius: 30px;
            font-weight: bold;
            font-size: 0.9rem;
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
            z-index: 10;
            pointer-events: none;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .price-original {
            color: #dc3545;
            text-decoration: line-through;
            font-size: 0.85rem;
            font-weight: normal;
        }
        
        .price-discounted {
            color: #007bff;
            font-size: 1.1rem;
            font-weight: bold;
        }
        
        .duration-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(0,0,0,0.8);
            color: white;
            padding: 8px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            z-index: 10;
            pointer-events: none;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.1);
        }
        
        .category-badge {
            background: linear-gradient(135deg, #007bff, #0056b3);
            color: white;
            padding: 3px 7px;
            border-radius: 25px;
            font-size: 9px;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 15px;
            box-shadow: 0 3px 10px rgba(0,123,255,0.3);
            transition: all 0.3s ease;
        }
        
        .category-badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,123,255,0.4);
        }

        /* Discount Badge Styles */
        .discount-badge {
            position: absolute;
            top: -2px;
            right: 15px;
            background: #dc3545;
            color: white;
            padding: 8px 6px 9px;
            font-weight: bold;
            z-index: 4;
            box-shadow: 0 4px 12px rgba(220, 53, 69, 0.6);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            line-height: 1.2;
            min-width: 80px;
            clip-path: polygon(0 0, 100% 0, 100% 75%, 90% 100%, 10% 100%, 0 75%);
            transform: rotate(0deg);
        }

        .discount-badge::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%);
            pointer-events: none;
            border-radius: 0;
        }

        .discount-badge::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid #b91c2c;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
        }

        .discount-badge-label {
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 3px;
            position: relative;
            z-index: 1;
        }

        .discount-badge-value {
            font-size: 1.4rem;
            font-weight: 900;
            line-height: 1;
            position: relative;
            z-index: 1;
        }
        
        /* Rating Display Styles */
        .rating-display {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .rating-number {
            font-size: 1.1rem;
            font-weight: 600;
            color: #000;
        }
        
        .rating-stars {
            display: flex;
            gap: 2px;
        }
        
        .rating-stars .fa-star {
            color: #ffc107;
            font-size: 0.9rem;
        }
        
        .rating-stars .fa-star.empty {
            color: #e0e0e0;
        }
        
        /* Ensure stars are always visible */
        .rating-stars i {
            display: inline-block;
        }
        
        .hero-section {
            background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #28a745 100%);
            color: white;
            padding: 120px 0 80px;
            margin-bottom: 0;
            position: relative;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        .hero-section .container {
            position: relative;
            z-index: 3;
        }
     
        
        .hero-stats {
            margin-top: 30px;
        }
        
        .stat-item {
            padding: 15px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: transform 0.3s ease;
        }
        
        .stat-item:hover {
            transform: translateY(-5px);
        }
        
        .hero-image-container {
            position: relative;
            display: inline-block;
        }
        
        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }
        
        .floating-element-1, .floating-element-2, .floating-element-3 {
            position: absolute;
            color: rgba(255, 255, 255, 0.6);
            animation: float 3s ease-in-out infinite;
        }
        
        .floating-element-1 {
            top: 20%;
            right: 10%;
            animation-delay: 0s;
        }
        
        .floating-element-2 {
            bottom: 30%;
            left: 5%;
            animation-delay: 1s;
        }
        
        .floating-element-3 {
            top: 60%;
            right: 20%;
            animation-delay: 2s;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }
        
        .animate-fade-in {
            animation: fadeIn 1s ease-out;
        }
        
        .animate-fade-in-delay {
            animation: fadeIn 1s ease-out 0.3s both;
        }
        
        .animate-fade-in-delay-2 {
            animation: fadeIn 1s ease-out 0.6s both;
        }
        
        .animate-float {
            animation: float 3s ease-in-out infinite;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .action-buttons .btn {
            border-radius: 25px;
            padding: 12px 24px;
            font-weight: 600;
            margin: 2px;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
        }
        
        .action-buttons .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }
        
        .action-buttons .btn:hover::before {
            left: 100%;
        }
        
        .action-buttons .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        
        .contact-buttons {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid #e9ecef;
            flex-wrap: wrap;
        }
        
        .contact-btn {
            min-width: 140px;
            height: 45px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #333;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            background: white;
            padding: 8px 16px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 2px solid;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .contact-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        
        .contact-btn i {
            margin-right: 8px;
            font-size: 1.2rem;
        }
        
        .whatsapp-btn { 
            border-color: #25D366;
            color: #25D366;
        }
        .whatsapp-btn:hover {
            background-color: #25D366;
            color: white;
        }
        
        .viber-btn { 
            border-color: #665CAC;
            color: #665CAC;
        }
        .viber-btn:hover {
            background-color: #665CAC;
            color: white;
        }
        
        .telegram-btn { 
            border-color: #0088cc;
            color: #0088cc;
        }
        .telegram-btn:hover {
            background-color: #0088cc;
            color: white;
        }
        
        .booking-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 80px 0;
            position: relative;
        }
        
        .booking-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="booking-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="%23007bff" opacity="0.1"/><circle cx="0" cy="0" r="1" fill="%2328a745" opacity="0.1"/><circle cx="40" cy="40" r="1" fill="%23ffc107" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23booking-pattern)"/></svg>');
            opacity: 0.3;
        }
        
        .booking-form {
            background: white;
            border-radius: 25px;
            padding: 50px;
            margin: 0;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            position: relative;
            z-index: 2;
            border: 1px solid rgba(0,123,255,0.1);
        }
        
        .booking-form::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0,123,255,0.02) 0%, rgba(40,167,69,0.02) 100%);
            border-radius: 25px;
            z-index: -1;
        }
        
        .form-control, .form-select {
            border-radius: 15px;
            border: 2px solid #e9ecef;
            padding: 15px 20px;
            transition: all 0.3s ease;
            background: #fafbfc;
            font-size: 0.95rem;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: #007bff;
            box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
            background: white;
            transform: translateY(-2px);
        }
        
        .form-label {
            font-weight: 600;
            color: #495057;
            margin-bottom: 8px;
            font-size: 0.9rem;
        }
        
        .form-label i {
            color: #007bff;
        }
        
        .btn-lg {
            padding: 15px 40px;
            font-size: 1.1rem;
            border-radius: 30px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .btn-lg:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0,123,255,0.3);
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-section {
                padding: 80px 0 60px;
            }
            
            .hero-section h1 {
                font-size: 2.5rem;
            }
            
            .filter-section {
                padding: 30px 0;
            }
            
            .booking-form {
                padding: 30px 20px;
                margin: 20px 10px;
            }
            
            .excursion-card {
                margin-bottom: 20px;
            }
            
            .contact-buttons {
                gap: 8px;
                flex-direction: column;
                align-items: center;
            }
            
            .contact-btn {
                width: 100%;
                max-width: 180px;
                height: 50px;
                font-size: 0.85rem;
            }
        }
        
        @media (max-width: 576px) {
            .hero-stats .col-4 {
                margin-bottom: 15px;
            }
            
            .filter-actions {
                flex-direction: column;
            }
            
            .filter-btn {
                width: 100%;
                margin-bottom: 10px;
            }
        }
        
        .discount-badge {
            position: absolute;
            top: -2px;
            right: 15px;
            background: #dc3545;
            color: white;
            padding: 8px 6px 9px;
            font-weight: bold;
            z-index: 10;
            pointer-events: none;
            box-shadow: 0 4px 12px rgba(220, 53, 69, 0.6);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            line-height: 1.2;
            min-width: 80px;
            clip-path: polygon(0 0, 100% 0, 100% 75%, 90% 100%, 10% 100%, 0 75%);
            transform: rotate(0deg);
        }
        
        .discount-badge::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%);
            pointer-events: none;
            border-radius: 0;
        }
        
        .discount-badge::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid #b91c2c;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
        }
        
        .discount-badge-label {
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 3px;
            position: relative;
            z-index: 1;
        }
        
        .discount-badge-value {
            font-size: 21px;
            font-weight: 300;
            line-height: 1;
            position: relative;
            z-index: 1;
        }
        
        .discount-badge i {
            display: none;
        }
        
        .featured-badge {
            position: absolute;
            top: 60px;
            right: 15px;
            background: linear-gradient(45deg, #ffc107, #ff8c00);
            color: white;
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: bold;
            z-index: 10;
            pointer-events: none;
        }
        
        .filter-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 50px 0;
            margin-bottom: 0;
            position: relative;
        }
        
        .filter-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23007bff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
            opacity: 0.5;
        }
        
        .filter-header h3 {
            color: #2c3e50;
            margin-bottom: 10px;
        }
        
        .filter-form {
            position: relative;
            z-index: 2;
        }
        
        .filter-group {
            margin-bottom: 20px;
        }
        
        .filter-label {
            display: block;
            font-weight: 600;
            color: #495057;
            margin-bottom: 8px;
            font-size: 0.9rem;
        }
        
        .filter-input, .filter-select {
            border: 2px solid #e9ecef;
            border-radius: 12px;
            padding: 12px 15px;
            transition: all 0.3s ease;
            background: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .filter-input:focus, .filter-select:focus {
            border-color: #007bff;
            box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
            transform: translateY(-2px);
        }
        
        .filter-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .filter-btn {
            border-radius: 10px;
            padding: 10px 20px;
            font-weight: 600;
            transition: all 0.3s ease;
            min-width: 100px;
        }
        
        .filter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        
        .results-count {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 20px;
        }
        
        .no-results {
            text-align: center;
            padding: 60px 20px;
            color: #6c757d;
        }
        
        .no-results i {
            font-size: 4rem;
            margin-bottom: 20px;
            opacity: 0.5;
        }
        
        .debug-info {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 5px;
            padding: 10px;
            margin: 10px 0;
            font-size: 0.8rem;
            white-space: pre-wrap;
        }

        .custom-details-btn {
            background-color: #0d6efd !important;
            border-color: #0d6efd !important;
            color: white !important;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .custom-details-btn:hover {
            background-color: #0b5ed7 !important;
            border-color: #0a58ca !important;
            color: white !important;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(13, 110, 253, 0.3);
        }


