:root{
	--brand:#dc3545;
	--brand-dark:#b02a37;
	--bg-grad-from:#fff5f5;
	--bg-grad-to:#ffffff;
}

body{ 
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; 
}

.navbar-brand strong{ color:#222; }
.navbar-brand .badge{ font-size: .9rem; }

.btn-danger{ background-color: var(--brand); border-color: var(--brand); }
.btn-danger:hover{ background-color: var(--brand-dark); border-color: var(--brand-dark); }

.bg-gradient-red{ background: linear-gradient(180deg, var(--bg-grad-from), var(--bg-grad-to)); }
.hero .card{ border-radius: .9rem; }
.glass{ background: rgba(255,255,255,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.filters{ position: sticky; top: 0; z-index: 5; }
.filters .form-select, .filters .form-range, .filters .form-control{ border-radius: .6rem; }

.fleet .card{ transition: transform .2s ease, box-shadow .2s ease; border-radius: .9rem; }
.fleet .card:hover{ transform: translateY(-4px); box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.1); }

.card-img-fixed{ height: 180px; object-fit: cover; }

.badge-feature{ background:#f8d7da; color:#842029; }

.price-pill{ background:#fff5f5; border:1px solid #ffd7d7; color: var(--brand-dark); padding:.25rem .5rem; border-radius:999px; }

footer h6, footer h5{ color:#222; }
footer a:hover{ color: var(--brand-dark) !important; }

/* Hero Section Enhancements */
.hero-section {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-content, .hero-image {
    position: relative;
    z-index: 2;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Service Items */
.service-item {
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 2rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    /* Navigation */
    .navbar-brand img {
        height: 40px !important;
    }
    
    .navbar-collapse {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }
    
    /* Cards */
    .card-img-fixed {
        height: 200px;
    }
    
    /* Fleet Grid */
    .fleet .card {
        margin-bottom: 1rem;
    }
    
    /* Service Section */
    .service-item {
        margin-bottom: 2rem;
    }
    
    .service-item h5 {
        font-size: 1.1rem;
    }
    
    .service-item p {
        font-size: 0.9rem;
    }
    
    /* Forms */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-lg {
        max-width: calc(100% - 1rem);
    }
    
    /* Pagination */
    .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .page-item {
        margin: 0.1rem;
    }
    
    /* Footer */
    footer .row > div {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    footer .social-icons a {
        margin: 0.25rem;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    .hero-content h1 {
        font-size: 1.75rem !important;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn-group-sm .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* Tables responsive */
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .badge {
        font-size: 0.7rem;
    }
    
    /* Modal improvements */
    .modal-header {
        padding: 0.75rem;
    }
    
    .modal-body {
        padding: 0.75rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .form-control, .form-select {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: none;
        box-shadow: none;
    }
    
    .fleet .card {
        transition: none;
    }
    
    .service-item:hover {
        transform: none;
    }
    
    .btn {
        min-height: 44px; /* Touch target size */
    }
}
