/* ========================================
   TRIP BANNER WITH BREADCRUMB
   ======================================== */

/* Banner Container */
.trip-banner {
    background-image: url('https://pooch-n-peeps.com.au/wp-content/uploads/2025/03/6.3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: creates parallax effect*/
    
    padding: 120px 30px 80px;
    margin: 20px;
    position: absolute;
    color: white;
    top: 0;
    width: 97%;
    left: 0;
    border-radius: 20px;
    min-height: 350px;
}

.page-template-page-trip-calendar .content-area {
    margin-top: 400px !important;
}

.trip-banner-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

/* Breadcrumb */
.trip-breadcrumb {
    margin-bottom: 25px;
}

.breadcrumb-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.breadcrumb-item a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-arrow {
    font-size: 18px;
    font-weight: 300;
}

.breadcrumb-text {
    font-size: 15px;
    font-weight: 500;
}

.breadcrumb-text.current {
    color: white;
    font-weight: 600;
}

/* Banner Title */
.trip-banner-title {
    margin-top: 20px;
}

.banner-title {
    margin: 0 0 15px 0;
    font-size: 48px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.banner-subtitle {
    margin: 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Remove old page-header styles */
.page-header {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .trip-banner {
        padding: 40px 20px 60px;
        margin-bottom: -30px;
    }
    
    .banner-title {
        font-size: 32px;
        letter-spacing: 1px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .breadcrumb-items {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .breadcrumb-text {
        font-size: 14px;
    }
}





/* ========================================
   TRIP CALENDAR STYLES - 4 COLUMN GRID
   ======================================== */

.trip-calendar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.page-header h1 {
    margin: 0 0 10px 0;
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header p {
    margin: 0;
    font-size: 18px;
    opacity: 0.95;
}

/* Search Filters */
.trip-search-filters {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 50px;
    display: none;
}

.filter-row {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
    background: white;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: #667eea;
}

.btn-search {
    width: 100%;
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* ===== TRIPS GRID - FLEXBOX LAYOUT ===== */
.trips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 -10px;
    padding: 10px 0;
}

/* Trip Card */
.trip-card {
    display: inline-block;
    width: 300px;
    vertical-align: top;
    margin: 10px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.trip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Trip Image - Fixed Size */
.trip-card .trip-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.trip-card:hover .trip-image img {
    transform: scale(1.1);
}

/* Day Badge */
.day-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
    z-index: 2;
}

/* Trip Content */
.trip-card .trip-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    min-height: 130px;
}

/* Trip Title - Max 2 Lines */
.trip-card .trip-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em;
    min-height: 2.8em;
}

/* Trip Meta */
.trip-card .trip-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
    display: none;
}

.trip-card .trip-meta .state {
    padding: 5px 10px;
    background: #f0f4ff;
    color: #667eea;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trip-card .trip-meta .price {
    font-size: 15px;
    font-weight: 800;
    color: #ff6b35;
}

/* Trip Actions */
.trip-card .trip-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.trip-card .btn-view-details,
.trip-card .btn-book-now {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-block;
}

.trip-card .btn-view-details {
    background: #f0f4ff;
    color: #667eea;
}

.trip-card .btn-view-details:hover {
    background: #667eea;
    color: white;
}

.trip-card .btn-book-now {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.trip-card .btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* No Trips Message */
.no-trips-message {
    width: 100%;
    text-align: center;
    padding: 80px 30px;
    background: #fff;
    border-radius: 12px;
    color: #666;
    font-size: 18px;
    clear: both;
}

/* Booking Modal */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.booking-modal .modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    line-height: 1;
}

.close-modal:hover {
    color: #333;
}

.booking-modal h2 {
    margin: 0 0 30px 0;
    color: #333;
    font-size: 28px;
    font-weight: 800;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.booking-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.booking-summary h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
    font-weight: 700;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
}

.summary-row.total {
    border-top: 2px solid #ddd;
    padding-top: 20px;
    margin-top: 15px;
    font-weight: 800;
    font-size: 20px;
    color: #ff6b35;
}

.btn-submit-booking {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1400px) {
    .trip-calendar-container {
        max-width: 100%;
    }
}

@media (max-width: 1000px) {
    .trip-card {
        width: calc(50% - 40px);
    }
}

@media (max-width: 600px) {
    .trip-card {
        width: calc(100% - 40px);
    }
    
    .trip-card .trip-actions {
        flex-direction: column;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .booking-modal .modal-content {
        padding: 25px;
    }
}