/* =====================
   Responsive Queries
===================== */

/* Tablets (768px and up) */
@media (max-width: 1024px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    header h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices (below 768px) */
@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    header {
        padding: 1.5rem;
    }

    .bearing-video {
        max-height: none;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .mobile-only {
        display: block;
    }

    main {
        padding: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    form input,
    form textarea,
    form button {
        font-size: 1rem;
    }

    .map-container {
        margin: 1.5rem 0.5rem;
    }

    .review-button {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    #hamburger-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: #004080;
        z-index: 999;
        display: none;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    nav.show {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    nav li a {
        font-size: 1.2rem;
        padding: 0.75rem 1.5rem;
    }

    #whatsapp-btn {
        padding: 0.7rem;
    }

    #whatsapp-btn img {
        width: 32px;
        height: 32px;
    }
}

/* Extra Small Devices (up to 480px) */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 1rem;
    }

    form input,
    form textarea {
        padding: 0.5rem;
    }

    form button {
        padding: 0.5rem 1rem;
    }

    .review-qr img {
        width: 120px;
    }

    .gallery-img {
        width: 100%;
        height: auto;
    }
}