@import url('https://fonts.googleapis.com/css2?family=Forum&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--Forum-font-family);
}

:root {
    --secondary: #e6d28d;
    --primary: #3a8311;
    --bg: #fdfdfd;
    --textColor1: #000000;
    --textColor1-50: #00000089;
    --textColor2: #3a8311;
    --textColor3: #fff;
    --Forum-font-family: "Forum", serif;
    --e-global-typography-primary-font-family: "Roboto";
    --e-global-typography-primary-font-weight: 600;
    --e-global-typography-secondary-font-family: "Roboto Slab";
    --e-global-typography-secondary-font-weight: 400;
    --e-global-typography-text-font-family: "Roboto";
    --e-global-typography-text-font-weight: 400;
    --e-global-typography-accent-font-family: "Roboto";
    --e-global-typography-accent-font-weight: 500;
}

body {
    background-color: var(--bg);
    position: relative;
    font-family: var(--Forum-font-family);
}

ul {
    list-style: none;
}

.text-primary {
    color: var(--textColor2) !important;
}

.ff {
    font-family: var(--e-global-typography-accent-font-family);
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--primary);
}

.navs {
    box-shadow: none;
    padding-top: 20px;
}

.navs1 {
    width: 60%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

.navs1 .badge {
    width: 50px;
}

.navBar {
    position: fixed;
    width: 100%;
    margin: auto;
    /* display: flex; */
    justify-content: center;
    gap: 50px;
    margin-left: 50%;
    transform: translateX(-50%);
    align-items: center;
    z-index: 999999;
}

.navBar .NavMenu {
    display: flex;
    gap: 40px;
}

.navBar .NavMenu li {
    color: var(--textColor1);
    font-size: 1.4em;
    font-weight: bolder;
    transition: color 0.3s ease;
}

.navs.scroll {
    background-color: white;
    border-bottom: 5px solid var(--primary);
}

.navBar .logoSection {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../media/logoBG2.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.navBar .logoSection img {
    width: 110px;
    transform: translateY(-10px);
}

#herosection {
    width: 100%;
    height: 100vh;
    background: url(../media/pattrenBG.png);
}

.heroMask {
    width: 100%;
    height: 100%;
    z-index: 99;
    position: relative;
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full viewport height for hero */
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    position: relative;
    z-index: 10;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    color: white;
    text-align: center;
    font-family: "Oswald", sans-serif;
    /* Match your existing font */
    z-index: 20;
}

.slide-text h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 0.5em;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px #00000078;
}

.slide-text p {
    font-size: 1.5em;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

#herosection .heroMask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mask-image: url(../media/imageMask1.png);
    mask-size: cover;
    position: relative;
    mask-position: center -360px;
    z-index: -1;
    /* filter: brightness(70%); */
    /* opacity: 0.7; */
}

#herosection h1 {
    /* position: absolute;
    top: 40%; */
    /* left: 50%; */
    /* width: 100%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    color: #ffffff;
    text-align: center;
    font-family: "Oswald", sans-serif;
    line-height: 1.2;
    font-weight: 700;
    z-index: 999; */
}

#herosection h1 span {
    position: absolute;
    width: 100%;
    opacity: 1;
    font-family: "Oswald", sans-serif;
    /* z-index: 9999; */
    transform: scale(0.8);
}

.elephants {
    margin-left: 50%;
    transform: translateX(-50%);
    width: 90%;
    bottom: 0;
    position: absolute;
}

.elephants .elephant img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.elephant.e1 {
    /* transform: rotateY(-180deg); */
}

.elephant {
    width: 250px;
}

section#OurCuisins {
    width: 100%;
    /* height: 100vh; */
}

section h2.title {
    font-size: 3em;
    font-weight: bold;
    color: var(--textColor2);
    text-align: center;
}

section#OurCuisins h3 {
    font-size: 2em;
    font-weight: bold;
}

#OurCuisins ul.highlights {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
    gap: 10px;
    /* justify-content: center; */
    /* Optional: center items if there's space */
}

#OurCuisins .highlights li {
    margin: 0;
    background-color: var(--primary);
    color: var(--bg);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 1em;
    text-align: center;
    white-space: nowrap;
    /* ✅ Prevents line breaks */
    overflow: hidden;
    /* ✅ Prevents content overflow visually */
    text-overflow: ellipsis;
}

.masonry-wrapper {
    height: 500px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.masonry-wrapper::before,
.masonry-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
    pointer-events: none;
}

.masonry-wrapper::before {
    top: 0;
    background: linear-gradient(to bottom, white, transparent);
}

.masonry-wrapper::after {
    bottom: 0;
    background: linear-gradient(to top, white, transparent);
}

.masonry {
    column-count: 3;
    column-gap: 10px;
    position: relative;
    will-change: transform;
}

.masonry img {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    break-inside: avoid;
}

.IQcard .cardImage {
    height: 450px;
    mask-image: url(../media/ImageMask2.png);
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    transition: all .3s;
}


/* .IQcard:hover .cardImage {
    mask-size: 200%;
} */

.IQcard {
    text-align: center;
}

.IQcard h3 {
    color: var(--textColor2);
}

.IQcard .cardImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.REcard .cardImage {
    height: 400px;
}

.REcard .cardImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 100%;
    margin-top: 2px;
    margin-left: -2px;
}

.REcard .cardImage {
    width: 250px;
    height: 250px;
    padding: 33px;
    background-size: contain;
    overflow: hidden;
    border-radius: 100%;
    background-position: center;
    background-image: url(../media/reviewFrame.png);
    /* mask-repeat: no-repeat; */
    /* mask-size: contain; */
    /* mask-position: center; */
    /* transition: all .3s; */
}

.REcard {
    display: flex;
}

.menuItem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: sans-serif;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

.dots {
    flex: 1;
    border-bottom: 3px dotted var(--textColor2);
    height: 0;
    margin: 0 6px;
    position: relative;
    top: -0.1em;
}

.itemName {
    color: var(--textColor2);
}

.itemPrice {
    color: var(--textColor1);
    font-size: 1.5em;
}

.itemName,
.itemPrice {
    /* background-color: white; */
    /* or match your background */
    z-index: 1;
    padding: 0 5px;
    font-weight: bold;
}

#OurMenu {
    width: 100%;
    /* height: 100vh; */
    background: url('../media/menuBG.png');
    background-size: cover;
    background-position: center;
    transition: background-position 0.1s;
    overflow: hidden;
}

.pattrenBG {
    background-image: url(../media/pattrenBG.png);
}

footer {
    margin-top: 0px;
    width: 100%;
    /* height: 100vh; */
    background-image: url(../media/footer.png);
    background-size: 105%;
    background-repeat: no-repeat;
    background-position: top center;
    overflow: hidden;
}

.footer_logo {
    margin: auto;
    width: 300px;
    padding-top: 200px;
}

.footer_logo img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.footer_links {
    width: 50%;
    margin: auto;
}

.footer_links li {
    font-size: 1.2em;
    /* font-weight: bold; */
}

.linksHeader {
    font-weight: 1.3em;
    font-weight: bold;
}

.social_links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid var(--textColor2);
    border-radius: 100%;
    color: var(--textColor2);
}

nav a:hover {
    color: var(--textColor2) !important;
}

.social_links a:hover {
    color: var(--textColor3);
    background-color: var(--textColor2);
}

.address p {
    font-weight: bold;
}

.address i.fas {
    font-size: 2em;
    color: var(--textColor2);
}

.contactFooter {
    color: var(--textColor2);
    font-weight: bold;
    font-size: 2em;
}

.lowerFooter {
    width: 90%;
    margin: auto;
}

.footerBuilding {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 650px;
}

.footerBuilding img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.copyright-text .fa-heart {
    color: var(--textColor2);
}

.navBTN,
.navBTNC {
    display: none;
}


/* Contact us */

section#Hero2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 60vh;
    background-color: var(--secondary);
    background-image: url(../media/menuBG.png);
    background-repeat: no-repeat;
    background-size: cover;
    mask-image: url(../media/imageMask1.png);
    mask-repeat: no-repeat;
    mask-size: cover;
    mask-position: center 60%;
}

section#Hero2 h1 {
    text-align: center;
    font-size: 4em;
}

.contact input,
.contact textarea {
    border-radius: 10px;
    height: 40px;
    outline-color: var(--primary);
}

.contact input[type='submit']:focus {
    box-shadow: 5px 5px 0 var(--secondary), 10px 5px 0 var(--primary);
}

.contact input[type='submit'] {
    padding: 5px 30px;
}

.contact input:focus,
.contact textarea:focus {
    box-shadow: 4px 4px 0px var(--primary);
    border-color: var(--primary);
}

.contact textarea {
    border-radius: 10px;
    height: 100px;
}

.contact a {
    display: block;
    font-size: 1.5em;
}

.contact p {
    display: block;
    font-size: 1.2em;
}

.title {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    color: var(--textColor2);
    text-align: center;
    display: inline-block;
}

.title span span {
    display: inline-block;
    margin: 0 6px;
}

.title .line {
    height: 10px;
    width: 100%;
    background-image: url(../media/linePat.png);
    background-size: contain;
    background-position: center;
    transform: scaleX(0);
    transform-origin: center;
}

.btn.btn-primary {
    background-color: var(--primary);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 5px 40px;
}

p {
    color: var(--textColor1-50);
}

section#who {
    background-image: url(../media/pattrenBG.png);
}

.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 320px;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-group {
    display: flex;
}

.marquee-group img {
    height: 300px;
    /* filter: contrast(60%); */
    margin: 0 10px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 10px;
}


/* Animation */

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-text-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    background: var(--secondary);
    /* Optional */
    padding: 10px 0;
}

.marquee-text-track {
    display: flex;
    animation: text-marquee 20s linear infinite;
}

.marquee-text-group {
    display: flex;
}

.marquee-text-group span {
    display: inline-block;
    margin: 0 40px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}


/* Smooth scrolling animation */

@keyframes text-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Scroll animation */

@keyframes scroll-left {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

.iqbal-card {
    background-color: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.iqbal-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.iqbal-card .icon {
    width: 60px;
    height: 60px;
}

.paper-top,
.paper-bottom {
    min-width: 70%;
    max-width: 100%;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.paper-inner {
    overflow: hidden;
}

.category-btn,
.main-category-btn {
    min-width: 120px;
}

.menu-card h5 {
    font-size: 2em;
    text-align: center;
}

.menu-card li {
    padding: 0 20px;
    font-size: 1.2em;
}

.paper-top {
    margin-top: 10px;
}

.paper-bottom {
    margin-top: -10px;
}


/* .menu-section {
    position: relative;
}

.menu-section .bg {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(../media/menuBG.png);
    opacity: .1;
    background-size: 10%;
    background-position: center;
    /* background-repeat: no-repeat; */


/* } */

.seeall:hover {
    color: var(--primary);
}

#paper-menu {
    width: 55%;
    margin: auto;
    background-color: var(--secondary);
    background-image: url('../media/pattrenBG.png');
    mask-image: url(../media/paper.png);
    mask-size: 100% 120%;
    mask-position: center;
}

.menu-card li span:nth-child(1) {
    width: 70%;
}

.menu-card {
    border: 0;
    background-color: transparent;
    /* margin: 0 !important; */
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.185); */
}

.btn.btn-outline-warning {
    color: black;
}

.viewBtn {
    font-family: var(--e-global-typography-accent-font-family);
    background-color: #e6d28d;
}

@media screen and (max-width:4000px) and (min-width:1800px) {
    #herosection .heroMask img {
        mask-position: center -633px;
    }
}

@media screen and (max-width:1500px) and (min-width:1000px) and (min-height:600px) {
    #herosection .heroMask img {
        mask-position: center -400px;
    }
}

@media screen and (max-width:1500px) and (min-width:1300px) {
    .navs1 {
        width: 65%;
        margin: auto;
        display: flex;
        justify-content: space-between;
        transition: background-color 0.3s ease;
    }
}

@media screen and (max-width:1300px) and (min-width:1000px) {
    #OurCuisins .highlights li {
        margin: 0;
        background-color: var(--primary);
        color: var(--bg);
        padding: 10px 20px;
        border-radius: 100px;
        font-size: 1em;
        text-align: center;
        white-space: nowrap;
        /* ✅ Prevents line breaks */
        overflow: hidden;
        /* ✅ Prevents content overflow visually */
        text-overflow: ellipsis;
        /* ✅ Adds "..." if it overflows */
    }
    #herosection .heroMask img {
        mask-position: center -232px;
    }
    .lowerFooter {
        padding: 0px !important;
        padding-top: 15px !important;
    }
    .navs1 {
        width: 74%;
        margin: auto;
        display: flex;
        justify-content: space-between;
        transition: background-color 0.3s ease;
    }
}

@media screen and (max-width:500px) {
    /* * {
        border: 1px solid red;
    } */
    .navBar .logoSection {
        width: 155px;
        height: 80px;
    }
    .navBar .logoSection img {
        width: 60px;
    }
    #herosection h1 {
        top: 20%;
        width: 100%;
        font-size: 2.5em;
    }
    #herosection .heroMask img {
        mask-position: center;
    }
    .contactFooter {
        font-size: 1.2em;
    }
    .elephants {
        transform: translateX(-50%) translateY(-54px);
    }
    #OurCuisins .highlights li {
        font-size: .9em;
    }
    section h2.title {
        font-size: 2em;
        margin-bottom: 20px;
    }
    .REcard {
        text-align: center;
        justify-content: center;
        gap: 10px !important;
    }
    .REcard .cardImage img {
        width: 100px;
        height: 100px;
        margin-top: -41px;
        margin-left: -42px;
    }
    .REcard .cardImage {
        height: 137px;
        width: 137px;
        mask-repeat: no-repeat;
        padding: 60px;
    }
    #OurCuisins ul.highlights {
        padding: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, max-content));
        gap: 10px;
        justify-content: center !important;
    }
    footer {
        position: relative;
        overflow: hidden;
    }
    .mainFooter {
        width: 100%;
        height: 100%;
        bottom: 0;
        position: absolute;
        background-image: url(../media/pattrenBG.png);
        background-size: 95%;
        background-position-y: 400px;
        transform: translateY(216px);
        /* top: 216px; */
        z-index: -1;
    }
    .footer_links {
        width: 90%;
    }
    .footerBuilding {
        width: auto;
        filter: opacity(.5);
        z-index: -1;
    }
    .lowerFooter {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
    }
    .navBTN {
        display: block;
        color: var(--textColor2);
    }
    .navBTNC {
        display: block;
        position: absolute;
        top: 0;
        right: 10px;
    }
    .navs {
        top: 0;
        width: 100%;
        position: absolute;
        padding: 50px;
        padding-top: 80px;
        background-color: var(--bg);
        display: none;
        color: var(--textColor2);
    }
    .navs1 {
        width: 100%;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: background-color 0.3s ease;
    }
    .navBar .NavMenu {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 0;
        margin: 0;
    }
    .navBar .NavMenu li {
        color: var(--textColor2);
    }
    /* Contact us */
    section#Hero2 {
        align-items: center;
        min-height: 45vh;
        background-size: 110%;
        background-position: center 30px;
        mask-image: url(../media/imageMask1.png);
        mask-repeat: no-repeat;
        mask-size: cover;
        mask-position: center top;
    }
    section#Hero2 h1 {
        font-size: 2.5em;
        transform: translateY(-30px);
    }
    #paper-menu {
        width: 90%;
        margin: auto;
        background-color: var(--secondary);
        background-image: url('../media/pattrenBG.png');
        mask-image: url(../media/paper.png);
        mask-size: 100% 122%;
        mask-position: center;
        mask-repeat: no-repeat;
    }
    .footer_logo {
        padding-top: 100px;
    }
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    .subsM {
        display: none;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        background: white;
        height: 400px;
        z-index: 9999;
        overflow-y: scroll;
        top: 45px;
        box-shadow: 0 0 50px #00000054;
        border-radius: 20px;
        padding: 10px 20px;
    }
    .subsM.active {
        display: block;
    }
}