.tour-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns for more cards */
    grid-template-rows: auto auto auto auto;
    /* Multiple rows */
    gap: 15px;
    max-width: 100%;
    margin: 50px auto;
    padding: 10px;
}

.tour-container h2 {
    color: #fff;
    background-color: #0000005d;
    padding: 5px;
    border-radius: 10px;
}

/* Style for the cards */
.tour-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff00;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Large card style */
.large {
    grid-column: span 2;
    /* Make some cards span across 2 columns */
    grid-row: span 2;
    /* Make them span across 2 rows for more variety */
}

/* Small card style */
.small {
    grid-column: span 1;
    grid-row: span 1;
}

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

.tour-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.tour-overlay h2 {
    font-size: 22px;
    margin-bottom: 10px;
}
.tour-btn {
    background: #ffcc00;
    color: #000;
    padding: 8px 16px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.tour-btn:hover {
    background: #e6b800;
}
@media (max-width: 768px) {
    .tour-container {
        grid-template-columns: 1fr;
    }

    .large {
        grid-column: span 1;
    }
}