/* External CSS file for Stay Iconic */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital,wght@0,400;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Base Styles */
body {
  background: #FFFFFF;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Enhanced Navigation Bar - Fluid Responsive */
.navbar {
  position: fixed;
  top: 1.5vw;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2vw;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 1vw 3vw;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  min-width: 60vw;
  max-width: 90vw;
}

.navbar:hover {
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Burger Menu Styles - Hidden for fluid design */
.burger-menu {
  display: none !important;
}

.burger-menu:hover {
  background: rgba(0, 0, 0, 0.25);
}

.burger-icon {
  position: relative;
  width: 24px;
  height: 18px;
  margin: 16px auto;
}

.burger-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 1px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.burger-icon span:nth-child(1) {
  top: 0px;
}

.burger-icon span:nth-child(2) {
  top: 8px;
}

.burger-icon span:nth-child(3) {
  top: 16px;
}

/* Burger Animation */
.burger-menu.active .burger-icon span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

.burger-menu.active .burger-icon span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.burger-menu.active .burger-icon span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

/* Mobile Menu - Hidden for fluid design */
.mobile-menu {
  display: none !important;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .nav-item {
  display: block;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease;
}

.mobile-menu .nav-item:hover {
  color: #00C4CC;
}

.mobile-menu .book-btn {
  display: block;
  color: #FFFFFF;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  padding: 15px 20px;
  background: rgba(0, 196, 204, 0.6);
  text-align: center;
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-menu .book-btn:hover {
  background: rgba(0, 196, 204, 0.6);
}

.nav-item {
  color: #FFFFFF;
  text-decoration: none;
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  font-weight: 600;
  padding: 1vw 2vw;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.nav-item:hover {
  color: #00C4CC;
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.book-btn {
  color: #FFFFFF;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  padding: 1vw 2.5vw;
  background: rgba(0, 196, 204, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.book-btn:hover {
  background: rgba(0, 196, 204, 0.8);
  border-color: #00C4CC;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 196, 204, 0.3);
}

/* Carousel Styles */
.swiper-container {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 0;
  /* Start at midheight of navbar (navbar: 44px tall, top: 20px, so mid = 20px + 22px = 42px) */
  top: calc(20px + 35px);
  /* End at midheight of action buttons (approx 27rem from top + half button height) */
  height: calc(36rem - 42px);
  width: 100vw;
  pointer-events: none;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Add subtle overlay to carousel images for better text contrast */
.swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

/* Content Overlay Styles */
.content-overlay {
  position: relative;
  z-index: 10;
}

/* Title Styles */
.title-diagonal {
  position: relative;
  width: 500px;
  height: 120px;
  margin-bottom: 10px;
  max-width: 90vw;
}

.title-diagonal .title {
  position: absolute;
  white-space: nowrap;
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(45deg, #000000, #ffffff, #f8f8ff, #000000, #ffffff);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
  animation: sparklingGradient 3s ease-in-out infinite;
  z-index: 1;
}

.title-stay {
  top: 0;
  left: 120px;
}

.title-iconic {
  top: 55px;
  left: 210px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes sparklingGradient {
  0% { 
    background-position: 0% 50%;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
  }
  25% { 
    background-position: 100% 25%;
    text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 0.8), 0 0 80px rgba(248, 248, 255, 0.6);
  }
  50% { 
    background-position: 200% 75%;
    text-shadow: 0 0 40px rgba(255, 255, 255, 1.2), 0 0 80px rgba(255, 255, 255, 1), 0 0 120px rgba(248, 248, 255, 0.8);
  }
  75% { 
    background-position: 300% 25%;
    text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 0.8), 0 0 80px rgba(248, 248, 255, 0.6);
  }
  100% { 
    background-position: 400% 50%;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
  }
}

.tagline {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-top: 10px;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  font-weight: 600;
}

.dm-serif-text-regular {
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
}

/* Search Bar Styles - Fluid Responsive */
.search-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: min(90vw, 1000px);
}

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: clamp(15px, 3vw, 25px);
  padding: clamp(12px, 2vw, 20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}

.search-segment {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 12px);
  flex: 1;
  padding: 0 clamp(8px, 2vw, 16px);
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: clamp(8px, 1.5vw, 12px);
  min-height: clamp(40px, 8vw, 60px);
}

.search-segment:hover {
  background: rgba(255, 255, 255, 0.25);
}

.segment-icon {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  opacity: 0.9;
  flex-shrink: 0;
}

.segment-content {
  display: flex;
  flex-direction: column;
  gap: clamp(2px, 0.5vw, 4px);
  flex: 1;
  min-width: 0;
}

.segment-label {
  font-size: clamp(0.6rem, 1.2vw, 0.8rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.segment-input {
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  color: #FFFFFF;
  background: transparent;
  border: none;
  outline: none;
  font-weight: 500;
  cursor: pointer;
  min-height: clamp(16px, 3vw, 20px);
  width: 100%;
}

.segment-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.segment-divider {
  width: 1px;
  height: clamp(25px, 5vw, 40px);
  background: rgba(255, 255, 255, 0.4);
  margin: 0 clamp(4px, 1vw, 8px);
  flex-shrink: 0;
}

.search-button {
  background: rgba(0, 196, 204, 0.8);
  border: none;
  border-radius: clamp(12px, 2vw, 16px);
  padding: clamp(12px, 2vw, 16px) clamp(16px, 3vw, 20px);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(40px, 8vw, 60px);
  height: clamp(40px, 8vw, 60px);
  flex-shrink: 0;
}

.search-button:hover {
  background: rgba(0, 196, 204, 1);
  transform: scale(1.05);
}

.search-icon {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #FFFFFF;
}

/* Action Buttons */
.action-btn {
  color: #FFFFFF;
  background: rgba(0,196,204,0.3);
  border-radius: 20px;
  padding: 15px 30px;
  margin: 10px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}

.action-btn:hover {
  background: rgba(0,196,204,0.5);
  transform: scale(1.05);
}

/* Calendar Pop-out Styles - Fluid Responsive */
.calendar-popout {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-radius: clamp(15px, 3vw, 20px);
  padding: clamp(16px, 3vw, 24px);
  margin-top: clamp(12px, 2vw, 16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: clamp(280px, 40vw, 380px);
  display: none;
  z-index: 10000; /* elevated to ensure on top */
  pointer-events: auto;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.calendar-popout.active {
  display: block;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(15px, 3vw, 20px);
}

.calendar-nav-btn {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: #FFFFFF;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  width: clamp(28px, 5vw, 32px);
  height: clamp(28px, 5vw, 32px);
  border-radius: clamp(6px, 1vw, 8px);
  cursor: pointer;
  transition: background 0.3s ease;
}

.calendar-nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.calendar-title {
  display: flex;
  gap: clamp(6px, 1vw, 8px);
  align-items: center;
}

.month-select, .year-select {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: #FFFFFF;
  padding: clamp(6px, 1.5vw, 8px) clamp(10px, 2vw, 12px);
  border-radius: clamp(6px, 1vw, 8px);
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  cursor: pointer;
  outline: none;
}

.month-select option, .year-select option {
  background: #000000;
  color: #FFFFFF;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}

.weekday {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 4px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 20px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  color: #FFFFFF;
  border: 1px solid transparent;
}

.calendar-day:hover {
  background: rgba(255, 255, 255, 0.25);
}

.calendar-day.other-month {
  color: rgba(255, 255, 255, 0.3);
}

.calendar-day.selected {
  background: rgba(0, 196, 204, 0.8);
  color: #FFFFFF;
}

.calendar-day.in-range {
  background: rgba(0, 196, 204, 0.6);
  color: #FFFFFF;
}

/* Single date selected (waiting for second date) */
.calendar-day.single-selected {
  background: rgba(0, 196, 204, 0.6);
  color: #FFFFFF;
  border: 2px solid rgba(0, 196, 204, 1);
}

.calendar-day.disabled {
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
  position: relative;
}

.calendar-day.disabled:hover {
  background: none;
  transform: none;
}

.calendar-day.past-date {
  text-decoration: line-through;
}

.calendar-day.booked-date {
  background: rgba(220, 53, 69, 0.3);
  border: 1px solid rgba(220, 53, 69, 0.5);
}

.calendar-day.booked-date::after {
  content: '✗';
  position: absolute;
  font-size: 0.6rem;
  color: #dc3545;
  top: 2px;
  right: 2px;
}

.flexibility-options {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.flexibility-btn {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.flexibility-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.flexibility-btn.active {
  background: rgba(0, 196, 204, 0.8);
  border-color: rgba(0, 196, 204, 1);
}

.calendar-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.calendar-action-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calendar-action-btn.secondary {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.calendar-action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.4);
}

.calendar-action-btn.primary {
  background: rgba(0, 196, 204, 0.8);
  color: #FFFFFF;
}

.calendar-action-btn.primary:hover {
  background: rgba(0, 196, 204, 1);
}

/* Guests Pop-out Styles - Fluid Responsive */
.guests-popout {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-radius: clamp(15px, 3vw, 20px);
  padding: clamp(16px, 3vw, 24px);
  margin-top: clamp(12px, 2vw, 16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: clamp(240px, 35vw, 320px);
  display: none;
  z-index: 10000; /* elevated to ensure on top */
  pointer-events: auto;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.guests-popout.active {
  display: block;
}

.guest-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(12px, 2.5vw, 16px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guest-type:last-of-type {
  border-bottom: none;
}

.guest-type span {
  color: #FFFFFF;
  font-weight: 500;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.guest-counter {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 16px);
}

.counter-btn {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1.2rem;
  font-weight: 600;
}

.counter-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.counter-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.counter-value {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.1rem;
  min-width: 20px;
  text-align: center;
}

.guests-actions {
  margin-top: 20px;
  text-align: right;
}

.guests-action-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.guests-action-btn.primary {
  background: rgba(0, 196, 204, 0.8);
  color: #FFFFFF;
}

.guests-action-btn.primary:hover {
  background: rgba(0, 196, 204, 1);
}

/* Responsive Navigation */
@media (max-width: 1024px) {
  .navbar {
    padding: 10px 25px;
    gap: 12px;
  }
  
  .nav-item {
    font-size: 0.95rem;
    padding: 6px 12px;
  }
  
  .book-btn {
    padding: 8px 16px;
    font-size: 0.95rem;
  }
  
  .title-diagonal {
    width: 420px;
    height: 100px;
  }
  .title-diagonal .title {
    font-size: 3.2rem;
  }
  .title-stay {
    left: 80px;
  }
  .title-iconic {
    top: 45px;
    left: 160px;
  }
  
  .search-container {
    max-width: 90vw;
  }
  .search-bar {
    padding: 16px;
  }
  .search-segment {
    padding: 0 12px;
    min-height: 50px;
  }
  .segment-icon {
    font-size: 1.3rem;
  }
  .segment-label {
    font-size: 0.75rem;
  }
  .segment-input {
    font-size: 0.9rem;
  }
  
  /* Property cards tablet responsive */
  .property-card {
    width: 320px;
  }
  
  .property-content {
    padding: 20px 16px 16px 16px;
    gap: 10px;
  }
  
  .property-title-large {
    font-size: 1.1rem;
  }
  
  .price-gradient {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  /* Keep navbar visible - remove burger menu behavior */
  
  .title-diagonal {
    width: 350px;
    height: 85px;
  }
  .title-diagonal .title {
    font-size: 2.8rem;
  }
  .title-stay {
    left: 65px;
    top: 0;
  }
  .title-iconic {
    top: 38px;
    left: 140px;
  }
  .tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  }
  
  .segment-divider {
    height: clamp(25px, 4vw, 30px);
  }
  .search-button {
    min-width: clamp(45px, 7vw, 50px);
    height: clamp(45px, 7vw, 50px);
    border-radius: clamp(10px, 2vw, 12px);
  }
  
  /* Property cards tablet responsive */
  .listing-section {
    gap: 24px;
    padding: 0 16px;
  }
  
  .property-card {
    width: 100%;
    max-width: 400px;
  }
  
  .property-image {
    height: 180px;
  }
  
  .property-content {
    padding: 18px 16px 16px 16px;
    gap: 8px;
  }
  
  .property-title-large {
    font-size: 1.1rem;
    line-height: 1.2;
  }
  
  .price-gradient {
    font-size: 1.5rem;
  }
  
  .stats-row {
    gap: 16px;
  }
  
  .stat-item {
    font-size: 0.9rem;
  }
  
  .description-text {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  
  .amenities-row {
    gap: 10px;
  }
  
  .amenity-item {
    font-size: 0.85rem;
  }
  
  .calendar-popout {
    width: 90vw;
    left: 0;
    transform: none;
    margin-left: 40%;
  }
  .guests-popout {
    width: 90vw;
    right: 5vw;
  }
}

@media (max-width: 480px) {
  /* Mobile phone styles - keep navbar visible */
  
  .title-diagonal {
    width: 280px;
    height: 70px;
  }
  .title-diagonal .title {
    font-size: 2.2rem;
  }
  .title-stay {
    left: 45px;
    top: 0;
  }
  .title-iconic {
    top: 32px;
    left: 110px;
  }
  .tagline {
    font-size: 1.1rem;
  }
  
  /* Search bar mobile responsive - vertical layout */
  .search-container {
    margin-top: 0.5rem;
    max-width: 95vw;
  }
  /* Search bar remains horizontal - removed column layout */
  .search-segment {
    /* Keep proportional sizing */
    padding: clamp(8px, 2vw, 12px) clamp(12px, 2.5vw, 16px);
    min-height: clamp(35px, 6vw, 40px);
  }
  .segment-divider {
    /* Keep dividers visible */
    height: clamp(20px, 4vw, 25px);
  }
  .search-button {
    /* Keep proportional button */
    min-width: clamp(35px, 6vw, 45px);
    height: clamp(35px, 6vw, 45px);
    border-radius: clamp(8px, 1.5vw, 10px);
  }
  .segment-icon {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
  }
  .segment-label {
    font-size: clamp(0.6rem, 1.2vw, 0.7rem);
  }
  .segment-input {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  }
  
  /* Property cards mobile responsive - KEEP SAME LAYOUT */
  #featured-listings {
    padding: 32px 0;
  }
  
  #featured-listings h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    padding: 0 16px;
  }
  
  .listing-section {
    gap: 20px;
    padding: 0 12px;
  }
  
  .property-card {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }
  
  .property-image {
    height: 140px;
  }
  
  .property-content {
    padding: 14px 12px 12px 12px;
    gap: 6px;
  }
  
  /* Keep the same horizontal layout structure */
  .property-header {
    /* Keep as flex row */
    align-items: flex-start;
    gap: 6px;
  }
  
  .property-title-large {
    font-size: 0.95rem;
    line-height: 1.2;
    flex: 1;
  }
  
  .price-container {
    /* Keep aligned to the right */
    flex-shrink: 0;
  }
  
  .price-gradient {
    font-size: 1.1rem;
  }
  
  .price-period {
    font-size: 0.75rem;
  }
  
  .stats-row {
    gap: 10px;
    /* Keep horizontal layout */
  }
  
  .stat-item {
    font-size: 0.8rem;
  }
  
  .stat-icon-blue {
    font-size: 0.9rem;
  }
  
  .description-text {
    font-size: 0.8rem;
    line-height: 1.2;
    /* Truncate long descriptions on mobile - shorter */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  /* Show only 3 amenities on mobile - KEEP HORIZONTAL LAYOUT */
  .amenities-row {
    gap: 6px;
    /* Keep horizontal flex layout */
  }
  
  /* Hide amenities after the first 3 */
  .amenity-item:nth-child(n+4) {
    display: none;
  }
  
  .amenity-item {
    font-size: 0.75rem;
    flex-shrink: 0;
  }
  
  .amenity-icon-blue {
    font-size: 0.8rem;
  }
  
  .view-btn, .view-details-btn {
    padding: 8px 0;
    font-size: 0.85rem;
  }
  
  .calendar-popout {
    /* Use fluid sizing instead of fixed width */
    padding: clamp(12px, 2.5vw, 16px);
    width: clamp(280px, 40vw, 380px);
    margin-left: 40%;
    transform: translateX(-50%);
  }
  .guests-popout {
    /* Use fluid sizing instead of fixed width */
    padding: clamp(12px, 2.5vw, 16px);
    width: clamp(240px, 35vw, 320px);
  }
  .flexibility-options {
    gap: clamp(4px, 1vw, 6px);
  }
  .flexibility-btn {
    padding: clamp(5px, 1vw, 6px) clamp(8px, 1.5vw, 10px);
    font-size: clamp(0.7rem, 1.2vw, 0.75rem);
  }
}

/* Dark text utility */
.dark-text {
  color: #000000;
}

/* Featured Listings Section - Enhanced Responsive */
#featured-listings {
  background: #f6f8fa;
  /* Reduced top padding to tighten space above section */
  padding: 28px 0 48px;
}

#featured-listings h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 36px;
}

.listing-section {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.property-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  width: 340px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto; /* Let it size to content */
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.property-card img {
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  background: #eaeaea;
}

.property-image {
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  background: #eaeaea;
}

.property-content {
  padding: 18px 20px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.property-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
}

.property-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 8px;
}

.property-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 8px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
  color: #555;
}

.stat-icon {
  font-size: 1.1rem;
  color: #2563eb;
}

.property-desc {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 6px;
  line-height: 1.5;
}

.amenities {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
  color: #555;
}

.amenity-icon {
  font-size: 1rem;
  color: #2563eb;
}

.view-btn {
  margin-top: auto;
  background: rgba(37,99,235,0.18);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.view-btn:hover {
  background: rgba(37,99,235,0.35);
}

/* Property card specific styles */
.property-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-title-large {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

.price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-gradient {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(45deg,#00C4CC,#80e1e2,#000707);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: #888;
  margin-top: 2px;
}

.stats-row {
  display: flex;
  gap: 16px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: #555;
}

.stat-icon {
  width: 16px;
  height: 16px;
  color: #2563eb;
}

.stat-icon-blue {
  width: 16px;
  height: 16px;
  color: #2563eb;
}

.description-text {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 6px;
  line-height: 1.4;
}

.amenities-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: #555;
}

.amenity-icon-blue {
  font-size: 1rem;
  color: #2563eb;
}

.view-details-btn {
  margin-top: auto;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}

.view-details-btn:hover {
  background: #1d4ed8;
}

/* Container styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Swiper slide background styles */
.swiper-slide-bg-1 {
  background-image: url('/static/images/b2.jpeg');
}

.swiper-slide-bg-2 {
  background-image: url('/static/images/image2.png');
}

.swiper-slide-bg-3 {
  background-image: url('/static/images/image3.png');
}

/* Disabled Property Styles */
.property-disabled {
  position: relative;
  filter: grayscale(60%) brightness(0.8);
  opacity: 0.7;
  cursor: not-allowed !important;
  transition: all 0.3s ease;
}

.property-disabled:hover {
  transform: none !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07) !important;
}

.disabled-image {
  filter: blur(1px) grayscale(80%);
  transition: filter 0.3s ease;
}

.unavailable-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 18px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.unavailable-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-align: center;
  padding: 20px;
}

.unavailable-icon {
  width: 48px;
  height: 48px;
  color: #ef4444;
  stroke-width: 2;
}

.unavailable-text {
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Disabled button styles */
.view-btn.disabled,
.view-details-btn.disabled {
  background: #9ca3af !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.5 !important;
}

.view-btn.disabled:hover,
.view-details-btn.disabled:hover {
  background: #9ca3af !important;
  transform: none !important;
}

/* Responsive disabled property styles */
@media (max-width: 768px) {
  .unavailable-icon {
    width: 36px;
    height: 36px;
  }
  
  .unavailable-text {
    font-size: 1rem;
  }
  
  .unavailable-content {
    gap: 8px;
    padding: 16px;
  }

  /* Compact property cards for mobile */
  .property-card {
    width: 100%;
    max-width: 350px;
    height: 320px; /* Increased mobile height */
  }

  .property-content {
    padding: 16px 18px 16px 18px;
    gap: 8px;
  }

  .property-title-large {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .price-gradient {
    font-size: 1.5rem;
  }

  .price-period {
    font-size: 0.8rem;
  }

  .stats-row {
    gap: 12px;
    margin-bottom: 4px;
  }

  .stat-item {
    font-size: 0.8rem;
    gap: 3px;
  }

  .stat-icon {
    width: 14px;
    height: 14px;
  }

  .listing-section {
    gap: 20px;
    padding: 0 16px;
  }
}