/* ─── Single Property Overlay (same backdrop as listing) ───────── */
#single-property-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 15, 30, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#single-property-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ─── Single Property Overlay owner section ───────── */
.property-owner {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.owner-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00d4ff;
  margin-bottom: 0.5rem;
}

.owner-name {
  font-size: 1.6rem;
  color: #00d4ff;
  text-align: center;
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.25);
}


/* ─── Single Property Panel ───────────────────────────── */
#single-property-overlay .overlay-content {
  background: #1e293b;
  color: #f0f9ff;
  border: 1px solid rgba(0,217,255,0.15);
  padding: 3rem;
  border-radius: 20px;
  max-width: 1600px;
  width: 98%;
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,212,255,0.15);
  backdrop-filter: blur(12px);
  animation: fadeSlideIn 0.4s ease-out;
}

/* ─── Heading ───────────────────────────── */
#single-property-overlay .overlay-content h1 {
  font-size: 2.5rem;
  color: #00d4ff;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 6px rgba(0,212,255,0.3);
}

/* ─── Close Button ───────────────────────── */
#single-property-overlay .close-btn {
  display: block;
  margin: 1rem auto 2rem;
  background: linear-gradient(to right, #3ecf8e, #26b07c);
  color: #001d16;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(62,207,142,0.4);
  transition: background 0.3s ease, transform 0.3s ease;
}
#single-property-overlay .close-btn:hover {
  background: linear-gradient(to right, #26b07c, #3ecf8e);
  transform: translateY(-3px);
  box-shadow: 0 0 16px rgba(62,207,142,0.6);
}

/* ─── Image Slider ───────────────────────── */
/* ─── Image Slider ───────────────────────── */
.custom-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    max-height: 850px;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .slider-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: 100%;
  }
  
  .slide {
    flex: 0 0 100%;
    display: none;
  }
  
  .slide.active {
    display: block;
  }
  
  .slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: auto;
    border-radius: 12px;
    display: block;
  }
  
  

/* ─── Slider Navigation Buttons ───────────── */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.3);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 1;
}
.slider-nav.prev {
  left: 10px;
}
.slider-nav.next {
  right: 10px;
}
.slide-counter {
  position: absolute;
  bottom: 12px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #f0f9ff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ─── Property Meta ───────────────────────── */
.property-meta {
  margin-bottom: 2rem;
  text-align: center;
}
.property-meta p {
  font-size: 1rem;
  color: #cbe9ff;
  margin: 0.5rem 0;
}
/* ─── Section Titles ─────────────────────── */
.section-title {
font-size: 1.8rem;
color: #00d4ff;
text-align: center;
margin: 2rem 0 1rem;
text-shadow: 0 0 5px rgba(0, 212, 255, 0.25);
border-bottom: 1px solid rgba(0, 212, 255, 0.2);
padding-bottom: 0.5rem;
}
  
/* ─── Description Section ─────────────────── */
.property-description {
  margin-top: 2rem;
  text-align: center;
}
.property-description h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #00d4ff;
  text-shadow: 0 0 4px rgba(0,212,255,0.2);
}
.property-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e2f1ff;
}

/* ─── CTA Buttons ───────────────────────── */
.cta-section {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.apply-button,
.contact-button {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* ─── Apply Button ───────────────────────── */
.apply-button {
  background: #00a3cc;
  color: white;
  cursor: pointer;
}
.apply-button:hover {
  background: #007ea0;
}

.apply-button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ─── Contact Button ───────────────────────── */
.contact-button {
  background: #2ecc71;
  color: white;
  cursor: pointer;
}
.contact-button:hover:not(:disabled) {
  background: #27ae60;
}

/* ─── Disabled / Faded Contact Button ───────────────────────── */
.contact-button.disabled,
.contact-button:disabled {
  cursor: not-allowed;
}
.contact-button.faded {
  opacity: 0.5;
}


/* ─── Responsive Slider Height ───────────── */
@media (max-width: 768px) {
  .custom-slider,
  .slide img {
    max-height: 300px;
  }
}
