/*
Theme Name: GeneratePress Child
Template: generatepress
*/

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.tour-card {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.tour-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.tour-card .price {
    font-weight: bold;
    color: #2a9d8f;
    font-size: 1.2em;
}

.tour-button {
    display: inline-block;
    background-color: #2a9d8f; /* Green color - change as needed */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.tour-button:hover {
    background-color: #21867a; /* Darker shade for hover */
}

/* Adjust card layout to accommodate button */
.tour-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-card p {
    flex-grow: 1; /* Pushes button to bottom */
}

/* Card Layout */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.tour-card {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.tour-image {
    height: 200px;
    overflow: hidden;
}

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

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

.tour-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-title {
    margin: 0 0 10px 0;
    color: #2a9d8f;
    font-size: 1.4em;
}

/* Meta Information */
.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #5f6d7a;
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-meta i {
    font-size: 0.9em;
    color: #2a9d8f;
}

.tour-price {
    font-weight: bold;
    color: #2a9d8f !important;
}

/* Categories */
.tour-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tour-category-tag {
    background: #f0f7f6;
    color: #2a9d8f;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

/* Description */
.tour-description {
    margin-bottom: 20px;
    color: #5f6d7a;
    line-height: 1.5;
    flex-grow: 1;
}

/* Button */
.tour-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #2a9d8f;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: auto;
    transition: background-color 0.3s ease;
    text-align: center;
}

.tour-button:hover {
    background-color: #21867a;
}

.tour-button i {
    font-size: 0.9em;
}

/* Filter Container */
.tour-filters-container {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tour-filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Search Box */
.tour-search {
    grid-column: 1 / -1;
}

.tour-search input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* Price Filter */
.price-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-filter input[type="range"] {
    width: 100%;
}

/* Region Filter */
.region-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.region-filter select {
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: white;
}

/* Category Filters */
.category-filters {
    grid-column: 1 / -1;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.category-filter {
    background: #f0f0f0;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-filter.active {
    background: #2a9d8f;
    color: white;
}

/* Filter Actions */
.filter-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-button {
    background: #2a9d8f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.reset-filters {
    color: #666;
    text-decoration: underline;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
    grid-column: 1 / -1;
}