/* ==========================================================================
   Welcome Furniture v3 — Responsive Stylesheet
   Mobile-first breakpoints and layout adjustments
   ========================================================================== */

/* --------------------------------------------------------------------------
   Large Desktop (max 1399px)
   -------------------------------------------------------------------------- */
@media (max-width: 1399px) {
    :root {
        --section-padding: 90px;
    }

    .cta-banner {
        padding: 56px 48px;
    }
}

/* --------------------------------------------------------------------------
   Desktop (max 1199px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    .about-preview__floating {
        width: 140px;
        height: 140px;
        right: -12px;
    }

    .mv-block__image-small {
        width: 160px;
        height: 160px;
        right: -16px;
        bottom: -20px;
    }

    .process-line {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Tablet (max 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    :root {
        --section-padding: 70px;
        --section-padding-sm: 56px;
    }

    .top-bar__social {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .navbar-wf .navbar-collapse {
        background: var(--color-white);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        padding: 20px;
        margin-top: 16px;
        border: 1px solid var(--color-border);
    }

    .navbar-wf .nav-link {
        padding: 12px 16px !important;
    }

    .navbar-wf .nav-cta {
        margin-left: 0;
        margin-top: 12px;
    }

    .navbar-wf .nav-cta .btn-wf {
        width: 100%;
    }

    .hero-section,
    .hero-slider {
        min-height: 80vh;
        height: auto;
    }

    .hero-slider {
        min-height: 580px;
    }

    .hero-stats {
        gap: 24px;
        margin-top: 40px;
    }

    .hero-controls {
        bottom: 24px;
    }

    .about-preview__image img {
        height: 420px;
    }

    .about-preview__floating {
        display: none;
    }

    .about-preview__badge {
        bottom: 20px;
        left: 20px;
        padding: 18px 22px;
    }

    .cta-banner {
        padding: 48px 36px;
        margin-top: 0;
        text-align: center;
    }

    .cta-banner .btn-wf {
        margin-top: 24px;
    }

    .footer-cta {
        text-align: center;
    }

    .footer-newsletter {
        flex-direction: column;
        margin-top: 24px;
    }

    .footer-newsletter .btn-wf {
        width: 100%;
    }

    .mv-block__image-small {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -60px;
        margin-left: auto;
        margin-right: 24px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

/* --------------------------------------------------------------------------
   Mobile Landscape (max 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    :root {
        --section-padding: 56px;
        --section-padding-sm: 48px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .top-bar {
        text-align: center;
    }

    .top-bar__list {
        justify-content: center;
        gap: 12px 20px;
    }

    .top-bar__list li:last-child {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-wf {
        width: 100%;
    }

    .hero-stat__number {
        font-size: 2rem;
    }

    .hero-controls__inner {
        flex-direction: column;
        gap: 20px;
    }

    .hero-arrows {
        order: -1;
    }

    .page-hero {
        padding: 100px 0 60px;
    }

    .about-preview__image img {
        height: 320px;
    }

    .about-preview__badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: -40px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .product-card__image {
        height: 220px;
    }

    .stat-card {
        padding: 28px 16px;
    }

    .why-card {
        padding: 28px 22px;
    }

    .testimonial-card {
        padding: 28px 24px;
    }

    .filter-tabs {
        gap: 8px;
    }

    .filter-tab {
        padding: 10px 20px;
        font-size: 13px;
    }

    .footer-main {
        padding: 56px 0 32px;
    }

    .footer-widget {
        margin-bottom: 36px;
    }

    .footer-bottom {
        text-align: center;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* --------------------------------------------------------------------------
   Mobile Portrait (max 575px)
   -------------------------------------------------------------------------- */
@media (max-width: 575px) {
    .hero-slider {
        min-height: 520px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-label {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .btn-wf {
        padding: 14px 24px;
        font-size: 14px;
    }

    .mv-block__image img {
        height: 280px;
    }

    .mv-block__image-small {
        width: 120px;
        height: 120px;
        margin-top: -40px;
    }

    .map-placeholder {
        height: 280px;
    }
}

/* --------------------------------------------------------------------------
   Accessibility — Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-slide__bg {
        transform: none !important;
    }
}
