:root {
  --font-heading: "Poppins", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --sand: #ffe5a2;
  --sky: #9ef5f8;
  --sea: #69cae7;
  --navy: #1d3557;
  --white: #ffffff;
  --sb-track: var(--white);
  --sb-thumb: var(--sea);
  --sb-thumb-hover: var(--navy);
  --sb-size: 10px;
  --sb-radius: 12px;
  scroll-behavior: smooth;
}

*::-webkit-scrollbar {
  width: 12px;
  height: var(--sb-size);
}

*::-webkit-scrollbar-track {
  background: var(--sb-track);
  border-radius: 0;
}

*::-webkit-scrollbar-thumb {
  width: 12px;
  background: var(--sb-thumb);
  border-radius: 0;
  transition: background 0.2s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--sb-thumb-hover);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--sb-thumb) var(--sb-track);
}

body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  background-color: whitesmoke;
  scroll-behavior: smooth;
}

main {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding-bottom: 4rem; /* Add space for footer */
}

.hero {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  overflow: visible;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("assets/bg2.avif");
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(41, 41, 41, 0.45) 0%,
    rgba(32, 32, 32, 0.35) 100%
  );
  backdrop-filter: blur(2px);
}

.hero-content {
  padding: 2rem;
  max-width: 1200px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
}

.hero-search {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 0 1rem;
  animation: slideUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
  font-weight: 300;
}

.title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 2rem;
  font-weight: 600;
}

.cta-button {
  background-color: var(--sea);
  color: var(--navy);
  border: none;
  padding: 1rem 2.5rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--sky);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  opacity: 0;
  animation: slideUp 1s ease 0.3s forwards;
}

.pop-in {
  opacity: 0;
  animation: popIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* Properties Section */
.properties {
  padding: 6rem 0;
  background-color: var(--white);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--navy);
  text-align: left;
  margin-bottom: 3rem;
  font-weight: 600;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 0.75rem;
}

.properties {
  --carousel-gap: 1.5rem; /* Define gap as a variable */
  --items-per-row-desktop: 3;
  --items-per-row-tablet: 2;
  --items-per-row-mobile: 1;
  padding: 4rem 0; /* Ensures vertical spacing for the section */
  background-color: var(--white);
}

.properties > .container {
  max-width: 70vw;
  margin: 0 auto;
  /* Removed padding: 0 1.5rem; to let carousel-container manage it */
}

.properties .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-title-wrapper {
  flex-grow: 1;
}

.properties .section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #667;
  margin-top: 0.2rem;
}

.carousel-controls {
  display: none; /* Hide old controls if they exist elsewhere */
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.carousel-btn {
  background: white;
  border: 1px solid #e0e0e0;
  color: #555;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--sea);
  color: white;
  border-color: var(--sea);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(105, 202, 231, 0.3);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: scale(1);
  background: #f5f5f5;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  flex: 1;
  opacity: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  gap: var(--carousel-gap); /* Apply gap here */
}

.lux-card {
  flex-shrink: 0;
  box-sizing: border-box;
  background: var(--white);
  border: none;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  width: calc(
    (100% / var(--items-per-row-desktop)) -
      (
        var(--carousel-gap) * (var(--items-per-row-desktop) - 1) /
          var(--items-per-row-desktop)
      )
  );
  margin-bottom: var(--carousel-gap);
  overflow: hidden;
  position: relative;
}

/* Skeleton loading card for featured properties */
.lux-card.skeleton {
  cursor: default;
  pointer-events: none;
}

.lux-card.skeleton .card-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.lux-card.skeleton .card-img {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.lux-card.skeleton .card-title {
  background: #e0e0e0;
  height: 1rem;
  border-radius: 8px;
  color: transparent;
  animation: loading 1.5s infinite;
  margin-bottom: 0.5rem;
}

.lux-card.skeleton .price-value {
  background: #e0e0e0;
  height: 0.9rem;
  border-radius: 8px;
  color: transparent;
  animation: loading 1.5s infinite;
  width: 60%;
}

.lux-card.skeleton .location-text,
.lux-card.skeleton .beds-baths-guests {
  background: #e0e0e0;
  height: 0.8rem;
  border-radius: 8px;
  color: transparent;
  animation: loading 1.5s infinite;
  margin-top: 0.5rem;
  width: 50%;
}

.lux-card.skeleton .tag {
  background: #e0e0e0;
  height: 0.7rem;
  border-radius: 6px;
  color: transparent;
  animation: loading 1.5s infinite;
  display: inline-block;
  width: 60px;
  margin: 0.3rem 0.3rem 0 0;
}
.lux-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(105, 202, 231, 0.15);
}

.card-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: none;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.card-img-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(29, 53, 87, 0.3), transparent);
  z-index: 1;
  pointer-events: none;
  transition: all 0.4s ease;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.lux-card:hover .card-img {
  transform: scale(1);
}

.card-img-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  align-items: flex-start;
}

.card-img-overlay .badge {
  background: rgba(29, 53, 87, 0.85);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-img-overlay .favorite-badge {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  font-size: 1.2rem;
}

.card-img-overlay .favorite-badge:hover {
  background: white;
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.card-img-overlay .favorite-badge.active {
  background: #ff385c;
  color: white;
  transform: scale(1.15);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: var(--white);
}

.card-title {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.card-loc {
  color: #666;
  font-size: 0.9rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.card-loc i {
  font-size: 0.85rem;
  color: var(--sea);
  width: 16px;
  text-align: center;
}

.amenities-row {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  color: #666;
  font-size: 0.85rem;
  font-family: var(--font-body);
  padding-bottom: 1.2rem;
  border-bottom: 2px solid #f0f0f0;
  font-weight: 500;
}

.amenity-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
}

.amenity-icon i {
  color: var(--sea);
  font-size: 0.9rem;
  width: 18px;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  min-height: 24px;
}

.tag {
  background: linear-gradient(
    135deg,
    rgba(105, 202, 231, 0.1),
    rgba(158, 245, 248, 0.1)
  );
  color: var(--sea);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(105, 202, 231, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 2px solid #f0f0f0;
  gap: 1rem;
}

.price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #999;
  font-family: var(--font-body);
}

.btn-card {
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.2);
  white-space: nowrap;
}

.btn-card:hover {
  background: var(--sea);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(105, 202, 231, 0.4);
}

.btn-card:active {
  transform: translateY(-1px);
}

.show-more-container {
  display: none !important;
}

@media screen and (max-width: 1600px) {
  .properties > .container {
    max-width: 85vw;
  }
}

@media screen and (max-width: 1200px) {
  .lux-card {
    width: calc(
      (100% / var(--items-per-row-tablet)) -
        (
          var(--carousel-gap) * (var(--items-per-row-tablet) - 1) /
            var(--items-per-row-tablet)
        )
    );
  }
}

@media screen and (max-width: 1024px) {
  .properties {
    padding: 3rem 0;
  }

  .properties > .container {
    max-width: 90vw;
    padding: 0;
  }

  .carousel-wrapper {
    gap: 12px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-container {
    overflow-x: auto;
  }
}

@media screen and (max-width: 768px) {
  .properties {
    padding: 2.5rem 0;
  }

  .properties > .container {
    max-width: calc(90vw);
    padding: 0;
    margin: 0 auto;
  }

  .properties .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .section-title-wrapper {
    width: 100%;
  }

  .properties .section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .carousel-wrapper {
    gap: 10px;
    margin: 0 auto;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .carousel-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lux-card {
    width: 90vw;
    flex-shrink: 0;
    margin-bottom: 1rem;
    border-radius: 16px;
  }

  .card-img-wrap {
    height: 200px;
  }

  .card-img-overlay {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .card-img-overlay .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .card-img-overlay .favorite-badge {
    width: 38px;
    height: 38px;
  }

  .card-content {
    padding: 1rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-loc {
    font-size: 0.9rem;
  }

  .btn-card {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .properties {
    padding: 2rem 0;
  }

  .properties > .container {
    max-width: 90vw;
    padding: 0 5vw;
    margin: 0 auto;
  }

  .properties .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .properties .section-title {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  .carousel-wrapper {
    gap: 8px;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    flex-shrink: 0;
    order: 2;
  }

  .carousel-btn.prev {
    order: 2;
  }

  .carousel-container {
    order: 1;
    flex-basis: 100%;
    width: 90vw;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .carousel-btn.next {
    order: 2;
  }

  .carousel-track {
    gap: 1rem;
  }

  .lux-card {
    width: 90vw;
    flex-shrink: 0;
    margin-bottom: 0.8rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .card-img-wrap {
    height: 160px;
    position: relative;
  }

  .card-img-overlay {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .card-img-overlay .badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    gap: 4px;
  }

  .card-img-overlay .favorite-badge {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .card-content {
    padding: 0.8rem;
  }

  .card-title {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .card-loc {
    font-size: 0.8rem;
  }

  .amenity-icon {
    font-size: 0.85rem;
  }

  .tag-row {
    gap: 0.4rem;
    margin-bottom: 0.8rem;
  }

  .tag {
    font-size: 0.75rem;
    padding: 4px 8px;
  }

  .price-row {
    flex-direction: column;
    gap: 0.8rem;
  }

  .price {
    font-size: 1rem;
  }

  .btn-card {
    padding: 8px 16px;
    font-size: 0.85rem;
    width: 100%;
  }

  .share-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

/* Share Menu Styles */
.share-menu {
  position: fixed;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 200px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.share-menu.show {
  opacity: 1;
  transform: scale(1);
}

.share-option {
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.95rem;
  text-align: left;
  font-family: var(--font-body);
}

.share-option:hover {
  background: #f5f6fa;
  color: var(--sea);
  padding-left: 20px;
}

.share-option i {
  width: 20px;
  text-align: center;
  color: var(--sea);
}

.share-option.copy-link {
  border-top: 1px solid #eee;
}

.share-btn {
  background: white;
  border: 1.5px solid #e0e0e0;
  color: #555;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
}

.share-btn:hover {
  background: var(--sea);
  color: white;
  border-color: var(--sea);
  transform: scale(1.05);
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* ===== INTERSECTION OBSERVER SCROLL ANIMATIONS ===== */

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide up animation */
@keyframes slideUpIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide left animation */
@keyframes slideLeftIn {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide right animation */
@keyframes slideRightIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale in animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Bounce in animation */
@keyframes bounceIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Rotate in animation */
@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

/* Default scroll animation class */
.animate-in {
  animation: slideUpIn 0.6s ease-out forwards;
}

/* Set opacity 0 for elements that will be observed - but NOT for carousel container initially */
.properties .section-header,
.lux-card,
.featured-event,
.event-image-container,
.event-content-new,
.why-choose-us .section-title,
.feature-card,
.testimonials,
.about-content .section-title,
.about-text,
.highlight-item,
.about-cta,
.about-visual,
.stat-box,
.inspiration-title,
.inspiration-subtitle,
.destination-card {
  opacity: 0;
}

/* Specific animations for different element types */
.hero .subtitle.animate-in,
.hero .title.animate-in {
  animation: slideUpIn 0.8s ease-out forwards;
}

.search-wrapper.animate-in {
  animation: slideUpIn 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.properties .section-header.animate-in {
  animation: slideLeftIn 0.7s ease-out forwards;
}

.carousel-container.animate-in {
  animation: scaleIn 0.7s ease-out 0.2s forwards;
  opacity: 1 !important;
}

.lux-card.animate-in {
  animation: slideUpIn 0.6s ease-out calc(var(--stagger-delay, 0s)) forwards;
  opacity: 0;
}

.featured-event.animate-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.event-image-container.animate-in {
  animation: slideLeftIn 0.7s ease-out forwards;
  opacity: 0;
}

.event-content-new.animate-in {
  animation: slideRightIn 0.7s ease-out 0.2s forwards;
  opacity: 0;
}

.why-choose-us .section-title.animate-in {
  animation: slideUpIn 0.8s ease-out forwards;
  opacity: 0;
}

.feature-card.animate-in {
  animation: scaleIn 0.6s ease-out calc(var(--stagger-delay, 0s)) forwards;
  opacity: 0;
}

.testimonials.animate-in {
  animation: slideUpIn 0.7s ease-out forwards;
  opacity: 0;
}

.about-content .section-title.animate-in {
  animation: slideUpIn 0.8s ease-out forwards;
  opacity: 0;
}

.about-text.animate-in {
  animation: slideUpIn 0.6s ease-out 0.15s forwards;
  opacity: 0;
}

.highlight-item.animate-in {
  animation: slideLeftIn 0.6s ease-out calc(var(--stagger-delay, 0s)) forwards;
  opacity: 0;
}

.about-cta.animate-in {
  animation: slideUpIn 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.about-visual.animate-in {
  animation: slideRightIn 0.7s ease-out 0.2s forwards;
  opacity: 0;
}

.stat-box.animate-in {
  animation: bounceIn 0.6s cubic-bezier(0.23, 1, 0.32, 1)
    calc(var(--stagger-delay, 0s)) forwards;
  opacity: 0;
}

.inspiration-title.animate-in {
  animation: slideUpIn 0.8s ease-out forwards;
  opacity: 0;
}

.inspiration-subtitle.animate-in {
  animation: slideUpIn 0.6s ease-out 0.15s forwards;
  opacity: 0;
}

.destination-card.animate-in {
  animation: slideUpIn 0.6s ease-out calc(var(--stagger-delay, 0s)) forwards;
  opacity: 0;
}

/* ========================
   MOBILE: ENSURE ALL ELEMENTS ARE VISIBLE
   ======================== */

@media screen and (max-width: 768px) {
  .properties .section-header,
  .lux-card,
  .featured-event,
  .event-image-container,
  .event-content-new,
  .why-choose-us .section-title,
  .feature-card,
  .testimonials,
  .about-content .section-title,
  .about-text,
  .highlight-item,
  .about-cta,
  .about-visual,
  .stat-box,
  .inspiration-title,
  .inspiration-subtitle,
  .destination-card,
  .carousel-container {
    opacity: 1 !important;
  }
}

/* ========================
   MOBILE HERO REDESIGN
   ======================== */

@media screen and (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: 100vh;
    max-height: none;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0 40px 0;
  }

  .hero-content {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    margin-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 0.5rem;
  }

  .title {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    margin-bottom: 1.5rem;
  }

  #search-wrapper {
    position: relative;
    bottom: 0;
    margin-top: auto;
    padding: 0 1rem;
    width: 100%;
  }

  .search-card {
    flex-direction: column;
    width: 100%;
  }

  .search-group {
    width: 100%;
    padding: 12px 0;
  }

  .search-group:last-child {
    border-bottom: none;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    max-height: none;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0 40px 0;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    gap: 1rem;
    margin-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 0.3rem;
  }

  .title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    margin-bottom: 1.2rem;
  }

  #search-wrapper {
    position: relative;
    bottom: 0;
    margin-top: auto;
    padding: 0 0.8rem;
    width: 100%;
  }

  .search-card {
    flex-direction: column;
    width: 100%;
    padding: 10px;
    gap: 0;
  }

  .search-group {
    width: 100%;
    padding: 10px 0;
  }

  .search-group:last-child {
    border-bottom: none;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    height: auto;
    min-height: 100vh;
    max-height: none;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0 40px 0;
  }

  .hero-content {
    padding: 1rem 0.8rem;
    gap: 0.8rem;
    margin-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }

  .subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }

  .title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  #search-wrapper {
    position: relative;
    bottom: 0;
    margin-top: auto;
    padding: 0 0.5rem;
    width: 100%;
  }

  .search-card {
    flex-direction: column;
    width: 100%;
    padding: 8px;
    gap: 0;
  }

  .search-group {
    width: 100%;
    padding: 8px 0;
  }

  .search-group:last-child {
    border-bottom: none;
  }

  .search-label {
    font-size: 0.65rem;
  }

  .search-value {
    font-size: 0.85rem;
  }

  .search-input {
    font-size: 0.85rem;
  }
}

/* ========================
   INSPIRE SECTION
   ======================== */

.inspire-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 80px 0;
}

.inspire-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0f7ff 0%, #b3e5fc 50%, #80deea 100%),
    url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1200&h=600&fit=crop")
      center/cover;
  background-blend-mode: overlay;
  background-attachment: fixed;
  background-size: cover;
  animation: inspireBgShift 15s ease infinite;
  z-index: 0;
}

@keyframes inspireBgShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.inspire-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(3px);
  z-index: 1;
}

.inspire-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inspire-glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 60px 50px;
  max-width: 70%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  animation: inspireCardFadeUp 1s ease-out;
  transition: all 0.3s ease;
}

@keyframes inspireCardFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inspire-glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

.inspire-heading {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 6px;
  margin: 0 0 24px 0;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0088cc, #00d4ff, #0088cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  width: 100%;
}

.inspire-heading::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0088cc, transparent);
  box-shadow: 0 0 12px rgba(0, 136, 204, 0.5);
}

.inspire-description {
  font-family: var(--font-body);
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  margin: 40px 0 40px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.3px;
  font-weight: 500;
}

.inspire-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(
    135deg,
    rgba(0, 136, 204, 0.9),
    rgba(0, 212, 255, 0.9)
  );
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.3);
  text-decoration: none;
  font-family: var(--font-body);
}

.inspire-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #0088cc, #00d4ff);
  box-shadow: 0 8px 28px rgba(0, 136, 204, 0.5);
  border-color: rgba(255, 255, 255, 0.6);
}

.inspire-button:hover i {
  animation: inspireArrowShimmer 0.6s ease-out;
}

@keyframes inspireArrowShimmer {
  0% {
    transform: translateX(-4px);
    opacity: 0;
  }
  50% {
    transform: translateX(2px);
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.inspire-button i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

/* Responsive - Inspire Section */
@media (max-width: 1024px) {
  .inspire-glass-card {
    max-width: 80%;
    padding: 50px 40px;
  }

  .inspire-heading {
    font-size: 42px;
  }

  .inspire-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .inspire-section {
    min-height: 400px;
    margin: 60px 0;
  }

  .inspire-glass-card {
    max-width: 90%;
    padding: 40px 30px;
  }

  .inspire-heading {
    font-size: 36px;
    letter-spacing: 4px;
  }

  .inspire-description {
    font-size: 15px;
    margin: 30px 0;
  }

  .inspire-button {
    padding: 12px 28px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .inspire-section {
    min-height: 350px;
    margin: 40px 0;
  }

  .inspire-glass-card {
    max-width: 95%;
    padding: 30px 20px;
  }

  .inspire-heading {
    font-size: 28px;
    letter-spacing: 3px;
  }

  .inspire-description {
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0;
  }

  .inspire-button {
    padding: 10px 24px;
    font-size: 13px;
    gap: 6px;
  }
}

/* ========================
   FEATURED EVENT SECTION
   ======================== */

.featured-event {
  width: 100%;
  height: 650px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  box-sizing: border-box;
  background-image: url("assets/beach2.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Overlay */
.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(41, 41, 41, 0.55) 0%,
    rgba(32, 32, 32, 0.45) 100%
  );
  z-index: 1;
}

/* Navigation Buttons */
.event-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--navy);
  z-index: 3;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.event-nav-left {
  left: 30px;
}

.event-nav-right {
  right: 30px;
}

.event-nav-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.event-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Carousel Indicators */
.event-carousel-indicators-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.event-carousel-indicators {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.event-carousel-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.event-carousel-indicators .indicator.active {
  background: var(--white);
  width: 28px;
  border-radius: 5px;
}

.event-carousel-indicators .indicator:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Event Content Wrapper - Text directly on background */
.event-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  padding: 40px;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(11, 43, 50, 0.6);
  border-radius: 16px;
  backdrop-filter: blur(4px);
}

.event-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e8f4f8;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  font-family: var(--font-heading);
}

.event-title {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 600;
  color: #a8dff0;
  margin: 0;
  line-height: 1.2;
  font-family: var(--font-heading);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.event-description {
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.7;
  margin: 0;
  font-family: var(--font-body);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

.event-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0;
  margin: 10px 0;
}

.event-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-direction: column;
}

.event-icon {
  font-size: 1.4rem;
  color: #e8f4f8;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

.event-detail span {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
  font-family: var(--font-body);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.event-cta {
  align-self: center;
  background: linear-gradient(135deg, var(--sea) 0%, #5db8d4 100%);
  color: var(--white);
  border: none;
  padding: 14px 40px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(105, 202, 231, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
}

.event-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(105, 202, 231, 0.5);
  background: linear-gradient(135deg, #5db8d4 0%, #52a8c8 100%);
}

.event-cta:active {
  transform: translateY(0);
}

/* ========================
   ANIMATIONS
   ======================== */

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-banner {
  animation: slideIn 0.6s ease 0.3s forwards;
  opacity: 0;
}

/* ========================
   ACCESSIBILITY
   ======================== */

.event-carousel-btn:focus-visible,
.event-cta:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .event-bg,
  .event-carousel-btn,
  .event-cta,
  .event-banner {
    transition: none;
    animation: none;
  }
}

@media screen and (max-width: 1024px) {
  .featured-event {
    min-height: 550px;
  }

  .event-nav-btn {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .event-nav-left {
    left: 20px;
  }

  .event-nav-right {
    right: 20px;
  }

  .event-content-wrapper {
    max-width: 600px;
  }

  .event-title {
    font-size: clamp(1.6rem, 5vw, 2.8rem);
  }

  .event-details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media screen and (max-width: 768px) {
  .featured-event {
    min-height: 500px;
    background-attachment: scroll;
  }

  .event-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .event-nav-left {
    left: 15px;
  }

  .event-nav-right {
    right: 15px;
  }

  .event-content-wrapper {
    padding: 0 20px;
    max-width: 100%;
  }

  .event-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .event-title {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
  }

  .event-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .event-details-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px 0;
  }

  .event-icon {
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
  }

  .event-detail span {
    font-size: 0.85rem;
  }

  .event-cta {
    padding: 11px 28px;
    font-size: 0.9rem;
  }

  .event-carousel-indicators .indicator {
    width: 8px;
    height: 8px;
  }

  .event-carousel-indicators .indicator.active {
    width: 24px;
  }
}

@media screen and (max-width: 480px) {
  .featured-event {
    min-height: 450px;
    background-attachment: scroll;
  }

  .event-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .event-nav-left {
    left: 12px;
  }

  .event-nav-right {
    right: 12px;
  }

  .event-content-wrapper {
    padding: 0 16px;
    gap: 16px;
  }

  .event-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.8px;
  }

  .event-title {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  }

  .event-description {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .event-details-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .event-detail {
    gap: 10px;
  }

  .event-icon {
    font-size: 1rem;
    width: 32px;
    height: 32px;
  }

  .event-detail span {
    font-size: 0.8rem;
  }

  .event-cta {
    padding: 10px 24px;
    font-size: 0.85rem;
  }

  .event-carousel-indicators .indicator {
    width: 6px;
    height: 6px;
  }

  .event-carousel-indicators .indicator.active {
    width: 20px;
  }

  .event-carousel-indicators-container {
    bottom: 30px;
  }
}

@media screen and (max-width: 480px) {
  .featured-event {
    padding: 30px 0;
    margin: 0;
  }

  .featured-event::before {
    display: none;
  }

  .event-banner {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
    padding: 0 12px;
    max-width: 100%;
    grid-template-columns: unset;
  }

  .event-image-container {
    width: 100% !important;
    height: 220px !important;
    border-radius: 12px;
    flex-shrink: 0;
    order: 1;
  }

  .event-content-new {
    padding: 14px;
    border-radius: 10px;
    gap: 10px;
    order: 2;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex !important;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .event-carousel-nav {
    padding: 10px;
    gap: 8px;
  }

  .event-carousel-btn {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .event-carousel-indicators {
    display: none;
  }

  .event-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.8px;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    color: var(--accent-color, #d4a574);
  }

  .event-title {
    font-size: 1rem;
    margin: 4px 0;
    padding: 0;
    line-height: 1.2;
  }

  .event-description {
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    max-height: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    max-width: none !important;
  }

  .event-details-grid {
    padding: 8px 0;
    gap: 6px;
    display: flex !important;
    flex-direction: column;
    width: 100%;
  }

  .event-detail {
    gap: 6px;
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    font-size: 0.75rem;
    width: 100% !important;
    overflow: hidden;
  }

  .event-icon {
    font-size: 0.85rem;
    width: 16px;
    height: 16px;
    min-width: 16px;
    max-width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .event-detail span {
    font-size: 0.75rem !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: 100% !important;
    word-break: break-word;
    flex: 1;
  }

  .event-cta {
    width: 100%;
    padding: 9px 14px;
    font-size: 0.78rem;
    text-align: center;
    margin-top: 4px;
    border: none;
    border-radius: 6px;
  }
}

/* Popular Locations Section */
.popular-locations {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(32, 178, 170, 0.03) 0%, rgba(0, 128, 128, 0.02) 100%);
  overflow-x: hidden;
}

.popular-locations .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.popular-locations .section-header {
  margin-bottom: 2rem;
  margin-left: 18%;
}

.popular-locations .section-title {
  background: linear-gradient(135deg, var(--sea) 0%, #20a896 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}

/* Location Toggle Buttons */
.locations-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.location-btn {
  background: white;
  border: 2px solid #e0e0e0;
  color: #555;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.location-btn i {
  font-size: 0.85rem;
}

.location-btn:hover {
  border-color: var(--sea);
  color: var(--sea);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(105, 202, 231, 0.2);
}

.location-btn.active {
  background: var(--sea);
  color: white;
  border-color: var(--sea);
  box-shadow: 0 6px 20px rgba(105, 202, 231, 0.3);
}

/* Locations Carousel */
.locations-carousel {
  --items-per-row-desktop: 5;
  --carousel-gap: 1.5rem;
}

.locations-track {
  display: flex !important;
  gap: var(--carousel-gap);
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  transition: none !important;
}

.location-card {
  flex-shrink: 0;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 400px;
  width: calc((100% / 5.1) - 0.8rem);
  min-width: calc((100% / 5.1) - 0.8rem);
}

.location-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 48px rgba(105, 202, 231, 0.2);
}

.location-card-image {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.location-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.location-card:hover .location-card-image img {
  transform: scale(1.05);
}

.location-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(29, 53, 87, 0.5), transparent);
  z-index: 1;
  pointer-events: none;
}

.location-card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: white;
  justify-content: flex-end;
  gap: 0.3rem;
}

.location-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
  line-height: 1.2;
  font-family: var(--font-heading);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.location-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sea);
  font-family: var(--font-body);
  margin-bottom: 0.2rem;
}

.location-card-meta {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.2rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-body);
}

/* Skeleton loading cards */
.location-card.skeleton {
  cursor: default;
  pointer-events: none;
}

.location-card.skeleton .location-card-image {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.location-card.skeleton .location-card-title {
  background: #e0e0e0;
  height: 2rem;
  border-radius: 8px;
  color: transparent;
  animation: loading 1.5s infinite;
}

.location-card.skeleton .location-card-price {
  background: #e0e0e0;
  height: 1.5rem;
  border-radius: 8px;
  color: transparent;
  animation: loading 1.5s infinite;
  width: 60%;
}

.location-card.skeleton .location-card-meta {
  background: #e0e0e0;
  height: 1rem;
  border-radius: 8px;
  color: transparent;
  animation: loading 1.5s infinite;
  width: 40%;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Loading Spinner for Locations */
#locationsSpinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none;
}

#locationsSpinner.active {
  display: block;
}

/* Hide carousel buttons on desktop */
@media (min-width: 769px) {
  .carousel-wrapper.locations-carousel .carousel-btn {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .locations-carousel {
    --items-per-row-desktop: 3;
  }

  .location-card {
    width: calc((100% / 2.8) - 1rem);
    min-width: calc((100% / 2.8) - 1rem);
  }

  .locations-nav {
    gap: 0.75rem;
  }

  .location-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .locations-carousel {
    --items-per-row-desktop: 2;
  }

  .location-card {
    width: calc((100% / 2) - 0.75rem);
    min-width: calc((100% / 2) - 0.75rem);
    height: 280px;
  }

  .location-card-image {
    height: 160px;
  }

  .locations-nav {
    gap: 0.5rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .locations-nav::-webkit-scrollbar {
    height: 3px;
  }

  .locations-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .locations-nav::-webkit-scrollbar-thumb {
    background: var(--sea);
    border-radius: 3px;
  }

  .location-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .popular-locations {
    padding: 2rem 0;
  }

  .carousel-wrapper.locations-carousel {
    justify-content: center;
  }

  .carousel-wrapper.locations-carousel .carousel-btn {
    display: none;
  }
}
