/* Fleet Page Styles */

/* Hero Section */
.fleet-hero {
    background: linear-gradient(135deg, #4285F4 0%, #e8f0fe 50%, #ffffff 100%);
    padding: 200px 0 40px;
    margin-top: -200px;
    margin-bottom: 30px;
}

.fleet-hero h1 {
    color: #1a1a1a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.fleet-hero .subtitle {
    color: #5f6368;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid #4285F4;
    border-radius: 25px;
    background: transparent;
    color: #4285F4;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #e8f0fe;
}

.filter-btn:focus-visible {
    outline: 3px solid #4285F4;
    outline-offset: 2px;
}

.filter-btn.active {
    background: #4285F4;
    color: white;
}

/* Fleet Grid */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0 40px;
}

/* Fleet Card */
.fleet-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.fleet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(66, 133, 244, 0.2);
    text-decoration: none;
    color: inherit;
}

.fleet-card:focus-visible {
    outline: 3px solid #4285F4;
    outline-offset: 2px;
}

/* Card Image */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

.fleet-card:hover .card-image-wrapper img.main-image {
    transform: scale(1.05);
}

/* Card Body */
.fleet-card .card-body {
    padding: 20px;
}

.fleet-card .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

/* Capacity Badge */
.capacity-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f0fe;
    color: #4285F4;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.capacity-badge i {
    font-size: 0.85rem;
}

/* Amenities */
.amenities {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.amenities i {
    color: #5f6368;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.amenities i:hover {
    color: #4285F4;
}

/* Amenity Tooltips (shared with layout.css) */
/* Tooltip styles defined in layout.css */

/* Details Button */
.btn-details {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #4285F4;
    border-radius: 8px;
    color: #4285F4;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background: #4285F4;
    color: white;
    text-decoration: none;
}

/* Filter Animation */
.fleet-card.hiding {
    opacity: 0;
    transform: scale(0.95);
}

.fleet-card.showing {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .fleet-hero {
        margin-top: -120px;  /* Match layout.css mobile body padding */
        padding: 160px 0 30px;  /* Adjust padding to compensate */
    }

    .fleet-hero h1 {
        font-size: 2rem;
    }

    .fleet-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }

}

@media (max-width: 576px) {
    .fleet-hero h1 {
        font-size: 1.75rem;
    }

    .fleet-hero .subtitle {
        font-size: 1rem;
    }

    .fleet-card .card-body {
        padding: 16px;
    }
}
