@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&display=swap');

:root {
    --primary-color: #104385;
    --secondary-color: #b61313;
    --bg-color: #edf1f0;
    --overlay-color: #cfd1e633;
    --text-color: #0c3533;
    --button-hover-color: #30302e;
    --button-border-radius: 2px;
    --body-font: PT Sans Narrow;
    --heading-font: Oswald;

    --navbar-bg: #104385;
    --menu-item-color: var(--button-hover-color);
    /* for About, LoyaltyCoupon, Special Note text bg */
    --card-bg: var(--primary-color);
    --card-border-radius: 4px;
    --featured-item-section-bg: var(--primary-color);
    --featured-item-card-bg: var(--secondary-color);
    --featured-item-card-text: var(--text-color);
    --footer-bg: #0c3533;
}

/* -------------------- Base -------------------- */
body {
    background: var(--bg-color);
    font-family: var(--body-font);
    color: var(--text-color);
}

/* -------------------- Typography -------------------- */
.heading,
.page-title {
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* -------------------- Buttons, Links, Icons -------------------- */
a {
    color: inherit;
}

.button {
    border-radius: var(--button-border-radius) !important;
    border: none !important;
}

.button:hover {
    color: #FFFFFF !important;
    background-color: var(--button-hover-color) !important;
    border-color: var(--button-hover-color) !important;
}

.link:hover {
    text-decoration: underline;
}

/* -------------------- Navbar -------------------- */
.navbar, .navbar .content .mobile-menu {
    background: var(--navbar-bg);
    color: #FFFFFF;
}


.navbar .nav-item .link:hover {
    text-decoration: none !important;
    border-bottom: 4px solid #fff !important;
}

.navbar .order-now-button {
    background-color: var(--secondary-color) !important;
    color: #ffffff !important;
}

.navbar .book-a-table-button {
    border: 1px solid #ffffff !important;
}

/* -------------------- Footer -------------------- */
footer {
    background: var(--footer-bg);
}

footer .order-now-button {
    background-color: var(--primary-color) !important;
    color: inherit !important;
    /* added by Joy */
}

/* -------------------- Popup - Custom Message and Loyalty Program -------------------- */
.website-popup-modal .dismiss-button path {
    stroke: var(--secondary-color);
}

.website-popup-modal .button {
    background-color: var(--primary-color) !important;
    color: inherit !important;
}

/* -------------------- Common - Page -------------------- */
.collection-type-button,
.collection-types button.collection-type {
    border: 1px solid var(--primary-color) !important;
    background-color: transparent;
    color: inherit;
}

.collection-type-button.selected {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* -------------------- Home Page -------------------- */
/*** Hero section */
section.hero .overlay {
    background: var(--overlay-color);
    display: none !important;
}

section.hero .button {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

section.hero .button:hover {
    color: #FFFFFF !important;
    background-color: var(--button-hover-color) !important;
    border-color: var(--button-hover-color) !important;
}

/*** Covid Safe section */
section.covid-safe .guideline path {
    fill: var(--primary-color);
}

/*** About Us card */
section.about-us .content .info {
    background-color: var(--card-bg);
    border-radius: var(--card-border-radius);
}

/*** Special Note card */
section.special-note .content .offset {
    background-color: var(--card-bg);
    border-radius: var(--card-border-radius);
}

/*** Featured Item section */
section.featured-items {
    background: var(--featured-item-section-bg);
}

section.featured-items .heading {
    color: #FFFFFF;
}

section.featured-items .content .info {
    background-color: var(--featured-item-card-bg) !important;
    color: var(--featured-item-card-text);
}

section.featured-items .view-menu-button {
    background-color: var(--secondary-color) !important;
}

/*** Whats New section */

/*** Loyalty Card & Coupon sections */
section.loyalty-coupon .promo {
    background: var(--card-bg);
    border-radius: var(--card-border-radius);
}

/*** Special Note section */
section.special-note {
    background-size: cover;
    background-color: var(--secondary-color);
}

section.whats-new .read-more-link {
    color: inherit !important;
}


/* -------------------- Menu Page -------------------- */
.menu-page .category h2 {
    font-family: var(--heading-font);
}

.menu .items .name {
    color: var(--menu-item-color);
}

/* Text-colors for specific sections - About, Featured Item, Loyalty Coupon, Special Note */
section.about-us .content .info,
section.featured-items .items .info,
section.loyalty-coupon .content .promo,
section.special-note .content .offset {
    color: #f3f0ed;
}

.collection-types button.collection-type-button.selected {
    background-color: var(--primary-color);
}

.collection-types button.collection-type-button {
    background-color: transparent;
}

/*** Covid Safe section */
section.covid-safe {
    padding: 0px!important;
}
section.covid-safe .guideline path {
    fill: var(--primary-color);
}

section.covid-safe .content .image {
    display: none;
}

section.covid-safe .content .info .heading,
section.covid-safe .content .info .message{
    display: none;

}

section.covid-safe .content {
    height: 329px;
    padding: unset;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 120px;

    overflow: hidden;
}

section.covid-safe .info {
    max-width: 1280px;
    width: 100%;
    padding: unset!important;
}

section.covid-safe .content::before {
    position: absolute;
    background-image: url('https://restoplus-prod.imgix.net/users/k5NhU6tQtrWZIOcQ2VZHQTxT9og1/images/custom_themes/smash-bite-covid-desktop.jpg');
    background-repeat: no-repeat;
    background-size:100%;
    display: block;
    content: '';
    max-width: 1280px !important;
    max-height: 329px !important;
    width: 100%;
    height: 100%;
}

/* Custom Page Mobile */
@media (max-width: 768px) {
    section.covid-safe {
        padding: 0px;
    }
    section.covid-safe .content {
        height: 768px;
        margin-top: 50px;
        margin-bottom: 0px!important;
    }

    /* covid section */
    section.covid-safe .content::before {
        background-image: url('https://restoplus-prod.imgix.net/users/k5NhU6tQtrWZIOcQ2VZHQTxT9og1/images/custom_themes/smash-bite-covid-mobile.jpg');
        max-width: 768px !important;
        max-height: 768px !important;
    }

}

@media (max-width: 375px) {
    section.covid-safe .content {
        height: 375px;
        margin-top: 90px;
        margin-bottom: 50px;
    }
}