/* =============== VARIABLES / THEME =============== */
:root {
    --bg-color: #fdf5e6;
    /* Old Lace / Warm Cream for food site bg */
    --surface-color: #ffffff;
    --text-primary: #332115;
    /* Dark brown for text */
    --text-secondary: #6e4e37;

    --primary-color: #ff5400;
    /* Vivid appetizing Orange/Red */
    --primary-glow: rgba(255, 84, 0, 0.4);
    --secondary-color: #fec107;
    /* Cheerful Yellow */
    --dark-color: #2b1a10;

    --font-heading: 'Fredoka', sans-serif;
    /* Playful, round font */
    --font-body: 'Nunito', sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy */
    --transition-medium: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-slow: 0.8s ease;
}

/* =============== BASE & UTILITIES =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-medium);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

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

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.pt-4 {
    padding-top: 4rem;
}

.pt-2 {
    padding-top: 2rem;
}

.text-yellow {
    color: var(--secondary-color);
}

.text-large {
    font-size: 1.2rem;
}

/* =============== TYPOGRAPHY =============== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    line-height: 1.2;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

/* Wavy underline decoration for span */
h2 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10 Q 25 20, 50 10 T 100 10" fill="none" stroke="%23fec107" stroke-width="5" stroke-linecap="round"/></svg>') repeat-x;
    background-size: 50px auto;
    z-index: -1;
}

p {
    font-size: 1.05rem;
    font-weight: 600;
}

/* =============== BUTTONS (PILL / BOUNCY) =============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-pill {
    border-radius: 50px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 20px rgba(255, 84, 0, 0.6);
}

.btn-secondary {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-dark {
    background-color: var(--dark-color);
    color: #fff;
    box-shadow: 0 10px 20px rgba(43, 26, 16, 0.4);
}

.btn-dark:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.3rem;
}

.btn-bounce {
    animation: bounce-subtle 3s infinite;
}

@keyframes bounce-subtle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* =============== NAVBAR =============== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-medium);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(253, 245, 230, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 800;
    color: var(--text-secondary);
    position: relative;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* =============== HERO SECTION =============== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 6rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blob {
    position: absolute;
    filter: blur(50px);
    opacity: 0.4;
    z-index: -1;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    border-radius: 50%;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge-pill {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(254, 193, 7, 0.4);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.rating-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 800;
    font-size: 0.9rem;
}

/* Hero Image Composition */
.hero-image {
    position: relative;
}

.img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-backdrop {
    position: absolute;
    width: 90%;
    height: 90%;
    background-color: var(--secondary-color);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-ring 4s infinite alternate;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.floating-food {
    position: relative;
    z-index: 2;
    width: 110%;
    /* Break out of container */
    max-width: none;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
    animation: float-y 5s ease-in-out infinite;
}

@keyframes float-y {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.price-badge {
    position: absolute;
    bottom: 10%;
    right: 0;
    background: var(--dark-color);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2rem;
    padding: 1rem;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border: 4px dashed var(--secondary-color);
    transform: rotate(15deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* =============== MENU SECTION =============== */
.menu-section {
    padding: 6rem 0;
    background-color: #fff;
    border-radius: 60px 60px 0 0;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.menu-card {
    background: var(--bg-color);
    border-radius: 30px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-medium);
    border: 3px solid transparent;
}

.menu-card:hover {
    transform: translateY(-15px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-img-wrapper {
    width: 200px;
    height: 200px;
    margin: -4rem auto 1.5rem;
    border-radius: 50%;
    position: relative;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-img {
    width: 130%;
    max-width: none;
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.2));
    transition: var(--transition-medium);
}

.menu-card:hover .menu-img {
    transform: scale(1.1) rotate(5deg);
}

.hot-badge {
    position: absolute;
    top: 0;
    right: -10px;
    background: var(--primary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 800;
    font-family: var(--font-heading);
    box-shadow: 0 5px 10px var(--primary-glow);
    transform: rotate(10deg);
}

.menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.menu-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.menu-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* =============== FEATURES FOOD =============== */
.features-food {
    padding: 4rem 0 6rem;
    background-color: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(255, 84, 0, 0.1);
    transition: var(--transition-medium);
}

.feature-item:hover .icon-circle {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

/* =============== PROMO BANNER =============== */
.promo-banner {
    background: var(--secondary-color);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.banner-box {
    position: relative;
    z-index: 2;
}

.promo-img-decor {
    position: absolute;
    width: 300px;
    right: -50px;
    bottom: -150px;
    opacity: 0.5;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    transform: rotate(-15deg);
    z-index: -1;
}

/* =============== FOOTER =============== */
.border-top-dashed {
    border-top: 3px dashed rgba(43, 26, 16, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.social-links-food {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links-food a {
    width: 40px;
    height: 40px;
    background-color: var(--dark-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.social-links-food a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* =============== ANIMATIONS =============== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-img-delay {
    transition-delay: 0.3s;
}

.pop-delay-1 {
    transition-delay: 0.2s;
}

.pop-delay-2 {
    transition-delay: 0.4s;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem 2rem;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .badge-pill {
        margin: 0 auto 1.5rem;
    }

    .hero-image {
        margin-top: 3rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .btn-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .menu-grid,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 5rem 2rem;
    }

    .feature-grid {
        gap: 3rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}