/* ===========================
   PROPERTIES PAGE STYLES
   =========================== */

/* --- Page Hero --- */
.properties-hero {
  padding: calc(var(--navbar-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.properties-hero::before {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 94, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.properties-hero .section-label {
  margin-bottom: var(--space-md);
}

.properties-hero h1 {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  max-width: 700px;
}

.properties-hero h1 .accent {
  color: var(--color-accent);
}

.properties-hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

/* --- Filter Bar --- */
.filter-bar {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #000;
}

/* --- Properties Grid --- */
.properties-grid-section {
  background: var(--color-surface);
}

.properties-grid-section .section-header {
  margin-bottom: var(--space-xl);
}

.properties-grid-section .section-title {
  margin-bottom: var(--space-sm);
}

.properties-grid-section .section-subtitle {
  max-width: 620px;
  margin: 0;
  line-height: var(--leading-snug);
}


.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* --- Property Card --- */
.property-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
}

.property-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 94, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.property-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%);
  transition: all 0.5s ease;
}

.property-card:hover .property-card-image img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.property-card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.property-card-badge.badge-new {
  color: #27c93f;
}

.property-card-yield {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.property-card-body {
  padding: var(--space-lg);
}

.property-card-location {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

.property-card-location svg {
  flex-shrink: 0;
}

.property-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.property-card-desc {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.property-card-stats {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.property-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.property-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.property-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Featured Property --- */
.featured-property {
  background: var(--color-bg);
}

.featured-property-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-property-image {
  position: relative;
  min-height: 400px;
}

.featured-property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.5s ease;
}

.featured-property-card:hover .featured-property-image img {
  filter: grayscale(0%);
}

.featured-property-content {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-property-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.featured-property-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.featured-property-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.featured-property-location {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.featured-property-desc {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.featured-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.featured-metric {
  text-align: center;
  padding: var(--space-md);
  background: rgba(255, 94, 0, 0.05);
  border: 1px solid rgba(255, 94, 0, 0.1);
  border-radius: var(--radius-md);
}

.featured-metric-value {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
}

.featured-metric-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Map / Coverage Section --- */
.coverage {
  background: var(--color-surface);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.coverage-map {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
}

.coverage-map svg {
  max-width: 100%;
  height: auto;
}

.coverage-locations {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.coverage-location {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.coverage-location:hover {
  border-color: rgba(255, 94, 0, 0.3);
}

.coverage-location-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 94, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.coverage-location-info h4 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.coverage-location-info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.coverage-location-count {
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
}

/* --- CTA Section --- */
.properties-cta {
  background: var(--color-bg);
  text-align: center;
}

.properties-cta h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.properties-cta h2 .accent {
  color: var(--color-accent);
}

.properties-cta p {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.properties-cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .properties-hero h1 {
    font-size: var(--text-4xl);
  }

  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .properties-hero h1 {
    font-size: var(--text-3xl);
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .featured-property-card {
    grid-template-columns: 1fr;
  }

  .featured-property-image {
    min-height: 250px;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .properties-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .properties-cta h2 {
    font-size: var(--text-2xl);
  }

  .featured-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-sm);
  }

  .filter-btn {
    white-space: nowrap;
  }
}
