.hero {
    margin-top: 0;
    min-height: 56vh;
    display: flex;
    align-items: flex-start;
    padding-top: 40px;
    background: url("../img/bg.png") no-repeat center center;
    background-size: cover;
}

.hero-overlay {
    width: 100%;
    margin-left: 5%;
}

.specials {
    background: url("../img/bgWood.png");
    background-size: cover;
    display: flex;
    gap: 50px;
    color: #fff;
    flex-direction: row;
    align-items: flex-end;
    padding: 80px 30px 100px;
}

.specials-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 335px;
    margin-top: -10px;
}

.specials-content h2 {
    font-size: 2.2rem;
    margin-bottom: 18px;
    margin-top: 30px;
    font-family: 'DM Sans', sans-serif;
    font-weight: bold;
}

.specials-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-family: 'DM Sans', sans-serif;
}

.special-btn {
    width: auto;
    margin-top: 18px;
    padding: 12px 36px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 40px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-style: italic;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.specials-image {
    flex-shrink: 0;
}

.specials-image img {
    max-width: 300px;
    width: 100%;
}

.about {
    background: url("../img/bgWood.png");
    padding: 80px 30px 100px;
}

.flex1 {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
}

.flex2 {
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
    width: 100%;
}

.about-card h2 {
    font-style: italic;
    margin: 18px 0;
    font-size: 1.9rem;
}

.about-card p {
    line-height: 1.8;
    margin-bottom: 10px;
}

.frame {
    width: 100%;
    height: 100%;
}

.frame img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.order {
    background: url("../img/bgWood.png");
    background-size: cover;
}

.tagline {
    padding: 80px 30px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tagline h1 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    max-width: 900px;
    margin-top: 30px;
    color: #fff8ee;
}

.categories-wrapper {
    width: 100%;
    overflow: hidden; 
}

.categories {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 30px 20px 60px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
}

.categories::-webkit-scrollbar {
    display: none;
}

.category-card {
    flex: 0 0 min(260px, 75vw);
    scroll-snap-align: center;
    box-sizing: border-box;
    text-align: center;
    background: #5a3019;
    border-radius: 18px;
    color: #fff;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 18px;
    min-height: 260px;
}

.category-card h3 {
    margin: 0;
    margin-bottom: auto;
    font-size: 1.1rem;
    font-style: italic;
    font-family: 'Lucida Calligraphy', serif;
    color: #fff8ee;
}

.category-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.menu-navigation {
    background: transparent;
    padding: 50px 20px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.arrow-btn {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: #b84b2a;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(184, 75, 42, 0.25);
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.menu-btn-large {
    padding: 12px 36px;
    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    font-style: italic;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer {
    background: url("../img/devider.png");
    background-size: cover;
    padding: 60px 20px 80px;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    flex-direction: row;
}

.footer img {
    width: 45px;
    transition: .3s;
}

.category-card {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.category-card.animating {
    transform: scale(0.97);
    opacity: 0.99;
}

.category-card.centered {
    transform: scale(1.01);
    opacity: 1;
}


.footer img:hover {
    transform: scale(1.1);
}

@media (max-width: 900px) {

    .specials {
        flex-direction: column;
        align-items: center;
        padding: 60px 24px 80px;
        gap: 30px;
    }

    .specials-content {
        height: auto;
        align-items: center;
        text-align: center;
        margin-top: 0;
    }

    .special-btn {
        align-self: center;
    }

    .specials-image {
        display: none;           
    }

    .flex1 {
        flex-direction: column;
    }

    .about-card h2 {
        text-align: center;
    }

    .line {
        align-self: center;
    }

    .categories {
        padding: 30px 0 60px;
        gap: 16px;
    }

    .tagline {
        padding: 60px 24px 40px;
    }

    .tagline h1 {
        font-size: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 830px) {
  .category-card:first-child,
  .category-card:last-child {
    display: none;
  }
}

@media (max-width: 480px) {

    .hero {
        min-height: 45vh;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .specials-content h2 {
        font-size: 1.5rem;
    }

    .special-btn {
        padding: 10px 30px;
        font-size: 0.9rem;
    }

    .about-card h2 {
        font-size: 1.5rem;
    }

    .menu-btn-large {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .arrow-btn {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }

    .tagline h1 {
        font-size: 1.25rem;
    }
}

.arrow-btn:hover {
    transform: scale(1.08);
    background-color: rgba(255, 255, 255, 0.15);
}

.arrow-btn:active {
    transform: scale(0.95);
    background-color: rgba(255, 255, 255, 0.25);
}

.menu-btn-large:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.12);
}

.menu-btn-large:active {
    transform: translateY(1px) scale(0.97);
    background-color: rgba(255, 255, 255, 0.18);
}

.arrow-btn:hover,
.menu-btn-large:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.arrow-btn:active,
.menu-btn-large:active {
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}