/* assets/css/responsive.css */
/* Mobile First Responsive Design */

/* Extra small devices (phones, 320px and up) */
@media (max-width: 320px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Small devices (phones, 375px and up) */
@media (min-width: 375px) and (max-width: 413px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
    }
}

/* Small to medium devices (phones, 414px and up) */
@media (min-width: 414px) and (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .vehicle-card {
        margin-bottom: 1.5rem;
    }
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) and (max-width: 1365px) {
    .hero-section h1 {
        font-size: 3.25rem;
    }
    
    .container {
        max-width: 960px;
    }
}

/* Extra large devices (large desktops, 1366px and up) */
@media (min-width: 1366px) and (max-width: 1919px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
    }
}

/* Extra extra large devices (very large desktops, 1920px and up) */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    }
    
    .hero-section .lead {
        font-size: 1.5rem;
    }
}

/* Navigation Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--navy);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .dropdown-item {
        color: white;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--orange);
    }
}

/* Forms Responsive */
@media (max-width: 576px) {
    .form-control {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .form-select {
        font-size: 16px;
    }
    
    .btn {
        font-size: 16px;
    }
    
    textarea.form-control {
        min-height: 100px;
    }
}

/* Tables Responsive */
@media (max-width: 768px) {
    .table-responsive {
        border: 0;
    }
    
    .table-responsive table {
        min-width: 800px;
    }
}

/* Cards Grid Responsive */
@media (max-width: 576px) {
    .row.g-4 {
        gap: 1rem !important;
    }
    
    .col-md-4,
    .col-lg-4 {
        margin-bottom: 0.5rem;
    }
    
    .card {
        border-radius: 8px;
    }
    
    .card-img-top {
        height: 180px;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
    
    .footer .social-links {
        justify-content: center;
        display: flex;
        gap: 1rem;
    }
    
    .footer h5 {
        margin-top: 1.5rem;
    }
    
    .footer ul li {
        margin-bottom: 0.5rem;
    }
}

/* Sticky Mobile CTA */
@media (max-width: 768px) {
    .mobile-sticky-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 0.75rem;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        display: flex;
        gap: 0.5rem;
    }
    
    .mobile-sticky-cta .btn {
        flex: 1;
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    body {
        padding-bottom: 70px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .print-area {
        width: 100%;
        padding: 0;
    }
}