/* ==========================================================
   SAYZORA HOSPITALITY
   Responsive Styles
========================================================== */

/* ==========================
   Large Screens
========================== */

@media (max-width: 1200px) {

    .container {
        width: min(100% - 40px, 1100px);
    }

    h1 {
        font-size: 3.5rem;
    }

}

/* ==========================
   Tablets
========================== */

@media (max-width: 992px) {

    :root {
        --section-padding: 80px;
    }

    nav {

        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 15px 0;
        height: auto;

    }

    header {

        height: auto;
        position: relative;

    }

    .logo {

        width: 100%;
        text-align: center;

    }

    .menu {

        width: 100%;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;

    }

    .hero {

        min-height: auto;
        padding: 140px 0 100px;

    }

    .hero-content {

        max-width: 100%;
        text-align: center;
        margin: auto;

    }

    .hero h1 {

        font-size: 3rem;

    }

    .hero p {

        margin-left: auto;
        margin-right: auto;

    }

    .hero-buttons {

        justify-content: center;
        flex-wrap: wrap;

    }

    .footer-grid {

        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;

    }

}

/* ==========================
   Mobile
========================== */

@media (max-width: 768px) {

    :root {

        --section-padding: 70px;

    }

    body {

        font-size: 16px;

    }

    h1 {

        font-size: 2.5rem;

    }

    h2 {

        font-size: 2rem;

    }

    h3 {

        font-size: 1.5rem;

    }

    .container {

        width: calc(100% - 32px);

    }

    nav {

        flex-direction: column;
        gap: 15px;

    }

    .menu {

        flex-direction: column;
        align-items: center;
        gap: 15px;

    }

    .btn-primary,
    .btn-secondary {

        width: 100%;
        max-width: 320px;

    }

    .hero {

        padding: 120px 0 80px;

    }

    .hero h1 {

        line-height: 1.15;

    }

    .hero-buttons {

        flex-direction: column;
        align-items: center;

    }

    .intro {

        text-align: center;

    }

    .intro p {

        font-size: 1rem;

    }

}

/* ==========================
   Small Phones
========================== */

@media (max-width: 576px) {

    .logo a {

        font-size: 2rem;

    }

    h1 {

        font-size: 2rem;

    }

    h2 {

        font-size: 1.75rem;

    }

    .hero {

        padding-top: 100px;

    }

    .hero p {

        font-size: 1rem;

    }

    .btn-primary,
    .btn-secondary {

        padding: 14px 24px;

    }

    footer {

        padding: 50px 0 20px;

    }

}

/* ==========================
   Extra Small Devices
========================== */

@media (max-width: 400px) {

    .container {

        width: calc(100% - 24px);

    }

    .logo a {

        font-size: 1.7rem;

    }

    h1 {

        font-size: 1.8rem;

    }

    .menu {

        gap: 10px;

    }

    .menu a {

        font-size: 0.95rem;

    }

}