/**
 * ScrapZone Pro Responsive Layout Stylesheet
 *
 * @package ScrapZone
 */

/* ==========================================================================
   1. LAPTOPS & SMALL DESKTOPS (Max-width: 1024px)
   ========================================================================== */
@media screen and (max-width: 1024px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-content {
        order: -1;
    }
    
    .about-img-box {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Responsive Mobile Menu Setup */
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .site-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background-color: var(--color-primary);
        z-index: 1000;
        padding: 100px 40px 40px 40px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .site-navigation.active {
        right: 0;
    }
    
    .main-menu-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-menu-list a {
        color: #FFFFFF;
        font-size: 18px;
    }
    
    .main-menu-list a::after {
        background-color: var(--color-accent);
    }
    
    .nav-menu-wrapper {
        flex-direction: column;
        align-items: flex-start;
        height: 100%;
    }
    
    .header-cta-btn {
        width: 100%;
        justify-content: center;
        margin-top: 30px;
    }
    
    .site-header.mobile-menu-open .menu-toggle {
        color: #FFFFFF;
    }
}

/* ==========================================================================
   2. TABLETS & PHONES (Max-width: 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    
    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .header-top-bar {
        display: none; /* Hide top utility bar on mobile for performance & space */
    }
    
    .experience-badge {
        padding: 16px 20px;
        bottom: -10px;
        right: -10px;
    }
    
    .experience-badge .count {
        font-size: 32px;
    }
    
    .about-features-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .services-grid, 
    .gallery-grid, 
    .testimonials-grid, 
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-form-box {
        padding: 25px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .content-sidebar-grid {
        grid-template-columns: 1fr;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   3. SMALL SMARTPHONES (Max-width: 480px)
   ========================================================================== */
@media screen and (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-card {
        padding: 20px;
    }
    
    .site-navigation {
        width: 100%; /* Take full width on tiny screens */
    }
}
