/* Responsive CSS for Idiot Drivers website */

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
    .banner {
        padding: 2rem 0;
    }
    
    .welcomtext {
        font-size: 2rem;
    }
    
    .big-heading {
        font-size: 2.5rem;
    }
    
    .headerp {
        font-size: 0.9rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        flex-direction: column;
        transition: 0.5s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        margin-bottom: 2rem;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-cta {
        flex-direction: column;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .banner {
        padding: 3rem 0;
    }
    
    .welcomtext {
        font-size: 2.2rem;
    }
    
    .big-heading {
        font-size: 2.8rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        flex-direction: column;
        transition: 0.5s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        margin-bottom: 2rem;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .mobile-toggle {
        display: block;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .banner {
        padding: 3rem 0;
    }
    
    .welcomtext {
        font-size: 2.5rem;
    }
    
    .big-heading {
        font-size: 3rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .banner {
        padding: 4rem 0;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .banner {
        padding: 4rem 0;
    }
}
