/* Property Show — Modern Professional Layout */

.property-show-page {
  padding-bottom: 2rem;
}

/* Hero */
.property-hero {
  background: linear-gradient(135deg, #173B45 0%, #0b1220 100%);
  padding: 1.5rem 1.25rem 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.property-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.property-hero .container {
  position: relative;
  z-index: 1;
}

.property-hero__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.property-hero__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.property-hero__location {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 768px) {
  .property-hero {
    padding: 2rem 2rem 2.5rem;
    margin-bottom: 2rem;
  }

  .property-hero__title {
    font-size: 1.4rem;
  }

  .property-hero__location {
    font-size: 1rem;
  }
}

/* Breadcrumb */
.property-show-breadcrumb {
  padding: 0.25rem 0;
  margin-bottom: 0.75rem;
}

.property-show-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
}

.property-show-breadcrumb__link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.property-show-breadcrumb__link:hover {
  color: #fff;
}

.property-show-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
}

/* Image Gallery */
.property-gallery-wrap {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  margin-bottom: 1.5rem;
}

.property-gallery-wrap .carousel {
  border-radius: 20px;
}

.property-gallery-wrap .carousel-inner {
  min-height: 280px;
}

@media (min-width: 768px) {
  .property-gallery-wrap .carousel-inner {
    min-height: 400px;
  }
}

.property-gallery-wrap .carousel-control-prev,
.property-gallery-wrap .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  opacity: 1;
  margin: 0 0.5rem;
}

.property-gallery-wrap .carousel-control-prev { left: 0; }
.property-gallery-wrap .carousel-control-next { right: 0; }

.property-gallery-wrap .carousel-indicators {
  bottom: 12px;
}

.property-gallery-wrap .carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
}

.property-gallery-wrap .carousel-indicators button.active {
  background: #fff;
  transform: scale(1.2);
}

.property-fullscreen-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #333;
  z-index: 10;
  transition: all 0.2s ease;
}

.property-fullscreen-btn:hover {
  background: #fff;
  color: var(--brand-primary);
}

/* Info Cards */
.property-info-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  margin-bottom: 1.25rem;
}

.property-info-card__header {
  padding: 1rem 1.25rem;
  background: rgba(var(--brand-primary-rgb), 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.property-info-card__header i {
  color: var(--brand-primary);
}

.property-info-card__body {
  padding: 1.25rem;
}

.property-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.property-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.03);
  border-radius: 12px;
  font-size: 0.9rem;
}

.property-detail-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.property-detail-item__value {
  font-weight: 600;
  color: var(--text-1);
}

/* Contact Card */
.property-contact-card {
  background: linear-gradient(135deg, #173B45 0%, #0b1220 100%);
  border-radius: 20px;
  overflow: hidden;
  padding: 1.5rem 1.25rem;
  color: #fff;
}

.property-contact-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.property-contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.property-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.property-contact-btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.property-contact-btn--call {
  background: #fff;
  color: var(--brand-primary);
}

.property-contact-btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.property-contact-btn--chat {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

/* TO-LET Placeholder */
.property-tolet-placeholder {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  margin-bottom: 1.5rem;
}

.property-tolet-placeholder__title {
  font-size: 2rem;
  font-weight: 800;
  border-bottom: 3px solid var(--brand-primary);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 0.5rem;
}

.property-tolet-placeholder__meta {
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.7);
}

/* Description */
.property-description {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.85);
  margin-bottom: 1.5rem;
}

/* Share */
.property-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.property-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

/* Login note — mobile-specific info when not authorized (matches Next.js) */
.login-note {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
  border-left: 4px solid #ffc107;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.login-note-mobile {
  background: rgba(23, 59, 69, 0.06);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-1);
}
.login-note-mobile i {
  color: var(--brand-primary);
}
.login-note-btn {
  white-space: nowrap;
}
.chat-modal-login-prompt .btn {
  padding: 0.6rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
}

/* Similar Properties */
.property-similar-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.property-similar-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 1.25rem;
}

/* Similar properties grid - ensure cards display well */
.property-similar-section .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

@media (min-width: 768px) {
  .property-similar-section__title {
    font-size: 1.4rem;
  }
}
