/**
 * MosesMakes Responsive Styles
 * 
 * @package MosesMakes
 */

/* ============================================
   Base Responsive
   ============================================ */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 32px;
    }
    
    .container-wide {
        max-width: 1200px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Tablet Breakpoint
   ============================================ */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .heading-xl {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .heading-lg {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .heading-md {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .mm-hero {
        padding: 80px 0 60px;
    }
    
    .mm-hero-content {
        text-align: center;
    }
    
    .mm-hero-stats {
        justify-content: center;
    }
    
    .mm-features-grid {
        grid-template-columns: 1fr;
    }
    
    .mm-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mm-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .mm-section {
        padding: 60px 0;
    }
    
    .mm-section-header {
        margin-bottom: 40px;
    }
    
    .mm-btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* ============================================
   Mobile Breakpoint
   ============================================ */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .grid-3,
    .grid-4,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .mm-hero {
        padding: 60px 0 40px;
    }
    
    .mm-hero-badge {
        font-size: 0.8rem;
    }
    
    .mm-hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .mm-hero-stat {
        justify-content: center;
    }
    
    .mm-hero-actions {
        flex-direction: column;
    }
    
    .mm-hero-actions .mm-btn {
        width: 100%;
    }
    
    .mm-steps-grid {
        grid-template-columns: 1fr;
    }
    
    .mm-section {
        padding: 40px 0;
    }
    
    .mm-section-header {
        margin-bottom: 24px;
    }
    
    .mm-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .mm-btn-lg {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .mm-header,
    .mm-footer,
    .mm-back-to-top,
    .mm-hero,
    .mm-features,
    .mm-gallery-section,
    .mm-steps-section,
    .mm-testimonials,
    .mm-cta-section {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .mm-main {
        padding: 0;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   High Contrast
   ============================================ */
@media (forced-colors: active) {
    .mm-btn {
        border: 2px solid currentColor;
    }
    
    .mm-card {
        border: 1px solid currentColor;
    }
}
