@import url("./fonts.css");

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
  * {
    box-sizing: border-box !important;
  }

  html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
  }
  html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
  }

  body {
    font-family: "B Yagut", sans-serif;
  }
  .dropdown-content {
    opacity: 0;
    transform: scale(0.1); /* Slightly scale down for animation */
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .dropdown-content.show {
    opacity: 1;
    transform: scale(1); /* Scale up to original size */
  }
  .dropdown-content.hidden {
    opacity: 0;
    transform: scale(0.1); /* Scale up to original size */
  }

  /* .mySwiper .swiper .swiper-slide-prev {
     transform: scale(0.8);
    
  } */

  .splide__slide {
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .splide__slide {
    transform: scale(0.8);
    opacity: 0.6;
  }
  .splide__slide.is-active {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
    z-index: 100;
  }

  .splide__track {
    perspective: 1000px;
  }

  .mySwiper .swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .mySwiper .swiper-slide {
    background-position: center;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: filter 1s ease, opacity 1s ease;
    background-size: cover;
    @apply !w-[200px] sm:!w-[235px] md:!w-[270px] lg:!w-[300px];
  }
  .mySwiper .swiper-slide-active {
    opacity: 1;
    filter: grayscale(0%);
    transition: filter 1s ease, opacity 1s ease; /* Ensure transitions are here */
  }
  .remove-nav-swiper-first .swiper-button-prev {
    @apply !w-[50px] !h-[50px] max-md:!-left-6 !-left-10 !pr-1 transition-colors duration-300 flex justify-center items-center rounded-full;
  }
  .remove-nav-swiper-first .swiper-button-prev:hover {
    @apply bg-custom-darkest-green-full/20 backdrop-blur-lg;
  }
  .remove-nav-swiper-first .swiper-button-prev::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 29px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMjkiIHZpZXdCb3g9IjAgMCAxOCAyOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAxMjQgMTEuNzE4M0wxMi43Mzk3IDE0LjE0MjZMMC41NzE3MjMgMjUuNzEzNEwzLjE0MzAyIDI4LjI4NDdMMTcuMjg1MiAxNC4xNDI2TDMuMTQzMDIgMC4wMDA0NDI3NDNMMC41NzE3MjMgMi41NzE3NEwxMC4wMTI0IDExLjcxODNaIiBmaWxsPSIjMDA4MDgwIiBmaWxsLW9wYWNpdHk9IjAuNyIvPgo8L3N2Zz4K");
    @apply !scale-[-1];
  }

  .remove-nav-swiper-first .swiper-button-next {
    @apply !w-[50px] !h-[50px] max-md:!-right-6 !-right-10 pl-1 transition-colors duration-300 flex justify-center items-center rounded-full;
  }
  .remove-nav-swiper-first .swiper-button-next:hover {
    @apply bg-custom-darkest-green-full/20 backdrop-blur-lg;
  }
  .remove-nav-swiper-first .swiper-button-next::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 29px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMjkiIHZpZXdCb3g9IjAgMCAxOCAyOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAxMjQgMTEuNzE4M0wxMi43Mzk3IDE0LjE0MjZMMC41NzE3MjMgMjUuNzEzNEwzLjE0MzAyIDI4LjI4NDdMMTcuMjg1MiAxNC4xNDI2TDMuMTQzMDIgMC4wMDA0NDI3NDNMMC41NzE3MjMgMi41NzE3NEwxMC4wMTI0IDExLjcxODNaIiBmaWxsPSIjMDA4MDgwIiBmaWxsLW9wYWNpdHk9IjAuNyIvPgo8L3N2Zz4K");
  }

  .mySwiper_review .swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .mySwiper_review .swiper-slide {
    background-position: center;
    filter: grayscale(100%);
    transition: filter 1s ease, opacity 1s ease;
    background-size: cover;
    @apply !w-[200px] sm:!w-[235px] md:!w-[270px] lg:!w-[300px];
  }
  .mySwiper_review .swiper-slide-active {
    filter: grayscale(0%);
    transition: filter 1s ease, opacity 1s ease; /* Ensure transitions are here */
  }
  .remove-nav-swiper .swiper-button-prev {
    @apply !w-[50px] !h-[50px] max-md:-left-5 !-left-1 !pr-1 transition-colors duration-300 flex justify-center items-center rounded-full;
  }
  .remove-nav-swiper .swiper-button-prev:hover {
    @apply bg-white/20 backdrop-blur-lg;
  }
  .remove-nav-swiper .swiper-button-prev::after {
    content: "";
    display: inline-block;
    width: 21px;
    height: 33px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMzMiIHZpZXdCb3g9IjAgMCAyMSAzMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTExLjgyOTYgMTMuNjM1MUwxNC45OTkgMTYuNDU2MUwwLjg1ODYxIDI5LjkyMDNMMy44NDY3MSAzMi45MTI0TDIwLjI4MTIgMTYuNDU2MUwzLjg0NjcxIC0wLjAwMDI0NjY2OUwwLjg1ODYxIDIuOTkxODFMMTEuODI5NiAxMy42MzUxWiIgZmlsbD0iI0RERERERCIgZmlsbC1vcGFjaXR5PSIwLjg2NjY2NyIvPgo8L3N2Zz4K");
    @apply !scale-[-1];
  }

  .remove-nav-swiper .swiper-button-next {
    @apply !w-[50px] !h-[50px] max-md:-right-5 !-right-1 pl-1 transition-colors duration-300 flex justify-center items-center rounded-full;
  }
  .remove-nav-swiper .swiper-button-next:hover {
    @apply bg-white/20 backdrop-blur-lg;
  }
  .remove-nav-swiper .swiper-button-next::after {
    content: "";
    display: inline-block;
    width: 21px;
    height: 33px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMzMiIHZpZXdCb3g9IjAgMCAyMSAzMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTExLjgyOTYgMTMuNjM1MUwxNC45OTkgMTYuNDU2MUwwLjg1ODYxIDI5LjkyMDNMMy44NDY3MSAzMi45MTI0TDIwLjI4MTIgMTYuNDU2MUwzLjg0NjcxIC0wLjAwMDI0NjY2OUwwLjg1ODYxIDIuOTkxODFMMTEuODI5NiAxMy42MzUxWiIgZmlsbD0iI0RERERERCIgZmlsbC1vcGFjaXR5PSIwLjg2NjY2NyIvPgo8L3N2Zz4K");
  }

  .mySwiper_blog .swiper-slide {
    transition: filter 1s ease, opacity 1s ease;
    @apply !w-[200px] sm:!w-[235px] md:!w-[270px] lg:!w-[300px];
  }
  .mySwiper_blog .swiper-button-prev::after,
  .swiper-button-next::after {
    display: none;
  }

  .bg-custom img {
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .clip-half-circle {
    clip-path: ellipse(100% 70% at 50% 100%);
  }
  .box-shadow-black {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
  }
  #right-left-shape-art::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    background: url("/assets/images/right-shape.webp");
    z-index: 1;
    @apply bg-center w-[60px] -right-[30px] sm:w-[80px] sm:-right-[35px] md:w-[90px] md:-right-[40px] lg:w-[100px] lg:-right-[45px] xl:w-[110px] xl:-right-[50px] 2xl:w-[120px] 2xl:-right-[55px] bg-contain overflow-visible bg-no-repeat;
  }
  #right-left-shape-art::before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    background: url("/assets/images/right-shape.webp");
    z-index: 1;
    @apply bg-center w-[60px] -left-[30px] sm:w-[80px] sm:-left-[35px] md:w-[90px] md:-left-[40px] lg:w-[100px] lg:-left-[45px] xl:w-[110px] xl:-left-[50px] 2xl:w-[120px] 2xl:-left-[55px] bg-contain overflow-visible bg-no-repeat;
  }
  .right-left-shape-section {
    position: relative;
  }
  .right-left-shape-section::before {
    content: "";
    position: absolute;
    left: 0px;
    width: 50px;
    height: 100%;
    z-index: 2;
    background: url("/assets/images/left-shape-light-green.webp");
    @apply bg-contain bg-center bg-no-repeat max-sm:w-[35px] max-md:w-[40px] top-5 md:top-16;
  }
  .right-left-shape-section::after {
    content: "";
    position: absolute;
    right: 0px;
    width: 50px;
    height: 100%;
    z-index: 2;
    background: url("/assets/images/right-shape-light-green.webp");
    @apply bg-contain bg-center bg-no-repeat max-sm:w-[35px] max-md:w-[40px] top-5 md:top-16;
  }
  .rectangle-footer {
    position: relative;
  }
  .rectangle-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5px;
    width: 80px;
    height: 100%;
    z-index: 1;
    background: url("/assets/images/rectangle-footer.webp");
    @apply bg-contain bg-center bg-no-repeat;
  }
  .rectangle-footer::after {
    content: "";
    position: absolute;
    top: 0;
    right: 5px;
    width: 80px;
    height: 100%;
    z-index: 1;
    background: url("/assets/images/rectangle-footer.webp");
    @apply bg-contain bg-center bg-no-repeat;
  }
  .rect-top {
    position: relative;
  }
  .rect-top::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -3px;
    z-index: 0;
    background: url("/assets/images/rect-top-left.webp");
    @apply bg-contain bg-center bg-no-repeat w-[100px] sm:w-[110px] md:w-[120px] lg:w-[130px] xl:w-[140px] 2xl:w-[150px] h-[100px] sm:h-[110px] md:h-[120px] lg:h-[130px] xl:h-[140px] 2xl:h-[150px];
  }
  .rect-top::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -3px;
    z-index: 0;
    background: url("/assets/images/rect-top-right.webp");
    @apply bg-contain bg-center bg-no-repeat w-[100px] sm:w-[110px] md:w-[120px] lg:w-[130px] xl:w-[140px] 2xl:w-[150px] h-[100px] sm:h-[110px] md:h-[120px] lg:h-[130px] xl:h-[140px] 2xl:h-[150px];
  }
  .rect-bottom::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: -3px;
    z-index: 0;
    background: url("/assets/images/rect-bottom-left.webp");
    @apply bg-contain bg-center bg-no-repeat w-[100px] sm:w-[110px] md:w-[120px] lg:w-[130px] xl:w-[140px] 2xl:w-[150px] h-[100px] sm:h-[110px] md:h-[120px] lg:h-[130px] xl:h-[140px] 2xl:h-[150px];
  }
  .rect-bottom::after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: -3px;
    z-index: 0;
    background: url("/assets/images/rect-bottom-right.webp");
    @apply bg-contain bg-center bg-no-repeat w-[100px] sm:w-[110px] md:w-[120px] lg:w-[130px] xl:w-[140px] 2xl:w-[150px] h-[100px] sm:h-[110px] md:h-[120px] lg:h-[130px] xl:h-[140px] 2xl:h-[150px];
  }

  .swiper-food-menu {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
  }

  .bg-btn-section {
    position: relative;
  }

  .bg-btn-section::after {
    content: "";
    position: absolute;
    z-index: 1;
    background: url("/assets/images/bg-btn-green.webp");
    @apply bg-contain bg-center bg-no-repeat !inset-0;
  }

  .abbasi-stamp {
    position: relative;
  }
  .abbasi-stamp::after {
    content: "";
    position: absolute;
    background: url("/assets/images/abbasi-stamp.webp");
    @apply bg-contain bg-center bg-no-repeat !bottom-0 !left-0 w-[100px] h-[90px];
  }
  .leaflet-popup-content {
    @apply !font-yagut;
  }

  .remove-nav-swiper-blog .swiper-button-prev {
    @apply !w-[50px] !h-[50px] max-md:left-5 !left-1 !pr-1 transition-colors duration-300 flex justify-center items-center rounded-full;
  }
  .remove-nav-swiper-blog .swiper-button-prev:hover {
    @apply bg-white/20 backdrop-blur-lg;
  }
  .remove-nav-swiper-blog .swiper-button-prev::after {
    content: "";
    display: inline-block;
    width: 21px;
    height: 33px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMzMiIHZpZXdCb3g9IjAgMCAyMSAzMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTExLjgyOTYgMTMuNjM1MUwxNC45OTkgMTYuNDU2MUwwLjg1ODYxIDI5LjkyMDNMMy44NDY3MSAzMi45MTI0TDIwLjI4MTIgMTYuNDU2MUwzLjg0NjcxIC0wLjAwMDI0NjY2OUwwLjg1ODYxIDIuOTkxODFMMTEuODI5NiAxMy42MzUxWiIgZmlsbD0iI0RERERERCIgZmlsbC1vcGFjaXR5PSIwLjg2NjY2NyIvPgo8L3N2Zz4K");
    @apply !scale-[-1];
  }

  .remove-nav-swiper-blog .swiper-button-next {
    @apply !w-[50px] !h-[50px] max-md:right-5 !right-1 pl-1 transition-colors duration-300 flex justify-center items-center rounded-full;
  }
  .remove-nav-swiper-blog .swiper-button-next:hover {
    @apply bg-white/20 backdrop-blur-lg;
  }
  .remove-nav-swiper-blog .swiper-button-next::after {
    content: "";
    display: inline-block;
    width: 21px;
    height: 33px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMzMiIHZpZXdCb3g9IjAgMCAyMSAzMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTExLjgyOTYgMTMuNjM1MUwxNC45OTkgMTYuNDU2MUwwLjg1ODYxIDI5LjkyMDNMMy44NDY3MSAzMi45MTI0TDIwLjI4MTIgMTYuNDU2MUwzLjg0NjcxIC0wLjAwMDI0NjY2OUwwLjg1ODYxIDIuOTkxODFMMTEuODI5NiAxMy42MzUxWiIgZmlsbD0iI0RERERERCIgZmlsbC1vcGFjaXR5PSIwLjg2NjY2NyIvPgo8L3N2Zz4K");
  }
  .custom-text-shadow {
    text-shadow: 0px 0px 10px rgba(0, 0, 0);
  }
}
