/* ================================
   ARJ Mall - Responsive Styles
================================ */

/* Desktop Besar */
@media(max-width:1200px){
    section {
        padding: 80px 5%;
    }

    .produk-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 24px;
    }

    .hero-content {
        min-width: 280px;
    }

    .hero-gallery {
        max-width: 420px;
    }
}

/* Laptop */
@media(max-width:992px){
    #hero {
        flex-direction: column;
        text-align: center;
        padding: 160px 5% 60px;
        gap: 40px;
    }

    .hero-content {
        min-width: auto;
    }

    .hero-desc {
        max-width: 100%;
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
    }

    .hero-gallery {
        max-width: 400px;
        margin: auto;
    }

    .hero-img-thumbs .thumb {
        width: 60px;
        height: 60px;
    }

    .herog-img-main {
        aspect-ratio: 3/4;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .modal-content {
        grid-template-columns: 1fr;
    }

    .modal-gallery {
        min-height: 300px;
    }

    .modal-info {
        padding: 30px;
    }

    .nav-menu {
        position: fixed;
        top: 108px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px 40px;
        gap: 4px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        max-height: 0;
        overflow: hidden;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .nav-link {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }
}

/* Tablet */
@media(max-width:768px){
    section {
        padding: 60px 4%;
    }

    .nav-container {
        padding: 0 20px;
        height: 60px;
    }

    .nav-logo {
        height: 36px;
    }

    #navbar {
        top: 36px;
    }

    .nav-menu {
        top: 96px;
        padding: 20px 24px;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 42px);
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat-num {
        font-size: 26px;
    }

    .hero-gallery {
        max-width: 340px;
    }

    .produk-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
    }

    .produk-info h3 {
        font-size: 14px;
    }

    .price-current {
        font-size: 17px;
    }

    .keunggulan-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .keunggulan-card {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 5% 30px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px 5%;
    }

    .filter-container {
        gap: 4px;
        padding: 3px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: clamp(26px, 5vw, 32px);
    }

    .testimoni-card > p {
        font-size: 14px;
    }

    .scroll-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }

    .topbar {
        font-size: 11px;
        padding: 8px 12px;
    }

    .modal-box {
        max-height: 95vh;
        border-radius: var(--radius);
    }

    .modal-gallery {
        min-height: 240px;
    }

    .modal-info h2 {
        font-size: 20px;
    }

    .modal-price .price-current {
        font-size: 24px;
    }
}

/* HP */
@media(max-width:576px){
    section {
        padding: 50px 4%;
    }

    #hero {
        padding: 140px 5% 40px;
        gap: 30px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 16px;
    }

    .hero-title {
        font-size: clamp(28px, 10vw, 36px);
    }

    .hero-desc {
        font-size: 14px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        justify-content: center;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-item {
        min-width: 80px;
    }

    .stat-num {
        font-size: 22px;
    }

    .stat-label {
        font-size: 10px;
    }

    .hero-gallery {
        max-width: 280px;
    }

    .hero-img-thumbs {
        gap: 8px;
    }

    .hero-img-thumbs .thumb {
        width: 48px;
        height: 48px;
    }

    .produk-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .produk-info {
        padding: 14px;
    }

    .produk-info h3 {
        font-size: 13px;
    }

    .produk-rating i {
        font-size: 10px;
    }

    .produk-rating span {
        font-size: 10px;
    }

    .price-current {
        font-size: 15px;
    }

    .price-old {
        font-size: 12px;
    }

    .btn-order {
        font-size: 12px;
        padding: 8px 14px;
    }

    .produk-actions {
        display: none;
    }

    .produk-badge {
        font-size: 9px;
        padding: 3px 10px;
        top: 8px;
        left: 8px;
    }

    .keunggulan-grid {
        grid-template-columns: 1fr;
    }

    .keunggulan-card {
        padding: 24px 16px;
    }

    .keunggulan-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .keunggulan-card h3 {
        font-size: 16px;
    }

    .keunggulan-card p {
        font-size: 13px;
    }

    .testimoni-card > p {
        font-size: 13px;
    }

    .testimoni-stars i {
        font-size: 16px;
    }

    .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .user-info h4 {
        font-size: 14px;
    }

    .testimoni-controls button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .faq-question h3 {
        font-size: 14px;
    }

    .faq-answer p {
        font-size: 13px;
    }

    .video-container {
        border-radius: var(--radius);
    }

    .footer-wave svg {
        height: 50px;
    }

    .footer-brand p {
        font-size: 13px;
    }

    .footer-content h3 {
        font-size: 16px;
    }

    .footer-links a, .footer-contact li {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-payment {
        font-size: 16px;
    }

    .modal-info {
        padding: 20px;
    }

    .modal-info h2 {
        font-size: 18px;
    }

    .modal-price .price-current {
        font-size: 22px;
    }

    .size-tag {
        font-size: 11px;
        padding: 6px 12px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 14px;
    }

    .filter-wrapper {
        margin-bottom: 24px;
    }

    .nav-menu {
        padding: 16px 20px;
    }

    .nav-link {
        padding: 10px 16px;
        font-size: 14px;
    }

    .topbar-slide span {
        margin: 0 4px;
    }

    .scroll-top {
        width: 38px;
        height: 38px;
        bottom: 16px;
        right: 16px;
        font-size: 14px;
    }
}
