/* Mobile First Approach */

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .product-card .card-img-top {
        height: 200px;
    }
    
    .carousel-item img {
        height: 250px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .product-card .card-img-top {
        height: 220px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: 1200px;
    }
}

/* Specific adjustments for admin sidebar */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .sidebar .nav-link {
        padding: 15px 20px;
    }
}

/* Print styles */
@media print {
    .navbar,
    footer,
    .btn,
    .breadcrumb,
    .hero-section {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}