* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
/* cursor */
.cursor,
.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
}

.cursor {
    width: 12px;
    height: 12px;
    background: #fa6901;
    border-radius: 50%;
    mix-blend-mode: difference;
}

.cursor-trail {
    width: 30px;
    height: 30px;
    background:  #fa6901;
    border-radius: 50%;
    filter: blur(8px);
}
/* scroll bar */
html::-webkit-scrollbar {
    width: 7px;
}

html::-webkit-scrollbar-track {
    background: rgba(227, 148, 148, 0.442);
}
html::-webkit-scrollbar-thumb {
    background:  #fc791a;
    border-radius: 5rem;
}
header {
    min-height: 60px;
    background-color: black;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    position: relative;
    top: 0;
    left: 0;
    z-index: 999;
}
.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0 auto;
    min-height: 60px;
    padding-left: 10px;
    padding-right: 10px;
}

.logo {
    float: left;
}

.logo .logo-img {
    width: 96px;
    align-items: center;
    cursor: pointer;
}

nav ul {
    flex-grow: 0.8;
    cursor: pointer;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 20px 1em;
    transition: background-color .5s linear;
    font-size: 17px;
    font-weight: 400;
}

nav a:hover {
    color:  #fc791a;
    transition: all .5s linear;
}

.login-sec .login-btn,
.profile-btn {
    padding: 7px 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
    background-color: #fc791a;
    color: white;
    text-transform: capitalize;
    border: none;
    margin-right: 7px;
    gap: 0;
}
.logOutBtn{
    padding: 7px 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
    background-color: #fc791a;
    color: white;
    text-transform: capitalize;
    border: none;
    margin-right: 7px;
    gap: 0;
}
.logOutBtn:hover {
    border: 1px solid  #fc791a;
    background-color: white;
    color:  #fc791a;
    transition: .5s linear;
}
.login-sec .login-btn:hover {
    border: 1px solid  #fc791a;
    background-color: white;
    color:  #fc791a;
    transition: .5s linear;
}

.login-sec .profile-btn:hover {
    border: 1px solid #fc791a;
    background-color: white;
    color: #fc791a;
    transition: .5s linear;
}


.nav-container i {
    color: white;
    float: right;
    font-size: 27px;
    font-weight: 500;
    display: none;
    margin-right: 10px;
}

@media(max-width:1200px) {
    nav ul {
        margin-top: 16px;
        position: absolute;
        top: 80px;
        left: 80;
        right: 0px;
        height: 900px;
        width: 400px;
        text-align: left;
        flex-direction: column;
        background-color: #eb0029;
        border-left: 4px solid black;
        overflow: hidden;
        max-height: 0;
        cursor: pointer;
    }

    .nav-container i {
        display: block;
    }

    nav a {
        color: white;
        text-align: center;
        font-weight: 500;
    }

    nav a:hover {
        color: black;
    }

    nav ul li {
        width: 90%;
        padding: 4px 4px;
    }

    nav ul:hover {
        background-color: #eb0029;
        transition: all .5s linear;
        color: white;
        border-left: 4px solid black;

    }
}

@media(max-width:415px) {
    nav ul {
        margin-top: 16px;
        position: absolute;
        top: 80px;
        left: 80;
        right: 0px;
        height: 400px;
        width: 250px;
        text-align: left;
        flex-direction: column;
        background-color: #eb0029;
        border-left: 4px solid black;
    }

    nav a {
        font-size: 15px;
        padding: 2px 5px;

    }

    nav a:hover {
        color: white;
    }

    .login-sec .login-btn,
    .profile-btn {
        padding: 8px 13px;
        border-radius: 5px;
        font-weight: 500;
        font-size: 14px;
        background-color: #fc791a;
        color: white;
        text-transform: capitalize;
        border: none;
        /* margin-left: 4px; */
    }
}

@media (max-width: 1400px) {
    .container-xxl {
        padding-left: 0;
        padding-right: 0;
    }
}
h2 {
  font-size: 40px;
  font-weight: 900;
  text-transform: capitalize;
}

h4 {
  font-size: 20px;
  font-weight: 700;
  text-transform: capitalize;
}

p {
  color: #5c6574;
  font-size: 16px;
  font-weight: 400;
}

/* search */
#search {
  width: 70%;
}

.btn-outline-secondary {
  --bs-btn-color: #fc791a;
  --bs-btn-border-color: #fc791a;
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: #fc791a;
  --bs-btn-hover-border-color: #fc791a;
  --bs-btn-focus-shadow-rgb: #fc791a;
  --bs-btn-active-color: #fc791a;
  --bs-btn-active-bg: white;
  --bs-btn-active-border-color: #fc791a;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fc791a;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #fc791a;
  --bs-gradient: none;
}

/* slider */

body {
  font-family: 'Playfair Display', serif;
}

a {
  text-decoration: none;
}

.intro {
  position: relative;
  width: 100%;
  height: 77vh;
}

.left {
  float: left;
  height: 100%;
  width: 60%;
  padding: 3rem 3rem 3rem 5rem;
  display: table;
  background: #f2f2f2;
}

.animated-icon {
  animation: moveUpDown 1.2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  padding-top: 170px;
}

@keyframes moveUpDown {
  0% {
    transform: translateY(0);
    /* Starting position */
  }

  50% {
    transform: translateY(20px);
    /* Move down by 20px */
  }

  100% {
    transform: translateY(0);
    /* Go back to original position */
  }
}


.left>div {
  display: table-cell;
  vertical-align: middle;
  font-size: calc(5px + 0.4vw);
}

span {
  color: #E8CA2B;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
  display: inline-block;
  text-transform: uppercase;
  font-family: sans-serif;
  margin-bottom: 4rem;
}

.slider {
  float: right;
  position: relative;
  width: 40%;
  height: 100%;
  background: #f2f2f2;
}

.slider ul li {
  opacity: 0.8;
}

.slider li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  transition: clip .7s ease-in-out, z-index 0s .7s;
  clip: rect(0, 100vw, 100vh, 100vw);
  display: table;
}

.center-y {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  color: #fff;
}

h3+a {
  font-size: 1.6rem;
  display: inline-block;
  color: #fff;
  margin-top: 2rem;
}

h3,
h3+a {
  transition: opacity .7s 0s, transform .5s .2s;
  transform: translate3d(0, 50%, 0);
}

li.current h3,
li.current h3+a {
  opacity: 1;
  transition-delay: 1s;
  transform: translate3d(0, 0, 0);
}

/* Smooth transition for slides */
.slider li {
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
  opacity: 0;
  transform: scale(0.95);
}

li.current {
  opacity: 1;
  transform: scale(1);
}

li.prev {
  opacity: 0.5;
  transform: translateX(-20%) scale(0.9);
}

.left>div.visible {
  opacity: 1;
  transform: translateX(0);
}

li.current {
  z-index: 1;
  clip: rect(0, 100vw, 100vh, 0);
}

li.prev {
  clip: rect(0, 0, 100vh, 0);
}

.slider nav {
  position: absolute;
  bottom: 5%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

/* nav a {
  display: inline-block;
  border-radius: 50%;
  width: 1.2rem;
  height: 1.2rem;
  min-width: 12px;
  min-height: 12px;
  background: #fff;
  margin: 0 1rem;
  transition: transform .3s;
} */

a.current_dot {
  transform: scale(1.4);
}


/* cards */
.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

#cardSection {
  display: flex;
  column-gap: 100px;
  row-gap: 50px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.cardMainHeading {
  color: #fc791a;
}

.resTitle {
  color: #686767;
  font-style: italic;
}
.card {
  width: 230px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  transform: scale(1.05);
}

.cardimg {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.dessertHeading {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fc791a;
}

.dessertcardimg {
  width: 100%;
  height: 100%;
}

.headerImg {
  width: 10%;
}

#detRecipes {
  width: 150px;
  height: 40px;
  background-color: #fc791a;
  border: none;
  border-radius: 0;
}

.main {
  width: 300px;
  height: 300px;
  border: 2px rgb(210, 210, 210) solid;
  border-radius: 250px;
  display: flex;
  text-align: center;
  align-items: baseline;
  justify-content: center;
}

.desCardImg {
  width: 180px;
  height: auto;

}

.starter,
.lunch,
.dessert,
.drinksSection,
.pizzaSection,
.dinner,
.salad {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  padding: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.newDesCard:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  background-color: #fdfdfd;
}

.product-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.newDesCard:hover .product-image {
  transform: scale(1.05);
}

.product-title h5 {
  color: #fc791a;
  padding-left: 10px;
  padding-bottom: 5px;
}
.heart-icon i {
  color: transparent;
  font-size: 24px;
  cursor: pointer;
  -webkit-text-stroke: 1px black;
  transition: color 0.3s;
}

.heart-icon.active i {
  color: red;
  -webkit-text-stroke: 0;
}


/* Subtle fade-in effect on page load */
@keyframes subtleFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.newDesCard {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  padding: 15px;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
  animation: subtleFadeIn 0.5s ease-in-out;
  margin: auto;
}

.product-image {
  max-width: 100%;
  height: auto;
  width: 200px;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 350px;
}

.background-img {
  width: 100%;
  height: auto;
  filter: blur(1px);
  border-radius: 8px;
}

.sec {
  max-width: 330px;
  background-color: #f2f2f2;
  height: auto;
  padding: 10px;
  text-align: center;
}

.secImg {
  width: 100px;
  height: 100px;
  border-radius: 50px;
}

.newsLetter {
  max-width: 330px;
  height: auto;
  padding: 20px;
  border: 2px #e7e2e2 solid;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.newsField {
  max-width: 100%;
  width: 350px;
  height: 50px;
  padding: 10px;
  margin: 10px 0px;
  border: 2px #f1e3e3 solid;
  font-style: oblique;
}

.newsLetterBtn {
  background-color: #de2015;
  max-width: 100%;
  width: 350px;
  height: 50px;
  color: white;
  border: none;
}

.newsLetterBtn:hover {
  background-color: #ab0c03;
}

#socialIcons {
  width: 40px;
  height: 40px;
  background: #e40909;
  text-align: stretch;
  align-content: center;
  text-align: center;
  border-radius: 25px;
  color: white;
  font-size: x-large;
  margin: 3px;
}

.socialLinks {
  max-width: 350px;
}

.moreRec {
  margin-bottom: 5px;
  color: #686767;
  font-weight: 900;
  margin-right: 50px;
}

.demCard img {
  max-width: 100%;
  width: 200px;
  height: auto;
}

.demanding {
  display: flex;
  flex-wrap: wrap;
  column-gap: 5px;
}

.demCard a {
  color: #e40909;
}


/* login page */
.mainContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

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

.loginLogo {
  max-width: 100%;
  width: 150px;

}

.login {
  max-width: 100%;
  background-color: #f9f9f94a;
  width: 500px;
  height: auto;
  padding: 20px;
}

#exampleInputEmail1 {
  border-radius: 0px;
  height: 39px;
}

#exampleInputPassword1 {
  border-radius: 0px;
  height: 39px;
}

.loginBtn {
  background-color: #fc791a;
  border: none;
  width: 120px;
  height: 50px;
  color: white;
  font-size: 18px;
  font-weight: 400;
}
.loginBtn:hover {
  background-color: #cb6217;
}
.google{
  background-color: #fc791a;
  border: none;
  width: 250px;
  height: 50px;
  color: white;
  font-size: 18px;
  font-weight: 400;
}
.allBtn{
  display: flex;
  justify-content: center;
}
/* dessertCard */
.desCircle{
  max-width: 100%; 
  height: auto; 
  width: 150px; 
  border-radius: 80px;
}
.desCircle2{
  max-width: 100%;
  height: 161px;
  width: 166px;
  border-radius: 91px; 
}
.dessertCardImg{
  max-width: 100%;
  height: auto;
  width: 300px;
}
#dessertCard {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
}

.dessertCard > div {
  flex: 1 1 calc(50% - 20px); 
  max-width: 500px; 
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}
#icecreams {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
}

.dessertCard > div {
  flex: 1 1 calc(50% - 20px); 
  max-width: 500px; 
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.desBtn{
  background-color:#fc791a;
    max-width: 100%;
    width: 130px;
    height: 50px;
    color: white;
    border: none;
}

@media (max-width: 1024px) {
  .desCard {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
}

@media (max-width: 768px) {
  .desCard {
    grid-template-columns: repeat(2, 1fr);
  }

  .moreRec {
    margin: 0;
  }

  .overlay-text {
    font-size: 1.2rem;
  }
  .desCircle2{
    height: 119px;
}
}
@media (max-width : 700px) {
  .headerImg {
    width: 20%;
  }

  .left {
    width: 100%;
    height: 30%;
  }

  .slider {
    width: 100%;
    height: 70%;
  }

  .animated-icon {
    display: none;
  }
  #search{
    padding-top: 10px;
  }
}
@media (max-width: 535px) {
  .desCircle2{
    height: 127px;
}
}
@media (max-width: 521px) {
  .desCircle2{
    height: 110px;
}
}
@media (max-width: 500px) {
  .desCircle2{
    height: 104px;
}
}
@media (max-width: 480px) {
  .desCard {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 459px) {
  .desCircle2{
    height: 125px;
    width: 125px;
}
}

@media (max-width : 360px) {
  .input-group {
    width: 100%;
  }

}

/* Footer Sections */
.custom-footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  /* background: #222; */
  padding: 40px 20px;
}

.custom-footer-section {
  flex: 1;
  min-width: 200px;
  margin: 10px;
  text-align: center;
}

.custom-footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px solid #ec9004;
  display: inline-block;
  padding-bottom: 5px;
}

.custom-footer-section a,
.custom-footer-section p {
  color: #bbb;
  font-size: 14px;
  text-decoration: none;
  display: block;
  margin: 5px 0;
}

.custom-footer-section a:hover {
  color: #f1c40f;
}

/* Social Media Icons */
.custom-social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 40px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.social-icon i {
  font-size: 27px;
}

.social-icon i:hover {
  transition: all .5s ease-in-out;
  transform: scale(1.2);
  color: white;
}

.facebook i:hover {
  color: #3b5998;
}

.twitter i:hover {
  color: #1da1f2;
}

.instagram i:hover {
  color: #e4405f;
}

.linkedin i:hover {
  color: #0077b5;
}

.custom-footer-bottom {
  text-align: center;
  background: red;
  padding: 10px;
  font-size: 14px;
  color: white;
}

/* Back to Top Button */
#customBackToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fa6901;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 50%;
  display: none;
  transition: all 0.3s ease-in-out;
}

#customBackToTop:hover {
  background: #e05b00;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 831px) {
  .custom-info-box {
      flex-direction: column;
  }

  .custom-footer-container {
      flex-direction: column;
  }

  .custom-social-icons {
      justify-content: center;
  }
}

@media (max-width: 768px) {
  .custom-footer-section {
      min-width: 100%;
  }
}