/* Modern Tour Card Styles - Clean & Professional */
:root {
    --card-radius: 12px;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --card-shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-price: #1a1a1a;
    --accent: #0031bc;
    --bg-card: #ffffff;
    --bg-tag: rgba(0,49,188,0.9);
    --bg-promo: rgba(193,39,45,0.9);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Section Wrapper - spacing from hero */
.tour-section {
    padding-top: 48px;
    padding-bottom: 48px;
    min-height: 60vh;
}

/* Section Title */
.tour-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    letter-spacing: 0.3px;
}

/* Grid Layout */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 0;
}

/* Tablet landscape */
@media (max-width: 1199px) {
    .tour-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .tour-card__title { font-size: 14px; }
    .tour-card__price-value { font-size: 18px; }
}

/* Tablet portrait */
@media (max-width: 991px) {
    .tour-section { padding-top: 36px; padding-bottom: 36px; }
    .tour-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Large phone */
@media (max-width: 767px) {
    .tour-section { padding-top: 28px; padding-bottom: 28px; }
    .tour-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .tour-card__body { padding: 12px 14px 16px; }
    .tour-card__title { font-size: 13px; min-height: 38px; }
    .tour-card__meta { font-size: 11px; margin-bottom: 8px; }
    .tour-card__price-value { font-size: 16px; }
    .tour-card__price-label { font-size: 10px; }
    .tour-card__price-suffix { font-size: 10px; }
    .tour-card__footer { gap: 6px; }
    .tour-card__cta { padding: 6px 10px; font-size: 11px; }
}

/* Small phone */
@media (max-width: 479px) {
    .tour-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .tour-card__body { padding: 14px 16px 18px; }
    .tour-card__title { font-size: 15px; min-height: auto; }
    .tour-card__price-value { font-size: 18px; }
    .tour-card__cta { padding: 8px 20px; font-size: 13px; }
}

/* Card */
.tour-card {
    background: var(--bg-card);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.tour-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-3px);
}

/* Image */
.tour-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.tour-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.tour-card:hover .tour-card__image img {
    transform: scale(1.04);
}

/* Overlay gradient for readability */
.tour-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.25));
    pointer-events: none;
}

/* Tags */
.tour-card__tag {
    position: absolute;
    z-index: 2;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
}

.tour-card__tag--promo {
    top: 12px;
    left: 12px;
    background: var(--bg-promo);
}

.tour-card__tag--guarantee {
    bottom: 12px;
    left: 12px;
    background: var(--bg-tag);
}

/* Body */
.tour-card__body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tour-card__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-primary);
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.tour-card__title a {
    color: inherit;
    text-decoration: none;
}

.tour-card__title a:hover {
    color: var(--accent);
}

.tour-card__meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* Price & CTA row */
.tour-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.tour-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 0 3px;
    white-space: nowrap;
}

.tour-card__price-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 400;
}

.tour-card__price-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-price);
    line-height: 1.2;
}

.tour-card__price-suffix {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 2px;
}

.tour-card__price--soldout .tour-card__price-value {
    font-size: 14px;
    color: var(--text-secondary);
}

/* CTA Button */
.tour-card__cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: background var(--transition), box-shadow var(--transition);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.tour-card__cta:hover {
    background: #0028a0;
    box-shadow: 0 2px 8px rgba(0,49,188,0.3);
    color: #fff;
    text-decoration: none;
}

/* On-sale style */
.tour-card__price--onsale .tour-card__price-value {
    color: var(--bg-promo);
    font-size: 14px;
    font-weight: 600;
}
