/* responsive.css - Responsive Styles for CurePharma BD */

/* Tablet Styles */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .slide-content {
        padding: 0 2rem;
    }
    
    .slide-content h1 {
        font-size: 2.8rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .cart-sidebar {
        width: 350px;
    }

    /* New sections */
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .about-content {
        gap: 30px;
    }

    .about-stats {
        gap: 20px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 20px;
        order: 3;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .call-btn span {
        display: none;
    }
    
    .call-btn {
        padding: 10px 15px;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
        margin-bottom: 3rem;
    }
    
    .slide-content {
        padding: 0 1.5rem;
        text-align: center;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn-primary, .btn-secondary, .btn-whatsapp {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .slider-controls {
        bottom: 20px;
    }
    
    .product-section {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title i {
        font-size: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .product-card {
        padding-bottom: 15px;
    }
    
    .product-name {
        font-size: 1.1rem;
        padding: 10px 10px 5px;
    }
    
    .product-desc, .product-price, .add-to-cart {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .price {
        font-size: 1.3rem;
    }
    
    .add-to-cart {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    /* New sections */
    .categories-section {
        padding: 30px 0;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .category-btn {
        padding: 15px 5px;
    }

    .category-btn i {
        font-size: 1.8rem;
    }

    .category-btn span {
        font-size: 0.8rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .service-card i {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .about-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary, .btn-whatsapp {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .slider-prev, .slider-next {
        width: 40px;
        height: 40px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    .product-desc {
        font-size: 0.8rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .unit {
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section h3::after, .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* New sections */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-stats {
        flex-direction: column;
        gap: 15px;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
}

/* Very Small Mobile */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        height: 45vh;
        min-height: 300px;
    }
    
    .slide-content h1 {
        font-size: 1.6rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .nav-actions {
        gap: 1rem;
    }

    /* New sections */
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        max-width: 260px;
    }
}