/* =========================
   RESPONSIVE FIXES
========================= */

html, body {
    overflow-x: hidden;
}

/* Container Padding */
@media (max-width: 1024px) {
    section,
    .max-w-7xl {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Hero Section */
@media (max-width: 768px) {

    .hero-gradient {
        padding-top: 120px !important;
        padding-bottom: 70px !important;
    }

    h1,
    .text-display-xl {
        font-size: 38px !important;
        line-height: 1.2 !important;
        text-align: center;
    }

    .text-headline-lg {
        font-size: 26px !important;
    }

    .text-headline-md {
        font-size: 20px !important;
    }

    .text-body-lg {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    .hero-gradient p {
        text-align: center;
    }

    /* Hero Buttons */
    .hero-gradient .flex.gap-4 {
        flex-direction: column;
        width: 100%;
    }

    .hero-gradient button {
        width: 100%;
        padding: 14px 18px !important;
        font-size: 13px !important;
    }

    /* Hero Cards */
    .hero-gradient .grid.grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 20px;
    }

    .hero-gradient img {
        height: auto !important;
        max-height: 240px;
        object-fit: contain;
    }
}

/* Navbar */
@media (max-width: 768px) {

    header .max-w-7xl {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    header span.text-xl {
        font-size: 15px !important;
        line-height: 1.4;
    }

    header button {
        padding: 10px 14px !important;
        font-size: 11px !important;
    }
}

/* Royal & Yocas Section */
@media (max-width: 768px) {

    #royal,
    #yocas,
    #store {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    #royal .grid,
    #yocas .grid,
    #store .grid {
        gap: 24px !important;
    }

    #royal img,
    #yocas img,
    #store img {
        width: 100%;
        height: auto !important;
        object-fit: cover;
        border-radius: 16px;
    }

    #yocas .absolute {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        margin-top: 20px;
        max-width: 100%;
    }

    #store .h-\[500px\] {
        height: 300px !important;
    }
}

/* CTA Section */
@media (max-width: 768px) {

    .bg-slate-900 .flex.justify-center {
        flex-direction: column;
        align-items: center;
    }

    .bg-slate-900 a {
        width: 100%;
        justify-content: center;
    }
}

/* Floating WhatsApp Button */
@media (max-width: 768px) {

    .fixed.bottom-24.right-8 {
        right: 16px !important;
        bottom: 90px !important;
        padding: 12px 16px !important;
    }

    .fixed.bottom-24.right-8 span:last-child {
        display: none;
    }
}

/* Bottom Navigation */
@media (max-width: 768px) {

    nav.fixed.bottom-0 {
        height: 70px;
    }

    nav.fixed.bottom-0 span {
        font-size: 10px !important;
    }

    nav.fixed.bottom-0 .material-symbols-outlined {
        font-size: 22px !important;
    }
}

/* General Cards */
@media (max-width: 768px) {

    .rounded-2xl,
    .rounded-3xl {
        border-radius: 18px !important;
    }

    .p-16 {
        padding: 24px !important;
    }

    .p-12 {
        padding: 20px !important;
    }

    .p-8 {
        padding: 18px !important;
    }
}

/* Fix Large Empty Spaces */
@media (max-width: 768px) {

    .py-32 {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
    .mb-16 {
        margin-bottom: 35px !important;
    }

    .mb-12 {
        margin-bottom: 24px !important;
    }
}

