/* ========================================
   Ko.Ma.Co Theme - Responsive Styles
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --container-width: 960px;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --container-width: 100%;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    /* Header Mobile */
    .header-top {
        display: none;
    }
    
    .header-main-content {
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
        order: 2;
    }
    
    .site-branding {
        order: 1;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-navigation.active {
        max-height: 500px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .nav-menu a {
        padding: 1rem var(--spacing-sm);
        border-bottom: 1px solid var(--color-light-gray);
    }
    
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--color-light-gray);
        display: none;
    }
    
    .nav-menu li.menu-item-has-children.active > .sub-menu {
        display: block;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    /* Typography Mobile */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    /* Scroll to Top Mobile */
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .scroll-to-top,
    .menu-toggle {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
}

