.coming-soon-section {
  min-height: calc(100vh - 70px);
  padding: 160px 20px 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(30, 30, 47, 0.95), rgba(0, 191, 166, 0.85));
  color: var(--white);
}

.coming-soon-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.coming-soon-section h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-family: var(--font-secondary);
  margin-bottom: 1rem;
}

.coming-soon-text {
  max-width: 650px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.coming-soon-section .btn {
  padding: 14px 32px;
  border-radius: 40px;
}

/* Listings Page Specific Styles */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  padding: 120px 0 60px;
  text-align: center;
  margin-top: 70px;
}

.page-header h1 {
  font-size: 3rem;
  font-family: var(--font-secondary);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Filters Section */
.filters-section {
  background: var(--light-gray);
  padding: 40px 0;
  border-bottom: 1px solid #e0e0e0;
}

.filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 150px;
}

.filter-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.filter-select {
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: var(--white);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.view-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.results-count {
  font-weight: 600;
  color: var(--primary-color);
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  padding: 10px 15px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Properties Section */
.properties-section {
  padding: 60px 0;
  background: var(--white);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.properties-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Enhanced Property Card for Listings */
.property-card {
  position: relative;
  transition: all 0.3s ease;
}

.property-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.property-card:hover .property-actions {
  opacity: 1;
}

.action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.action-btn:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: scale(1.1);
}

.action-btn.favorite.active {
  background: var(--secondary-color);
  color: var(--white);
}

.action-btn.favorite.active i {
  font-weight: 900;
}

.property-description {
  margin: 1rem 0;
}

.property-description p {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.property-btn {
  width: 100%;
  margin-top: 1rem;
}

/* PDF Viewer Modal */
.pdf-modal {
  position: fixed;
  inset: 0;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 2000;
}

.pdf-modal.visible {
  display: flex;
}

.pdf-modal-content {
  position: relative;
  width: min(1200px, 95%);
  height: 90vh;
  background: rgba(17, 17, 17, 0.85);
  border-radius: 18px;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(5px);
}

.pdf-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

.pdf-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 5;
}

.pdf-close:hover {
  background: var(--primary-color);
  transform: scale(1.05);
}

/* List View Styles */
.properties-list .property-card {
  display: flex;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-height: 300px;
}

.properties-list .property-image {
  flex: 0 0 40%;
  max-width: 400px;
}

.properties-list .property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.properties-list .property-info {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.properties-list .property-features {
  margin: 1rem 0;
}

.properties-list .property-btn {
  width: auto;
  align-self: flex-start;
  margin-top: auto;
}

/* Property Badge Variations */
.property-badge.sale {
  background: var(--accent-color);
}

.property-badge.rent {
  background: var(--secondary-color);
}

/* Load More */
.load-more-container {
  text-align: center;
  margin-top: 3rem;
}

/* Filter Animation */
.property-card.filtering {
  opacity: 0.3;
  transform: scale(0.95);
}

.property-card.filtered-out {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }

  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    min-width: auto;
  }

  .view-controls {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

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

  .properties-list .property-card {
    flex-direction: column;
    max-height: none;
  }

  .properties-list .property-image {
    flex: none;
    max-width: none;
    height: 250px;
  }

  .properties-list .property-info {
    padding: 1.5rem;
  }

  .property-actions {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 100px 0 40px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .filters-section {
    padding: 20px 0;
  }

  .properties-section {
    padding: 40px 0;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Smooth transitions for filtering */
.properties-grid,
.properties-list {
  transition: all 0.3s ease;
}

.property-card {
  transition: all 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

/* Active nav link */
.nav-link.active {
  color: var(--secondary-color);
}

.nav-link.active::after {
  width: 100%;
}

/* Logo link styling */
.nav-logo a {
  color: var(--white);
  text-decoration: none;
}

.nav-logo a:hover {
  color: var(--secondary-color);
}
