/* =========================================================
   YAARI JUNCTION CAFE
   RESPONSIVE STYLE SHEET
   ========================================================= */


/* =========================================================
   LARGE TABLETS / SMALL LAPTOPS
   1200px AND BELOW
   ========================================================= */

@media (max-width: 1200px) {

    /* NAVBAR */

    .navbar {
        padding-left: 4%;
        padding-right: 4%;
    }

    .navbar nav {
        gap: 14px;
    }

    .navbar nav a {
        font-size: 12px;
    }

    .reserve-btn {
        padding: 9px 14px;
        font-size: 11px;
    }


    /* GENERAL GRIDS */

    .price-highlight-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .philosophy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }


    /* FOOTER */

    .footer-content {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 25px;
    }

}


/* =========================================================
   TABLETS
   992px AND BELOW
   ========================================================= */

@media (max-width: 992px) {

    /* NAVBAR */

    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .navbar .logo {
        margin-right: auto;
    }

    .nav-actions {
        margin-left: auto;
    }

    .navbar nav {
        width: 100%;
        order: 3;

        display: flex;
        justify-content: center;

        flex-wrap: wrap;

        gap: 8px 18px;
    }


    /* HERO */

    .hero {
        min-height: 570px;
    }

    .hero-content {
        padding: 75px 0;
    }


    /* ABOUT */

    .about-intro-wrapper {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .about-intro-image {
        max-width: 700px;

        width: 100%;

        margin: auto;

        order: -1;
    }

    .about-intro-image img {
        height: 380px;
    }


    /* MENU */

    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* PRICE CARDS */

    .price-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* GENERAL CARDS */

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* GALLERY */

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-item {
        height: 250px;
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;
    }


    /* FOOTER */

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 35px;
    }

}


/* =========================================================
   MOBILE / LARGE PHONES
   768px AND BELOW
   ========================================================= */

@media (max-width: 768px) {

    /* BODY */

    body {
        overflow-x: hidden;
    }


    /* NAVBAR */

    .navbar {
        position: relative;

        padding: 14px 5%;

        flex-direction: row;

        justify-content: space-between;

        align-items: center;
    }


    .navbar .logo {
        margin: 0;
    }


    .nav-actions {
        margin: 0;
    }


    .reserve-btn {
        padding: 9px 13px;

        font-size: 11px;
    }


    .navbar nav {
        order: 3;

        width: 100%;

        padding-top: 8px;

        border-top:
            1px solid rgba(111, 78, 55, 0.10);

        gap: 4px 15px;
    }


    .navbar nav a {
        font-size: 12px;

        padding: 6px 1px;
    }


    /* HERO */

    .hero {
        min-height: 520px;
    }


    .hero-content {
        width: 90%;

        padding: 65px 0;
    }


    .hero-content h1 {
        font-size: clamp(36px, 10vw, 50px);
    }


    .hero-content p {
        font-size: 14px;
    }


    .hero-buttons {
        flex-direction: column;
    }


    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn {
        width: min(260px, 90%);
    }


    /* PAGE HERO */

    .page-hero {
        min-height: 350px;

        padding: 65px 5%;
    }


    .page-hero-content h1 {
        font-size: clamp(34px, 9vw, 46px);
    }


    .page-hero-content p {
        font-size: 14px;
    }


    /* SECTION */

    .section-heading {
        margin-bottom: 32px;
    }


    .section-heading h2 {
        font-size: 29px;
    }


    .section-heading p {
        font-size: 13px;
    }


    /* MENU */

    .menu-grid {
        grid-template-columns: 1fr;

        width: min(500px, 90%);

        margin: auto;
    }


    .menu-card {
        padding: 25px 21px;
    }


    /* PRICE CARDS */

    .price-highlight-grid {
        grid-template-columns: 1fr;

        width: min(500px, 90%);
    }


    /* CARDS */

    .card-grid {
        grid-template-columns: 1fr;

        width: min(500px, 90%);

        margin: auto;
    }


    /* OFFERS */

    .offer-grid {
        grid-template-columns: 1fr;

        width: min(500px, 90%);
    }


    /* EVENTS */

    .event-grid {
        grid-template-columns: 1fr;

        width: min(500px, 90%);
    }


    /* GALLERY */

    .gallery-grid {
        grid-template-columns: 1fr;

        width: min(550px, 90%);
    }


    .gallery-item {
        height: 270px;
    }


    /* PHILOSOPHY */

    .philosophy-grid {
        grid-template-columns: 1fr;

        width: min(500px, 90%);
    }


    /* ABOUT */

    .about-intro-wrapper {
        width: 90%;

        gap: 28px;
    }


    .about-intro-image img {
        height: 330px;
    }


    .about-intro-content h2 {
        font-size: 30px;
    }


    /* CONTACT */

    .contact-grid {
        width: 90%;
    }


    /* FORM */

    .reservation-box {
        width: 90%;

        padding: 28px 22px;
    }


    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    /* LOCATION */

    .location-box {
        width: 90%;

        padding: 28px 20px;
    }


    /* QUOTE */

    .quote-section {
        padding: 70px 5%;
    }


    .quote-section blockquote {
        font-size: 27px;
    }


    /* FOOTER */

    footer {
        padding-top: 50px;
    }


    .footer-content {
        grid-template-columns: 1fr;

        width: 90%;

        gap: 30px;
    }


    .footer-about p {
        max-width: 100%;
    }


    .footer-bottom {
        width: 90%;

        flex-direction: column;

        text-align: center;

        gap: 7px;

        margin-top: 35px;
    }


    /* CTA */

    .cta-buttons {
        flex-direction: column;
    }


    .cta-buttons .primary-btn,
    .cta-buttons .secondary-btn {
        width: min(260px, 90%);
    }


    /* WHATSAPP */

    .whatsapp-float {
        width: 48px;

        height: 48px;

        right: 16px;

        bottom: 16px;

        font-size: 21px;
    }

}


/* =========================================================
   SMALL MOBILE
   576px AND BELOW
   ========================================================= */

@media (max-width: 576px) {

    /* NAVBAR */

    .navbar {
        padding: 13px 4%;
    }


    .logo {
        font-size: 19px;
    }


    .logo span {
        font-size: 8px;

        letter-spacing: 2.5px;
    }


    .reserve-btn {
        padding: 8px 11px;

        font-size: 10px;
    }


    .navbar nav {
        gap: 3px 11px;
    }


    .navbar nav a {
        font-size: 11px;
    }


    /* HERO */

    .hero {
        min-height: 500px;
    }


    .hero-content {
        padding: 55px 0;
    }


    .hero-content h1 {
        font-size: 38px;
    }


    .hero-content p {
        font-size: 13px;

        line-height: 1.7;
    }


    /* PAGE HERO */

    .page-hero {
        min-height: 310px;
    }


    .page-hero-content h1 {
        font-size: 35px;
    }


    .page-hero-content p {
        font-size: 13px;
    }


    /* SECTIONS */

    .section-heading h2 {
        font-size: 27px;
    }


    .section-heading p {
        font-size: 13px;
    }


    .section-label {
        font-size: 10px;

        letter-spacing: 1.5px;
    }


    /* BUTTONS */

    .primary-btn,
    .secondary-btn {
        padding: 10px 17px;

        font-size: 12px;
    }


    /* MENU */

    .menu-card {
        padding: 22px 18px;
    }


    .menu-card h3 {
        font-size: 21px;
    }


    .menu-item {
        font-size: 12px;
    }


    .menu-price {
        font-size: 12px;
    }


    /* PRICE CARDS */

    .price-highlight-card {
        padding: 23px 18px;
    }


    .price-highlight-card h3 {
        font-size: 20px;
    }


    /* GALLERY */

    .gallery-item {
        height: 230px;
    }


    /* ABOUT */

    .about-intro-image img {
        height: 280px;
    }


    .about-intro-content h2 {
        font-size: 27px;
    }


    /* PHILOSOPHY */

    .philosophy-card {
        padding: 25px 18px;
    }


    /* OFFER */

    .offer-card {
        padding: 25px 20px;
    }


    .offer-card h3 {
        font-size: 21px;
    }


    /* EVENTS */

    .event-card img {
        height: 200px;
    }


    .event-card-content {
        padding: 20px;
    }


    /* FORM */

    .reservation-box {
        padding: 25px 18px;
    }


    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 11px 12px;

        font-size: 12px;
    }


    /* LOCATION */

    .location-box {
        padding: 25px 17px;
    }


    .location-box h3 {
        font-size: 21px;
    }


    .location-box p {
        font-size: 13px;
    }


    /* QUOTE */

    .quote-section {
        padding: 60px 5%;
    }


    .quote-section blockquote {
        font-size: 24px;
    }


    /* FOOTER */

    footer {
        padding-left: 4%;

        padding-right: 4%;
    }


    .footer-content {
        width: 92%;
    }


    .footer-about h2 {
        font-size: 22px;
    }


    .footer-bottom {
        width: 92%;

        font-size: 10px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   400px AND BELOW
   ========================================================= */

@media (max-width: 400px) {

    /* NAVBAR */

    .navbar {
        padding: 12px 4%;
    }


    .logo {
        font-size: 17px;
    }


    .reserve-btn {
        padding: 7px 9px;

        font-size: 9px;
    }


    .navbar nav {
        gap: 2px 9px;
    }


    .navbar nav a {
        font-size: 10px;
    }


    /* HERO */

    .hero {
        min-height: 460px;
    }


    .hero-content h1 {
        font-size: 34px;
    }


    .hero-content .hero-label {
        font-size: 9px;

        letter-spacing: 2px;
    }


    /* PAGE HERO */

    .page-hero {
        min-height: 280px;
    }


    .page-hero-content h1 {
        font-size: 31px;
    }


    /* SECTIONS */

    .section-heading h2 {
        font-size: 25px;
    }


    /* MENU */

    .menu-card {
        padding: 20px 15px;
    }


    .menu-item {
        gap: 8px;

        font-size: 11px;
    }


    /* GALLERY */

    .gallery-item {
        height: 200px;
    }


    /* FLOATING BUTTON */

    .whatsapp-float {
        width: 44px;

        height: 44px;

        right: 12px;

        bottom: 12px;

        font-size: 19px;
    }


    /* FOOTER */

    .footer-content {
        gap: 25px;
    }

}


/* =========================================================
   LANDSCAPE MOBILE
   ========================================================= */

@media (max-height: 500px) and (orientation: landscape) {

    .hero {
        min-height: 500px;
    }


    .hero-content {
        padding: 50px 0;
    }


    .page-hero {
        min-height: 330px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}


/* =========================================================
   END OF RESPONSIVE.CSS
   ========================================================= */