@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600;700&family=Pacifico&display=swap');

:root{
    --red: #ff4b3e;
    --dark: #1f2024;
    --cream: #fff8f0;
    --yellow: #ffd166;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    scroll-behavior: smooth;
    font-family: 'Josefin Sans', sans-serif;
}

body{
    background-color: var(--cream);
    overflow-x: hidden;
}

/* ---------------- reveal animation utility ---------------- */
.reveal{
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.show{
    opacity: 1;
    transform: translateY(0);
}
.reveal-left{
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal-left.show{
    opacity: 1;
    transform: translateX(0);
}
.reveal-right{
    opacity: 0;
    transform: translateX(60px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal-right.show{
    opacity: 1;
    transform: translateX(0);
}

/* ---------------- navbar ---------------- */
.section1{
    background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.navbar-brand img{
    transition: transform .3s ease;
}
.navbar-brand img:hover{
    transform: scale(1.05) rotate(-2deg);
}
.nav-link{
    font-weight: 600;
    position: relative;
    margin: 0 8px;
    transition: color .3s ease;
}
.nav-link::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0%;
    height: 2px;
    background: var(--red);
    transition: width .3s ease;
}
.nav-link:hover{
    color: var(--red) !important;
}
.nav-link:hover::after{
    width: 100%;
}
.section1 .form-control:focus{
    box-shadow: 0 0 0 3px rgba(255,75,62,0.15);
    border-color: var(--red);
}
.section1 .btn-outline-danger{
    transition: transform .25s ease, box-shadow .25s ease;
}
.section1 .btn-outline-danger:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255,75,62,0.3);
}

/* ---------------- hero section ---------------- */
.section2{
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff7ed 0%, #ffe9e3 100%);
}
.section2::before{
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,75,62,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.section2 h1{
    font-weight: 700;
    line-height: 1.3;
    animation: fadeInUp 1s ease both;
}
.section2 p{
    color: #555;
    margin: 18px 0 25px;
    animation: fadeInUp 1.2s ease both;
}
.section2 .btn-danger{
    background: var(--red);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all .3s ease;
    animation: fadeInUp 1.4s ease both;
    box-shadow: 0 8px 20px rgba(255,75,62,0.35);
}
.section2 .btn-danger:hover{
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 25px rgba(255,75,62,0.45);
}
.section2 .hero-img-wrap{
    animation: floatUpDown 4s ease-in-out infinite, fadeIn 1.2s ease both;
}

@keyframes floatUpDown{
    0%, 100%{ transform: translateY(0px); }
    50%{ transform: translateY(-18px); }
}
@keyframes fadeInUp{
    from{ opacity: 0; transform: translateY(30px); }
    to{ opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn{
    from{ opacity: 0; }
    to{ opacity: 1; }
}

/* ---------------- section3: features ---------------- */
.section3{
    background-color: #fff;
}
.section3 p.text-danger{
    letter-spacing: 3px;
    font-weight: 700;
}
.section3 h3{
    font-weight: 700;
}
.feature-card{
    padding: 30px 20px;
    border-radius: 16px;
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.feature-card:hover{
    transform: translateY(-10px);
    background: #fff5f2;
    box-shadow: 0 15px 35px rgba(255,75,62,0.15);
}
.feature-card img{
    transition: transform .4s ease;
}
.feature-card:hover img{
    transform: scale(1.1) rotate(-4deg);
}
.feature-card h3{
    margin-top: 15px;
    font-weight: 600;
}
.feature-card p{
    color: #777;
}

/* ---------------- section4: menu cards ---------------- */
.section4{
    background: linear-gradient(180deg, #fff 0%, #fff8f0 100%);
}
.section4 h3.text-danger{
    letter-spacing: 3px;
    font-weight: 700;
}
.section4 h2{
    font-weight: 700;
    margin-bottom: 30px;
}
.sec4cont{
    border-bottom: 3px solid var(--red);
}
.menu-card{
    border-radius: 18px;
    padding: 25px;
    background: #fff;
    transition: transform .4s ease, box-shadow .4s ease;
    position: relative;
    overflow: hidden;
}
.menu-card:hover{
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.menu-card img{
    border-radius: 12px;
    transition: transform .5s ease;
}
.menu-card:hover img{
    transform: scale(1.08);
}
.menu-card h3{
    font-weight: 700;
    margin-top: 12px;
}
.menu-card .price{
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
}
.menu-card .stars i{
    color: var(--yellow);
}
.menu-card .add-btn{
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, background .3s ease;
}
.menu-card .add-btn:hover{
    transform: rotate(90deg) scale(1.1);
    background: var(--dark);
}

/* ---------------- section5: order form ---------------- */
.section6{
    background: linear-gradient(135deg, #ffe9e3 0%, #fff7ed 100%);
}
.section6 h2{
    font-weight: 700;
    margin-bottom: 30px;
}
.section6 img{
    border-radius: 16px;
    animation: floatUpDown 5s ease-in-out infinite;
}
.section6 .form-control{
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    transition: box-shadow .3s ease, border-color .3s ease;
}
.section6 .form-control:focus{
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(255,75,62,0.12);
}
.section6 .btn-outline-danger{
    border-radius: 50px;
    padding: 10px 35px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all .3s ease;
}
.section6 .btn-outline-danger:hover{
    background-color: var(--red);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,75,62,0.3);
}

/* ---------------- footer ---------------- */
.section7{
    background: var(--dark);
    color: #f1f1f1;
    padding: 50px 0;
}
.section7 img{
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}
.section7 p{
    color: #c9c9c9;
}
.section7 i{
    border: 1px solid #555;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .3s ease;
    margin: 0 4px;
}
.section7 i:hover{
    background-color: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: translateY(-5px);
}
.section7 h6{
    margin-top: 20px;
    color: #999;
}

/* ---------------- back to top ---------------- */
#backToTop{
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--red);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255,75,62,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s ease;
    z-index: 1000;
}
#backToTop.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#backToTop:hover{
    background: var(--dark);
}
