/* =========================
   RESPONSIVE DESIGN
   RESTAURANT DARDANI
========================= */


/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .navbar {
        width: 100%;
        padding: 0 5%;
    }

    .hero h1 {
        font-size: 70px;
    }

    .hero h2 {
        font-size: 38px;
    }

    /* ABOUT */

    .about {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 80px 6%;
        gap: 40px;
        text-align: center;
    }

    .about-image {
        width: 100%;
    }

    .about-image img {
        width: 100%;
        max-width: 100%;
        height: 400px;
        object-fit: cover;
    }

    .about-text {
        width: 100%;
    }

    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }

    /* MENU */

    .menu-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        gap: 40px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* NAVBAR */

    .navbar {
        width: 100%;
        height: 70px;
        padding: 0 25px;
    }

    .logo {
        font-size: 30px;
    }

    .navbar nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;

        background: #111;

        display: flex;
        flex-direction: column;
        align-items: center;

        padding: 30px 0;

        transform: translateY(-120%);
        transition: .4s;
    }

    .navbar nav.active {
        transform: translateY(0);
    }

    .navbar nav a {
        margin: 15px 0;
        font-size: 18px;
    }

    .menu-toggle {
        display: block;
    }


    /* HERO */

    .hero {
        height: 90vh;
        min-height: 600px;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 55px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 15px;
        padding: 0 20px;
    }

    .btn {
        padding: 13px 30px;
    }


    /* =========================
       ABOUT
    ========================= */

    .about {
        width: 100%;
        max-width: 100%;
        padding: 70px 20px;

        grid-template-columns: 1fr;
        gap: 40px;

        text-align: center;
    }

    .about-image {
        width: 100%;
        max-width: 100%;
    }

    .about-image img {
        width: 100%;
        max-width: 100%;

        height: 350px;

        object-fit: cover;
        border-radius: 20px;
    }

    .about-text {
        width: 100%;
        max-width: 100%;
    }

    .about-text h2 {
        font-size: 45px;
    }

    .about-text p {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .feature {
        width: 100%;
        padding: 25px 20px;
    }


    /* MENU */

    .menu {
        padding: 80px 25px;
    }

    .menu h2,
    .gallery h2,
    .contact h2 {
        font-size: 45px;
    }

    .menu-container {
        grid-template-columns: 1fr;
    }

    .menu-card img {
        height: 220px;
    }

    .menu-card h3 {
        font-size: 28px;
    }


    /* GALLERY */

    .gallery {
        padding: 80px 25px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 280px;
    }


    /* RESERVATION */

    .reservation {
        min-height: 350px;
        padding: 30px;
    }

    .reservation h2 {
        font-size: 45px;
    }


    /* CONTACT */

    .contact {
        padding: 80px 25px;
    }

    .contact-info {
        flex-direction: column;
        gap: 35px;
    }


    /* FOOTER */

    footer {
        padding: 40px 20px;
    }

    footer h2 {
        font-size: 35px;
    }.psw_img {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        height: auto;
        display: block;
    }
}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 45px;
    }

    .hero h2 {
        font-size: 27px;
    }

    .hero p {
        font-size: 14px;
        padding: 0 10px;
    }

    .logo {
        font-size: 25px;
    }

    .about {
        padding: 60px 15px;
    }

    .about-text h2 {
        font-size: 38px;
    }

    .about-image img {
        height: 300px;
    }

    .menu h2,
    .gallery h2,
    .contact h2 {
        font-size: 38px;
    }

}@media (max-width: 768px) {

    .menu {
        padding: 70px 20px;
    }

    .menu-category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-category-card {
        width: 100%;
        height: 280px;
    }

    .menu-category-card h3 {
        font-size: 40px;
    }

}