:root {
  /* Brand Colors (GREEN THEME) */
  --primary: #ce7133; /* green-900 */
  --primary-light: #ca6232; /* green-800 (hover) */
  --primary-dark: #052e16; /* deep green */

  /* Neutral Palette */
  --neutral-dark: #0f172a;
  --neutral-medium: #475569;
  --neutral-light: #f1f5f9;
  --border-color: #e5e7eb;

  /* Text Colors */
  --text-muted: #6b7280;
  --text-light: #e5e5e5;

  /* Overlay / Glass */
  --glass-dark: rgba(0, 0, 0, 0.25);
  --glass-darker: rgba(0, 0, 0, 0.55);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(20, 83, 45, 0.25); /* green-tinted shadow */
}

.font-playfair {
  font-family: "Playfair Display", serif;
}

/* header */

.logo-name {
  color: var(--primary);
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  margin-bottom: 10px;
}
.logo-name-scrolled {
  color: var(--primary);
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
  font-weight: 500;
}

/* Active header link */
.nav-link.active-nav {
  background: var(--primary-light);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-weight: 600;
}

/* Card */
.amenity-inner {
  position: relative;
  /* height: 500px; */
  overflow: hidden;
  border-radius: 16px;
}

/* Image */
.amenity-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.group:hover img {
  transform: scale(1.08);
}

/* Hover Panel (initial state) */
.amenity-hover {
  position: absolute;
  inset: 0; /* 👈 full image */
  padding: 22px;

  /* ultra-smooth blend */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.55) 30%,
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.08) 70%,
    rgba(0, 0, 0, 0) 100%
  );

  backdrop-filter: blur(0px);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.6s ease;
}

/* Hover movement – stops before top */
.group:hover .amenity-hover {
  transform: translateY(0);
  opacity: 1;

  /* Darker, richer gradient */
  /* background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.25)); */

  backdrop-filter: blur(2px);
}

/* Title */
.amenity-hover h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Description */
.amenity-hover p {
  color: #e5e5e5;
  font-size: 14px;
  line-height: 1.5;
}

.amenity-card {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.amenity-card.show {
  opacity: 1;
  transform: translateY(0);
}
/* ================= SECTION LABEL (FIXED) ================= */
.label {
  display: flex; /* 🔥 KEY FIX */
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;
  text-align: center;
  white-space: nowrap; /* 🔥 prevents wrapping */

  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Divider lines */
.label::before,
.label::after {
  content: "";
  flex: 1; /* 🔥 auto scales */
  height: 1px;
  background: #ccc;
  max-width: 90px; /* 🔥 mobile-safe */
}

/* Main italic serif title */
.title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-style: italic; /* 👈 key requirement */
  font-weight: 400;
  color: #0f172a;
}

/* Swiper pagination bullets */

/* Push pagination down from swiper */
.swiper-pagination {
  position: relative; /* override absolute */
  margin-top: 24px; /* 👈 gap from wrapper */
  bottom: auto;
}

.swiper-pagination-bullet {
  width: 12px; /* 👈 increased width */
  height: 6px;
  border-radius: 999px; /* pill shape */
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: all 0.35s ease;
  margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
  width: 25px; /* 👈 wider active bullet */
  background: rgba(0, 0, 0, 0.85);
}

/* Header background when scrolled */
.header-scrolled {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

/* Icon buttons */
.header-icon-btn {
  @apply w-10 h-10 rounded-full bg-white/20 text-white flex items-center justify-center hover:bg-white/30 transition;
}

/* ================= MODAL ================= */
/* ================= MODAL ================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: white;
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
  padding: 28px;

  transform: scale(0.92);
  opacity: 0;
  transition: all 0.35s ease;
}

.modal-backdrop.show .modal-box {
  transform: scale(1);
  opacity: 1;
}

/* ------ chat bot new ui design start ------ */

/* ================= GENNA AI CHATBOT ================= */

.chat-container {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.bot-message {
  background: #334155;
  color: white;
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 75%;
}

.user-message {
  background: #94631b;
  color: white;
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 75%;
  align-self: flex-end;
}

.sender-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e79450;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ------ chat bot new ui design end------ */

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

  .amenity-hover {
    opacity: 1;
    transform: translateY(0);
    backdrop-filter: blur(1.5px);
  }

  .label::before,
  .label::after {
    max-width: 60px;
  }

  /* Push pagination down from swiper */
  .swiper-pagination {
    position: relative; /* override absolute */
    margin-top: 12px; /* 👈 gap from wrapper */
    bottom: auto;
  }

  .swiper-pagination-bullet {
    width: 10px; /* 👈 increased width */
    height: 6px;
    border-radius: 999px; /* pill shape */
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: all 0.35s ease;
    margin: 0 6px !important;
  }

  .swiper-pagination-bullet-active {
    width: 15px; /* 👈 wider active bullet */
    background: rgba(0, 0, 0, 0.85);
  }
}

.bot-message {
  animation: fadeIn 0.25s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
