/* ======================================
   QuickSilver Tours - Price List Styles
   ====================================== */

/* Container */
.qs-price-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.qs-price-list-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: 600;
}

/* Table Style */
.qs-price-table-container {
    margin-bottom: 40px;
}

.qs-service-section {
    margin-bottom: 50px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.qs-service-title {
    background: linear-gradient(135deg, #ED1D24, #c41e3a);
    color: white;
    margin: 0;
    padding: 20px 25px;
    font-size: 1.4em;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qs-service-title-text {
    margin: 0;
    flex: 1;
}

.qs-book-now-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 20px;
}

.qs-book-now-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.qs-table-responsive {
    overflow-x: auto;
}

.qs-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.qs-price-table thead th {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 10;
}

.qs-price-table thead th small {
    display: block;
    font-weight: 400;
    color: #6c757d;
    margin-top: 3px;
}

.qs-price-table tbody td {
    padding: 15px 12px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.qs-price-table tbody tr:hover {
    background-color: #f8f9fa;
}

.destination-col {
    width: 35%;
    min-width: 200px;
}

.vehicle-col {
    width: 21.67%;
    min-width: 140px;
}

.destination-name {
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
}

.price-cell {
    font-size: 13px;
}

.price-one-way, .price-round-trip {
    margin-bottom: 5px;
    line-height: 1.3;
}

.price-one-way strong, .price-round-trip strong {
    color: #ED1D24;
    font-weight: 600;
}

.price-na {
    color: #6c757d;
    font-style: italic;
}

.price-quote {
    color: #f39c12;
    font-weight: 500;
    font-style: italic;
}

/* Cards Style */
.qs-price-cards-container {
    display: grid;
    gap: 30px;
}

.qs-service-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.qs-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 25px;
}

.qs-vehicle-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #ED1D24;
}

.qs-vehicle-title {
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-size: 1.2em;
    font-weight: 600;
}

.qs-vehicle-capacity {
    color: #6c757d;
    margin: 0 0 15px 0;
    font-size: 0.9em;
}

.qs-destinations {
    display: grid;
    gap: 12px;
}

.qs-destination-item {
    background: #ffffff;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.destination-name {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 6px;
}

.price-detail {
    font-size: 0.9em;
    color: #495057;
}

.price-detail:last-child {
    margin-bottom: 0;
}

/* Additional Fees Section */
.qs-additional-fees {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    border-left: 5px solid #ED1D24;
}

.qs-additional-fees h3 {
    color: #2c3e50;
    margin: 0 0 25px 0;
    font-size: 1.4em;
    font-weight: 600;
}

.qs-fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    justify-content: center;
}

.qs-fee-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.qs-fee-item h4 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.qs-fee-item p {
    margin: 0 0 8px 0;
    line-height: 1.5;
    color: #495057;
}

.qs-fee-item strong {
    color: #ED1D24;
    font-weight: 600;
}

.qs-fee-item small {
    color: #6c757d;
    font-size: 0.85em;
    line-height: 1.4;
    display: block;
    margin-top: 5px;
}

/* Three-Way Section Specific */
.qs-three-way-section {
    border-left: 5px solid #17a2b8;
}

.qs-three-way-section .qs-service-title {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.qs-three-way-section .qs-book-now-btn {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.qs-three-way-section .qs-book-now-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.route-description {
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
    font-size: 0.95em;
}

.price-three-way {
    color: #17a2b8;
    font-weight: 600;
    font-size: 1.1em;
}

.price-three-way strong {
    color: #17a2b8;
}

/* Three-Way Cards */
.qs-three-way-card {
    border-left: 5px solid #17a2b8;
}

.qs-three-way-card .qs-service-title {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.qs-three-way-card .qs-book-now-btn {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.qs-three-way-card .qs-book-now-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.qs-route-item {
    border-left: 3px solid #17a2b8;
}

.qs-route-item .route-description {
    font-size: 0.9em;
    margin-bottom: 8px;
}

.qs-route-item .price-three-way {
    font-size: 1.1em;
}

/* Notes Section */
.qs-price-list-notes {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.qs-price-list-notes h3 {
    color: #856404;
    margin: 0 0 15px 0;
    font-size: 1.2em;
    font-weight: 600;
}

.qs-price-list-notes ul {
    margin: 0;
    padding-left: 20px;
    color: #856404;
}

.qs-price-list-notes li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.qs-price-list-notes strong {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .qs-price-list-container {
        padding: 15px;
    }
    
    .qs-price-list-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    
    .qs-service-title {
        padding: 15px 20px;
        font-size: 1.2em;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .qs-service-title-text {
        margin-bottom: 0;
    }
    
    .qs-book-now-btn {
        margin-left: 0;
        align-self: flex-end;
        font-size: 0.75em;
        padding: 8px 16px;
    }
    
    .qs-price-table {
        font-size: 12px;
    }
    
    .qs-price-table thead th,
    .qs-price-table tbody td {
        padding: 10px 8px;
    }
    
    .destination-col {
        min-width: 150px;
    }
    
    .vehicle-col {
        min-width: 120px;
    }
    
    .qs-vehicles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .qs-fees-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .qs-additional-fees {
        padding: 20px;
    }
    
    .qs-price-list-notes {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .qs-service-title {
        padding: 12px 15px;
        font-size: 1.1em;
    }
    
    .qs-book-now-btn {
        font-size: 0.7em;
        padding: 6px 12px;
    }
    
    .qs-price-table thead th,
    .qs-price-table tbody td {
        padding: 8px 6px;
    }
    
    .qs-price-table {
        font-size: 11px;
    }
    
    .destination-col {
        min-width: 120px;
    }
    
    .vehicle-col {
        min-width: 100px;
    }
}

/* Print Styles */
@media print {
    .qs-price-list-container {
        box-shadow: none;
        padding: 0;
    }
    
    .qs-service-section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
        margin-bottom: 30px;
    }
    
    .qs-service-title {
        background: #f5f5f5 !important;
        color: #333 !important;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .qs-book-now-btn {
        display: none;
    }
    
    .qs-price-table tbody tr:hover {
        background-color: transparent;
    }
}
