/* ============================================================
   ZUZU PET HOUSE - Responsive Stylesheet
   ============================================================ */

/* ---------- Tablet (max-width: 1024px) ---------- */
@media (max-width: 1024px) {
    :root {
        --fs-4xl: 2.5rem;
        --fs-3xl: 2rem;
        --fs-2xl: 1.75rem;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .adopt__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hotel__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .hotel-card--featured {
        transform: scale(1);
    }

    .hotel-card--featured:hover {
        transform: translateY(-4px);
    }

    .booking__steps {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    .booking__step-connector {
        display: none;
    }

    .booking__step {
        flex: 0 0 calc(50% - var(--space-md));
        max-width: none;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact__map {
        min-height: 300px;
    }

    .contact__map iframe {
        min-height: 300px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer__brand {
        grid-column: span 2;
    }
}

/* ---------- Mobile Large (max-width: 768px) ---------- */
@media (max-width: 768px) {
    :root {
        --fs-4xl: 2rem;
        --fs-3xl: 1.75rem;
        --fs-2xl: 1.5rem;
        --space-4xl: 4rem;
        --navbar-height: 64px;
    }

    .container {
        padding: 0 var(--space-lg);
    }

    /* Navbar Mobile */
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--clr-surface);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--navbar-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        gap: 0;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
    }

    .navbar__menu.active {
        right: 0;
    }

    .navbar__menu .navbar__link {
        color: var(--clr-text);
        padding: var(--space-md) 0;
        width: 100%;
        border-bottom: 1px solid var(--clr-border);
        font-size: var(--fs-base);
    }

    .navbar__menu .navbar__link:hover,
    .navbar__menu .navbar__link.active {
        color: var(--clr-primary);
    }

    .navbar__cta {
        display: none;
    }

    /* Mobile overlay */
    .navbar__menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: calc(100vw - 280px);
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        z-index: -1;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: calc(var(--navbar-height) + var(--space-3xl)) 0 var(--space-3xl);
    }

    .hero__title {
        font-size: var(--fs-3xl);
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    .hero__stats {
        gap: var(--space-xl);
    }

    .hero__stat-number {
        font-size: var(--fs-xl);
    }

    /* About Mobile */
    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about__image {
        order: -1;
    }

    .placeholder-img--about {
        min-height: 280px;
    }

    .about__features {
        flex-direction: column;
    }

    /* Services Mobile */
    .services__grid {
        grid-template-columns: 1fr;
    }

    /* Adopt Mobile */
    .adopt__grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .adopt-card__image img {
        height: 240px;
    }

    /* Products Mobile */
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    /* Hotel Mobile */
    .hotel__grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    /* Gallery Mobile */
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .placeholder-img--gallery {
        min-height: 160px;
    }

    /* Booking Mobile */
    .booking__steps {
        flex-direction: column;
        align-items: center;
    }

    .booking__step {
        flex: none;
        max-width: 300px;
        width: 100%;
    }

    /* Testimonials Mobile */
    .testimonial-card {
        padding: var(--space-xl);
    }

    .testimonial-card__text {
        font-size: var(--fs-base);
    }

    /* Contact Mobile */
    .contact__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .contact__map {
        min-height: 250px;
    }

    .contact__map iframe {
        min-height: 250px;
    }

    /* Footer Mobile */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer__brand {
        grid-column: span 1;
    }

    /* FAB Mobile */
    .fab--whatsapp {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .fab--top {
        bottom: 78px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

/* ---------- Mobile Small (max-width: 480px) ---------- */
@media (max-width: 480px) {
    :root {
        --fs-4xl: 1.75rem;
        --fs-3xl: 1.5rem;
        --fs-2xl: 1.25rem;
        --space-4xl: 3rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .hero__badge {
        font-size: var(--fs-xs);
        padding: var(--space-xs) var(--space-md);
    }

    .hero__stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .products__grid {
        grid-template-columns: 1fr;
    }

    .section__header {
        margin-bottom: var(--space-2xl);
    }

    .service-card {
        padding: var(--space-xl);
    }

    .hotel-card__body {
        padding: var(--space-lg);
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .fade-up {
        opacity: 1;
        transform: none;
    }
}
