/* Property Section */
.property-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--background), var(--muted));
}

.property-content {
  display: grid; gap: 3rem; align-items: center; margin-bottom: 4rem;
}
@media (min-width: 1024px) { .property-content { grid-template-columns: 1fr 1fr; } }

.property-info > * + * { margin-top: 2rem; }
.property-info { animation: slideUp 1s ease-out; }

/* Amenities */
.amenities-section { margin-bottom: 2rem; }
.amenities-title { font-size: 1.5rem; font-weight: 600; color: var(--foreground); margin-bottom: 1rem; }
.amenities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.amenity-item {
  display: flex; align-items: center; gap: .75rem; padding: .75rem;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}
.amenity-item:hover { box-shadow: var(--shadow-elegant); }
.amenity-item i { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.amenity-item span { font-size: .9rem; font-weight: 500; color: var(--foreground); }

/* Info cards */
.info-card {
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.info-card-header { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.info-card-header i { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.info-card-header h4 { font-size: 1.125rem; font-weight: 600; color: var(--foreground); }
.info-card p { color: var(--muted-foreground); }

/* Images */
.property-images { display: flex; flex-direction: column; gap: 1.5rem; animation: scaleIn 1s ease-out; }
.property-image { position: relative; overflow: hidden; border-radius: 1rem; box-shadow: var(--shadow-elegant); }
.property-image img { width: 100%; height: 20rem; object-fit: cover; transition: transform .7s ease; }
.property-image:hover img { transform: scale(1.05); }

.image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.3), transparent);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; color: #fff;
}
.image-overlay h4 { font-size: 1.125rem; font-weight: 600; }
.image-overlay p { font-size: .875rem; opacity: .9; }
/* ===== Mobile-only carousel for .property-images ===== */
@media (max-width: 768px) {
  .property-images {
    /* από κάθετη στήλη → οριζόντιο καρουζέλ με scroll-snap */
    display: grid;
    grid-auto-flow: column;
    /* κάθε κάρτα ~90% του πλάτους για να “φαίνεται” και η επόμενη */
    grid-auto-columns: 90%;
    gap: 14px;

    padding: 0 8px;                 /* λίγο “peek” στις άκρες */
    overflow-x: auto;
    scroll-snap-type: x mandatory;  /* μαγνητάκι */
    -webkit-overflow-scrolling: touch;
  }

  .property-images::-webkit-scrollbar { display: none; }

  .property-image {
    scroll-snap-align: center;      /* κάθε κάρτα κουμπώνει στο κέντρο */
    border-radius: 14px;
  }

  /* λίγο πιο “κομψό” ύψος στο κινητό */
  .property-image img {
    height: 16rem;                  /* ~256px */
  }
}
.nearby-btn {
  pointer-events: auto !important;
  z-index: 20 !important;
}

.nearby-wrapper::before,
.nearby-wrapper::after {
  pointer-events: none !important;
}
