/* ============================================
   FLEET PAGE - Premium Professional Design
   ============================================ */

/* Hero Section */
.fleet-hero {
    position: relative;
    padding: calc(var(--header-height) + 100px) 0 80px;
    overflow: hidden;
    background: var(--bg-body);
}

.fleet-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.fleet-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--bg-surface) 0%, 
        var(--bg-body) 50%,
        rgba(201, 169, 98, 0.05) 100%
    );
}

.fleet-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(201, 169, 98, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 169, 98, 0.05) 0%, transparent 40%);
}

.fleet-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.fleet-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-muted);
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.fleet-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.fleet-hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 48px;
}

/* Filter Buttons */
.fleet-filter {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    background: var(--bg-surface);
    padding: 8px;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
}

.fleet-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fleet-filter-btn:hover {
    color: var(--text-primary);
    background: var(--bg-surface-elevated);
}

.fleet-filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-surface);
    box-shadow: var(--shadow-sm);
}

.fleet-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: var(--accent-muted);
    color: var(--accent-primary);
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.fleet-filter-btn.active .fleet-filter-count {
    background: var(--accent-primary);
    color: var(--bg-surface);
}

/* Fleet Showcase */
.fleet-showcase {
    padding: 80px 0;
    background: var(--bg-surface);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

@media (max-width: 480px) {
    .fleet-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Vehicle Card */
.fleet-vehicle {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fleet-vehicle.visible {
    opacity: 1;
    transform: translateY(0);
}

.fleet-vehicle-inner {
    background: var(--bg-body);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fleet-vehicle:hover .fleet-vehicle-inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.15);
    border-color: var(--vehicle-color, var(--border-default));
}

/* Vehicle Visual */
.fleet-vehicle-visual {
    position: relative;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fleet-vehicle-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
    /* Elegant radial gradient background */
    background: radial-gradient(
        ellipse 80% 60% at 50% 70%, 
        var(--vehicle-color, var(--accent-primary)) 0%, 
        transparent 70%
    ) !important;
    opacity: 0.15;
}

.fleet-vehicle:hover .fleet-vehicle-bg {
    transform: scale(1.05);
}

.fleet-vehicle-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 100px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Vehicle Image */
.fleet-vehicle-image {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 340px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fleet-vehicle:hover .fleet-vehicle-image {
    transform: scale(1.06) translateY(-6px);
}

.fleet-vehicle-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
    transition: filter 0.4s ease;
}

.fleet-vehicle:hover .fleet-vehicle-image img {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.18));
}

/* Capacity Overlay */
.fleet-vehicle-capacity {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 16px;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

[data-theme="dark"] .fleet-vehicle-capacity {
    background: rgba(30, 30, 30, 0.95);
}

.capacity-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
}

.capacity-item svg {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

.capacity-divider {
    width: 1px;
    height: 16px;
    background: var(--border-default);
}

/* Vehicle Content */
.fleet-vehicle-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fleet-vehicle-name {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.fleet-vehicle-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fleet-vehicle-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.fleet-vehicle-features svg {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .fleet-vehicle-features {
        grid-template-columns: 1fr;
    }
}

/* Vehicle Footer */
.fleet-vehicle-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fleet-vehicle-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-top: 4px;
}

.price-note {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.fleet-vehicle-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--accent-primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.fleet-vehicle-cta:hover {
    background: var(--accent-hover);
    transform: translateX(4px);
    box-shadow: 0 8px 20px -8px var(--accent-primary);
}

.fleet-vehicle-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.fleet-vehicle-cta:hover svg {
    transform: translateX(4px);
}

/* Why Choose Section */
.fleet-why {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
}

.fleet-why-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.fleet-why-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    color: var(--text-primary);
    margin: 16px 0;
}

.fleet-why-header p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.fleet-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .fleet-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .fleet-why-grid {
        grid-template-columns: 1fr;
    }
}

.fleet-why-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
}

.fleet-why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-gold);
}

.fleet-why-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-muted);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.fleet-why-card:hover .fleet-why-icon {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.1);
}

.fleet-why-icon svg {
    width: 28px;
    height: 28px;
}

.fleet-why-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.fleet-why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.fleet-cta-section {
    padding: 100px 0;
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.fleet-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(201, 169, 98, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.fleet-cta-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.fleet-cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.fleet-cta-content p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.fleet-cta-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 16px;
}

.fleet-cta-content .btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.fleet-cta-content .btn:hover svg {
    transform: translateX(4px);
}

/* Dark Mode Adjustments */
[data-theme="dark"] .fleet-vehicle-capacity {
    background: rgba(40, 40, 40, 0.95);
}

[data-theme="dark"] .fleet-vehicle-image img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

[data-theme="dark"] .fleet-vehicle:hover .fleet-vehicle-image img {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35));
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .fleet-hero {
        padding: calc(var(--header-height) + 60px) 0 60px;
    }
    
    .fleet-filter {
        border-radius: 16px;
        padding: 12px;
    }
    
    .fleet-filter-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .fleet-showcase {
        padding: 60px 0;
    }
    
    .fleet-vehicle-visual {
        height: 200px;
    }
    
    .fleet-vehicle-content {
        padding: 20px;
    }
    
    .fleet-vehicle-name {
        font-size: 20px;
    }
    
    .price-value {
        font-size: 24px;
    }
    
    .fleet-vehicle-cta {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .fleet-why {
        padding: 80px 0;
    }
    
    .fleet-why-card {
        padding: 24px;
    }
}

/* Print Styles */
@media print {
    .fleet-hero {
        padding: 40px 0;
    }
    
    .fleet-filter,
    .fleet-vehicle-cta {
        display: none;
    }
    
    .fleet-vehicle-inner {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
