@font-face {
    font-family: 'Facto';
    src: url('../static/fonts/facto_trial_bold.woff') format('woff'),
        url('../static/fonts/facto_trial_bold.ttf') format('truetype'),
        url('../static/fonts/facto_trial_bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    /* Improves performance */
}

@font-face {
    font-family: 'Facto';
    src: url('../static/fonts/facto_reg.woff') format('woff'),
        url('../static/fonts/facto_reg.ttf') format('truetype'),
        url('../static/fonts/facto_reg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Facto';
    src: url('../static/fonts/facto_medium.woff') format('woff'),
        url('../static/fonts/facto_medium.ttf') format('truetype'),
        url('../static/fonts/facto_medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Facto';
    src: url('../static/fonts/facto_light.woff') format('woff'),
        url('../static/fonts/facto_light.ttf') format('truetype'),
        url('../static/fonts/facto_light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Reset some default styles */
:root {
    --bg-color: #FFFAF1;
    --red: #DE1411;
    --green: #12B027;
    --black: #000000;
    --white: #FFFFFF;
    --yellow: #F3B61F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    /* width: 100%;
    max-width: 100vw;
    position: relative; */
}

body {
    font-family: 'Facto', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: var(--bg-color);

}

/* Header and Navigation */
header {
    background-color: var(--bg-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    /* Make header fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: -10;
    opacity: 0;
    max-height: 100vw;
    /* Ensure header is above other content */
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    gap: 2rem;
    padding: 0 20px;
}

.logo {
    width: 200px;
    height: 90%;
    background-image: url('../static/images/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    max-width: 100%;
    min-width: 60px;
}

.nav-links {
    display: flex;
    width: 50%;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 500px;
    min-width: 430px;
}

.nav-link {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--black);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover {
    color: var(--red);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
}

.hamburger-menu-line {
    width: 30px;
    height: 3px;
    background-color: var(--black);
    margin: 5px 0;
}

.nav-links-mobile {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 5000;
    padding: 2rem;
    transform: translateX(100%);
    /* Start off-screen to the right */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

.nav-links-mobile.active {
    transform: translateX(0);
    /* Slide in from right */
    opacity: 1;
}

.nav-link-mobile {
    height: 3rem;
}

@media (max-width: 768px) {
    nav {
        justify-content: space-between;
        padding: 0 20px;
        height: 70px;
    }

    .hamburger-menu {
        display: block;
    }

    .nav-links {
        display: none;
    }
}


.order-now-button {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--black);
    background-color: var(--yellow);
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-now-button:hover {
    color: var(--red);
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Main Content */


/* Landing Nav */
.landing-nav {
    display: flex;
    width: 100%;
    background-color: var(--black);
}

.landing-image {
    width: 100%;
    height: 120%;
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    /* z-index: 1; */
}

.landing-card {
    flex: 1;
    /* min-width: calc(33.333% - 14px); */
    /* Accounting for gap between cards */
    height: 300px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding-left: 1.5rem;
    transition: background-position 0.1s ease-out, transform 0.3s ease;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3);
        transition: background-color 0.3s ease;
        z-index: 1;
    }

    &::after {
        content: '';
        position: absolute;
        width: calc(100% - 3rem);
        transform: scaleX(0);
        height: 2px;
        bottom: 10px;
        left: 1.5rem;
        background-color: var(--white);
        transition: transform 0.3s ease-in;
        transform-origin: bottom left;
        z-index: 2;
    }
}

.landing-card:hover::before {
    background-color: rgba(0, 0, 0, 0);
}

.landing-card:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Text styling for cards */
.image-text {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 400;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); */
    z-index: 2;
    opacity: 1;
    position: relative;
    transition: all 0.3s ease;
}

.landing-card:hover .image-text {
    text-shadow:
        1px 1px 3px rgba(53, 53, 53, 0.7),
        0px 0px 5px rgba(75, 75, 75, 0.5);
}


/* Background images for each card */
.menu-image {
    background-image: url('../static/images/burrito.jpg');
    background-size: auto 140%;
    transition: all 0.3s ease;
}

.order-image {
    background-image: url('../static/images/tacos.png');
    background-size: auto 140%;
}

.catering-image {
    background-image: url('../static/images/catering.jpeg');
    background-size: auto 140%;
}

.info-section {
    /* height: 100%; */
    background-color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* justify-content: center; */
    /* align-items: left; */
    /* background-image: url('../static/images/litsignhd.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center -3rem; */
}

.info-container {
    height: 800px;
    min-height: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    background-color: black;
    background-image: url('../static/images/storecropped12.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
    /* border: 1px solid red; */
}

.info-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgb(0, 0, 0) 20%, transparent 60%);
    z-index: 2;
}


.info-content {
    display: flex;
    /* border: 1px solid blue; */
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 8rem;
    position: relative;
    top: 0px;
}

.info-text-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.info-text-section {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 500;
    z-index: 2;
    /* width: 50rem; */
    width: fit-content;
    text-align: center;
}

.info-header {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 500;
    position: absolute;
    top: 2rem;
    z-index: 50;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 5000;
    cursor: pointer;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;

}

.close-menu:hover {
    color: var(--red);
    transition: all 0.3s ease;
    /* cursor: pointer; */
}

@media (max-width: 768px) {
    .info-header {
        font-size: calc(0.3rem + 3vw);
    }

    .info-text-section {
        font-size: calc(0.5rem + 2vw);
    }

    .info-text-section.hours-section {
        width: 20rem;
    }
}

.info-image-container {
    width: 100%;
    height: 30rem;
    min-width: 20rem;
    max-width: 70rem;
    max-height: 50rem;
}

.info-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 5;
}

.social-svg {
    width: 2rem;
    height: 2rem;
    /* filter: saturate(0); */
    transition: all 0.3s ease;
    /* Makes the SVG black */
    filter: brightness(0) invert(1);
}


.social-svg:hover {
    filter: none;
}


.hours-section {
    width: 23rem;
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.hours-text {
    text-align: right;
}

.underline-animation {
    position: relative;

    &::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 1.5px;
        bottom: -5px;
        left: 0;
        background-color: var(--white);
        transition: transform 0.3s ease-in;
        transform-origin: bottom left;
    }
}

.underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
}

.contact-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Menu Section */
.menu-section {
    /* height: 1000px; */
    min-height: 1000px;
    background-color: var(--bg-color);
    /* display: flex;
    flex-direction: column; */
    padding: 2rem 0;
    font-family: 'Facto', sans-serif;
}

.menu-container {
    /* display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    border: 1px solid red;
    padding-top: 2rem; */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    font-family: 'Facto', sans-serif;
}

.menu-header {
    /* font-size: 2rem; */
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Facto', sans-serif;
}

.menu-content {
    /* display: flex;
    flex-flow: row wrap;
    gap: 0rem;
    border: 1px solid blue;
    padding: 2rem;
    align-items: center;
    justify-content: center;
    gap: 2rem; */
    /* border: 1px solid red; */
    width: 100%;
    margin: 0 auto;
}

.menu-slab {
    /* height: 40rem;
    display: inline-block;
    width: 20rem;
    flex: 1; */
    width: 20rem;
    /* Fixed width for consistent columns */
    margin-bottom: 20px;
    border: 2px solid var(--red);
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 25rem;

    /* align-items: space-between; */
    background-color: var(--bg-color);
    font-family: 'Facto', sans-serif;
}

.menu-slab-header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-color);
    padding: 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--green);
    font-family: 'Facto', sans-serif;
}

.first-item {
    margin-top: 1.0rem;
}

/* Menu Item Styles */

.menu-item-subheader {
    font-size: 1.25rem;
    font-weight: 700;
    /* text-align: center;
    width: 100%; */
    color: var(--red);
    /* align-self and justify-self don't work here because the parent container 
       doesn't use grid or flex properties that would make these effective */
    font-family: 'Facto', sans-serif;
}

/* Menu Item Container with separator line */
.menu-item-container {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    width: 100%;
    position: relative;
    font-family: 'Facto', sans-serif;
}

/* Add separator line using ::after pseudo-element */
.menu-item-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Remove separator from last item and subheaders */
.menu-item-container:last-child::after,

.subheader-container {
    justify-content: center;
}

.menu-item-left {
    display: flex;
    flex-direction: column;
    max-width: 75%;
}

.menu-item-name {
    font-weight: 700;
    font-size: 1.0rem;
    font-family: 'Facto', sans-serif;
}

.menu-item-description {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.0;
    font-weight: 400;
    font-family: 'Facto', sans-serif;
}

.menu-item-price {
    font-weight: 700;
    font-size: 1.0rem;
    font-family: 'Facto', sans-serif;
}

.catering-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-color);
}

.catering-sec-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
}

.catering-section {
    margin: 4rem 0;
}

.catering-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
}

.inline-link {
    color: var(--black);
    transition: all 0.3s ease;
}

.inline-link:hover {
    color: var(--red);
}

.section-header {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    font-family: 'Facto', sans-serif;
}

.catering-description {
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Facto', sans-serif;
    padding: 0 3rem;
}

.about-description {
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Facto', sans-serif;
    padding: 0 3rem;
}

.about-container {
    display: flex;
    flex-direction: column;
}

.about-block {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    /* position: relative; */
    margin: 3rem 0;
    padding: 1rem;
}

.about-content {
    width: 50%;
}

.about-image-container {
    position: relative;
    width: 50%;
    height: auto;
    display: flex;
    justify-content: center;
}

.about-align-center {
    align-items: center;
}

.about-image-1 {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5);
}

/* Styling for the background pill */
.background-pill-right {
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: #92B997;
    border-radius: 200px 0px 0px 200px;
    z-index: -1;
    bottom: -20px;
    right: -40px;
    opacity: 0.8;
}

.background-pill-left {
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: #DA7978;
    border-radius: 0px 200px 200px 0px;
    z-index: -1;
    bottom: -20px;
    left: -40px;
}

@media (max-width: 768px) {
    .catering-container {
        flex-direction: column;
    }

    .catering-sec-image {
        width: 100%;
        max-height: 400px;
    }

    .catering-content {
        width: 100%;
    }

    .about-block {
        flex-direction: column;
    }

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

    .about-image-container {
        width: 100%;
        order: 1;
    }

    .about-content {
        width: 100%;
        order: 2;
        margin-top: 2rem;
    }

    .background-pill-right {
        width: 80%;
        /* height: 300px; */
    }

    .background-pill-left {
        width: 80%;
    }

}

/* Tree SVG above footer */
.tree-container {
    display: flex;
    flex-direction: row;
    position: relative;
    margin-bottom: 0px;
    justify-content: space-between;
    padding: 0 1rem;
    /* Adjust this value to control how much the tree overlaps with the footer */
    z-index: 10;
}

.footer-tree {
    width: 100px;
    height: auto;
    max-width: 100%;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--yellow);
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33%;
}

.footer-header {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black);
    text-transform: uppercase;
}

.footer-info {
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
}

.footer-link {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--red);
    text-decoration: underline;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.social-svg-footer {
    width: 1.5rem;
    height: 1.5rem;
    filter: brightness(0);
    transition: all 0.3s ease;
}

.social-icons-footer {
    margin-top: 1rem;
}

.social-svg-footer:hover {
    filter: brightness(0) saturate(100%) invert(13%) sepia(74%) saturate(6125%) hue-rotate(357deg) brightness(94%) contrast(94%);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .footer-section:last-child {
        margin-bottom: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links li {
        margin: 0 0.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .landing-nav {
        flex-direction: column;
    }

    .landing-card {
        min-height: 8rem;
    }

    .landing-image {
        background-size: cover;
    }

    .info-content {
        flex-direction: column;
    }

    .menu-slab {
        width: 100%;
        /* Full width on mobile */
    }

    .catering-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .about-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 1000px) {
    .info-container {
        background-size: auto 100%;
        height: calc(600px - ((600px - 100vw) * 0.6));
        min-height: 300px;
    }
}

.landing-card-link {
    text-decoration: none;
    color: inherit;
    display: contents;
    /* Makes the link behave like its contents */
    cursor: pointer;
}

.fade-image {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}