/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
     * colors
     */

  --rich-black-fogra-29: hsl(210, 26%, 7%);
  --champagne-pink_20: hsla(23, 61%, 86%, 0.2);
  --independence_30: hsla(245, 17%, 29%, 0.3);
  --gray-x-11-gray: hsl(0, 0%, 73%);
  --champagne-pink: hsl(23, 61%, 86%);
  --spanish-gray: hsl(0, 0%, 60%);
  --sonic-silver: hsl(0, 0%, 47%);
  --deep-saffron: hsl(32, 100%, 59%);
  --dark-orange: hsl(28, 100%, 58%);
  --desert-sand: hsl(23, 49%, 82%);
  --isabelline: hsl(38, 44%, 96%);
  --gainsboro: hsl(0, 0%, 87%);
  --tangerine: hsl(31, 84%, 50%);
  --cinnabar: hsl(3, 90%, 55%);
  --black_95: hsla(0, 0%, 0%, 0.95);
  --cultured: hsl(0, 0%, 93%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --onyx: hsl(0, 0%, 27%);

  /**
     * typography
     */

  --ff-shadows-into-light: 'Shadows Into Light', cursive;
  --ff-roboto: 'Roboto', sans-serif;
  --ff-rubik: 'Rubik', sans-serif;

  --fs-1: 3.2rem;
  --fs-2: 2.2rem;
  --fs-3: 1.8rem;
  --fs-4: 1.6rem;
  --fs-5: 1.2rem;

  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  /**
     * spacing
     */

  --section-padding: 30px;

  /**
     * shadow
     */

  --shadow-1: 0 1px 4px hsla(0, 0%, 0%, 0.2);
  --shadow-2: 0 1px 2px hsla(0, 0%, 0%, 0.2);

  /**
     * transition
     */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;

  /**
     * clip path
     */

  --clip-path-1: polygon(0 40%, 100% 0%, 100% 100%, 0 100%);
  --clip-path-2: polygon(0 0%, 100% 0%, 100% 100%, 0 100%);

}





/*-----------------------------------*\
    #RESET
  \*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
svg,
span,
input,
select,
button,
textarea,
ion-icon {
  display: block;
}

img {
  height: auto;
}

input,
select,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

html {
  font-family: var(--ff-roboto);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--sonic-silver);
  font-size: 1.6rem;
  line-height: 1.6;
  overflow-x: hidden;
}

body.active {
  overflow: hidden;
}

:focus-visible {
  outline-offset: 4px;
}

::selection {
  background-color: var(--deep-saffron);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: var(--cultured);
}

::-webkit-scrollbar-thumb {
  background-color: var(--deep-saffron);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--tangerine);
}





/*-----------------------------------*\
    #REUSED STYLE
  \*-----------------------------------*/

.container {
  padding-inline: 15px;
}

.h1,
.h2,
.h3,
.h4 {
  font-family: var(--ff-rubik);
  color: var(--rich-black-fogra-29);
  line-height: 1.2;
  letter-spacing: -1px;
}

.h1,
.h2 {
  font-size: var(--fs-1);
}

.h2,
.h3,
.h4 {
  font-weight: var(--fw-600);
}

.h3 {
  font-size: var(--fs-2);
}

.h4 {
  font-size: var(--fs-3);
}

.btn {
  background-color: var(--bg-color, var(--deep-saffron));
  color: var(--white);
  font-family: var(--ff-rubik);
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  height: var(--height, 45px);
  padding-inline: var(--padding-inline, 35px);
  transition: var(--transition-1);
  border-radius: 20px;
}

.btn-hover {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-hover::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 20px;
  width: 1px;
  height: 1px;
  transform: translate(-50%, 51%) scale(var(--scale, 1));
  border-radius: 50%;
  background-color: var(--rich-black-fogra-29);
  z-index: -1;
  transition: var(--transition-2);
}

.btn-hover:is(:hover, :focus)::after {
  --scale: 500;
}

.section {
  padding-block: var(--section-padding);
}

.section.white {
  background-color: var(--isabelline);
}

.section-divider {
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background-repeat: repeat no-repeat;
  background-position: bottom;
}

.section-divider.white::after {
  background-image: url("../images/shape-white.png");
}

.section-divider.gray::after {
  background-image: url("../images/shape-grey.png");
}

.w-100 {
  width: 90%;
}

.has-scrollbar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: inline mandatory;
  padding-block-end: 40px;
}

.has-scrollbar::-webkit-scrollbar {
  height: 12px;
}

.has-scrollbar::-webkit-scrollbar-button {
  width: calc(25% - 40px);
}

.has-scrollbar::-webkit-scrollbar-track {
  outline: 2px solid var(--deep-saffron);
  border-radius: 50px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  border: 3px solid var(--cultured);
  border-radius: 50px;
}

.section-title>.span {
  display: inline-block;
  color: var(--deep-saffron);
}

.abs-img {
  position: absolute;
  transform: scale(1);
}

.scale-up-anim {
  animation: scaleUp 1s linear infinite alternate;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.05);
  }
}

.section-subtitle {
  color: var(--cinnabar);
  font-family: var(--ff-rubik);
  text-align: center;
  font-weight: var(--fw-500);
}

.badge {
  position: absolute;
  background: var(--bg-color, var(--cinnabar));
  color: var(--white);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  padding: var(--padding-block, 2px) 15px;
}

.rating-wrapper {
  display: flex;
  gap: 5px;
  color: var(--deep-saffron);
}





/*-----------------------------------*\
    #HEADER
  \*-----------------------------------*/

/* .navbar, */
.header-btn-group .btn {
  display: none;
}

.header {
  --color: var(--white);
  --btn-color: var(--champagne-pink);

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 20px;
  border-block-end: 1px solid var(--champagne-pink_20);
  z-index: 4;
}

.header.active {
  --color: var(--tangerine);
  --btn-color: var(--rich-black-fogra-29);

  position: fixed;
  top: 0px;
  background-color: var(--white);
  box-shadow: var(--shadow-1);
  /* animation: slideIn 0.5s ease-out forwards; */
  z-index: 999;
}

@keyframes slideIn {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(100%);
  }
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
 
}

.logo {
  color: var(--color);
  font-family: var(--ff-rubik);
  font-size: 2.8rem;
  font-weight: var(--fw-700);
  letter-spacing: -2px;
}

.logo .span {
  display: inline-block;
  color: var(--deep-saffron);
}

.header-btn-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-btn {
  color: var(--btn-color);
  font-size: 20px;
}

.search-btn ion-icon {
  --ionicon-stroke-width: 50px;
}

.nav-toggle-btn {
  display: grid;
  gap: 4px;
}

.line {
  width: 10px;
  height: 3px;
  background-color: var(--btn-color);
  border-radius: 5px;
  transition: var(--transition-1);
}

.line.middle {
  width: 20px;
}

.line.bottom {
  margin-left: auto;
}

.nav-toggle-btn.active .line.top {
  transform: translate(1px, 3px) rotate(45deg);
}

.nav-toggle-btn.active .line.middle {
  transform: rotate(-45deg);
}

.nav-toggle-btn.active .line.bottom {
  transform: translate(-1px, -3px) rotate(45deg);
}

.navbar {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  border-radius: 0px 0px 20px 20px;
  background-color: var(--white);
  padding-inline: 20px;
  box-shadow: var(--shadow-1);
  height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: var(--transition-1);
}

.navbar.active {
  height: 236px;
  visibility: visible;
}

.navbar-list {
  margin-block: 10px;
}

.nav-item:not(:last-child) {
  border-block-end: 1px solid hsla(0, 0%, 0%, 0.04);
}

.navbar-link {
  color: var(--rich-black-fogra-29);
  font-size: var(--fs-4);
  font-family: var(--ff-rubik);
  font-weight: var(--fw-500);
  padding: 10px 15px;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) {
  color: var(--dark-orange);
}

.profile-img{
  border-radius: 50%;
  position: relative;
  border: 2px solid rgba(63, 61, 61, 0.678);
  width: 35px;
  height: 35px;
  cursor: pointer;
}
.profile-img img{
object-fit: cover;
width: 100%;
height: 100%;
border-radius: 50%;
}

/*-----------------------------------*\
    #SEARCH BOX
  \*-----------------------------------*/

  .shopping-cart svg{
    width:28px;
    height: 28px;
    fill: var(--btn-color);
  }


  /* Fullscreen Search Overlay - Redesigned */
    .search-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        display: flex;
        justify-content: center;
        align-items: flex-start; /* Changed from center to flex-start */
        padding-top: 80px; /* Added padding for mobile */
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        overflow-y: auto; /* Enable scrolling for the whole container */
    }

    .search-container.active {
        opacity: 1;
        visibility: visible;
    }

    /* Search Box Container */
    .search-box-container {
        width: 90%;
        max-width: 800px;
        padding: 20px;
        position: relative;
    }

    /* Close Button */
    .search-close-btn {
        position: fixed; /* Changed from absolute to fixed */
        top: 20px;
        right: 20px;
        color: #fff;
        font-size: 32px;
        cursor: pointer;
        background: none;
        border: none;
        transition: transform 0.3s ease;
        z-index: 10000;
    }

    .search-close-btn:hover {
        transform: rotate(90deg);
    }

    /* Search Input */
    .search-input-container {
        position: relative;
        margin-bottom: 20px;
    }

    .search-input {
        width: 100%;
        padding: 15px 50px 15px 20px;
        font-size: 16px;
        border: none;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        backdrop-filter: blur(10px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    @media (min-width: 768px) {
        .search-input {
            padding: 20px 60px 20px 30px;
            font-size: 18px;
        }
    }

    .search-input:focus {
        outline: none;
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    .search-input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .search-submit {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
    }

    @media (min-width: 768px) {
        .search-submit {
            right: 30px;
            font-size: 24px;
        }
    }

    /* Search Results */
    .search-results {
        max-height: 60vh;
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .search-result-item {
        display: flex;
        flex-direction: column; /* Stack items vertically on mobile */
        align-items: flex-start;
        padding: 15px;
        margin-bottom: 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    @media (min-width: 768px) {
        .search-result-item {
            flex-direction: row; /* Horizontal layout on desktop */
            align-items: center;
        }
    }

    .search-result-item:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
    }

    .search-result-item img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
        margin-right: 0; /* Reset for mobile */
        margin-bottom: 15px; /* Space between image and content on mobile */
    }

    @media (min-width: 768px) {
        .search-result-item img {
            margin-right: 20px;
            margin-bottom: 0;
        }
    }

    .search-result-info {
        flex: 1;
        width: 100%; /* Full width on mobile */
    }

    .search-result-info h4 {
        margin: 0 0 5px 0;
        color: #fff;
        font-size: 16px;
    }

    @media (min-width: 768px) {
        .search-result-info h4 {
            font-size: 18px;
        }
    }

    .search-result-info p {
        margin: 0;
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;
    }

    .search-result-item .add-to-cart-search {
        background: #ff9d2d;
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%; /* Full width button on mobile */
        margin-top: 10px;
        text-align: center;
    }

    @media (min-width: 768px) {
        .search-result-item .add-to-cart-search {
            width: auto;
            margin-top: 0;
        }
    }

    .search-result-item .add-to-cart-search:hover {
        background: #ff8c00;
    }

    .no-results {
        padding: 20px;
        text-align: center;
        color: rgba(255, 255, 255, 0.7);
        font-size: 16px;
    }

    /* Animation */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .search-results {
        animation: fadeIn 0.3s ease forwards;
    }

    /* Scrollbar styling */
    .search-results::-webkit-scrollbar {
        width: 8px;
    }

    .search-results::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }

    .search-results::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }

    .search-results::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    /* Mobile specific adjustments */
    @media (max-width: 767px) {
        .search-container {
            padding-top: 60px;
            align-items: flex-start;
        }
        
        .search-box-container {
            padding: 15px;
        }
        
        .search-results {
            max-height: calc(100vh - 180px); /* Adjust based on header height */
        }
    }







/*-----------------------------------*\
    #HERO
  \*-----------------------------------*/

.hero-banner {
  display: none;
  object-fit: cover;
  width: 500px;
  height:400px;
  right:50%;
}
.hero-img-bg{
  width:100%;
  height:100%;
}
.hero-img{
  width:100%;
  height:100%;
 }                /*----------------------------------- */


.hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: 145px 60px;
  text-align: center;
}

.hero-subtitle {
  color: var(--dark-orange);
  font-family: var(--ff-shadows-into-light);
  font-size: var(--fs-3);
  letter-spacing: 1px;
  margin-block-end: 25px;
}

.hero-title {
  color: var(--champagne-pink);
  max-width: 12ch;
  margin-inline: auto;
}

.hero-text {
  color: var(--desert-sand);
  margin-block: 15px 30px;
  max-width: 44ch;
  margin-inline: auto;
}

.hero .btn {
  margin-inline: auto;
}

.hero .btn:is(:hover, :focus) {
  background-color: var(--white);
  color: var(--black);
}

/*-----------------------------------*\
  #slider ENHANCEMENTS
\*-----------------------------------*/

/*-----------------------------------*\
  #slider ENHANCEMENTS WITH BLURRED BACKGROUND
\*-----------------------------------*/

.jananigroups-slider-container {
  position: relative;
  width: calc(100% - 10px);
  /* Occupies entire screen width with 5px margin */
  max-width: 100%;
  bottom: 17%;
  height: 30%;
  /* Keeps a reasonable height */
  margin: 5px auto;
  /* 5px margin on both sides */
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Background Blur */
.slider-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  /* Changed from 'contain' to 'cover' */
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(10px);
  z-index: -1;
  transition: background-image 0.5s ease-in-out;
}

.slider {

  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  background-image: linear-gradient(rgb(229 215 215 / 50%), rgb(247 236 24 / 20%));
  min-width: 100%;
  height: 100%;
  transition: opacity 1s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.slide img {
  width: 45%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.slide-content {
  width: 50%;
  text-align: left;
  padding: 20px;
}

.slide-content h2 {
  font-size: 2rem;
  color: #080500;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 1.8rem;
  color: #1c1818;
  margin-bottom: 15px;

}

.slide-content .buy-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ff6600;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: background 0.3s;
}

.slide-content .buy-btn:hover {
  background: #cc5500;
}

/* Navigation Buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  transition: 0.3s;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Remove Dots Navigation */
.jananigroups-dots-container {
  display: none;
}

/* Auto Slide */
@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}


/*-----------------------------------*\
    #PROMO
  \*-----------------------------------*/

.promo-card {
  position: relative;
  background-color: var(--white);
  text-align: center;
  padding: 40px 30px;
  box-shadow: var(--shadow-2);
  z-index: 1;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--deep-saffron);
  clip-path: var(--clip-path-1);
  transform: scaleY(0.3);
  transform-origin: bottom;
  z-index: -1;
  transition: var(--transition-1);
}

.promo-card:hover::after {
  clip-path: var(--clip-path-2);
  transform: scaleY(1);
}

.promo-card .card-icon svg {
  margin-inline: auto;
}

.promo-card:hover .card-icon path {
  fill: var(--white);
}

.promo-card:hover :is(.card-title, .card-text) {
  color: var(--white);
}

.promo-card .card-title {
  margin-block: 15px;
  transition: var(--transition-1);
}

.promo-card .card-text {
  margin-block-end: 15px;
  transition: var(--transition-1);
}

.promo-card .card-banner {
  max-width: max-content;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
}

.promo-item {
  min-width: 100%;
  scroll-snap-align: start;
}





/*-----------------------------------*\
    #ABOUT
  \*-----------------------------------*/

.about {
  text-align: center;
}

.about-banner {
  position: relative;
  aspect-ratio: 0/ 0.9;
}

.about-img {
  max-width: max-content;
  margin-inline: auto;
}

.about-banner .abs-img {
  top: 0;
  left: 100px;
}

.about .section-title {
  max-width: 15ch;
  margin-block: 40px 10px;
  margin-inline: auto;
}

.about-list {
  margin-block: 20px 30px;
}

.about-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.about-item:not(:last-child) {
  margin-block-end: 10px;
}

.about-item ion-icon {
  background-color: var(--deep-saffron);
  color: var(--white);
  font-size: 1.2rem;
  padding: 4px;
  border-radius: 50%;
  --ionicon-stroke-width: 110px;
}

.about-item .span {
  color: var(--rich-black-fogra-29);
  font-family: var(--ff-rubik);
  font-weight: var(--fw-500);
}

.about .btn {
  margin-inline: auto;
}





/*-----------------------------------*\
    #FOOD MENU
  \*-----------------------------------*/

/*-----------------------------------*\
  #FOOD MENU SCROLLABLE CATEGORIES & ITEM CARDS
\*-----------------------------------*/

.food-menu-container {
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px;
  background: #f8f8f8;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
}

.food-menu {
  display: flex;
  gap: 15px;
  padding: 10px 0;
  justify-content: center;
  /* Ensures proper scrolling from start */
  align-items: center;

}

.food-menu button {
  background: #fff;
  border: 2px solid #ff6600;
  color: #ff6600;
  padding: 8px 16px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s;
  flex: 0 0 auto;
}

.food-menu button:hover,
.food-menu button.active {
  background: #ff6600;
  color: #fff;
}

.food-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.food-items-description {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.food-card {
  background: #fff;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  position: relative;
  overflow: hidden;
}

.food-card-img {
  width: 100%;
  max-width: 250px; /* control max width */
  aspect-ratio: 4 / 3; /* or just use height: auto; */
  margin: auto;
  border-radius: 12px; /* slight rounding, optional */
  box-shadow: 2px 0px 15px 0px rgb(96, 61, 7);
  overflow: hidden;
}

.food-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* nicely covers the area */
  border-radius: 0;  /* remove circular shape */
}

.food-card h3 {
  font-size: 1.4rem;
  margin: 10px 0;
}

.food-card p {
  font-size: 1.2rem;
  color: #666;
}

.food-card .add-to-cart {
  display: block;
  margin-top: 10px;
  padding: 8px;
  background: #ff6600;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
}


/*  Offer Percentage Badge - Responsive Fix */
.food-card .offer-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff6600;
  color: white;
  padding: 5px 10px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}


/* Scrollbar Customization */
.food-menu-container::-webkit-scrollbar {
  height: 2px;
  /* Adjusted scrollbar height */
}

.food-menu::-webkit-scrollbar-thumb {
  background: #ff6600;
  border-radius: 10px;
}

.food-menu-card .price {
  color: var(--deep-saffron);
}

.food-menu-card .del {
  color: var(--gray-x-11-gray);
}





/*-----------------------------------*\
    #CTA
  \*-----------------------------------*/

.cta {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

.cta::before {
  bottom: auto;
  top: 0;
  background-image: url("../images/shape-grey.png");
  transform: scaleY(-1);
}

.cta .section-title {
  color: var(--white);
  line-height: 1.5;
  letter-spacing: -2px;
  max-width: 17ch;
  margin-inline: auto;
}

.cta .section-text {
  color: var(--gainsboro);
  margin-block: 25px 20px;
}

.cta .btn {
  margin-inline: auto;
}

.cta-banner {
  position: relative;
  aspect-ratio: 1 / 0.9;
}

.cta-img {
  transform: scale(1.3) translateY(60px);
}

.cta-banner .abs-img {
  top: 50px;
  left: 10px;
}





/*-----------------------------------*\
    #DELIVERY
  \*-----------------------------------*/

.delivery-content {
  margin-block-end: 40px;
}

.delivery .section-title {
  max-width: 17ch;
  line-height: 1.6;
  letter-spacing: -2px;
}

.delivery .section-text {
  margin-block: 15px 25px;
}

.delivery-banner {
  position: relative;
  aspect-ratio: 1 / 0.86;
}

.delivery-img {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-80px);
  transition: var(--transition-2);
}





/*-----------------------------------*\
    #TESTIMONIALS
  \*-----------------------------------*/

.testi {
  text-align: center;
}

.testi .section-title {
  margin-block: 10px 20px;
}

.testi .section-text {
  max-width: 44ch;
  margin-inline: auto;
  margin-block-end: 30px;
}

.testi-card {
  background-color: var(--white);
  padding: 40px;
  text-align: left;
  box-shadow: var(--shadow-2);
}

.testi-card .profile-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testi-card .avatar {
  min-width: max-content;
  border-radius: 50%;
  overflow: hidden;
}

.testi-card .testi-name {
  margin-block-end: 2px;
}

.testi-card .testi-title {
  font-family: var(--ff-rubik);
  font-size: var(--fs-4);
}

.testi-card .testi-text {
  margin-block: 20px 15px;
}

.testi-item {
  min-width: 100%;
  scroll-snap-align: start;
}





/*-----------------------------------*\
    #BANNER
  \*-----------------------------------*/

.banner {
  color: var(--white);
}

.banner-list {
  display: grid;
  gap: 10px;
}

.banner-lg {
  height: 430px;
}

.banner-sm {
  height: 200px;
}

.banner-md {
  height: 240px;
}

.banner-card {
  position: relative;
  height: 100%;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.banner-card .banner-img {
  background-color: var(--gainsboro);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: var(--transition-2);
}

.banner-card:is(:hover, :focus-within) .banner-img {
  transform: scale(1.05);
}

.banner-item-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  right: 20px;
  max-height: calc(100% - 30px);
}

.banner-md .banner-item-content {
  left: 50%;
}

.banner-subtitle,
.banner-title {
  font-family: var(--ff-rubik);
  font-weight: var(--fw-600);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.banner-lg .banner-subtitle {
  font-size: var(--fs-2);
  margin-block-end: 10px;
}

.banner-lg .banner-title {
  font-size: var(--fs-1);
  max-width: 16ch;
}

:is(.banner-md, .banner-sm) .banner-title {
  font-size: var(--fs-2);
  max-width: 10ch;
}

.banner-card .banner-text {
  margin-block: 10px 15px;
}

.banner-card .btn {
  --bg-color: var(--dark-orange);
  --height: 40px;
  --padding-inline: 25px;
}

.banner-card .btn:is(:hover, :focus) {
  background-color: var(--rich-black-fogra-29);
}





/*-----------------------------------*\
    #BLOG
  \*-----------------------------------*/

.blog {
  text-align: center;
}

.blog .section-title {
  margin-block: 10px 20px;
}

.blog .section-text {
  margin-block-end: 40px;
  max-width: 44ch;
  margin-inline: auto;
}

.blog-list {
  display: grid;
  gap: 30px;
}

.blog-card {
  background-color: var(--white);
  text-align: left;
  box-shadow: var(--shadow-2);
}

.blog-card .card-banner {
  position: relative;
  aspect-ratio: 1 / 0.65;
  background-color: var(--gainsboro);
}

.blog-card .badge {
  top: 20px;
  right: 20px;
  font-family: var(--ff-rubik);
  text-transform: uppercase;
  --bg-color: var(--tangerine);
  --padding-block: 5px;
}

.blog-card .card-content {
  padding: 30px;
}

.blog-card .card-meta-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px 20px;
}

.blog-card .card-meta-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-card .card-meta-link ion-icon {
  color: var(--tangerine);
  font-size: 1.5rem;
  --ionicon-stroke-width: 60px;
}

.blog-card :is(.meta-info, .btn-link) {
  color: var(--rich-black-fogra-29);
  font-family: var(--ff-rubik);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  line-height: 1;
  transition: var(--transition-1);
}

.blog-card .card-meta-link:is(:hover, :focus) .meta-info {
  color: var(--deep-saffron);
}

.blog-card .card-title {
  font-size: var(--fs-3);
  margin-block: 20px 15px;
  transition: var(--transition-1);
}

.blog-card .card-title:is(:hover, :focus) {
  opacity: 0.8;
  text-decoration: underline;
}

.blog-card .card-text {
  margin-block-end: 20px;
}

.blog-card .btn-link {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card .btn-link ion-icon {
  font-size: 1.5rem;
}

.blog-card .btn-link:is(:hover, :focus) {
  color: var(--deep-saffron);
  gap: 10px;
}





/*-----------------------------------*\
    #FOOTER
  \*-----------------------------------*/

.footer {
  overflow: hidden;
}

.footer-top {
  position: relative;
  padding-block: 70px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
  border-block-end: 2px solid var(--independence_30);
}

.footer-top::after {
  content: url(../images/delivery-boy.svg);
  position: absolute;
  bottom: -11px;
  left: -160px;
  width: 160px;
  animation: running-cycle 20s linear infinite;
}

@keyframes running-cycle {
  0% {
    left: -160px;
  }

  100% {
    left: 100%;
  }
}

.footer-top .container {
  display: grid;
  gap: 30px;
}

.footer .logo {
  color: var(--rich-black-fogra-29);
  font-size: 3.2rem;
}

.footer-text {
  margin-block: 15px 25px;
}

.social-list {
  display: flex;
  gap: 5px;
}

.social-link {
  background-color: var(--dark-orange);
  color: var(--white);
  font-size: 1.5rem;
  padding: 10px;
  transition: var(--transition-1);
}

.social-link:is(:hover, :focus) {
  background-color: var(--rich-black-fogra-29);
}

.footer-list-title {
  position: relative;
  max-width: max-content;
  color: var(--rich-black-fogra-29);
  font-family: var(--ff-rubik);
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  letter-spacing: -1px;
  margin-block-end: 20px;
}

.footer-list-title::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: calc(100% + 15px);
  background-color: var(--deep-saffron);
  width: 40px;
  height: 4px;
  border-inline-end: 5px solid var(--deep-saffron);
  box-shadow: inset -5px 0 0 var(--white);
}

.footer-list>li:not(:last-child) {
  margin-block-end: 15px;
}

.footer-list address {
  max-width: 20ch;
}

.janani-booking-table {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: none;
  /* Initially hidden */
  z-index: 1000;

}
.janani-contact-table {
  background: #e5e5e5;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  

}
.janani-contact-table .input-field{
  margin-bottom: 8px;
}

.footer-form {
  background-color: var(--white);
  padding: 30px;
  border: 1px solid var(--cultured);
  box-shadow: var(--shadow-2);
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block-end: 10px;
}

.input-field {
  color: var(--spanish-gray);
  font-size: var(--fs-4);
  border: 1px solid var(--cultured);
  padding: 8px 12px;
}

.input-field::placeholder {
  color: var(--spanish-gray);
}

.input-field::-webkit-calendar-picker-indicator {
  opacity: 0.5;
}

textarea.input-field {
  min-height: 50px;
  max-height: 150px;
  height: 100px;
  resize: vertical;
  margin-block-end: 10px;
}

.booking-btns {
  display: flex;
  flex-direction: row;
  gap: 15%;
  justify-content: center;
}


.footer-form {
  font-size: var(--fs-15);
  --height: 40px;
  --padding-inline: 25px;
}

.footer-form .btn:is(:hover, :focus) {
  background-color: var(--rich-black-fogra-29);
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  /* Initially hidden */
  z-index: 999;
}


.footer-bottom {
  padding-block: 20px;
  text-align: center;
}

.copyright-link {
  display: inline-block;
}

.copyright-link:is(:hover, :focus) {
  text-decoration: underline;
}





/*-----------------------------------*\
    #BACK TO TOP
  \*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--deep-saffron);
  color: var(--white);
  padding: 15px;
  border-radius: 50%;
  box-shadow: var(--shadow-1);
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-1);
}

.back-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}

.back-top-btn:is(:hover, :focus) {
  background-color: var(--rich-black-fogra-29);
}





/*-----------------------------------*\
    #MEDIA QUERIES
  \*-----------------------------------*/




/**
   * responsive for larger than 290px screen
   */

@media (min-width: 290px) {

  /**
     * Slider
     */

  .jananigroups-slider-container {
    height: 200px;
    bottom: 50px;
  }

  .slide img {
    width: 50%;
  }

  .slide-content h2 {
    font-size: 1.8rem;
  }

  .slide-content p {
    font-size: 1.2rem;

  }

  .slide-content .buy-btn {
    padding: 8px 16px;
    font-size: 1.2rem;
  }

.abs-img{
  width:100px;
}

  /**
     * FOOD
     */
  .food-menu-container {
    justify-content: flex-start;
  }

  /**
     * Table Booking
     */

  .janani-booking-table {
    width: 90%;
  }
}


/**
   * responsive for larger than 480px screen
   */

@media (min-width: 480px) {

  /**
     * HEADER
     */

  .header-btn-group .btn {
    display: block;
    --bg-color: var(--dark-orange);
  }

  /**
     * FOOD
     */
  .food-menu-container {
    justify-content: flex-start;
  }

  /**
     * Table Booking
     */

  .janani-booking-table {
    width: 90%;
  }

}





/**
   * responsive for larger than 550px screen
   */



@media (min-width: 550px) {

  /**
     * REUSED STYLE
     */

  .container {
    max-width: 550px;
    width: 100%;
    margin-inline: auto;
  }

  .has-scrollbar>li {
    min-width: calc(50% - 5px);
  }



  /**
     * HERO
     */

  .hero-title {
    --fs-1: 4.2rem;
  }

  .header-btn-group .btn {
    display: block;
  }

  /**
     * slider
     */

  .jananigroups-slider-container {
    height: 240px;
    bottom: 50px;
  }

  .slide img {
    width: 100%;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1.3rem;
  }

  .slide-content .buy-btn {
    padding: 10px 18px;
    font-size: 1.3rem;
  }


  /**
     * FOOD
     */
  .food-menu-container {
    justify-content: flex-start;
  }


  /**
     * FOOTER
     */

  .footer-top .container {
    grid-template-columns: 1fr 1fr;
  }

  /**
     * Table book
     */
  .janani-booking-table {
    width: 90%;
  }

}





/**
   * responsive for larger than 768px screen
   */

@media (min-width: 768px) {

  /**
     * REUSED STYLE
     */

  .container {
    max-width: 720px;
  }



  /**
     * HERO
     */

  .hero {
    position: relative;
    text-align: left;
    overflow: hidden;
    z-index: 1;
  }

  .hero-content> :is(*, .btn) {
    margin-inline: 0;
  }

  .hero-banner {
    display: block;
    position: absolute;
    top: calc(65% + 86px);
    transform: translateY(-50%);
    right: 16px;
    aspect-ratio: 1 / 0.9;
  }

  .hero-img {
    position: absolute;
    bottom: 115px;
  }

  .hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -2px;
    width: 100%;
    height: 100%;
    
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    pointer-events: none;
    z-index: -1;
  }


  /**
     * slider
     */

  .jananigroups-slider-container {
    height: 280px;
  }

  .slider-background {
    background-size: cover !important;
  }

  .slide {
    flex-direction: row;
    text-align: left;
  }

  .slide img {
    width: 90%;
  }

  .slide-content {
    width: 100%;
  }

  /**
     * FOOD
     */

  /**
     * ABOUT
     */

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .about {
    text-align: left;
  }

  .about .section-title {
    margin-block-start: 0;
  }

  .about :is(.section-title, .btn) {
    margin-inline: 0;
  }

  .about-item {
    justify-content: flex-start;
  }


  /**
     * FOOD MENU
     */
  .food-menu-container {
    justify-content: center;
  }

  .food-menu-list {
    grid-template-columns: 1fr 1fr;
  }

  .food-menu-card :is(.wrapper, .price-wrapper) {
    justify-content: flex-start;
  }

  .food-menu-card .card-title {
    text-align: left;
  }



  /**
     * CTA
     */

  .cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }

  .cta {
    text-align: left;
  }

  .cta :is(.section-title, .btn) {
    margin-inline: 0;
  }

  .cta-img {
    transform: scale(1.3) translate(90px, 20px);
  }



  /**
     * DELIVERY
     */

  .delivery .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
  }



  /**
     * BANNER
     */

  .banner-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .banner-lg {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .banner-md {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
    height: 220px;
  }



  /**
     * BLOG
     */

  .blog-list {
    grid-template-columns: 1fr 1fr;
  }

  .blog-card {
    height: 100%;
  }



  /**
     * FOOTER
     */

  .input-wrapper {
    grid-template-columns: 1fr 1fr;
  }


  /**
     * Table book
     */
  .janani-booking-table {
    width: 50%;
  }
}





/**
   * responsive for larger than 992px screen
   */

@media (min-width: 992px) {

  /**
     * CUSTOM PROPERTY
     */

  :root {

    /**
       * spacing
       */

    --section-padding: 70px;

  }



  /**
     * REUSED STYLE
     */

  .container {
    max-width: 960px;
  }

  .has-scrollbar>li {
    min-width: calc(33.33% - 6.66px);
  }

  .h2 {
    --fs-1: 4.2rem;
  }



  /**
     * HEADER
     */

  .nav-toggle-btn {
    display: none;
  }

  .header .container {
    gap: 20px;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }

  .navbar-list {
    margin-block: 0;
    display: flex;
    gap: 5px;
  }

  .nav-item:not(:last-child) {
    border-block-end: none;
  }

  .navbar-link {
    --fs-4: 1.5rem;
    color: var(--btn-color);
    letter-spacing: -0.5px;
  }



  /**
     * HERO
     */

  .hero {
    min-height: 590px;
    display: grid;
    align-items: center;
  }

  .hero-subtitle {
    --fs-3: 3.2rem;
  }

  .hero-title {
    --fs-1: 7rem;
    letter-spacing: -2.5px;
  }

  .hero-text {
    font-size: var(--fs-3);
  }

  .hero-banner {
    max-width: 40%;
    top: auto;
    bottom: 0;
    transform: translateY(0);
  }

  .hero-img-bg {
    transform: scale(1.4) translate(18px, -111px)
  }



  /**
     * FOOD MENU
     */
  .food-menu-container {
    justify-content: center;
  }

  .food-menu-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .food-menu-card {
    height: 100%;
  }



  /**
     * CTA
     */

  .cta-img {
    transform: scale(1.4) translate(20px, 40px);
  }

  .cta-banner .abs-img {
    left: -50px;
  }

  :is(.cta, .delivery) .section-title {
    line-height: 1.2;
  }



  /**
     * BANNER
     */

  .banner-lg .banner-title {
    --fs-1: 3.6rem;
    letter-spacing: -2px;
  }

  :is(.banner-md, .banner-sm) .banner-title,
  .banner-lg .banner-subtitle {
    --fs-2: 3.2rem;
  }



  /**
     * TESTIMONIALS
     */

  .testi-list {
    padding-block-end: 0;
  }



  /**
     * BLOG
     */

  .blog-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .blog-card .card-title {
    --fs-3: 2.2rem;
  }



  /**
     * FOOTER
     */

  .footer-top .container {
    grid-template-columns: 1fr 1fr 1fr 1.6fr;
  }

  /* .footer-form { margin-block-start: -170px; }   ------ edited*/

  /**
     * Table book
     */
  .janani-booking-table {
    width: 50%;
  }

  /**
     * BACK TO TOP
     */

  .back-top-btn {
    bottom: 20px;
    right: 30px;
  }

}





/**
   * responsive for larger than 1200px screen
   */

@media (min-width: 1200px) {

  /**
     * REUSED STYLE
     */

  .container {
    max-width: 1200px;
  }



  /**
     * HERO
     */

  .hero {
    min-height: 650px;
  }
  .hero-banner {
    max-width: 40%;
    top: 47%;
    right: 70px;
    bottom: 0;
    transform: translateY(0);
  }

  /**
     * slider
     */



  /**
     * PROMO
     */

  .promo .promo-item {
    min-width: calc(25% - 7.5px);
  }



  /**
     * ABOUT
     */

  .about .container {
    gap: 60px;
  }



  /**
     * CTA
     */

  .cta {
    --section-padding: 60px;
  }

  .cta .section-title {
    max-width: 18ch;
  }



  /**
     * BANNER
     */

  .banner-md .banner-item-content {
    left: 55%;
  }



  /**
     * FOOTER
     */

  .footer-top .container {
    grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
  }

  /**
     * Table book
     */
  .janani-booking-table {
    width: 50%;
  }

}

@media screen and (max-width: 420px) {
  /* Styles specific to Galaxy A51 */
  .logo {
      font-size: 2.3rem;
  }
}

@media (max-width: 360px){

  .logo {
      font-size: 1.8rem;
  }
  .header-btn-group{
    gap: 10px;
  }
}