/**
 * Responsive CSS Overrides for The Works Theme
 *
 * Minimal CSS to handle responsive adjustments that can't be achieved with Bulma classes alone.
 * This file should be enqueued after Bulma CSS to ensure proper override order.
 */

/* Mobile viewport and below (up to 768px) */
@media screen and (max-width: 768px) {
    /* Ensure mobile menu works properly */
    .navbar-burger {
        display: block !important;
    }

    .navbar-menu {
        position: absolute;
        width: 100%;
        left: 0;
    }

    /* Footer adjustments for mobile */
    .footer .content {
        padding: 1rem;
    }

    /* Main content adjustments */
    .site-content {
        padding: 0.5rem;
    }

    /* Ensure columns stack properly */
    .wp-block-columns.is-mobile {
        display: flex;
        flex-direction: column;
    }

    .wp-block-column {
        width: 100% !important;
        margin-bottom: 1rem;
    }
}

/* Tablet viewport (769px to 1023px) */
@media screen and (min-width: 769px) and (max-width: 1023px) {
    /* Container adjustments for tablets */
    .container {
        max-width: 960px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Navigation adjustments */
    .navbar-menu {
        flex-grow: 1;
    }
}

/* Touch device specific adjustments */
@media (hover: none) and (pointer: coarse) {
    /* Make interactive elements more touch-friendly */
    .wp-block-button__link,
    .wp-block-navigation__container a,
    button,
    [type="button"],
    [type="submit"],
    [type="reset"] {
        min-height: 44px;
        min-width: 44px;
        padding: 0.5rem 1rem;
    }

    /* Increase tap targets for social icons */
    .wp-block-social-links a {
        padding: 0.5rem;
    }
}
