/* ===========================================
   RESIDENTIAL PLOT DETAILS - Specific Styles
   =========================================== */

/* This file contains styles for residential plot detail pages */

/* ── Modern Hero (property-detail pages using class="modern-hero") ── */
.modern-hero {
  min-height: 75vh;
  padding-top: 100px;
  padding-bottom: 3rem;
  /* Pages set --hero-bg-color (orchards) or leave unset (others use gradient-primary) */
  background: var(--hero-bg-color, var(--gradient-primary));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.modern-hero .container {
  width: 100%;
}

.modern-hero .hero-header {
  margin-bottom: 2rem;
}

.modern-hero .hero-header h1 {
  font-size: var(--font-4xl);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.modern-hero .hero-location {
  font-size: var(--font-lg);
  opacity: 0.9;
  margin-bottom: 2rem;
  color: var(--white);
}

.modern-hero .hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.modern-hero .hero-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .modern-hero {
    min-height: 60vh;
    padding: 100px 0 2rem;
  }

  .modern-hero .hero-header h1 {
    font-size: var(--font-2xl);
  }

  .modern-hero .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .modern-hero .hero-image {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .modern-hero .hero-header h1 {
    font-size: var(--font-xl);
  }

  .modern-hero .hero-image {
    height: 220px;
  }
}

/* Property Hero Section */
.property-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.property-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="property-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23property-pattern)"/></svg>');
  pointer-events: none;
  opacity: 0.3;
}

.property-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: var(--z-base);
}

/* Property Images */
.property-hero-images {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.property-main-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.property-thumbnails {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.property-thumbnails img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  border: 3px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.property-thumbnails img:hover,
.property-thumbnails img.active {
  transform: scale(1.1);
  border-color: var(--accent-color);
  box-shadow: 0 6px 20px rgba(6, 95, 70, 0.4);
}

/* Property Details */
.property-hero-details h1 {
  font-size: var(--font-4xl);
  margin-bottom: 0.75rem;
  color: var(--white);
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.property-location {
  font-size: var(--font-lg);
  margin-bottom: 2.5rem;
  opacity: 0.95;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--white);
}

.property-location i {
  color: var(--accent-color);
}

.property-key-info {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  padding: var(--spacing-sm) 1.25rem;
  border-radius: 10px;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.info-item i {
  color: var(--accent-color);
  font-size: var(--font-lg);
}

.info-item span {
  font-weight: 600;
  color: var(--white);
}

/* Price Section */
.property-price-hero {
  margin-bottom: 2.5rem;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.property-price-hero .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);  /* #6ee7b7 → 6.52:1 on navy (was --accent-color #059669 ≈ 4.13:1 on dark bg, fails 4.5:1) */
  display: block;
  margin-bottom: var(--spacing-xs);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.property-price-hero .price-note {
  font-size: var(--font-base);
  opacity: 0.9;
  font-style: italic;
  color: var(--white);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .property-hero {
    min-height: 70vh;
    padding: 120px 0 2rem;
  }

  .property-hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }

  .property-hero-details h1 {
    font-size: 2.2rem;
  }

  .property-main-image {
    height: 350px;
  }

  .property-key-info {
    gap: var(--spacing-sm);
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .property-hero {
    min-height: 0;
    padding: 3rem 0;
  }

  .property-hero-details h1 {
    font-size: 1.75rem;
  }

  .property-price-hero .price {
    font-size: var(--font-2xl);
  }

  .info-item {
    padding: 0.75rem;
  }
}
