/* Temizlenmiş ve sadeleştirilmiş grid.css */

/* Grid Layout */
.tour-grid, .modern-tour-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 0;
}
@media (max-width: 1200px) {
    .tour-grid, .modern-tour-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .tour-grid, .modern-tour-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .tour-grid, .modern-tour-grid { grid-template-columns: 1fr; }
}

/* Card */
.tour-item, .modern-tour-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    min-height: 420px;
}
.tour-item:hover, .modern-tour-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
    transform: translateY(-4px) scale(1.01);
}

/* Image */
.tour-image {
    width: 100%;
    height: 180px;
    background: #f7f7f7;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badge */
.modern-badge, .badge-sale, .badge-featured {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ff512f, #dd2476);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 16px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    min-width: 80px;
    text-align: center;
    pointer-events: none;
}
.badge-featured { background: linear-gradient(135deg, #43cea2, #185a9d); }

/* Card Content */
.tour-details {
    padding: 20px 20px 16px 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Location */
.tour-country-city {
    color: #64748b;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tour-country-city i { flex-shrink: 0; }

/* Title */
.tour-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #22223b;
    margin-bottom: 10px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price Box */
.modern-price-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.price-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}
.normal-price {
    color: #e11d48;
    text-decoration: line-through;
    font-size: 15px;
    font-weight: 500;
}
.discounted-price {
    color: #22223b;
    font-size: 18px;
    font-weight: 700;
}

/* Meta: Duration & Group Size aynı satırda ve hizalı */
.tour-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    margin-bottom: 0;
    width: 100%;
}
.tour-duration, .tour-max-people {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 14px;
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 0;
}
.tour-duration i, .tour-max-people i {
    color: #ff512f;
    font-size: 16px;
    flex-shrink: 0;
}

.tour-total-nights {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 14px;
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 0;
}
.tour-total-nights i {
    color: #ff512f;
    font-size: 16px;
    flex-shrink: 0;
}

/* Labels & Types */
.tour-labels, .tour-types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.tour-label, .tour-type-label {
    border-radius: 8px;
    padding: 3px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #3b82f6;
    margin-bottom: 2px;
}
.tour-label.yellow, .tour-type-label.yellow { background: #fbbf24; color: #22223b; }
.tour-label.green, .tour-type-label.green { background: #10b981; }
.tour-label.pink, .tour-type-label.pink { background: #e11d48; }
.tour-label.gray, .tour-type-label.gray { background: #64748b; }

/* Button */
.tour-book-now {
    margin-top: auto;
    padding-top: 16px;
}
.book-now-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 8px 16px;
    border-radius: 8px;
    background: #f8fafc;
}
.book-now-button:hover {
    color: #ff512f;
    background: #f1f5f9;
}

/* View All Button */
.modern-view-all {
    margin-top: 40px;
    text-align: center;
}
.modern-view-all-btn {
    background: linear-gradient(135deg, #ff512f, #dd2476);
    color: #fff;
    border-radius: 12px;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255,81,47,0.15);
}
.modern-view-all-btn:hover {
    background: linear-gradient(135deg, #43cea2, #185a9d);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(67,206,162,0.2);
}

/* Animasyon */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: none; }
}

/* Rating Badge */
.tour-rating-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #f59e0b;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.tour-rating-badge i {
    color: #f59e0b;
    font-size: 14px;
}
