/* Popular Tours Section */
.popular-tours {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.popular-tours::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e52d27, transparent);
}

.tours-widget {
    margin-top: 40px;
    animation: fadeInUp 0.6s ease;
}

/* Bokun Widget Styling Override */
.bokunWidget {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 20px;
}

/* Custom styling for when the widget loads */
.tours-widget iframe {
    border-radius: 10px;
    border: none;
    width: 100%;
    min-height: 400px;
}

/* Loading state */
.tours-widget::before {

    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #666;
    font-size: 1.1rem;
}

.tours-widget .bokunWidget {
    position: relative;
    z-index: 1;
}

/* Tour cards enhancement (if widget supports custom styling) */
.tour-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tour-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.05);
}

.tour-price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e52d27, #ff6b47);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.tour-content {
    padding: 25px;
}

.tour-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tour-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tour-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tour-duration {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.tour-duration i {
    color: #e52d27;
    margin-right: 5px;
}

.tour-rating {
    display: flex;
    align-items: center;
    color: #ffc107;
}

.tour-rating span {
    color: #666;
    margin-left: 5px;
    font-size: 0.9rem;
}

.book-now-btn {
    background: linear-gradient(135deg, #e52d27, #ff6b47);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    width: 100%;
    text-align: center;
}

.book-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 45, 39, 0.3);
}

/* Grid layout for tour cards */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .popular-tours {
        padding: 60px 0;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tour-content {
        padding: 20px;
    }
    
    .tour-title {
        font-size: 1.2rem;
    }
}
