/**
 * ============================================================================
 * GAYA RESPONSIF UNTUK DESKTOP, TABLET & MUDAH ALIH (assets/css/responsive.css)
 * ============================================================================
 */

/* Skrin Besar / Desktop (<= 1199.98px) */
@media (max-width: 1199.98px) {
    .masjid-navbar .navbar-collapse {
        background: var(--warm-ivory);
        border-top: 1px solid var(--sandstone-beige);
        margin-top: 0.65rem;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .masjid-navbar .nav-link.active::after {
        display: none;
    }

    .hero-arch-frame {
        border-radius: 140px 140px 24px 24px;
    }
}

/* Tablet (<= 991.98px) */
@media (max-width: 991.98px) {
    .hero-nabawi-section {
        min-height: auto;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .hero-arch-frame {
        border-radius: 90px 90px 22px 22px;
        padding: 2.25rem 1.5rem !important;
    }

    .about-floating-badge {
        right: 12px;
        bottom: 12px;
    }
}

/* Telefon Pintar / Mudah Alih (<= 767.98px) */
@media (max-width: 767.98px) {
    .top-info-bar {
        font-size: 0.75rem;
        padding: 6px 0;
    }

    .brand-arabic {
        font-size: 0.98rem;
    }

    .brand-malay {
        font-size: 0.92rem;
    }

    .brand-logo-frame {
        width: 42px;
        height: 42px;
    }

    .brand-logo-img {
        width: 38px;
        height: 38px;
    }

    .hero-arch-frame {
        border-radius: 48px 48px 18px 18px;
        padding: 1.85rem 1.1rem !important;
    }

    .hero-pill-badge {
        font-size: 0.66rem;
        letter-spacing: 0.8px;
        padding: 5px 10px;
    }

    .prayer-arch-card {
        border-radius: 65px 65px 14px 14px;
        padding-top: 1.35rem !important;
    }

    .prayer-time-24 {
        font-size: 1.25rem;
    }

    .arch-image-wrapper {
        border-radius: 140px 140px 18px 18px;
    }

    .scroll-top-btn {
        bottom: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
}

/* Telefon Kecil (<= 420px) */
@media (max-width: 420px) {
    .brand-malay {
        font-size: 0.82rem;
        max-width: 195px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Sokongan Kebolehcapaian Kurang Pergerakan (Prefers Reduced Motion) */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
