/* Variables */
:root {
  --primary: #0a6fb1;
  --primary-dark: #085a89;
  --accent: #ffb300;
  --accent-dark: #ff9500;
  --text-dark: #0d1b2a;
  --text-medium: #415a77;
  --text-light: #6b889e;
  --bg-light: #f7fbff;
  --bg-white: #ffffff;
  --border-light: #eef6fb;
  --shadow-sm: 0 2px 8px rgba(13, 27, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(13, 27, 42, 0.12);
  --shadow-xl: 0 24px 64px rgba(13, 27, 42, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset + Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-white);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Header */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(10, 111, 177, 0.08);
  max-width: min(95%, 1100px);
  width: 100%;
  transition: var(--transition);
}

header.scrolled {
  padding: 10px 20px;
  box-shadow: var(--shadow-xl);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.brand:hover {
  transform: translateY(-2px);
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  font-size: 18px;
  box-shadow: var(--shadow-md);
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::after {
  width: 100%;
}

.book-btn {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  border-radius: var(--radius-full);
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.book-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
}



/* Rooms Section */
.rooms-section {
  max-width: 1280px;
  margin: 100px auto;
  padding: 0 24px;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--text-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-medium);
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.room-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.room-image {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  position: relative;
}

.room-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.room-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.room-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}

.room-price {
  font-weight: 900;
  font-size: 32px;
  color: var(--text-dark);
  line-height: 1;
}

.room-price-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.room-feature {
  padding: 8px 14px;
  background: var(--bg-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 6px;
}

.room-feature i {
  font-size: 11px;
  color: var(--primary);
}

.room-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-secondary2 {
  flex: 1;
  padding: 14px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  background: white;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  /* ✅ text color now matches border */
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-secondary2:hover {
  background: var(--primary);
  color: white;
  transition: var(--transition);
}

.btn-secondary2:hover i {
  color: white;
}


.btn-primary {
  flex: 1.5;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Gallery Section */
.gallery-section {
  max-width: 1280px;
  margin: 100px auto;
  padding: 0 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.gallery-item {
  width: 100%;
  padding-top: 75%;
  background: linear-gradient(135deg, #e6eef9, #f7fbff);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border-light);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 111, 177, 0.7) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--primary);
}

.gallery-item:hover::after {
  opacity: 1;
  content: 'Click to View';
}

/* Amenities Section */
.amenities-section {
  max-width: 1280px;
  margin: 100px auto;
  padding: 0 24px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.amenity {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 20px;
  align-items: start;
  transition: var(--transition);
  border: 2px solid var(--border-light);
}

.amenity:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.amenity .icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(10, 111, 177, 0.1), rgba(255, 179, 0, 0.1));
  font-size: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

.amenity-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.amenity-content p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Location Section */
.location-section {
  max-width: 1280px;
  margin: 100px auto;
  padding: 0 24px;
}

.location-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
}

.location-map {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #e6eef9, #f7fbff);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 2px solid var(--border-light);
}

.location-nearby {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nearby-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-light);
  transition: var(--transition);
}

.nearby-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.nearby-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(10, 111, 177, 0.1), rgba(255, 179, 0, 0.1));
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.nearby-content {
  flex-grow: 1;
}

.nearby-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.nearby-content p {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 4px;
}

.nearby-distance {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(10, 111, 177, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-top: 4px;
}

/* Rates Section - Premium Table */
.rates-section {
  max-width: 1280px;
  margin: 100px auto;
  padding: 0 24px;
}

.rates-container {
  margin-top: 56px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
  overflow: hidden;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
}

.rates-table thead {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.rates-table th {
  color: white;
  padding: 20px;
  text-align: left;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.rates-table tbody tr {
  border-bottom: 2px solid var(--border-light);
  transition: var(--transition);
}

.rates-table tbody tr:last-child {
  border-bottom: none;
}

.rates-table tbody tr:hover {
  background: var(--bg-light);
}

.rates-table td {
  padding: 24px 20px;
  font-size: 15px;
  color: var(--text-medium);
}

.rates-table td:first-child {
  font-weight: 700;
  color: var(--text-dark);
}

.rate-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 20px;
}

.rate-deposit {
  font-weight: 600;
  color: var(--text-dark);
}

/* More Properties Section - Horizontal Scroll */
.more-properties-section {
  margin: 100px 0;
  padding: 0;
}

.more-properties-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 40px;
}

.properties-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.properties-scroll-container::-webkit-scrollbar {
  display: none;
}

.properties-scroll-wrapper {
  display: flex;
  gap: 24px;
  padding: 0 24px 24px;
  min-width: min-content;
}

.property-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: calc((100vw - 96px) / 3);
  min-width: 320px;
  max-width: 420px;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.property-thumb {
  width: 100%;
  aspect-ratio: 16/11;
  background: linear-gradient(135deg, #e6eef9, #f7fbff);
  background-size: cover;
  background-position: center;
  position: relative;
}

.property-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.property-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.property-meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.property-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-medium);
  font-weight: 500;
}

.property-location i {
  font-size: 12px;
  color: var(--primary);
}

.property-price {
  text-align: right;
}

.property-price-value {
  font-weight: 900;
  font-size: 26px;
  color: var(--text-dark);
  line-height: 1.5;
}

.property-price-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 4px;
}

.property-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 8px 14px;
  background: var(--bg-light);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag i {
  font-size: 10px;
  color: var(--primary);
}

.property-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl);
  padding: 100px 40px;
  text-align: center;
  color: white;
  margin: 100px 24px;
  position: relative;
  overflow: hidden;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.15;
  top: -250px;
  right: -250px;
  animation: pulse 4s ease-in-out infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.1;
  bottom: -200px;
  left: -200px;
  animation: pulse 4s ease-in-out infinite reverse;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.15;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.2;
  }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-family: 'Sora', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-text {
  font-size: 19px;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 18px 36px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.cta-button-primary {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.cta-button-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}



/* Enhanced Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 95vw;
  max-height: 95vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 95vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 3001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 3001;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-fullscreen {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  z-index: 3001;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightbox-fullscreen:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  z-index: 3001;
}

/* Responsive */
@media (max-width: 1024px) {
  .location-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }



  .property-card {
    width: calc((100vw - 72px) / 2);
  }
}

@media (max-width: 768px) {
  header {
    top: 14px;
    padding: 10px 16px;
  }

  nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .property-hero {
    padding: 120px 20px 80px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-item {
    padding: 20px 24px;
    min-width: 120px;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Amenities - 2 per row on mobile */
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .amenity {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .amenity .icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .amenity-content h4 {
    font-size: 16px;
  }

  .amenity-content p {
    font-size: 13px;
  }

  .rates-container {
    overflow-x: auto;
  }

  .rates-table {
    min-width: 600px;
  }

  .property-card {
    width: calc(100vw - 48px);
    max-width: 380px;
  }

  .cta-section {
    padding: 70px 24px;
    margin: 80px 16px;
  }



  .lightbox-nav {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }

  .lightbox-fullscreen {
    top: 10px;
    padding: 10px 20px;
    font-size: 13px;
  }

  .lightbox-counter {
    bottom: 10px;
    font-size: 13px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .property-hero {
    padding: 110px 16px 70px;
  }

  .property-hero-heading {
    font-size: 40px;
  }

  .property-hero-subtitle {
    font-size: 16px;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-item {
    padding: 16px 20px;
    min-width: 100px;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .stat-value {
    font-size: 26px;
  }

  .stat-label {
    font-size: 12px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .room-actions {
    flex-direction: column;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease;
}

/* Smooth scroll snap for properties */
@media (max-width: 768px) {
  .properties-scroll-container {
    scroll-snap-type: x mandatory;
    scroll-padding: 24px;
  }

  .property-card {
    scroll-snap-align: start;
  }
}

/* room listing section start */
/* Room Types Gallery Styles */
.gallery-section {
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.gallery-category-title {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}

.room-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.room-type-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.room-type-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.room-image {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* .room-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-dark);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
} */
 .room-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(120deg, #fffde7 0%, #fff176 25%, #ffe082 50%, #ffd54f 75%, #ffca28 100%);
  color: #3a2900;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border: 1px solid rgba(255, 235, 59, 0.6);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2),
              inset 0 1px 2px rgba(255, 255, 255, 0.4);
  transition: all 0.35s ease;
}
.room-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 235, 59, 0.45);
}

 

.room-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.room-name {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.room-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.price-amount {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.price-period {
  font-size: 14px;
  color: var(--text-medium);
}

.room-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.btn-secondary {
  padding: 12px 16px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  background: white;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Contact Popup Styles */
.contact-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 400px;
  overflow: hidden;
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.popup-header {
  display: flex;
  justify-content: space-between;
  /* Changed from 'between' to 'space-between' */
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  /* Add this */
}

.popup-header h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  flex: 1;
  /* Add this to take available space */
}

.popup-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-light);
  cursor: pointer;
  padding: 8px;
  /* Increased padding for better click area */
  border-radius: var(--radius-full);
  transition: var(--transition);
  margin-left: auto;
  /* Push to the right */
}

.popup-close:hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

.popup-body {
  padding: 24px;
}

.popup-body p {
  margin: 0 0 16px 0;
  font-size: 16px;
  color: var(--text-dark);
}

.popup-subtitle {
  font-size: 14px !important;
  color: var(--text-medium) !important;
  margin-bottom: 20px !important;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-option {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid var(--border-light);
}

.contact-option:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.whatsapp-option {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.05);
}

.whatsapp-option:hover {
  background: rgba(37, 211, 102, 0.1);
}

.phone-option {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.05);
}

.phone-option:hover {
  background: rgba(79, 70, 229, 0.1);
}

.option-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 18px;
}

.whatsapp-option .option-icon {
  background: #25D366;
  color: white;
}

.phone-option .option-icon {
  background: var(--primary);
  color: white;
}

.option-content {
  display: flex;
  flex-direction: column;
}

.option-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
}

.option-subtitle {
  font-size: 14px;
  color: var(--text-medium);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .room-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .room-types-grid {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    padding: 0 16px;
  }

  .room-content {
    padding: 20px;
  }

  .room-name {
    font-size: 20px;
  }

  .price-amount {
    font-size: 24px;
  }

  .popup-content {
    width: 95%;
    margin: 20px;
  }
}

@media (max-width: 480px) {
  .gallery-category-title {
    font-size: 24px;
  }

  .room-actions {
    flex-direction: column;
  }

  .popup-body {
    padding: 20px;
  }

  .contact-option {
    padding: 14px;
  }
}

/* Contact Popup Styles */
.contact-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 400px;
  overflow: hidden;
  animation: popupSlideIn 0.3s ease-out;
  margin: 0 auto;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.popup-header {
  display: flex;
  justify-content: space-between;
  /* Fixed from 'between' */
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.popup-header h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  flex: 1;
}

.popup-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-light);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  margin-left: auto;
}

.popup-close:hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

.popup-body {
  padding: 24px;
}

.popup-body p {
  margin: 0 0 16px 0;
  font-size: 16px;
  color: var(--text-dark);
}

.popup-subtitle {
  font-size: 14px !important;
  color: var(--text-medium) !important;
  margin-bottom: 20px !important;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-option {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid var(--border-light);
}

.contact-option:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.whatsapp-option {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.05);
}

.whatsapp-option:hover {
  background: rgba(37, 211, 102, 0.1);
}

.phone-option {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.05);
}

.phone-option:hover {
  background: rgba(79, 70, 229, 0.1);
}

.option-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 18px;
}

.whatsapp-option .option-icon {
  background: #25D366;
  color: white;
}

.phone-option .option-icon {
  background: var(--primary);
  color: white;
}

.option-content {
  display: flex;
  flex-direction: column;
}

.option-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
}

.option-subtitle {
  font-size: 14px;
  color: var(--text-medium);
}

/* Improved Responsive Design for Popup */
@media (max-width: 768px) {
  .popup-content {
    width: 85%;
    /* Reduced from 90% for better spacing */
    max-width: 350px;
    /* Slightly smaller max-width for mobile */
    margin: 20px;
  }

  .popup-header {
    padding: 16px 20px;
  }

  .popup-body {
    padding: 20px;
  }

  .popup-header h3 {
    font-size: 18px;
  }

  .popup-body p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .popup-content {
    width: 80%;
    /* Even more spacing on very small screens */
    max-width: none;
    /* Remove max-width constraint */
    margin: 16px;
    /* Add margin on all sides */
    border-radius: var(--radius-md);
    /* Slightly smaller radius on mobile */
  }

  .popup-header {
    padding: 14px 16px;
  }

  .popup-body {
    padding: 16px;
  }

  .popup-header h3 {
    font-size: 16px;
  }

  .popup-body p {
    font-size: 14px;
  }

  .contact-option {
    padding: 12px;
  }

  .option-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
    margin-right: 10px;
  }

  .option-title {
    font-size: 15px;
  }

  .option-subtitle {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .popup-content {
    width: 85%;
    margin: 12px;
  }

  .popup-header {
    padding: 12px 14px;
  }

  .popup-body {
    padding: 14px;
  }

  .contact-options {
    gap: 8px;
  }
}

/* Room Types Grid Responsive (existing, but keeping for completeness) */
@media (max-width: 1024px) {
  .room-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .room-types-grid {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    padding: 0 16px;
  }

  .room-content {
    padding: 20px;
  }

  .room-name {
    font-size: 20px;
  }

  .price-amount {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .gallery-category-title {
    font-size: 24px;
  }

  .room-actions {
    flex-direction: column;
  }
}

/* room listing section end */

/* amenities section */
.amenities-section {
  max-width: 1280px;
  margin: 80px auto;
  padding: 0 16px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  width: 100%;
  margin: 40px auto 0;
  padding: 0;
  box-sizing: border-box;
}

/* Amenity card default (desktop/laptop layout) */
.amenity {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
  padding: 16px;
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f9fbff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.amenity::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(10, 111, 177, 0.05),
      transparent);
  transition: left 0.6s ease;
}

.amenity:hover::before {
  left: 100%;
}

.amenity:hover {
  background: var(--bg-white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* Icon on the left */
.amenity .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(10, 111, 177, 0.1), rgba(255, 179, 0, 0.1));
  color: var(--primary);
  transition: all 0.3s ease;
}

/* .amenity:hover .icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
} */

/* Amenity content */
.amenity-content {
  flex: 1;
  min-width: 0;
  /* Prevent text overflow */
}

.amenity-content h4 {
  font-size: 16px;
  font-weight: 450;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.amenity-content p {
  font-size: 13px;
  color: var(--text-medium);
  line-height: 1.4;
  margin: 0;
  font-weight: 400;
}

/* 📱 Phones: stack vertically (icon above text) */
@media (max-width: 768px) {
  .amenities-section {
    margin: 60px auto;
    padding: 0 12px;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
  }

  .amenity {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 20px 12px;
    border-radius: var(--radius-md);
  }

  .amenity .icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    margin: 0 auto;
  }

  .amenity-content h4 {
    font-size: 15px;
    font-weight: 600;
  }

  .amenity-content p {
    font-size: 12px;
    line-height: 1.3;
  }

  .amenity:hover {
    transform: translateY(-2px);
  }
}

/* Small phones */
@media (max-width: 480px) {
  .amenities-section {
    margin: 50px auto;
    padding: 0 8px;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 28px;
  }

  .amenity {
    padding: 16px 8px;
    gap: 6px;
  }

  .amenity .icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .amenity-content h4 {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .amenity-content p {
    font-size: 11px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .amenity {
    padding: 14px 12px;
    flex-direction: row;
    text-align: left;
    gap: 12px;
  }

  .amenity .icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
    margin: 0;
  }
}

/* Staggered animation for amenities */
.amenity {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.amenity:nth-child(1) {
  animation-delay: 0.1s;
}

.amenity:nth-child(2) {
  animation-delay: 0.15s;
}

.amenity:nth-child(3) {
  animation-delay: 0.2s;
}

.amenity:nth-child(4) {
  animation-delay: 0.25s;
}

.amenity:nth-child(5) {
  animation-delay: 0.3s;
}

.amenity:nth-child(6) {
  animation-delay: 0.35s;
}

.amenity:nth-child(7) {
  animation-delay: 0.4s;
}

.amenity:nth-child(8) {
  animation-delay: 0.45s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced section title for mobile */
.amenities-section .section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 12px;
}

.amenities-section .section-subtitle {
  font-size: 16px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

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

  .amenities-section .section-subtitle {
    font-size: 14px;
    padding: 0 8px;
  }
}

/* Focus states for accessibility */
.amenity:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Loading state */
.amenity.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* location section */
.location-section {
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--text-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 16px;
  /* 👈 Adds gap between text and border */
}


.location-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.location-left,
.location-right {
  display: flex;
  flex-direction: column;
}

.location-box,
.nearby-box {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.location-map {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.nearby-title {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
}

.nearby-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.nearby-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.nearby-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
  background: white;
}

.place-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e6f2ff, #fff7e6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.place-info {
  flex: 1;
}

.nearby-name {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 16px;
  margin-bottom: 4px;
}

.nearby-details {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.nearby-distance {
  font-weight: 800;
  color: var(--primary);
  font-size: 16px;
  background: white;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.location-actions {
  text-align: center;
}

.maps-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
}

.maps-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .location-container {
    gap: 30px;
  }

  .location-box,
  .nearby-box {
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .location-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .location-box,
  .nearby-box {
    padding: 24px;
    border-radius: 16px;
  }

  .location-map {
    height: 300px;
  }

  .nearby-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .maps-button {
    padding: 14px 28px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .location-section {
    margin-bottom: 40px;
  }

  .location-box,
  .nearby-box {
    padding: 20px;
  }

  .location-map {
    height: 250px;
  }

  .nearby-item {
    padding: 12px;
  }

  .place-icon {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .nearby-name {
    font-size: 15px;
  }

  .nearby-distance {
    font-size: 14px;
    padding: 6px 10px;
  }

  .maps-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

.rates-section {
  margin-bottom: 60px;
}

.rates-table-container {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.rates-table th {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 20px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.rates-table th:first-child {
  border-top-left-radius: 0;
}

.rates-table th:last-child {
  border-top-right-radius: 0;
}

.rates-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
  color: var(--text-dark);
}

.rates-table tr:last-child td {
  border-bottom: none;
}

/* Room Category Colors */
.room-category.premium-suite {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.02));
  border-left: 4px solid #FFD700;
}

.room-category.suite {
  background: linear-gradient(135deg, rgba(147, 112, 219, 0.05), rgba(147, 112, 219, 0.02));
  border-left: 4px solid #9370DB;
}

.room-category.deluxe {
  background: linear-gradient(135deg, rgba(10, 111, 177, 0.05), rgba(10, 111, 177, 0.02));
  border-left: 4px solid var(--primary);
}

.room-category.executive {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.05), rgba(46, 204, 113, 0.02));
  border-left: 4px solid #2ecc71;
}

.room-category:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  transform: translateX(4px);
  transition: all 0.3s ease;
}

.room-type {
  font-weight: 700;
  color: var(--text-dark);
  min-width: 180px;
}

.room-type-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.room-type-header i {
  width: 20px;
  text-align: center;
  font-size: 14px;
}

.room-category.premium-suite .room-type-header i {
  color: #FFD700;
}

.room-category.suite .room-type-header i {
  color: #9370DB;
}

.room-category.deluxe .room-type-header i {
  color: var(--primary);
}

.room-category.executive .room-type-header i {
  color: #2ecc71;
}

.room-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 18px;
  letter-spacing: 0.5px;
}

/* Empty room type cells for subsequent rows */
.room-category td:first-child:empty {
  padding-left: 44px;
  /* Match icon + gap alignment */
}

/* Responsive Design */
@media (max-width: 768px) {
  .rates-table-container {
    border-radius: var(--radius-lg);
    margin: 0 -16px;
    border-left: none;
    border-right: none;
  }

  .rates-table {
    font-size: 14px;
  }

  .rates-table th {
    padding: 16px 12px;
    font-size: 13px;
  }

  .rates-table td {
    padding: 14px 12px;
  }

  .room-price {
    font-size: 16px;
  }

  .room-type-header {
    gap: 8px;
  }

  .room-type-header i {
    font-size: 12px;
    width: 16px;
  }

  .room-category td:first-child:empty {
    padding-left: 36px;
  }
}

@media (max-width: 480px) {
  .rates-table {
    font-size: 13px;
  }

  .rates-table th {
    padding: 14px 10px;
  }

  .rates-table td {
    padding: 12px 10px;
  }

  .room-price {
    font-size: 15px;
  }

  .room-type-header span {
    font-size: 13px;
  }
}

/* Mobile Optimization - Maintain Desktop Format */
@media (max-width: 768px) {
  .rates-table-container {
    border-radius: var(--radius-lg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .rates-table {
    font-size: 11px;
    min-width: 100%;
    display: table;
  }

  .rates-table th {
    padding: 12px 8px;
    font-size: 10px;
    white-space: nowrap;
  }

  .rates-table td {
    padding: 12px 8px;
    font-size: 11px;
  }

  /* Make sharing column text wrap */
  .rates-table td:nth-child(2) {
    white-space: normal;
    word-wrap: break-word;
    min-width: 50px;
    max-width: 60px;
    line-height: 1.3;
    font-size: 10px;
  }

  .room-price {
    font-size: 13px;
    white-space: nowrap;
  }

  .room-type {
    min-width: 120px;
    font-size: 11px;
  }

  .room-type-header {
    gap: 6px;
  }

  .room-type-header span {
    font-size: 11px;
    line-height: 1.2;
  }

  .room-type-header i {
    font-size: 10px;
    width: 14px;
  }

  .room-category td:first-child:empty {
    padding-left: 32px;
  }

  /* Utility charges column */
  .rates-table td:nth-child(4) {
    font-size: 11px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .rates-table {
    font-size: 10px;
  }

  .rates-table th {
    padding: 10px 6px;
    font-size: 9px;
  }

  .rates-table td {
    padding: 10px 6px;
    font-size: 10px;
  }

  .rates-table td:nth-child(2) {
    max-width: 50px;
    font-size: 9px;
  }

  .room-price {
    font-size: 12px;
  }

  .room-type {
    min-width: 100px;
    font-size: 10px;
  }

  .room-type-header span {
    font-size: 10px;
  }

  .room-type-header i {
    font-size: 9px;
    width: 12px;
  }
}

/* more property scroll animation css */
/* ---------- Scroll hint / animation for horizontal scrollers ---------- */
.properties-scroll-hint {
  display: none;
  /* shown by JS when overflow exists */
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 18px;
  pointer-events: none;
  /* non-interactive except skip button */
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.properties-scroll-track {
  pointer-events: none;
  width: calc(100% - 84px);
  /* leave room for 'Skip' button on wide screens */
  max-width: 760px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* the moving thumb (animated) */
.properties-scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 34%;
  /* visible portion of the track the thumb covers */
  min-width: 56px;
  max-width: 220px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: translateX(0);
  animation: scroll-thumb-slide 2.4s ease-in-out infinite;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* tiny skip/dismiss button for accessibility */
.properties-scroll-skip {
  pointer-events: auto;
  background: transparent;
  border: none;
  color: var(--text-medium);
  font-size: 12px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}

/* hide skip button on very small screens for space */
@media (max-width: 420px) {
  .properties-scroll-skip {
    display: none;
  }

  .properties-scroll-track {
    width: calc(100% - 36px);
  }
}

/* slide animation: go left -> right -> left (smooth loop) */
@keyframes scroll-thumb-slide {
  0% {
    transform: translateX(0%);
  }

  50% {
    transform: translateX(calc(100% - 34%));
  }

  100% {
    transform: translateX(0%);
  }
}

/* visible state applied by JS */
.properties-scroll-hint.is-visible {
  display: flex;
  opacity: 1;
  transition: opacity .96s ease, transform .96s ease;
}

/* when user interacts, fade out and stop animation */
.properties-scroll-hint.is-fading {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .36s ease, transform .36s ease;
}

.properties-scroll-hint.is-fading .properties-scroll-thumb {
  animation-play-state: paused;
  opacity: 0.85;
}

/* make sure the component looks nice on phones */
@media (max-width: 480px) {
  .properties-scroll-hint {
    padding: 10px 12px 14px;
  }

  .properties-scroll-track {
    height: 7px;
  }

  .properties-scroll-thumb {
    min-width: 48px;
  }
}

.property-info2 {
  padding: 0;
  background: white;
  position: relative;
  overflow: hidden;
}

/* Property name */
.property-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  /* remove top gap */
}

/* Location */
.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-medium);
  font-weight: 500;
  margin-top: 4px;
}

.property-location i {
  font-size: 12px;
  color: var(--primary);
}

/* Price */
.property-price {
  text-align: right;
}

.property-price-value {
  font-weight: 900;
  font-size: 26px;
  color: var(--text-dark);
  line-height: 1.3;
}

.property-price-label {
  font-size: 12px;
  color: #5f5f5f;
  font-weight: 500;
  margin-top: 2px;
}

/* Layout control */
.property-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

/* --- Responsive tweak --- */
@media (max-width: 768px) {
  .property-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .property-info h3 {
    margin: 0;
    font-size: 18px;
  }

  .property-price-value {
    font-size: 22px;
  }
}

.property-info {
  padding: 20px 24px !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .property-info {
    padding: 16px 16px !important;
  }
}

/* Property Header */
.property-header {
  margin-top: 100px;
  padding: 0;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  background: white;
  border-radius: 24px;
  margin-bottom: 40px;
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.08);
  overflow: hidden;
  border: 1px solid #eef6fb;
  position: relative;
}

.property-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.property-hero-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  min-height: 420px;
}

/* .property-info {
      padding: 0px 0px;
      background: white;
      position: relative;
      overflow: hidden;
    } */

.property-info {
  padding: 0;
  background: linear-gradient(900deg,
      var(--bg-white) 0%,
      rgba(255, 179, 0, 0.20) 100%,
      rgba(10, 111, 177, 0.10) 70%,
      rgba(8, 90, 137, 0.15) 100%);
  position: relative;
  overflow: hidden;
}




.property-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.badge.premium {
  background: linear-gradient(135deg, #ffb300, #ff9500);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 179, 0, 0.3);
}

.badge.featured {
  background: linear-gradient(135deg, var(--primary), #0a5f9e);
  color: white;
  box-shadow: 0 4px 12px rgba(10, 111, 177, 0.3);
}

.badge.verified {
  background: rgba(76, 217, 100, 0.1);
  color: #2ecc71;
  border: 1.5px solid rgba(76, 217, 100, 0.2);
}

.badge i {
  font-size: 12px;
}

.property-title {
  margin-bottom: 32px;
}

.title-main {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #1a365d, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-sub {
  display: block;
  font-size: 18px;
  color: var(--text-medium);
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

.property-location {
  margin-bottom: 40px;
}

.location-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.location-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(10, 111, 177, 0.2);
}

.location-info {
  flex: 1;
}

.location-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.location-details {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-medium);
  font-weight: 500;
}

.detail-item i {
  color: var(--accent);
  font-size: 12px;
}

.property-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 400px;
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.05);
  border: 1px solid #f0f7ff;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.1);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e6f2ff, #fff7e6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
}

.highlight-content {
  flex: 1;
}

.highlight-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.highlight-label {
  font-size: 12px;
  color: var(--text-medium);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* CTA Section - Desktop Only */
.property-cta {
  padding: 40px;
  background: linear-gradient(135deg, #1e3a5f, #0a6fb1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.property-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.cta-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
}

.price-section {
  text-align: center;
  margin-bottom: 32px;
}

.price-label {
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 500;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.price-main {
  color: white;
  margin-bottom: 16px;
}

.currency {
  font-size: 20px;
  font-weight: 600;
  vertical-align: top;
  margin-right: 2px;
}

.amount {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.period {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
  margin-left: 4px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  justify-content: center;
}

.feature-item i {
  color: #4cd964;
  font-size: 10px;
}

.cta-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-primary,
.btn-secondary {
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 20px rgba(255, 179, 0, 0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 179, 0, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.availability {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.availability i {
  color: #ffd700;
  font-size: 12px;
}

/* Features Bar */
.features-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  border-top: 1px solid #eef6fb;
  padding: 0;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
  border-right: 1px solid #eef6fb;
  position: relative;
}

.feature:last-child {
  border-right: none;
}

.feature:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e6f2ff, #fff7e6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  transition: all 0.3s ease;
}

.feature:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  transform: scale(1.1);
}

.feature span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

/* Responsive Design - Hide CTA on Mobile */
@media (max-width: 1024px) {
  .property-hero-content {
    grid-template-columns: 1fr;
  }

  .property-cta {
    display: none;
  }

  .features-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature:nth-child(3) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .property-header {
    margin-top: 80px;
    border-radius: 20px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .property-info {
    padding: 40px 24px;
  }

  .property-highlights {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .features-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature:nth-child(2) {
    border-right: none;
  }

  .title-main {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .property-info {
    padding: 32px 20px;
  }

  .features-bar {
    grid-template-columns: 1fr;
  }

  .feature {
    border-right: none;
    border-bottom: 1px solid #eef6fb;
  }

  .feature:last-child {
    border-bottom: none;
  }

  .property-badges {
    justify-content: center;
  }

  .location-details {
    flex-direction: column;
    gap: 8px;
  }

  /* 3 in a row on phones */
  .property-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    padding: 0 8px;
  }

  .highlight-card {
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(13, 27, 42, 0.05);
    border: 1px solid #f0f7ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .highlight-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
    margin-bottom: 4px;
  }

  .highlight-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 2px;
  }

  .highlight-label {
    font-size: 10px;
    color: var(--text-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }
}
/* 📱 On phones (below 768px), switch to vertical scroll */
@media (max-width: 768px) {
  .properties-scroll-container {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .properties-scroll-wrapper {
    flex-direction: column;
    padding: 24px;
    min-height: min-content;
  }
}