/**
 * Technoplast Premium - Responsive Breakpoints Stylesheet
 * Complete mobile-first responsive design with full menu support
 */

/* ===== TABLET LANDSCAPE: 1024px ===== */
@media (max-width: 1024px) {
    .container {
        max-width: 720px;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.85rem; }
    
    .site-header {
        padding: 0.8rem 0;
    }
    .header-container {
        padding: 0 1rem;
    }
    .main-navigation ul {
        gap: 1.5rem;
    }
    .main-navigation a {
        font-size: 0.85rem;
    }
    .header-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* ===== TABLET PORTRAIT & MOBILE LARGE: 768px ===== */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 1rem;
    }
    h1 { font-size: 2.15rem; }
    h2 { font-size: 1.65rem; }
    h3 { font-size: 1.45rem; }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    /* Grid Transforms */
    .products-grid-3col,
    .blog-columns-grid,
    .cert-cards-grid,
    .industries-cards-grid,
    .trust-indicators-grid,
    .inner-split-layout,
    .single-product-grid,
    .blog-dual-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .related-products-section .products-grid-3col {
        grid-template-columns: 1fr !important;
    }
    
    /* Table Scroll & Mobile Layout */
    .blueprint-spec-wrap {
        overflow-x: hidden;
        padding: 1.25rem;
    }
    .blueprint-table {
        min-width: 100%;
    }
    .blueprint-table th, 
    .blueprint-table td {
        padding: 10px 0;
        display: block;
        width: 100%;
        border: none;
    }
    .blueprint-table th {
        padding-bottom: 2px;
        font-size: 0.75rem;
        opacity: 0.8;
    }
    .blueprint-table td {
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(0, 103, 178, 0.1);
    }
    .blueprint-table tr:last-child td {
        border-bottom: none;
    }
    
    /* Touch Targets */
    .inner-btn,
    .btn-primary,
    .btn-accent,
    .btn-outline,
    .btn-whatsapp,
    .quote-submit-btn,
    .product-card-btn {
        min-height: 46px;
        padding: 0.75rem 1.75rem;
    }
    
    /* ===== HEADER MOBILE =====
       NOTE: All header / mobile-nav-toggle / main-navigation / header-ctas
       rules for mobile now live exclusively in header.php's inline <style>
       block. Previously this file duplicated that entire system with a
       different (conflicting) design, which caused the two rule sets to
       fight for the same properties and made the hamburger icon behave
       unpredictably. Do not re-add .site-header / .header-container /
       .main-navigation / .mobile-nav-toggle / .header-ctas rules here —
       edit header.php instead. */
    
    /* Floating Widgets */
    .whatsapp-floating-pulse {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.65rem;
    }
    
    #scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    /* ===== FOOTER MOBILE ===== */
    .site-footer {
        padding: 3rem 0 2rem !important;
    }
    
    .footer-container {
        max-width: 100% !important;
        padding: 0 1.5rem !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    
    .footer-col {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .footer-col h3,
    .footer-col h4 {
        font-size: 1.15rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .footer-col p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    .social-icons-row {
        display: flex !important;
        gap: 1rem !important;
        justify-content: center !important;
    }
    
    .social-icons-row a {
        width: 40px !important;
        height: 40px !important;
    }
    
    .footer-bottom-bar {
        padding: 2rem 0 !important;
        border-top: 1px solid rgba(255,255,255,0.05) !important;
    }
    
    .footer-bottom-bar .container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .policy-links {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    /* ===== PAGE CONTENT ===== */
    main.section-wrapper {
        padding-top: 120px !important;
    }
    
    .inner-hero-banner {
        padding: 100px 0 50px !important;
        margin-top: 50px !important;
    }
    
    .inner-hero-title {
        font-size: 2.25rem !important;
    }
    
    .inner-form-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .inner-form-group {
        grid-column: 1 / -1 !important;
    }
    
    .gallery-masonry-grid {
        column-count: 1 !important;
    }
    
    .google-maps-box iframe {
        height: 300px !important;
    }
    
    /* Global Touch Targets */
    .btn-primary, .btn-accent, .inner-btn, .header-btn {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    html {
        scroll-padding-top: 70px;
    }
}

/* ===== MOBILE PORTRAIT: 576px ===== */
@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.45rem; }
    h3 { font-size: 1.25rem; }
    
    .inner-hero-banner {
        padding: 90px 0 40px;
        margin-top: 45px;
    }
    
    .inner-hero-title {
        font-size: 2rem;
    }
    
    .site-header {
        padding: 0.5rem 0;
    }
    
    .header-container {
        padding: 0 0.75rem;
        gap: 0.75rem;
        height: 56px;
    }
    
    .brand-logo img {
        max-height: 48px;
    }
    
    .fallback-brand-text {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .mobile-nav-toggle {
        width: 40px;
        height: 40px;
    }
    
    .mobile-nav-toggle span {
        width: 22px;
    }
    
    .main-navigation {
        max-width: 100%;
        padding: 70px 1.5rem 2rem;
    }
    
    .main-navigation a {
        font-size: 0.95rem;
        padding: 0.6rem 0;
    }
    
    .main-navigation ul ul {
        padding-left: 1rem;
    }
    
    .main-navigation ul ul a {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .footer-container {
        gap: 1.5rem !important;
    }
    
    .footer-col h3 {
        font-size: 1rem !important;
    }
    
    .footer-col h4 {
        font-size: 0.95rem !important;
    }
    
    .footer-col p {
        font-size: 0.85rem !important;
    }
    
    .social-icons-row a {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }
    
    html {
        scroll-padding-top: 56px;
    }
}

/* ===== COMPACT MOBILE: 375px ===== */
@media (max-width: 375px) {
    h1 { font-size: 1.65rem; }
    
    .inner-hero-title {
        font-size: 1.85rem;
    }
    
    .header-container {
        padding: 0 0.75rem;
        gap: 0.5rem;
        height: 54px;
    }
    
    .brand-logo img {
        max-height: 36px;
    }
    
    .fallback-brand-text {
        font-size: 0.95rem;
    }
    
    .mobile-nav-toggle {
        width: 38px;
        height: 38px;
    }
    
    .mobile-nav-toggle span {
        width: 20px;
    }
    
    .main-navigation {
        max-width: 100%;
        padding: 65px 1.25rem 2rem;
    }
}
