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

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

body {
  font-family: "Satoshi", sans-serif;
  color: #000000;
  overflow-x: hidden;
  font-weight: 300;
  font-size: 12px;
  background-color: #f1f2eb;
}
h1,
h3,
h4,
h5,
h6 {
  font-family: "Erode", sans-serif;
  font-weight: 400;
}

.page-title-h2 {
  border-left: 4px solid #000;
  padding-left: 1.5rem;
  line-height: 1.15em;
  font-family: "Erode", sans-serif;
  font-weight: 400;
}
.page-title-h2.amenities-c {
  text-align: center;
  border-left: none;
  padding-left: 0;
}
@media (min-width: 1025px) {
  .page-title-h2 {
    font-size: 40px;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .page-title-h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-title-h2 {
    font-size: 27px;
  }
}

/* SVG styling */

.selectable-area {
  fill: #f1bd7830;
  cursor: pointer;
  transition: all 0.2s ease;
}

.selectable-area:hover {
  stroke: var(--primary-color) !important;
  stroke-width: 2px;
  fill: #f1bd7850;
}

.selected {
  fill: rgba(76, 175, 80, 0.3) !important;
  stroke-width: 2px !important;
}

.selectable-area.booked {
  fill: #ff000050;
  cursor: not-allowed;
  pointer-events: none;
  stroke: #ff0000 !important;
  opacity: 0.5;
}

.selectable-area.selected {
  fill: #f1bd7850 !important;
  /* Green for selected rooms */
}

.detail-card {
  box-shadow:
    0 4px 24px 0 rgba(18, 201, 211, 0.15),
    0 1.5px 6px 0 rgba(55, 66, 153, 0.08);
  border-radius: 1rem;
  background: white;
}

@keyframes card-border-reveal {
  to {
    stroke-dashoffset: 0;
  }
}

.animated-card-border {
  fill: none;
  stroke: #f1bd78;
  stroke-width: 4;
  stroke-dasharray: 1200;
  /* Should be >= perimeter: 2*(390+200)=1180 */
  stroke-dashoffset: 1200;
  animation: card-border-reveal 0.3s cubic-bezier(0.1, 0, 0.5, 0.5) 0s forwards;
  /* 0.8s delay = mask (0.5s) + polyline (0.3s) */
}

/* Add modal animations */
.modal-enter-active,
.modal-leave-active {
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.modal-enter-from,
.modal-leave-to {
  opacity: 0;
  transform: scale(0.95);
}

/* Custom styles */
.nav-links {
  font-family: "Erode", sans-serif;
  position: relative;
  display: inline-block;
  margin: 0 15px;
  font-weight: 500;
  z-index: 1;
  text-decoration: none;
  color: white;
  padding: 10px 0;
  letter-spacing: 0.5px;
}

/* Default state */
#mainNavbar {
  background-color: transparent;
  box-shadow: none;
}

#mainNavbar .show {
  background-color: white !important;
  margin-top: 10px;
}

/* Scrolled state */
#mainNavbar.scrolled {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#mainNavbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNavbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#mainNavbar .navbar-toggler-close {
  color: white;
}
#mainNavbar.scrolled .navbar-toggler-close {
  color: black;
}
#mainNavbar .navbar-toggler:focus {
  box-shadow: none;
}
#mainNavbar.scrolled .nav-links,
#mainNavbar.scrolled .nav-item > .active,
.show .nav-links {
  color: black;
}

.nav-links:before {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 7px;
  width: calc(100% + 10px);
  height: 10px;
  z-index: -1;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: 100% 0;
  transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-links:hover:before,
.nav-item > .active:before {
  transform: scaleX(1);
  transform-origin: 0 0;
}

.navbar-toggler-close {
  display: flex;
  width: 1.5em;
  height: 1.5em;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  line-height: 1;
  color: currentColor;
  text-align: center;
  border: none;
}

/* Optional: Add smooth transition */
.navbar-toggler {
  transition: all 0.3s ease;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.btn {
  background-color: var(--secondary-color);
  border: none;
  color: white;
  transition: background-color 0.3s ease;
}

.btn:hover,
.btn.active {
  background-color: var(--primary-color) !important;
  color: white;
}

/* Footer Styles */
.footer-section {
  background-color: #343a40;
  color: white;
  padding: 60px 0 30px;
}

.footer-section h5 {
  font-weight: medium;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: white;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  color: white;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
}

/* Card hover effects */
.card-hover {
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.destination-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1rem 20px;
}

.destination-carousel-controls {
  position: relative;
  z-index: 3;
}

.destination-carousel-arrow {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background-color: var(--primary-color);
  transition: opacity 0.2s ease;
}

.destination-carousel-arrow:hover {
  opacity: 0.9;
}

.destination-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.destination-carousel-wrapper::before,
.destination-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* .destination-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 20%
  );
}

.destination-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 20%
  );
} */

.destination-carousel-wrapper.scroll-shadow-left::before,
.destination-carousel-wrapper.scroll-shadow-right::after {
  opacity: 1;
}

.destination-carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-y;
}

.destination-carousel::-webkit-scrollbar {
  display: none;
  height: 0;
}

.destination-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.destination-carousel.is-dragging .destination-card-item {
  pointer-events: none;
}

.destination-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.destination-carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.65;
}

.destination-carousel-dot.active {
  background: #ffffff;
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.destination-carousel-dot:hover {
  opacity: 0.95;
}
.destination-card-item {
  flex: 0 0 100%;
  max-width: 100%;
  scroll-snap-align: start;
}

/* footer gallery */
.footer-gallery {
  background-color: var(--primary-color);
}

.footer-gallery-collage {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  justify-content: center;
  align-items: center;
  display: flex;
  max-width: 100%;
}
.footer-gallery-collage-inner {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}

.footer-gallery-card {
  position: relative;
  overflow: hidden;
  min-height: auto;
}

.footer-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.footer-gallery-card--a,
.footer-gallery-card--f,
.footer-gallery-card--b,
.footer-gallery-card--c,
.footer-gallery-card--d,
.footer-gallery-card--e {
  width: 30%;
  max-width: 30%;
  aspect-ratio: 1 / 1;
  height: auto;
}
/* @media (min-width: 992px) {
    .footer-gallery-collage {
    max-width: 35%;
  }
} */
@media (min-width: 768px) {
    .footer-gallery-collage {
    max-width: 35%;
  }
  .footer-gallery-card {
    min-height: 260px;
  }
  .footer-gallery-collage-inner {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .footer-gallery-card--a,
  .footer-gallery-card--f {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    max-width: 310px;
    max-height: 456px;
  }

  .footer-gallery-card--b,
  .footer-gallery-card--d {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    max-width: 334px;
    max-height: 260px;
  }

  .footer-gallery-card--c,
  .footer-gallery-card--e {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    max-width: 334px;
    max-height: 387px;
  }
}

/* Responsive fonts adjustments */
.fsr-5 {
  font-family: "Erode", sans-serif !important;
  font-size: 2rem !important;
  display: inline-block !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  text-transform: none !important;
}
.f-index-p {
  font-size: 0.85rem !important;
  padding: 0 !important;
}

.ls-1 {
  letter-spacing: 0.2em !important;
}
@media (min-width: 495px) {
  .destination-card-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .fsr-5 {
    font-size: 4rem !important;
    /* line-height: 1.5 !important; */
  }
}

@media (min-width: 768px) {
  .destination-card-item {
    flex: 0 0 31%;
    max-width: 31%;
  }
}

@media (min-width: 992px) {
  .destination-card-item {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
.card {
  background-color: unset;
  border: none;
  padding: 0;
}
.card-body {
  padding: 0;
  padding-top: 1rem;
}
.card,
.btn {
  border-radius: 0 !important;
}

::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Image fill + hover */
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  border-radius: 0 !important;
}

img:hover,
.card-hover:hover > img,
.card:hover img {
  transform: scale(1.07) !important;
}

.container {
  max-width: 1678px !important;
  margin: 0 auto;
}

@media screen and (min-width: 1400px) {
  .container {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}
