/* ==========================================================================
   assets/css/responsive.css
   Structural Breakpoint System Engine (Mobile First Component Architecture)
   ========================================================================== */

@media (max-width: 1200px) {
    .hero-title { font-size: 3.6rem; }
    :root { --container-width: 960px; }
}

@media (max-width: 992px) {
    :root { --container-width: 720px; }
    
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    
    /* ----------------------------------------------------------------------
       Strict Screenshot Navigation Configuration Overrides
       ---------------------------------------------------------------------- */
    
    /* Hides the desktop get started links/buttons on actions stack completely */
    .btn-header { 
        display: none !important; 
    }
    
    /* Forces the layout container to hold only logo on left and toggle on right */
    .header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 24px; 
        height: 16px;
        background: transparent; 
        border: none; 
        cursor: pointer;
        padding: 0;
        z-index: 1200;
    }
    
    /* High contrast dark bars matching your exact system file schema logo specs */
    .mobile-toggle .bar {
        width: 100%; 
        height: 2.5px; 
        background-color: #0f172a; /* Solid dark text menu code match */
        border-radius: 2px; 
        transition: var(--transition-standard);
    }
    
    /* Cross icon transform switch transitions on responsive user active state trigger */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed; 
        top: 0; 
        right: -100%;
        width: 280px; 
        height: 100vh;
        background-color: #ffffff;
        padding: 90px 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-menu.active { right: 0; }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 20px; }
    .nav-link { color: var(--color-text-dark-menu); font-size: 1.05rem; width: 100%; }
    
    /* Mobile Accordion Interaction Dropdowns Mechanics */
    .dropdown-menu {
        position: relative; 
        top: 0; 
        left: 0; 
        transform: none !important;
        opacity: 1; 
        visibility: visible; 
        pointer-events: auto;
        box-shadow: none; 
        background: rgba(0,0,0,0.02);
        width: 100%; 
        display: none; 
        margin-top: 8px;
        border: none;
    }
    .dropdown-menu.open { display: block; }
    .dropdown-menu a { border-bottom: none; padding: 10px 15px; }
    
    .footer-main-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    :root { --container-width: 540px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    .hero-title { font-size: 2.6rem; }
    .section-title { font-size: 2rem; }
    
    .about-preview-section .grid-2 {
        display: flex; flex-direction: column-reverse; gap: 44px;
    }

    /* Target inner responsive content page forms buttons to be half size */
    .preview-form .btn,
    .contact-preview-section .btn {
        width: 50% !important;
        max-width: 180px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.1rem; }
    .hero-actions { flex-direction: column; width: 100%; gap: 12px; }
    
    /* Inner body action blocks scaling logic rules */
    .hero-actions .btn { 
        width: 50% !important; 
        max-width: 160px !important;
        margin: 0 auto !important;
    }
    .counter-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
}