/* ===========================
   1) TAILWIND IMPORTS
=========================== */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ===========================
   2) FONT-FACE DEFINITIONS
   (Adjust file paths as needed)
=========================== */

/* Recoleta DEMO */
@font-face {
  font-family: "Recoleta DEMO";
  src: url("../assets/fonts/Recoleta-RegularDEMO.woff2") format("woff2"),
    url("../assets/fonts/Recoleta-RegularDEMO.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Recoleta Light */
@font-face {
  font-family: "Recoleta Light";
  src: url("../assets/fonts/RecoletaLight.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Recoleta Medium */
@font-face {
  font-family: "Recoleta Medium";
  src: url("../assets/fonts/RecoletaMedium.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Antro Vectra */
@font-face {
  font-family: "Antro Vectra";
  src: url("../assets/fonts/AntroVectra.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Antro Vectra Bold";
  src: url("../assets/fonts/AntroVectraBolder.woff2") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===========================
   3) CUSTOM FONT CLASSES
=========================== */

.font-demo {
  font-family: "Recoleta DEMO", sans-serif;
}


.font-light {
  font-family: "Recoleta Light", sans-serif;
}

.font-neue {
  font-family: "Neue Einstellung", sans-serif;
}

.font-recoleta-demo {
  font-family: "Recoleta DEMO", sans-serif;
}

/* ===========================
   4) BASE & GLOBAL STYLES
=========================== */
@layer base {

  html,
  body {
    margin: 0;
    padding: 0;
    font-family: "Recoleta DEMO", sans-serif;
  }

  h1 {
    font-family: "Recoleta DEMO", sans-serif;
  }

  h2 {
    font-family: "Recoleta Medium", sans-serif;
  }

  p {
    font-family: "Recoleta Light", sans-serif;
  }
}

/* 
#cursive_heading {
  font-family: "Antro Vectra", cursive;
  font-size: 2.5rem;
} */
#cursive_heading {
  font-family: "Antro Vectra Bold", cursive;
  line-height: 1.2;
  font-size: 2.5rem;
}




/* Commented out to avoid forced 100vh layout:
  main {
    height: 100vh;
    width: 100%;
  }
  */

#banner_para {
  font-size: 30px;
  font-family: "Neue Einstellung", sans-serif;
}

/* ===========================
   5) SLIDER / GALLERY STYLES
   (If these are used, keep them;
   otherwise, you can remove them.)
=========================== */

.slider {
  height: 750px;
  width: 100vw;
  display: flex;
  perspective: 1000px;
  position: relative;
  align-items: center;
}

.box1 {
  background: url("/assets/images/cheetah.jpg");
  background-size: cover;
  background-position: center center;
}

.box2 {
  background: url("/assets/images/eleph.jpg");
  background-size: cover;
  background-position: center center;
}

.box3 {
  background: url("/assets/images/lion.jpg");
  background-size: cover;
  background-position: center center;
}

.box4 {
  background: url("/assets/images/zebra.jpg");
  background-size: cover;
  background-position: center center;
}

.box5 {
  background: url("/assets/images/girrafe.jpg");
  background-size: cover;
  background-position: center center;
}

.box6 {
  background: url("/assets/images/lionnn.jpg");
  background-size: cover;
  background-position: center center;
}

.box7 {
  background: url("/assets/images/elephant.jpg");
  background-size: cover;
  background-position: center center;
}

.slider [class*="box"] {
  overflow: hidden;
  border-radius: 20px;
  transition: all 1s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  position: absolute;
}

.slider [class*="box"]:nth-child(7),
.slider [class*="box"]:nth-child(1) {
  width: 100vh;
  height: 60vh;
  transform: scale(0.2) translate(-50%, -50%);
  top: 10%;
  z-index: 1;
}

.slider [class*="box"]:nth-child(2),
.slider [class*="box"]:nth-child(6) {
  width: 100vh;
  height: 60vh;
  transform: scale(0.4) translate(-50%, -50%);
  top: 20%;
  z-index: 2;
}

.slider [class*="box"]:nth-child(3),
.slider [class*="box"]:nth-child(5) {
  width: 100vh;
  height: 60vh;
  transform: scale(0.6) translate(-50%, -50%);
  top: 30%;
  z-index: 3;
}

.slider [class*="box"]:nth-child(4) {
  width: 60vw;
  height: 60vh;
  border-color: #c92026;
  color: #fff;
  transform: scale(1) translate(-50%, -50%);
  top: 50%;
  z-index: 4;
}

.slider [class*="box"]:nth-child(1) {
  left: -13%;
}

.slider [class*="box"]:nth-child(2) {
  left: -5%;
}

.slider [class*="box"]:nth-child(3) {
  left: 10%;
}

.slider [class*="box"]:nth-child(4) {
  left: 50%;
}

.slider [class*="box"]:nth-child(5) {
  left: 71%;
}

.slider [class*="box"]:nth-child(6) {
  left: 85%;
}

.slider [class*="box"]:nth-child(7) {
  left: 100%;
}

.slider .firstSlide {
  -webkit-animation: firstChild 1s;
  animation: firstChild 1s;
}

.container {
  position: relative;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

@-webkit-keyframes firstChild {
  0% {
    left: 100%;
    transform: scale(0.2) translate(-50%, -50%);
  }

  100% {
    left: -13%;
    transform: scale(0.2) translate(-50%, -50%);
  }
}

@keyframes firstChild {
  0% {
    left: 100%;
    transform: scale(0.2) translate(-50%, -50%);
  }

  100% {
    left: -13%;
    transform: scale(0.2) translate(-50%, -50%);
  }
}

:root {
  --bg-color: #a425a0;
  --font-color: #fff;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

body {
  margin: 0;
  padding: 0;
}

.hover-gallery {
  transform: translate3d(0, 0, 0);
  padding: 0 50px 50px 50px;
  min-height: 600px;
  text-align: center;
}

.gallery-container {
  padding: 0;
  margin: 0;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.gallery-wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 600px;
}

.item {
  flex: 1;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: none;
  transition: flex 0.8s ease;
  transition-delay: 0.25s;
}

.item:hover {
  flex: 14;
}

.item p {
  position: absolute;
  top: 0;
  margin: 2rem;
  padding: 1rem;
  display: none;
  color: var(--font-color);
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.item:hover p {
  display: block;
  animation: fade-in 2.5s ease;
}

/* ABOUT US */
.hidden {
  display: none;
}

.wildlife-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, auto);
  gap: 16px;
}

.wildlife-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.medium {
  grid-column: auto / span 1;
  grid-row: 1;
}

.full {
  grid-column: 2 / 4;
  grid-row: 2;
}

.wide {
  grid-column: 1 / 3;
  grid-row: 2;
}

.wildlife-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wildlife-title {
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
}

/* Optional: Add some styles for the draggable handle */
#dragHandle1,
#dragHandle2 {
  background-color: #888;
  width: 5px;
  cursor: ew-resize;
}

#dragHandle1:hover,
#dragHandle2:hover {
  background-color: #666;
}

.overlay.hidden {
  display: none;
}

/* Style for the download icon */
.text a {
  color: white;
  font-size: 1.5em;
  text-decoration: none;
}

/* Overlapping wildlife-grid repeated? Keeping it as is */
.wildlife-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, auto);
  gap: 16px;
}

.wildlife-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.medium {
  grid-column: auto / span 1;
  grid-row: 1;
}

.full {
  grid-column: 2 / 4;
  grid-row: 2;
}

.wildlife-image {
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wildlife-title {
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
}

.cursor-drag {
  cursor: ew-resize;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.carousel {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.carousel-items {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item {
  position: absolute;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.level0 {
  width: 361px;
  height: 405px;
  transform: translateX(-50%) scale(1);
  left: 50%;
  z-index: 3;
  opacity: 1;
}

.level1 {
  width: 270px;
  height: 310px;
  transform: translateX(80%) scale(0.85);
  left: 50%;
  z-index: 2;
  opacity: 0.8;
}

.level2 {
  width: 270px;
  height: 310px;
  transform: translateX(-180%) scale(0.85);
  left: 50%;
  z-index: 2;
  opacity: 0.8;
}

.arrow {
  position: absolute;
  width: 46px;
  height: 46px;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  transition: all 0.3s ease;
}

.arrow img {
  width: 100%;
  height: 100%;
}

.arrow-left {
  left: 20px;
}

.arrow-right {
  right: 20px;
}

.arrow:hover {
  transform: translateY(-50%) scale(1.1);
}

.noselect {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Improved responsive styles */
@media (max-width: 1280px) {
  .level0 {
    width: 320px;
    height: 360px;
  }

  .level1,
  .level2 {
    width: 240px;
    height: 280px;
  }
}

@media (max-width: 1024px) {
  .level0 {
    width: 300px;
    height: 340px;
  }

  .level1,
  .level2 {
    width: 220px;
    height: 260px;
  }
}

@media (max-width: 768px) {
  .level0 {
    width: 280px;
    height: 320px;
  }

  .level1,
  .level2 {
    width: 200px;
    height: 240px;
  }

  .level1 {
    transform: translateX(70%) scale(0.85);
  }

  .level2 {
    transform: translateX(-170%) scale(0.85);
  }

  .carousel-wrapper {
    height: 500px !important;
  }
}

@media (max-width: 640px) {
  .level0 {
    width: 240px;
    height: 280px;
  }

  .level1,
  .level2 {
    width: 180px;
    height: 220px;
  }

  .level1 {
    transform: translateX(60%) scale(0.85);
  }

  .level2 {
    transform: translateX(-160%) scale(0.85);
  }

  .carousel-wrapper {
    height: 400px !important;
  }
}

@media (max-width: 480px) {
  .level0 {
    width: 200px;
    height: 240px;
  }

  .level1,
  .level2 {
    width: 150px;
    height: 190px;
  }

  .level1 {
    transform: translateX(50%) scale(0.85);
  }

  .level2 {
    transform: translateX(-150%) scale(0.85);
  }

  .carousel-wrapper {
    height: 400px !important;
  }
}

/* Sidebar styles */
#drawer-navigation {
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Improved hero carousel transitions */
[data-carousel-item] {
  transition: opacity 0.7s ease-in-out;
}

/* Overlay for sidebar */
#drawer-overlay {
  transition: opacity 0.3s ease;
}

/* Ensure footer images are centered on medium screens */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .footer-image-grid img {
    width: calc(50% - 0.5rem);
    height: auto;
    object-fit: cover;
  }
}

/* Coordinates styling */
.coordinates {
  font-family: "Recoleta Light", sans-serif;
  letter-spacing: 0.5px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fbbf24 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    margin-top: -22px !important; /* Centers vertically */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: scale(1.1) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: bold !important;
}

.swiper-button-next {
    right: 20px !important;
}

.swiper-button-prev {
    left: 20px !important;
}

/* Pagination Fixes */
.swiper-pagination {
    bottom: 20px !important;
    position: relative !important;
    margin-top: 40px !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: #fbbf24 !important;
    transform: scale(1.2) !important;
}

/* Featured Reviews Swiper Specific */
.featured-reviews-swiper {
    position: relative;
    padding: 0 60px; /* Add padding for navigation buttons */
}

.featured-reviews-swiper .swiper-button-next,
.featured-reviews-swiper .swiper-button-prev {
    top: 50% !important;
}

/* Guest Photos Swiper Specific */
.guest-photos-swiper {
    position: relative;
    padding: 0 20px; /* Less padding for photo carousel */
}

.guest-photos-swiper .swiper-button-next,
.guest-photos-swiper .swiper-button-prev {
    display: none; /* Hide navigation for photo carousel, keep pagination only */
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .featured-reviews-swiper {
        padding: 0 50px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 36px !important;
        height: 36px !important;
        margin-top: -18px !important;
    }
    
    .swiper-button-next {
        right: 10px !important;
    }
    
    .swiper-button-prev {
        left: 10px !important;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px !important;
    }
}

@media (max-width: 640px) {
    .featured-reviews-swiper {
        padding: 0 40px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 32px !important;
        height: 32px !important;
        margin-top: -16px !important;
    }
    
    .swiper-button-next {
        right: 5px !important;
    }
    
    .swiper-button-prev {
        left: 5px !important;
    }
}