﻿/* Color Palette Variables */
:root {
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --emerald-500: #10b981;
}

/* Base Card Container */
.transport-card {
/*    max-width: 380px;*/
    width: 100%;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--slate-100);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .transport-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    }

/* Image & Badge Wrapper */
.t-card-hero {
    position: relative;
    height: 192px;
    width: 100%;
    background-color: var(--slate-100);
}

.t-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-badge-group {
    position: absolute;
    top: 12px;
    display: flex;
    gap: 8px;
}

.t-top-left {
    left: 12px;
}

.t-top-right {
    right: 12px;
}

.t-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.t-badge-light {
    background-color:aliceblue;
    opacity: 90%;
    backdrop-filter: blur(4px);
    color: darkblue;
}

.t-badge-success {
    background-color: var(--emerald-500);
    opacity: 80%;
    color: #ffffff;
}

/* Content Body Styling */
.t-card-body {
    padding: 16px 20px;
    flex-grow: 1;
}

.t-category-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amber-600);
    margin: 0 0 4px 0;
}

.t-vehicle-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--slate-800);
    margin: 0 0 12px 0;
}

/* Amenities Icons Style */
.t-amenities-row {
    display: flex;
    gap: 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--slate-500);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--slate-100);
    margin-bottom: 16px;
}

.t-routes-list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t-list-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-400);
}

/* Scroll Area: Restricts max height to fit ~4 items beautifully before scrolling */
.t-routes-scroll-area {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Individual Route Row Design */
.t-route-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--slate-50);
    border: 1px solid rgba(226, 232, 240, 0.6);
    padding: 10px 14px;
    border-radius: 10px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

    .t-route-item:hover {
        background-color: #ffffff;
        border-color: var(--amber-500);
    }

.t-route-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-800);
    padding-right: 12px;
    line-height: 1.3;
}

.t-route-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--slate-900);
    white-space: nowrap;
}

/* Custom Styled Scrollbar For Clean Desktop Scanning */
.t-routes-scroll-area::-webkit-scrollbar {
    width: 5px;
}

.t-routes-scroll-area::-webkit-scrollbar-track {
    background: var(--slate-50);
    border-radius: 9999px;
}

.t-routes-scroll-area::-webkit-scrollbar-thumb {
    background: var(--slate-200);
    border-radius: 9999px;
}

    .t-routes-scroll-area::-webkit-scrollbar-thumb:hover {
        background: var(--slate-400);
    }





/* Footer Section Styling */
.t-card-footer {
    padding: 12px 20px 20px 20px;
    background-color: rgba(248, 250, 252, 0.5);
    border-top: 1px solid var(--slate-50);
}

.t-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}

.t-price-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-400);
}

.t-price-wrapper {
    text-align: right;
}

.t-price-currency {
    font-size: 14px;
    font-weight: 700;
    color: var(--slate-900);
    margin-right: 2px;
}

.t-price-amount {
    font-size: 24px;
    font-weight: 900;
    color: var(--slate-900);
}

.t-price-subtext {
    font-size: 10px;
    font-weight: 500;
    color: var(--slate-400);
    margin: -2px 0 0 0;
}

/* Primary Booking Call-To-Action Button */
.t-btn-reserve {
    width: 100%;
    background-color: var(--amber-500);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.15);
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

    .t-btn-reserve:hover {
        background-color: var(--amber-600);
        box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.25);
    }

    .t-btn-reserve:active {
        transform: scale(0.99);
    }
