/* Tour Cards Component - Reusable & Responsive */
.tour-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Card Image */
.tour-card-image {
    position: relative;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-card-image img {
    transform: scale(1.05);
}

.tour-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-card:hover .tour-card-overlay {
    opacity: 1;
}

.tour-card-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Card Content */
.tour-card-content {
    padding: 24px;
}

.tour-card-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-card-duration {
    margin-top: 14px;
    background: #C8ECEA;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 12px;
    color: #1E5654;
    display: inline-block;
    position: relative;
    font-weight: 500;
}

.tour-card-duration::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 240px;
    height: 1.5px;
    background-color: #C8ECEA;
}

.tour-card-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Features Grid */
.tour-card-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 10px 0;
    padding: 20px 0;
}

.tour-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tour-feature-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    color: #256097;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
}

.tour-card:hover .tour-feature-icon {
    background: #256097;
    color: white;
    transform: scale(1.05);
}

.tour-feature-label {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
}

/* Pricing */
.tour-card-pricing {
    background: #f8f9fa;
    padding: 16px;
    text-align: center;
    margin: 0 -24px;
    border-top: 1px solid #e9ecef;
}

.tour-price-from {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.tour-price-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.tour-original-price {
    color: #a0aec0;
    font-size: 1rem;
    text-decoration: line-through;
}

.tour-current-price {
    color: #256097;
    font-weight: 700;
    font-size: 1.6rem;
}

.tour-price-note {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Card Actions */
.tour-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 16px 24px;
    margin: 0 -24px -24px;
    flex-wrap: wrap;
}

.tour-action-btn {
    flex: 1;
    background: white;
    border: 1px solid #256097;
    border-radius: 24px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    color: #256097;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
}

.tour-action-btn:hover {
    background: #256097;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 96, 151, 0.3);
}

.tour-action-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    flex-shrink: 0;
}

.tour-action-whatsapp {
    background: #25d366;
}

.tour-action-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.tour-action-call {
    background: #007bff;
}

.tour-action-call:hover {
    background: #0062cc;
    transform: translateY(-2px);
}

/* Compact Layout */
.tour-card-compact {
    display: flex;
    flex-direction: row;
    height: auto;
}

.tour-card-compact .tour-card-image {
    flex: 0 0 200px;
    height: 200px;
}

.tour-card-compact .tour-card-image img {
    height: 100%;
}

.tour-card-compact .tour-card-content {
    flex: 1;
    padding: 20px;
}

.tour-card-compact .tour-card-features {
    grid-template-columns: repeat(2, 1fr);
    padding: 15px 0;
    margin: 5px 0;
}

.tour-card-compact .tour-card-actions {
    margin: 0 -20px -20px;
    padding: 12px 20px;
}

/* Featured Layout */
.tour-card-featured {
    border: 2px solid #256097;
    position: relative;
}

.tour-card-featured::before {
    content: "Featured";
    position: absolute;
    top: 15px;
    right: 15px;
    background: #256097;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tour-card-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .tour-card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .tour-card-content {
        padding: 20px;
    }
    
    .tour-card-actions {
        padding: 12px 20px;
        margin: 0 -20px -20px;
    }
    
    .tour-card-pricing {
        margin: 0 -20px;
        padding: 14px;
    }
    
    .tour-card-compact {
        flex-direction: column;
    }
    
    .tour-card-compact .tour-card-image {
        flex: 0 0 180px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .tour-card {
        margin-bottom: 1.5rem;
    }
    
    .tour-card-title {
        font-size: 1.2rem;
    }
    
    .tour-card-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px 0;
    }
    
    .tour-feature-icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    
    .tour-feature-label {
        font-size: 11px;
    }
    
    .tour-current-price {
        font-size: 1.4rem;
    }
    
    .tour-card-actions {
        gap: 8px;
    }
    
    .tour-action-btn {
        min-width: 100px;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .tour-action-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .tour-card-content {
        padding: 16px;
    }
    
    .tour-card-actions {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 12px 16px;
        margin: 0 -16px -16px;
        gap: 6px;
    }
    
    .tour-action-btn {
        flex: 0 0 calc(50% - 3px);
        min-width: auto;
    }
    
    .tour-action-icon {
        flex: 0 0 calc(25% - 4.5px);
        width: 100%;
        height: 38px;
        border-radius: 20px;
    }
    
    .tour-card-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px 0;
    }
    
    .tour-card-duration::after {
        width: 100px;
    }
    
    .tour-card-compact .tour-card-image {
        flex: 0 0 150px;
    }
}

/* Animation Classes */
.tour-card-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: tourCardFadeIn 0.6s ease forwards;
}

@keyframes tourCardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tour-card-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.tour-card-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.tour-card-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.tour-card-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.tour-card-stagger > *:nth-child(5) { animation-delay: 0.5s; }
.tour-card-stagger > *:nth-child(6) { animation-delay: 0.6s; }