/* Amenities Header */
.amenities-header {
    background: var(--color-gold-50);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

/* Amenities Grid */
.amenities-grid {
    padding: var(--spacing-xl) 0;
}

.amenity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.amenity-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.amenity-card i {
    font-size: 2rem;
    color: var(--color-gold-600);
    margin-bottom: var(--spacing-md);
}

.amenity-card h3 {
    margin-bottom: var(--spacing-sm);
}

/* Gallery Grid */
.amenities-gallery {
    padding: var(--spacing-xl) 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

body {
  background: linear-gradient(135deg, #fff7f0 60%, #ffe5c2 100%);
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated Gradient Blob */
.animated-blob {
  position: fixed;
  top: 10vh;
  left: 60vw;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, #ee780a 0%, #ffe5c2 80%);
  opacity: 0.18;
  filter: blur(60px);
  border-radius: 50%;
  z-index: 0;
  animation: blobMove 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes blobMove {
  0% { transform: scale(1) translateY(0) translateX(0); }
  50% { transform: scale(1.15) translateY(-40px) translateX(-60px); }
  100% { transform: scale(1.05) translateY(30px) translateX(40px); }
}

.amenities-luxury-section {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 32px rgba(180, 68, 2, 0.08);
  border-radius: 2.5rem;
  margin: 4rem 0 0 0;
  padding: 3.5rem 0 0 0;
  overflow: visible;
  z-index: 1;
}
.luxury-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.luxury-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #b44402;
  font-weight: 400;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.gold-bar {
  width: 90px;
  height: 6px;
  background: linear-gradient(90deg, #ee780a 0%, #d5a912 100%);
  border-radius: 3px;
  margin: 0 auto 1.5rem auto;
}
.luxury-subtitle {
  color: #555;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.2px;
}
.amenities-scroll {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  flex-wrap: nowrap;
  scroll-padding-left: 1rem;
  scroll-padding-right: 1rem;
  padding-bottom: 2.2rem;
  scrollbar-width: thin;
  scrollbar-color: #ee780a #fff7f0;
  margin-bottom: 1.5rem;
}
.amenity-card {
  flex: 0 0 320px;
  min-width: 220px;
  max-width: 360px;
  scroll-snap-align: start;
  margin-bottom: 0.5rem;
}
.amenities-scroll::-webkit-scrollbar {
  height: 10px;
  background: #fff7f0;
  border-radius: 8px;
}
.amenities-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ee780a 0%, #d5a912 100%);
  border-radius: 8px;
  min-width: 40px;
  box-shadow: 0 2px 8px rgba(180, 68, 2, 0.10);
}
.amenities-scroll::-webkit-scrollbar-thumb:hover {
  background: #b44402;
}
.amenities-scroll::-webkit-scrollbar-track {
  background: #fff7f0;
  border-radius: 8px;
}
.amenities-scroll {
  scrollbar-width: thin;
  scrollbar-color: #ee780a #fff7f0;
}
.amenity-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  min-width: 220px;
  max-width: 360px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  border-radius: 2rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(180, 68, 2, 0.13), 0 1.5px 6px rgba(180, 68, 2, 0.04);
  border: 2.5px solid #fff3e6;
  transition: transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.2s, border 0.2s;
  position: relative;
  margin-bottom: 0.5rem;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  cursor: pointer;
  overflow: hidden;
  will-change: transform, box-shadow;
}
.amenity-card:hover {
  transform: scale(1.045) rotateZ(-1.5deg) translateY(-10px);
  box-shadow: 0 20px 48px rgba(180, 68, 2, 0.18);
  border: 2.5px solid #ee780a;
  z-index: 2;
}
.amenity-card:active::after {
  opacity: 1;
  transform: scale(1.2);
}
.amenity-card i {
  font-size: 3.1rem;
  margin-bottom: 1.2rem;
  display: block;
  transition: color 0.2s, transform 0.2s;
}
.amenity-card h3 {
  margin-bottom: 0.5rem;
  color: #b44402;
  font-size: 1.35rem;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}
.amenity-badge {
  display: inline-block;
  background: #ee780a;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 0.38rem 1.2rem;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(180, 68, 2, 0.10);
  margin-bottom: 0.7rem;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.07);
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.popular {
  border: 2.5px solid #ee780a;
}
/* Ripple Effect */
.amenity-card::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(238,120,10,0.13);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.3s, width 0.3s, height 0.3s, transform 0.3s;
  z-index: 1;
}
.amenity-card:active::after {
  width: 180%;
  height: 180%;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}
@media (min-width: 900px) {
  /* .amenities-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    overflow-x: unset;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  .amenity-card {
    flex: unset;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 0;
  } */
}
@media (max-width: 600px) {
  .amenities-scroll {
    gap: 1.2rem;
    padding-bottom: 0.7rem;
  }
  .amenity-card {
    flex: 0 0 170px;
    padding: 1.1rem 0.5rem 0.8rem 0.5rem;
    max-width: 90vw;
  }
}
/* Gallery Luxury */
.luxury-gallery {
  background: #fff7f0;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.luxury-gallery .luxury-title {
  color: #b44402;
  font-size: 2.1rem;
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-bottom: 2rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.2rem;
}
.gallery-img-wrap {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(180, 68, 2, 0.13);
}
.gallery-img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1.2rem;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-img-wrap img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(180, 68, 2, 0.18);
}
.gold-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.5rem;
  background: linear-gradient(0deg, #ee780a 80%, rgba(255,255,255,0.01) 100%);
  color: #fff;
  font-size: 1.08rem;
  font-family: 'Playfair Display', serif;
  text-align: center;
  letter-spacing: 0.5px;
  border-bottom-left-radius: 1.2rem;
  border-bottom-right-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(180, 68, 2, 0.10);
}
.wavy-divider {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  position: relative;
  z-index: 2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .amenity-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.amenity-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.amenity-modal.active {
  display: flex;
}
.amenity-modal-content {
  background: rgba(255,255,255,0.95);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(180, 68, 2, 0.18);
  padding: 2.2rem 2rem 2rem 2rem;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
  animation: modalPopIn 0.5s cubic-bezier(.22,1,.36,1);
}
@keyframes modalPopIn {
  0% { opacity: 0; transform: scale(0.85) translateY(40px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.amenity-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #fff3e6;
  color: #b44402;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(180, 68, 2, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: background 0.2s, color 0.2s;
}
.amenity-modal-close:hover {
  background: #ee780a;
  color: #fff;
}
.amenity-modal-icon .modal-icon {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  color: #ee780a;
}
.amenity-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #b44402;
  margin-bottom: 0.7rem;
}
.amenity-modal-desc {
  color: #555;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
}
.amenity-modal-btn {
  background: linear-gradient(90deg, #ee780a 0%, #d5a912 100%);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 0.8rem 2.2rem;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(180, 68, 2, 0.09);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.amenity-modal-btn:hover, .amenity-modal-btn:focus {
  background: #b44402;
  outline: none;
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 600px) {
  .amenity-modal-content {
    padding: 1rem 0.3rem 1rem 0.3rem;
  }
  .amenity-modal-close {
    top: 0.7rem;
    right: 0.7rem;
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
  }
  .amenity-modal-icon .modal-icon {
    font-size: 2.2rem;
  }
}
/* Icon Bounce Animation */
@keyframes iconBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.18) translateY(-8px); }
  50% { transform: scale(0.98) translateY(2px); }
  70% { transform: scale(1.08) translateY(-4px); }
  100% { transform: scale(1); }
}
.icon-bounce {
  animation: iconBounce 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.amenities-filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: #fff3e6;
  color: #b44402;
  border: none;
  border-radius: 2rem;
  padding: 0.6rem 1.6rem;
  font-size: 1.08rem;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(180, 68, 2, 0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
  margin-bottom: 0.5rem;
}
.filter-btn.active, .filter-btn:focus {
  background: linear-gradient(90deg, #ee780a 0%, #d5a912 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(180, 68, 2, 0.13);
}
.filter-btn:hover {
  background: #ee780a;
  color: #fff;
}
@media (max-width: 600px) {
  .amenities-filter-bar {
    gap: 0.5rem;
    margin-bottom: 1.2rem;
  }
  .filter-btn {
    font-size: 0.98rem;
    padding: 0.5rem 1.1rem;
  }
}
.amenity-card {
  transition: opacity 0.35s cubic-bezier(.22,1,.36,1), transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.2s, border 0.2s;
}
.amenity-card.hide {
  opacity: 0 !important;
  pointer-events: none;
  transform: scale(0.95) translateY(30px) !important;
}

/* --- Modal Accessibility & Animation --- */
.amenity-modal[aria-modal="true"] {
  outline: none;
}
.amenity-modal-content {
  animation: modalPopIn 0.5s cubic-bezier(.22,1,.36,1);
}
.amenity-modal.hide {
  animation: modalPopOut 0.35s cubic-bezier(.22,1,.36,1);
  opacity: 0;
  pointer-events: none;
}
@keyframes modalPopOut {
  0% { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(0.85) translateY(40px); }
}

/* --- Card Entrance Animation --- */
.amenity-card {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.5s cubic-bezier(.22,1,.36,1), transform 0.5s cubic-bezier(.22,1,.36,1);
}
.amenity-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- Card Glass Shimmer on Hover --- */
.amenity-card::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(120deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.45) 60%, rgba(255,255,255,0.13) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 2;
}
.amenity-card:hover::before {
  opacity: 1;
  animation: shimmerMove 1.1s linear;
}
@keyframes shimmerMove {
  0% { transform: translateX(-60%) rotateZ(8deg); }
  100% { transform: translateX(60%) rotateZ(8deg); }
}

/* --- Filter Bar Gold Underline --- */
.amenities-filter-bar {
  position: sticky;
  top: 0.5rem;
  background: rgba(255,247,240,0.95);
  z-index: 10;
  padding-top: 0.5rem;
  margin-bottom: 2.2rem;
}
.filter-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #ee780a 0%, #d5a912 100%);
  border-radius: 2px;
  transition: left 0.35s cubic-bezier(.22,1,.36,1), width 0.35s cubic-bezier(.22,1,.36,1);
  z-index: 1;
}
.amenities-filter-bar {
  position: relative;
}

/* --- Gallery Lightbox Animation --- */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s cubic-bezier(.22,1,.36,1);
}
.gallery-lightbox.active {
  display: flex;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.gallery-lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(180, 68, 2, 0.18);
  animation: imgPopIn 0.5s cubic-bezier(.22,1,.36,1);
}
@keyframes imgPopIn {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

.amenities-luxury-section .container {
  max-width: 100vw;
  width: 100vw;
  padding-left: 0;
  padding-right: 0;
}

.scroll-hint {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  background: rgba(255, 247, 240, 0.92);
  border-radius: 2rem;
  box-shadow: 0 2px 8px rgba(180, 68, 2, 0.10);
  padding: 0.4rem 1.1rem 0.4rem 0.9rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  color: #b44402;
  z-index: 20;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1);
  animation: scrollHintPulse 1.5s infinite alternate;
}
.scroll-hint-arrow {
  font-size: 1.5rem;
  margin-left: 0.5rem;
  animation: scrollHintArrowMove 1.1s infinite alternate;
}
@keyframes scrollHintArrowMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(10px); }
}
@keyframes scrollHintPulse {
  0% { box-shadow: 0 2px 8px rgba(180, 68, 2, 0.10); }
  100% { box-shadow: 0 4px 16px rgba(180, 68, 2, 0.18); }
}
.scroll-hint.hide {
  opacity: 0;
  pointer-events: none;
}
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 21;
  background: linear-gradient(90deg, #ee780a 0%, #d5a912 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  box-shadow: 0 2px 8px rgba(180, 68, 2, 0.13);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  transition: background 0.2s, color 0.2s, opacity 0.3s;
  outline: none;
  pointer-events: auto;
}
.scroll-arrow:focus, .scroll-arrow:hover {
  background: #b44402;
  color: #fff;
  opacity: 1;
}
.scroll-arrow-left {
  left: 0.5rem;
}
.scroll-arrow-right {
  right: 0.5rem;
}
@media (max-width: 900px) {
  .scroll-arrow {
    display: none;
  }
}
/* Ensure amenities-luxury-section is relative for absolute positioning */
.amenities-luxury-section {
  position: relative;
}

/* 3D Tilt on Hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .amenity-card {
    perspective: 800px;
    transition: transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.2s, border 0.2s;
  }
  .amenity-card.tilt {
    box-shadow: 0 24px 48px rgba(180, 68, 2, 0.22), 0 1.5px 6px rgba(180, 68, 2, 0.04);
    transform: rotateY(var(--tilt-x, 0deg)) rotateX(var(--tilt-y, 0deg)) scale(1.045) translateY(-10px);
    z-index: 2;
  }
}
/* Ripple Effect (mobile/touch) */
.amenity-card .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animate 0.6s linear;
  background: rgba(238,120,10,0.18);
  pointer-events: none;
  z-index: 10;
}
@keyframes ripple-animate {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}