@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Roboto:wght@100;300;400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    /* border: solid 1px red; */
}

:root {
    --lead: #212121;
    --gold-finger: #F2BD12;
    --eye-ball: #FFFDF7;
    --hint-yellow: #FCF1CC;
    --pure-white: #FFF;
}

body {
    background: var(--eye-ball);
}

/* Basic */
a {
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--lead);
}

.mt-one-half {
    margin-top: 1.5rem;
}

/* Utility Classes - No Conflicts */
.flex {
    display: flex;
    align-items: center;
}

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

.flex-center-wrap {
    display: flex;
    justify-content: center;
    gap: 6rem;
    flex-wrap: wrap;
}

.gap-2 {
    gap: 2rem;
}

.gap-3 {
    gap: 3rem;
}

li {
    list-style: none;
}

.wrapper {
    max-width: 1400px;
    margin: auto;
    padding-inline: 1.5rem;
}

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

.m-auto {
    margin: auto;
}

/* Section Padding - Specific Classes */
.p-top-hero {
    padding-top: 10rem;
}

.p-top-section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
    margin-bottom: 50px;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
}

/* Navlist Hover */
.navlist li a {
    position: relative;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navlist li a:hover {
    color: var(--gold-finger);
}

.navlist li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--gold-finger);
    left: 0;
    bottom: -4px;
    transition: 0.3s;
}

.navlist li a:hover::after {
    width: 100%;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gold-finger);
}

.btn {
    display: inline-block;
    padding: .9rem 2rem;
    background: var(--gold-finger);
    border-radius: 1rem;
    font-size: 1.1rem;
    color: var(--pure-white);
    box-shadow: rgba(0, 0, 0, 0.1) 2px 1px;
    transition: .3s;
}

.btn:hover {
    background: var(--lead);
}

.cart-icon {
    font-size: 1.3rem;
    position: relative;
}

.cart-icon .cart-value {
    position: absolute;
    top: 50%;
    right: -10px;
    font-size: .8rem;
    width: 20px;
    aspect-ratio: 1;
    border-radius: 100vw;
    background: var(--gold-finger);
    color: var(--lead);
    text-align: center;
    line-height: 20px;
}

.hamburger {
    font-size: 1.5rem;
    display: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 2rem 0;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 10px;
}

.content h1 {
    font-size: 4rem;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-container img {
    max-width: 500px;
    width: 100%;
}

/* Text */
h1 {
    font-size: 3.5rem;
    color: var(--lead);
    line-height: 1.2;
}

h1 span {
    color: var(--gold-finger);
}

p {
    font-size: 1.2rem;
    color: gray;
    line-height: 1.8rem;
}

.para {
    margin-block: 2rem;
    max-width: 520px;
}

/* section 04 styling */
.app-container .content h2 {
    font-size: 3rem;
    padding-top: 10px;

}

/* Social Icons */
.social-icons-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    background: var(--hint-yellow);
    width: 3rem;
    aspect-ratio: 1;
    border-radius: 1rem;
    font-size: 1.2rem;
    text-align: center;
    line-height: 3rem;
    box-shadow: rgba(0, 0, 0, 0.1) 2px 1px;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    background: var(--lead);
    color: var(--pure-white);
}

/* Services Section */
.service-card:hover img {
    transform: scale(1.1);
    transition: 0.3s;
}

/* Section titles */
h5 {
    font-size: 1.2rem;
    letter-spacing: .2rem;
    color: var(--gold-finger);
    text-transform: uppercase;
    margin-bottom: 10px;
}

h2 {
    font-size: 3rem;
    text-transform: capitalize;
    color: var(--lead);
}

h3 {
    font-size: 1.6rem;
    text-transform: capitalize;
    color: var(--lead);
    margin: 15px 0 10px;

}


/* Service Card */
.service-card {
    width: 280px;
    padding: 30px 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    border-top: 2px solid var(--gold-finger);
    border-bottom: 2px solid var(--gold-finger);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.images-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    text-align: center;
}

.service-card h3 {
    text-align: center;
}

/* MENU SECTION */

.menu-section {
    background: var(--eye-ball)
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.food-card {
    background: white;
    border: 0.2rem solid var(--gold-finger);
    border-radius: 20% 5%;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    animation: fadeUp 0.8s ease forwards;
}

.food-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.food-card img {
    width: 80%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: auto;
    filter: drop-shadow(black 0 5px 5px);
}

.food-info {
    padding: 20px;
}

.food-info h3 {
    margin-bottom: 8px;
}

.food-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
}

.cart-btn {
    padding: 8px 16px;
    border: none;
    background: var(--gold-finger);
    color: var(--pure-white);
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.cart-btn:hover {
    background: var(--lead)
}


/* CART TAB  */
/* CART TAB (hidden) */
.cart-tab {
    background: var(--hint-yellow);
    position: fixed;
    top: 0;
    right: -100%;   /*hide outside screen */
    width: 25rem;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;

    padding: 1rem;

    transition: 0.4s ease-in-out;
    z-index: 999;
}

/* SHOW CART */
.cart-tab.active {
    right: 0;   /* bring into screen */
}


.cart-list {
    flex: 1;
    width: 100%;
    margin-top: 1.5rem;
    overflow: auto;
}

.cart-list .item:nth-child(even){
    background: var(--eye-ball);
}

.cart-list::-webkit-scrollbar {
    width: 0;
}

.total-container {
    width: 100%;
    background: var(--gold-finger);
    text-align: center;
    margin-block: 1rem;
    padding-block: 1rem;
}

.total-container h4 {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 400;
}

.btn-container .btn {
    background: var(--lead);
    transition: 0.3s ease-in-out;
}

.btn-container .btn:hover {
    background: var(--gold-finger);
    color: var(--lead);
}

.item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .7rem 1rem;
    transition: all .5s ease-in-out;
}

.item.slide-out{
    transform: translateX(50%)
}

.item .ima-container img {
    width: 5rem;
}

.item h4 {
    font-size: 1.3rem;
    color: var(--lead);
}

.item .total-item {
    font-weight: 400;
    margin-top: .3rem;
}

.quantity-btn {
    background: var(--lead);
    color: var(--pure-white);
    width: 1.7rem;
    aspect-ratio: 1;
    border-radius: 100vw;
    text-align: center;
    line-height: 1.7rem;
}

.quantity-value {
    font-size: 1.2rem;
    font-weight: 400;
    margin-inline: .6rem;
}

.item .total-item {
    font-size: 1.1rem;
}




/* Slider */

.review-slider {
    margin-top: 2rem;
    max-width: 400px;
}

.review {
    display: none;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.review.active {
    display: block;
}

.review h3 {
    margin-bottom: 5px;
}

.stars {
    color: #F2BD12;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.slider-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.slider-buttons button {
    border: none;
    background: var(--gold-finger);
    color: white;
    font-size: 1.2rem;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.slider-buttons button:hover {
    background: var(--lead);
}

/* cart bounce */
@keyframes bounce {

    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.2);
    }

    60% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }

}

.cart-btn.bounce {
    animation: bounce 0.4s ease;
}


/* section 04 */

.app-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 2rem 0;
    margin-top: 8rem;
    background: var(--hint-yellow);
    border-radius: 30px;
}

.app-container img {
    max-width: 400px;
    width: 100%;
    margin-left: 40px;
    margin-top: 20px;
}

.newsletter-container .btn {
    border: none;
}

/* floating effect */
.app-image img {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

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

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

/* section 05 styling */
.input-container {
    width: 38rem;
    max-width: 100%;
    background: var(--pure-white);
    padding: .8rem;
    box-shadow: rgba(0, 0, 0, 0.10) 0 5px 8px;
    border-radius: 15px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    margin: 0 auto;
    /* 🔥 THIS centers the box */
}

.center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-container {
    margin-top: 8rem;
}

input[type="email"] {
    width: 100%;
    padding: .8rem;
    border: none;
    /* outline: none; */
    font-size: 1rem;
}

input[type="email"]:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.newsletter-container .para {
    letter-spacing: 2px;
    font-weight: 500;

}


/* Footer styling */

.footer-container {
    margin-top: 10rem;
    padding-block: 4rem;
    background: var(--hint-yellow);
}

.footer-wrapper {
    flex: 1;
}

.footer-wrapper .social-icon {
    background: var(--pure-white);
}

.footer-wrapper .social-icon:hover {
    background: var(--lead);
    color: var(--pure-white);
}

.footer-link {
    color: grey;
    font-size: 1.1rem;
}

.footer-link:hover {
    color: var(--lead);
}

.footer-wrapper h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-wrapper p {
    color: #555;
    line-height: 1.6;
}

.social-icons-container {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    transition: 0.3s;
}

.footer-bottom .col {
    text-align: center;
    background: var(--pure-white);
    color: var(--lead);
    padding: 10px;

}

.footer-container .flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
    /* allow wrap only if needed */
}




/* footer links hover*/
.footer-wrapper li a {
    position: relative;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}


.footer-wrapper li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--gold-finger);
    left: 0;
    bottom: -4px;
    transition: 0.4s;
}

.footer-wrapper li a:hover::after {
    width: 100%;
}



/* text underline to h5 all sections */

.text-center h5 {
    border-bottom: solid 2px var(--gold-finger);
    display: inline-block;
    padding-bottom: 4px;
}



/* Responsive Design */

/* Tablet & Mobile Breakpoint */
@media screen and (max-width: 992px) {

    .navlist {
        display: none;
    }

    .desktop-action .btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-section {
        flex-direction: column;
        text-align: left;
        gap: 2rem;
    }

    .image-container {
        justify-content: center;
        margin-top: 2rem;
    }

    .image-container img {
        max-width: 350px;
    }

    .image-container h3 {
        text-align: center;
    }

    .social-icons-container {
        align-items: center;
    }

    .hamburger {
        padding: 0 1rem;
    }

    .logo {
        margin-left: 0.5rem;
    }

    /* hamburger menu */

    .mobile-menu {

        position: absolute;
        top: 80px;
        left: 50%;
        transform: translate(-50%, -150%);

        width: 90%;
        max-width: 400px;

        background: white;

        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 1.5rem;
        padding: 2rem;

        border-radius: 15px;

        border-top: 2px solid var(--gold-finger);
        border-bottom: 2px solid var(--gold-finger);

        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);

        transition: 0.4s ease;

        z-index: 1000;

    }

    /* active menu */

    .mobile-menu.active {
        transform: translate(-50%, 0);
    }


    .hamburger i {
        transition: 0.3s;
    }

    /* change to X */

    .hamburger.active i::before {
        content: "\f00d";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
    }

    /* FOOD MENU RESPONSIVE (TABLET) */

    .food-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .food-card img {
        height: 180px;
    }

    .content h1 {
        font-size: 2rem;
    }

    /* Slider */

    .review-slider {
        margin-top: 2rem;
        max-width: 400px;
    }

    .review {
        display: none;
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .review.active {
        display: block;
    }

    .review h3 {
        margin-bottom: 5px;
    }

    .stars {
        color: #F2BD12;
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .slider-buttons {
        margin-top: 15px;
        display: flex;
        gap: 10px;
    }

    .slider-buttons button {
        border: none;
        background: var(--gold-finger);
        color: white;
        font-size: 1.2rem;
        padding: 8px 14px;
        border-radius: 8px;
        cursor: pointer;
        transition: 0.3s;
    }

    .slider-buttons button:hover {
        background: var(--lead);
    }

    /* section 04 styling */

    .app-container img {
        max-width: 300px;
        margin-left: 25px;

    }

}


/* Mobile Breakpoint */

@media screen and (max-width:768px) {

    .mobile-menu {

        position: absolute;
        top: 70px;
        left: 50%;

        transform: translate(-50%, -150%);

        width: 90%;
        max-width: 320px;

        background: white;

        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 1.2rem;

        padding: 1.5rem;

        border-radius: 12px;

        border-top: 2px solid var(--gold-finger);

        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);

        transition: 0.4s ease;

        z-index: 1000;

    }


    /* Heading font size styling  */
    .text-center h2 {
        font-size: 1.8rem;
    }

    .menu-section .text-center h2 {
        font-size: 1.8rem;
    }

    .mobile-menu.active {
        transform: translate(-50%, 0);
    }


    /* FOOD MENU RESPONSIVE (MOBILE) */

    /* MOBILE */

    .food-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .food-card {
        width: 100%;
    }

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

    .food-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .cart-btn {
        width: 70%;
    }

    .content h1 {
        font-size: 2rem;
    }

    .food-card img {
        height: 140px;
        object-fit: cover;
    }

    .food-card h3 {
        font-size: 1rem;
    }

    .food-card p {
        font-size: 0.5rem;
    }

    .food-card .hide {
        display: none;

    }

    .hamburger i {
        transition: 0.3s;
    }

    

    /* change to X */

    .hamburger.active i::before {
        content: "\f00d";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
    }

    /* This Css is for the review slider mobile responsive  */
    .review-section .wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .image-container {
        display: flex;
        justify-content: center;
    }

    .image-container img {
        max-width: 300px;
    }

    .review-slider {
        max-width: 100%;
        margin-top: 1.5rem;
    }

    .review {
        padding: 1.2rem;
    }

    .review p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .slider-buttons {
        justify-content: center;
    }

    .content h5 {
        text-align: center;
        margin-left: 100px;
    }

    .content h2 {
        text-align: center;
        font-size: 1.8rem;
        margin-left: 70px;
    }

    /* SECTION 03 STYLING */

    /* Slider */

    .review-slider {
        margin-top: 2rem;
        max-width: 400px;
    }

    .review {
        display: none;
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .review.active {
        display: block;
    }

    .review h3 {
        margin-bottom: 5px;
    }

    .stars {
        color: #F2BD12;
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .slider-buttons {
        margin-top: 15px;
        display: flex;
        gap: 10px;
    }

    .slider-buttons button {
        border: none;
        background: var(--gold-finger);
        color: white;
        font-size: 1.2rem;
        padding: 8px 14px;
        border-radius: 8px;
        cursor: pointer;
        transition: 0.3s;
    }

    .slider-buttons button:hover {
        background: var(--lead);
    }

    /* section 04 styling */
    .app-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        margin-left: 0.3rem;

    }

    .app-container img {
        max-width: 260px;
    }

    /* Content center */
    .app-container .content {
        text-align: center;
        width: 100%;
    }

    /* Headings */
    .app-container .content h5,
    .app-container .content h2 {
        text-align: center;
        margin: 0 auto;
    }

    .app-container .content h2 {
        font-size: 1.5rem;
        padding-top: 10px;

    }

    /* Paragraph */
    .app-container .para {
        font-size: 0.95rem;
        max-width: 90%;
        margin: auto;
        padding-top: 10px;
    }

    /* Button */
    .app-container .btn {
        display: block;
        margin: 20px auto;
    }

    /* footer */
    footer .flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-wrapper {
        width: 100%;
    }

    #footerSocialIcons {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-wrapper h3 {
        margin-top: 3rem;
    }

    /* Cart Tab */

     .cart-tab {
        width: 100%;
        max-width: 100%;
        right: -100%;
        padding: 1rem;
        height: 150vw;
    }

    .cart-tab.active {
        right: 0;
    }

    .item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .quantity-btn {
        width: 28px;
        height: 28px;
        margin-left: 8px;
    }

    .btn-container .btn {
        padding: 12px;
        font-size: 1rem;
    }

    .h4size h4{
        font-size: 1rem;
    }

    /* .cart-list::-webkit-scrollbar {
    width: 0;
} */

}