:root {
    --black: #000;
    --white: #fff;
    --lightBg: #efe8da; 
    --darkBg: #cdad82;
    --main: #c12530;
    --lightMain: #ea2f41;
    --lighterMain: #fc5e75;
    --defaultTransition: all 500ms ease;

    --headerFont: "Fraunces", serif;
    --bodyFont: "Inter", sans-serif;
}


/* Box-sizing reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

/* Base body text */
body {
    font-size: 1.8rem; /* 18px */
    font-family: var(--bodyFont);
    height: 100%;
    width: 100%;
    line-height: 1.5;
}

p {
    line-height: 1.5;
}

.bold {
    font-weight: bold;
}
.bold-red {
    font-weight: bold;
    color: var(--main);
}

.no-break {
  white-space: nowrap;
}

.hide {
    display: none;
}

/* HAMBURGER/NAVBAR/HEADER STYLING */
/* -------------------------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------------------------------------- */
.nav {
    position: fixed;
    display: flex;
    align-items: center;
    background-color: rgba(225, 216, 202, 0.75);
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-logo {
    height: 6.5rem;
    width: auto;
    margin: 2rem;
}

.order-b {
    margin-left: auto;
    margin-right: 15rem;
    text-decoration: none;
    color: white;
    padding: 1.4rem 4.3rem;
    background-color: var(--darkBg);
    font-size: 2.5rem;
    transition: var(--defaultTransition);
    border-radius: 1rem;
}
.order-b:hover {
    color: var(--main);
    background-color: var(--white);
}
    @media (max-width: 450px) {
        .order-b {
            font-size: 2rem;
            padding: 1.75rem 2rem;
        }
    }

h1 {
    font-family: var(--headerFont);
    color: var(--main);
    font-size: 8rem;
    line-height: 7rem; 
    font-weight: 700; 
}

/* Hamburger Button */
.hamburger {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 3000;
}

.hamburger span {
    display: block;
    height: 10px;
    background: var(--main);
    border-radius: 1rem;
    transition: var(--defaultTransition);
    transform-origin: center;
}

.hamburger.active span {
    background: var(--white);
}

/* Animate to X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(17px, 17px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-100%);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(17px, -17px);
}

/* Fullscreen Nav */
.nav-hidden {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--main);
    overflow: hidden;
    transition: var(--defaultTransition);
    z-index: 2000;
}

.nav-hidden.open {
    height: 100%;
}

.nav-hidden ul {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-center {
    text-align: center;
}

.nav-hidden ul li {
    margin: 20px 0;
}

.nav-hidden ul li img {
    height: 6.5rem;
    width: auto;
}

.nav-hidden ul li a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: var(--defaultTransition);
}

.nav-hidden ul li a:hover {
    color: var(--lighterMain);
}

@media (max-width: 500px) {
    .nav-hidden ul li a {
        font-size: 1.5rem;
    }
}

/* HERO IMAGE------------------------------------------------------------ */
.hero-img {
    background-image: url('../img/nh_hero.png');
    background-attachment: fixed;
    width: 100%;
    height: 80vh;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-direction: column;
    position: relative;
}
@media (max-width: 500px) {
    .hero-img {
        background-image: none;
        background-color: var(--lightBg);
    }
}

.hero-h1-wrapper {
    display: flex;
    justify-content: center;
    flex: 1;
    transform: translateY(5%);
}

.hero-h1 {
    display: flex;
    align-items: center;  
}

.hero-h1 img {
    height: 13rem;
    width: auto;
    margin-right: 2rem;
}
    @media (max-width: 725px) {
        .hero-h1 img {
            margin-right: 0;
        }
    }


@media (max-width: 725px) {
    .hero-h1 {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-h1 img {
        margin-bottom: 1rem;
    }
}

/* BODY/NAVGRID STYLING */
/* -------------------------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------------------------------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 0 1rem 1rem 1rem;
    background-color: var(--lightBg);
}
/* make the last row span all 5 columns, then lay 4 equal cols inside */
.row-last {
    grid-column: 1 / -1;      /* spans all 5 outer columns */
    display: grid;             
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
    @media (max-width: 850px) {
        .grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .row-last {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 500px) {
        .grid {
            grid-template-columns: 1fr;
        }

        .row-last {
            grid-template-columns: 1fr;
        }

        /* clears span-2 (allows .row-last to expand full width */
        .span-2 {
            grid-column: auto !important;
        }
    }

.item {
    background: #efe8da;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    overflow: hidden;
    text-decoration: none;
    transition: var(--defaultTransition);
    border-radius: 2rem;
}

.item img {
    width: 100%;           
    height: 100%;
    object-fit: cover;  
}

.span-2 { grid-column: span 2; }

.menu-b {
    background-color: var(--lightMain);
    color: var(--white);
    font-size: 2.5rem;
}
.menu-b:hover {
    color: var(--main);
}

.contact-b {
    background-color: var(--main);
    color: var(--white);
    font-size: 2.5rem;
}
.contact-b:hover {
    color: var(--lighterMain);
}

.about-b {
    background-color: var(--white);
    color: var(--main);
    font-size: 2.5rem;
}
.about-b:hover {
    color: var(--black);
}

/* YELP SECTION STYLING */
/* -------------------------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------------------------------------- */

section:first-of-type {
    background-color: var(--lightBg);
    /* height: 80vh; */
}

h2 {
    font-family: var(--headerFont);
    color: var(--main);
    font-size: 6rem;
    font-weight: 700;
    text-align: center;
    padding-top: 10rem;
}
    @media (max-width: 550px) {
        h2 {
            font-size: 5rem;
        }
    }

/* YELP STAR RATING SECTION */
/* ------------------------------------------------------ */

.review-wrapper {
    margin-top: 6rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
    .review-wrapper > img {
        width: 30vw; 
        height: auto;
        margin-bottom: 1rem;
    }
        @media (max-width: 850px) {
            .review-wrapper > img {
                width: 65vw;
            }
        }

.rating-wrapper {
    display: flex;
    align-items: center;
    color: var(--black);
    transition: var(--defaultTransition);
    text-decoration: none;
}
    .rating-wrapper:hover {
        color: var(--white);
    }
    .rating-wrapper > span {
        font-size: 5rem;
        margin-right: 1.5rem;
    }

.star-wrapper {
    display: flex;
    flex-direction: column;
}

.check-page-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-start; 
    width: max-content;
    font-weight: 700;
}
    .arrow.dark {
        width: 10%;
        height: auto;
        margin-left: .5rem;
    }
    .arrow.light {
        height: auto;
        margin-left: .5rem;
        position: absolute;
        top: 5px;
        right: 2px;
        width: 10%;
        opacity: 0; /* hidden by default */
    }
    .arrow {
        transition: var(--defaultTransition);
    }
    .rating-wrapper:hover .dark {
        opacity: 0;
    }
    .rating-wrapper:hover .light {
        opacity: 1;
    }

/* YELP CARD REVIEWS STYLING */
/* ------------------------------------------------------ */
.yelp-card-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: var(--white);
    padding-bottom: 50px;
}

.yelp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem;
    background-color: var(--darkBg);
    border-radius: 2rem;
    margin: 3rem;
    width: 25vw;
    /* height: 60vh; */
}
    @media (max-width: 1200px) {
        .yelp-card {
            width: 30vw;
            margin: 1rem;
            padding: 2rem;
        }
    }
    @media (max-width: 800px) {
        .yelp-card-wrapper {
            flex-direction: column;
            align-items: center;
        }

        .yelp-card {
            width: 80vw;
        }
    }


.stars-5 {
    width: 15rem;
    margin: 1.5rem 0 3rem 0;
}

.quote-details {
    font-weight: 500;
    margin-top: auto;
}
.quote-details > span {
    font-weight: 300;
    
}

.review-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    position: relative;
    transition: var(--defaultTransition);
    margin:1.5rem 0 8rem 0;
}
    .review-link:hover {
        color: var(--main);
    }
    .arrow2.light {
        margin-left: .5rem;
        width: 12.5%;
        position: absolute;
        top: 6px;
        right: -22.5px;
    }
    .arrow2.red {
        margin-left: .5rem;
        position: absolute;
        top: 6px;
        right: -22.5px;
        width: 12.5%;
        opacity: 0; /* hidden by default */
    }
    .arrow2 {
        transition: var(--defaultTransition);
    }
    .review-link:hover .light {
        opacity: 0;
    }
    .review-link:hover .red {
        opacity: 1;
    }

/* FOOTER STYLING */
/* -------------------------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------------------------------------- */
footer {
    background-color: var(--main);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* stack on small screens */
    margin-top: 8rem;
    width: 50vw;
}
footer hr {
    border: 1px solid var(--white);
    width: 50vw;
    margin: 0 auto 0 auto;
}
@media (max-width:1150px) {
    .footer-top {
        width: 75vw;
    }
    footer hr {
        width: 75vw;
    }
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 0.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.footer-bottom {
    font-size: 1.4rem;
    margin: 2rem 0 2rem 0;
    opacity: 0.8;
    white-space: normal;
    text-align: center;
    padding: 0 20px 0 20px;
}

.footer-bottom a {
    color: var(--white);
}

/* privacy page section */
.privacy {
    margin: 200px;
}
@media (max-width: 1000px) {
    .privacy {
        margin: 200px 100px;
    }
}
@media (max-width: 650px) {
    .privacy {
        margin: 200px 25px;
    }
}

.privacy a {
    color: black;
}
.privacy-h1 {
    font-family: var(--bodyFont);
    margin-bottom: 20px;
}
.privacy-h2 {
    font-size: 5rem;
    margin-bottom: 20px;
    font-family: var(--bodyFont);
    font-weight: 700;
    text-align: left;
    padding-top: 0;
    line-height: 1;
    margin-top: 50px;
}
.privacy ul {
    margin-left: 40px;
    margin-top: 10px;
}