@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+Telugu:wght@100..900&display=swap");

:root {
  --red: #ff5555;
  --green: #1abe1a;
  --orange: #f58020;
  --black: #000;
  --black-light: #333;
  --light-gray: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Noto Serif Telugu", sans-serif;
  font-size: 16px;
  background-color: #fff;
}

nav {
  background-color: #fff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
  /* background-color: #f58020; */
}
.nav-link {
  color: var(--black-light) !important;
}
.nav-link:hover {
  color: var(--red) !important;
}

/* Spinner Loader (centered) */
#loading-spinner {
  display: none;
  text-align: center;
  width: 100%;
  padding: 30px 0;
}

#loading-spinner img {
  max-width: 60px;
  max-height: 60px;
  animation: spin 1.2s linear infinite;
  margin-top: 20px;
}

/* Spin animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Shimmer Effect Placeholder */
.shimmer-wrapper {
  width: 32%;
  height: 340px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 400% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 10px;
  margin-bottom: 20px;
}

@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* Mobile adjustment */
@media only screen and (max-width: 600px) {
  .shimmer-wrapper {
    width: 100%;
  }
}

.submit-recipe-btn {
  background-color: var(--red);
  color: #fff !important;
  padding: 5px;
  border-radius: 5px;
}

.header-logo {
  height: 40px;
}

.header-logo-text {
  color: var(--green);
  font-size: 24px;
  font-weight: 500;
  margin-left: 15px;
  margin-bottom: 0;
}
.header-logo-text span {
  color: var(--red);
}

.hero-section-main {
  position: relative;
  background: url(./../../assets/images/home-page-bg-01.jpg) no-repeat center
    center;
  background-size: cover;
  height: 60vh;
}

.quote-container {
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  border-radius: 5px;
  max-width: 80%;
  width: 555px;
  margin-top: 10%;
}

.quote-container h4 {
  margin: 0;
  font-size: 2.2rem;
}
.quote-container h4 span {
  color: var(--red);
}
@media only screen and (max-width: 600px) {
  .quote-container h4 {
    margin: 0;
    font-size: 1.7rem;
  }
}

.heading-2 {
  border-bottom: 1px solid #e7e7e7;
  position: relative;
  line-height: 70px;
  font-size: 22px;
  margin-bottom: 40px;
}
.heading-2:before {
  content: "";
  border-bottom: 3px solid var(--red);
  position: absolute;
  top: 69px;
  left: 0;
  width: 80px;
}
@media only screen and (max-width: 600px) {
  .heading-2 {
    border-bottom: 1px solid #e7e7e7;
    position: relative;
    line-height: 30px;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  .heading-2:before {
    display: none;
  }
}

.search-recipes {
  margin-bottom: 20px;
  border: 1px solid var(--red);
  outline: none;
}

.resipe-list-pagination-wrapper {
  position: relative;
}
.resipe-list-pagination-wrapper nav {
  box-shadow: unset;
  display: flex;
}
.resipe-list-pagination-wrapper nav .pagination {
  margin-left: auto;
}
.resipe-list-pagination-wrapper nav .pagination .page-item .page-link {
  color: var(--black-light);
}
.resipe-list-pagination-wrapper nav .pagination .page-item.active .page-link {
  background-color: var(--black-light);
  border-color: var(--black-light);
  color: #fff;
}

.recipe-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}
.recipe {
  width: 32%;
  border-radius: 0px;
  border: 0px solid transparent;
  background: linear-gradient(71deg, #ffffff, #ffffff, #f7f7f7);
  background-clip: padding-box;
  position: relative;
  margin-bottom: 70px;
  text-decoration: none;
  display: block;
}
@media only screen and (max-width: 600px) {
  .recipe {
    width: 100%;
  }
}
.recipe .recipe-image-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.recipe .recipe-image-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.recipe .recipe-image-wrapper img {
  width: 100%;
  transition: ease-in-out 0.3s;
  transform: rotate(0deg);
}
.recipe:hover .recipe-image-wrapper img {
  width: 110%;
  transition: ease-in-out 0.3s;
  transform: rotate(2deg);
}

.recipe .recipe-name {
  color: var(--red);
  font-weight: 500;
  font-size: 14px;
  line-height: 60px;
  text-align: center;
}

.recipe .view-details-link {
  text-align: right;
  padding: 8px;
}
.recipe .view-details-link a {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
.recipe .view-details-link a:hover {
  color: #000;
}
.recipe .recipe-rating-wrapper {
  display: flex;
  justify-content: space-around;
  padding: 0px 100px 20px 100px;
}
.checked {
  color: var(--green);
}
.recipe-video-title {
  height: 80px;
  color: #333;
}
.recipe-grid-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 10px;
  background: #f3f3f3;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.recipe-grid-item-footer .more-details-link-text {
  color: var(--red);
  font-weight: 500;
}
.recipe-grid-item-footer .more-details-link-text:hover {
  color: var(--green);
}

.bookmark-link-icon {
  background-image: url(./../images/bookmark-icon-01-gray.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 24px;
  height: 36px;
  position: relative;
  cursor: pointer;
}
.bookmark-link-icon .bookmark-text {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 5px;
  border-radius: 5px;
  background-color: #000;
  color: #fff;
  display: none;
  font-size: 14px;
  width: 180px;
}
.bookmark-link-icon:hover .bookmark-text {
  display: block;
}

.bookmark-link-icon.bookmarked {
  background-image: url(./../images/bookmark-icon-02-orange.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 24px;
  height: 36px;
  position: relative;
  cursor: pointer;
}
.bookmark-link-icon.bookmarked .bookmarked-text {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 5px;
  border-radius: 5px;
  background-color: #fff;
  color: #000;
  font-size: 14px;
  width: 180px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
}
.bookmarked-text {
  display: none;
}
.bookmark-link-icon.bookmarked:hover .bookmarked-text {
  display: block;
}

.bookmark-text-video {
  display: none;
}

.bookmark-information-on-details-page {
  width: 100%;
}
.bookmark-information-on-details-page .detail-page-bookmark-it {
  background-image: url(./../images/bookmark-icon-01-gray.png);
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
  padding-left: 40px;
  height: 40px;
  width: 340px;
  font-weight: 600;
  line-height: 40px;
  background-color: #fefefe;
  display: none;
  cursor: pointer;
}
.bookmark-information-on-details-page .detail-page-bookmark-it.active {
  display: block;
}
.bookmark-information-on-details-page .detail-page-unbookmark-it {
  background-image: url(./../images/bookmark-icon-02.png);
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
  padding-left: 40px;
  height: 40px;
  width: 290px;
  font-weight: 600;
  line-height: 40px;
  background-color: #fefefe;
  display: none;
  cursor: pointer;
}
.bookmark-information-on-details-page .detail-page-unbookmark-it.active {
  display: block;
}

.recipes-grid-wrapper {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}
.recipes-grid {
  width: 30%;
  height: 340px;
  border-radius: 10px;
  /* background-color: #f58020; */
  /* box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.05); */
  border: 1px solid transparent;
  background: linear-gradient(71deg, #ffffff, #ffffff, #f7f7f7);
  background-clip: padding-box;
  position: relative;
  margin-bottom: 20px;
  margin-right: 3%;
}
.recipes-grid::after {
  content: "";
  background: linear-gradient(71deg, #f1fc8d, #f58020, #ffed9e);
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  right: -1px;
  z-index: -1;
  border-radius: 10px;
}
.recipes-grid .recipe-name {
  padding: 5px 10px;
  background-color: var(--red);
  color: #000;
  height: 46px;
  font-size: 14px;
  font-weight: 600;
}
.recipes-grid .recipe-video-title {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 5px 10px;
  color: #000;
  height: 60px;
}

.recipes-grid .recipe-image-wrapper {
  width: 100%;
  height: 190px;
  background-size: cover;
  background-repeat: no-repeat;
}
.recipes-grid .recipe-image-wrapper img {
  width: 100%;
}
.recipes-grid .view-details-link {
  text-align: right;
  padding: 8px;
}
.recipes-grid .view-details-link a {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}
.recipes-grid .view-details-link a:hover {
  color: var(--red);
}

.recipe-details-wrapper {
  position: relative;
  width: 100%;
  margin: auto;
  margin-top: 20px;
}

.recipe-title-wrapper {
  background-color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
}

.recipe-other-details-wrapper {
  display: flex;
}
@media only screen and (max-width: 600px) {
  .recipe-other-details-wrapper {
    display: flex;
    flex-wrap: wrap;
  }
}
.recipe-other-details-individual {
  display: flex;
  flex-direction: column;
  margin-right: 30px;
}
.recipe-other-details-individual .recipe-other-details-label {
  color: #333;
  font-size: 14px;
  font-weight: normal;
}
.recipe-other-details-individual .recipe-other-details-value {
  color: var(--red);
  font-size: 14px;
}


.no-recipes-message {
  text-align: center;
  padding: 40px;
  font-size: 20px;
  color: var(--red);
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 8px;
}

/* for share icons */
.recipe-share-icons {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  margin-top: 10px;
}
@media only screen and (max-width: 600px) {
  .recipe-share-icons {
    margin-left: unset;
    align-items: center;
  }
}
.recipe-share-icons h4 {
  background-color: var(--red);
  color: #fff;
  margin: 0;
  padding: 5px 10px;
  font-size: 16px;
  font-weight: 500;
  height: 30px;
  border-radius: 5px;
}
@media only screen and (max-width: 600px) {
  .recipe-share-icons h4 {
    font-size: 14px;
    height: 26px;
  }
}
.social-icon {
  display: inline-block;
  margin: 0 10px;
  color: #555;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s;
}
.social-icon:hover {
  color: #333 !important; /* Change this to your preferred hover color */
}
.social-icon#facebook-share {
  color: #316ff6;
}
.social-icon#twitter-share {
  color: #1da1f2;
}
.social-icon#whatsapp-share {
  color: #25d366;
}
.social-icon#linkedin-share {
  color: #0077b5;
}
.social-icon#pinterest-share {
  color: #e60023;
}
.social-icon#instagram-share {
  color: #fff;
}
.fill-gradient-instagram {
  /* background-clip: text; */
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );

  /* needed for browser support */
  -webkit-background-clip: text; /* see https://caniuse.com/#feat=background-img-opts */
  -webkit-text-fill-color: transparent; /* https://caniuse.com/#feat=text-stroke */
}
.social-icon#dribbble-share {
  color: #ea4c89;
}

.youtube-video-iframe {
  height: 700px;
  width: 100%;
}
@media only screen and (max-width: 600px) {
  .youtube-video-iframe {
    height: 250px;
    width: 100%;
  }
}
.channel-details-wrapper {
  display: flex;
  text-align: right;
  align-items: center;
  justify-content: end;
  color: var(--green);
  text-decoration: none;
}
.channel-details-wrapper:hover {
  color: var(--red);
}
.channel-thumb-wrapper {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
}
.channel-name {
  font-weight: bold;
}
.channel-thumb-wrapper img {
  width: 100%;
}

.recipe-ingredients-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  row-gap: 20px;
  margin-bottom: 50px;
}
.recipe-ingredient-individual-wrapper {
  width: 23%;
  height: 100px;
  display: flex;
  border: 1px solid #cdcdcd;
}
@media only screen and (max-width: 600px) {
  .recipe-ingredient-individual-wrapper {
    width: 100%;
  }
}
.recipe-ingredient-details-wrapper {
  display: flex;
}
.recipe-ingredient-details-wrapper img {
  height: 100%;
  margin-right: 10px;
}
.ingredient-checkbox {
  width: 20px;
  height: 20px;
}
.ingredient-checked {
  border: 1px solid var(--red) !important;
  position: relative;
}
.recipe-ingredient-name-quantity {
  padding: 5px;
}
.ingredient-name-in-card {
  font-size: 12px;
  font-weight: bold;
  color: #000;
}
.ingredient-unit-in-card {
  font-size: 14px;
  font-weight: bold;
  color: var(--red);
}
.ingredient-checked .tickmark {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 30px;
  height: 30px;
  background-image: url(./../images/recipes-and-more-emblum.png);
  background-repeat: no-repeat;
  background-size: 30px;
}
.ingredient-checked .tickmark:before {
  content: "Collected";
  position: absolute;
  right: 45px;
  top: 4px;
}
.recipe-ingredient-individual-wrapper .recipe-ingredient-details-wrapper-mask {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  position: absolute;
  display: none;
}
.recipe-ingredient-individual-wrapper.ingredient-checked
  .recipe-ingredient-details-wrapper-mask {
  display: block;
}
.ingredients-note-on-recipe-details {
  background-color: #ffd3d3;
  border-radius: 10px;
  margin-bottom: 40px;
  padding: 10px;
}

.filters-wrapper {
  margin-top: 69px;
}
.filters-heading {
  margin-top: 20px;
  padding: 5px 0;
  text-transform: capitalize;
}
.filters-heading .filter-heading {
  border-bottom: 1px solid #e7e7e7;
  position: relative;
  line-height: 50px;
  font-size: 18px;
}
.filters-heading .filter-heading:before {
  content: "";
  border-bottom: 3px solid var(--red);
  position: absolute;
  top: 49px;
  left: 0;
  width: 220px;
}
.filter-item-wrapper {
  margin-left: 10px;
}
.filter-item-wrapper .filter-checkbox {
  border-radius: 0px;
  border: 1px solid var(--red);
}

/* Hide Filters Sidebar and Show Filters Link in Mobile View */
@media (max-width: 768px) {
  #filters-placeholder {
    display: none;
  }
  #mobile-filters-link,
  #clear-filters {
    display: inline-block;
  }
}

.social-media-icons-right-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.social-media-block {
  width: 96px;
  height: 96px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #333;
  color: #fff;
  margin-bottom: 10px;
  text-decoration: none;
}
.social-media-block.facebook {
  background-color: #3b5998;
}
.social-media-block.twitterx {
  background-color: #1da1f2;
}
.social-media-block.pintrest {
  background-color: #bd081c;
}
.social-media-block.dribbble {
  background-color: #ea4c89;
}
.social-media-block.instagram {
  background-color: #fd5949;
}
.social-media-block.youtube {
  background-color: #ff0000;
}

.right-list-items {
  padding: 0.5rem 0;
  border: 0px solid rgba(0, 0, 0, 0.125);
}

.global-validation-messages {
  width: 45%;
}
.global-validation-messages .success-message {
  width: 100%;
  height: 100%;
  background-color: #c2ffca;
  padding: 30px;
}
.global-validation-messages .failure-message {
  width: 100%;
  height: 100%;
  background-color: #ffefe2;
  padding: 30px;
}

footer {
  height: 60px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
  margin-top: 20px;
}
footer p {
  margin: 0;
}
