/* Fleet Page Background */
.fleet {
    background: linear-gradient(180deg, #ffffff 0%, #fff9e6 50%, #fff4b3 100%);
    min-height: 100vh;
}

/* Fleet Hero Section */
.fleet-hero {
    background: linear-gradient(135deg, #6c7b7f, #5a6c75);
    border-radius: 20px;
    margin: 20px auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.fleet-hero-content {
    text-align: center;
    padding: 80px 40px;
    width: 100%;
}

.fleet-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: white;
}

.fleet-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Tabs */
.fleet-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.filter-btn.active {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
    color: #0B2545;
    border-color: #ff2a2a;
    font-weight: 600;
}

/* Fleet Grid */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Vehicle Cards */
.vehicle-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vehicle-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.05);
}

.vehicle-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.category-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.category-badge.suv {
    background: #3498db;
    color: white;
}

.category-badge.sedan {
    background: #f39c12;
    color: white;
}

.category-badge.tempo {
    background: #9b59b6;
    color: white;
}

.category-badge.luxury {
    background: #2c3e50;
    color: white;
}

.category-badge.hatchback {
    background: #e74c3c;
    color: white;
}

.status-badge {
    background: #27ae60;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Vehicle Info */
.vehicle-info {
    padding: 25px;
}

.vehicle-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.vehicle-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    font-size: 14px;
}

.spec i {
    color: #3498db;
    font-size: 16px;
}

.vehicle-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.feature {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.vehicle-pricing {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

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

.price-row span {
    color: #6c757d;
    font-size: 14px;
}

.price-row strong {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 700;
}

.vehicle-card .book-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
    color: #0B2545;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vehicle-card .book-btn:hover {
    background: linear-gradient(135deg, #e6251f, #f1c40f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 42, 42, 0.4);
}

/* Combined Fleet Section */
.combined-fleet-section {
    padding: 60px 0;
    margin-top: 40px;
}

.combined-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Fleet CTA Content (Left Side) */
.fleet-cta-content {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    padding: 40px;
}

.fleet-cta-content h2 {
    font-size: 32px;
    color: #0B2545;
    margin: 0 0 16px 0;
    font-weight: 700;
}

.fleet-cta-content p {
    font-size: 16px;
    color: #6c757d;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.available-types {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.car-type {
    background: #fff;
    color: #0B2545;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
    color: #0B2545;
    border: 1px solid #ff2a2a;
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #e6251f, #f1c40f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 42, 42, 0.4);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: #0B2545;
    border: 2px solid #0B2545;
}

.cta-buttons .btn-outline:hover {
    background: #0B2545;
    color: white;
}

/* Why Choose Content (Right Side) */
.why-choose-content {
    background: linear-gradient(135deg, #1e3a5f, #0B2545);
    border-radius: 20px;
    padding: 40px;
    color: white;
}

.why-choose-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: white;
    text-align: center;
}

.fleet-features-side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.fleet-features-side .fleet-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
}

.fleet-features-side .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    box-shadow: 0 6px 16px rgba(255, 42, 42, 0.3);
    flex-shrink: 0;
}

.fleet-features-side .feature-icon i {
    font-size: 24px;
    color: #0B2545;
}

.feature-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: white;
}

.feature-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .combined-content {
        gap: 40px;
    }
    
    .fleet-cta-content, .why-choose-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .fleet-hero {
        display: none;
    }
    
    .fleet-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .fleet-filters {
        display: none;
    }
    
    .vehicle-card .book-btn {
        background: linear-gradient(135deg, #ff4444 0%, #ffaa00 50%, #ffd700 100%) !important;
        color: #fff !important;
        border: 1px solid #e1c200 !important;
        padding: 16px 18px !important;
        border-radius: 14px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
        box-shadow: 0 3px 0 #cc4f26 !important;
        transition: .15s box-shadow,.12s transform,.2s background,.2s color !important;
        text-decoration: none !important;
        display: inline-block !important;
        text-align: center !important;
        min-height: 56px !important;
    }
    
    .vehicle-card .book-btn:hover {
        background: linear-gradient(135deg, #ff5555 0%, #ffbb11 50%, #ffe15a 100%) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 8px rgba(255,68,68,0.3) !important;
        color: #fff !important;
    }
    
    .vehicle-card .book-btn:active {
        transform: translateY(2px) !important;
        box-shadow: 0 1px 0 #cc4f26, inset 0 2px 6px rgba(0,0,0,.12) !important;
    }
    
    .vehicle-specs {
        flex-direction: column;
        gap: 10px;
    }
    
    .combined-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .fleet-cta-content, .why-choose-content {
        padding: 25px;
    }
    
    .fleet-cta-content h2, .why-choose-content h2 {
        font-size: 24px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .fleet-features-side .fleet-feature {
        gap: 15px;
    }
    
    .fleet-features-side .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .fleet-features-side .feature-icon i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .fleet-hero-content {
        padding: 40px 15px;
    }
    
    .fleet-hero h1 {
        font-size: 32px;
        margin: 0 0 5px 0;
    }
    
    .fleet-hero p {
        font-size: 11px;
        white-space: nowrap;
        overflow: visible;
    }
}

@media (max-width: 375px) {
    .fleet-hero-content {
        padding: 35px 12px;
    }
    
    .fleet-hero h1 {
        font-size: 28px;
        margin: 0 0 3px 0;
    }
    
    .fleet-hero p {
        font-size: 10px;
        white-space: nowrap;
        overflow: visible;
    }
}

/* Price Container and Onwards Tag */
.price-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.onwards-tag {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0B2545;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(255, 165, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
    .onwards-tag {
        font-size: 9px;
        padding: 1px 4px;
    }
}

/* Vehicle Actions and Contact Buttons */
.vehicle-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.book-btn {
    text-align: center;
    justify-content: center;
}

.contact-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.whatsapp-btn, .call-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: 1px solid #25D366;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.call-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0B2545;
    border: 1px solid #FFD700;
}

.call-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.whatsapp-btn i, .call-btn i {
    font-size: 16px;
}

/* Responsive Design for Contact Buttons */
@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }
    
    .whatsapp-btn, .call-btn {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
        flex: none;
        justify-content: center;
        box-sizing: border-box;
    }

    .vehicle-actions {
        gap: 10px;
    }
}

/* Fleet page: compact two-buttons row on mobile */
@media (max-width: 768px) {
    .fleet .contact-buttons {
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }
    
    .fleet .whatsapp-btn, .fleet .call-btn {
        padding: 8px 12px;
        font-size: 12px;
        width: auto;
        flex: 1 1 0%;
        min-height: 40px;
    }

    /* Adjust floating popups position/sizing on fleet page to avoid content overlap */
    .fleet .floating-buttons { 
        top: 62%;
    }
    .fleet .floating-buttons .floating-btn {
        width: 48px;
        height: 48px;
    }
    .fleet .call-btn.floating-btn { 
        left: 12px;
    }
    .fleet .floating-btn.whatsapp-btn { 
        top: 62% !important;
        right: 12px;
        width: 48px;
        height: 48px;
    }
}

