/* Hero Section */
.structures-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 51, 0.85),
    rgba(0, 78, 137, 0.85)
  );
  z-index: 2;
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  padding: 80px 0;
}

.hero-text-content {
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.structures-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.structures-hero .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-item .stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-stat-item .stat-label {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 1.5rem;
  color: white;
  opacity: 0.8;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Content Section */
.structures-content {
  background: var(--color-bg-body);
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive Hero */
@media (max-width: 991px) {
  .structures-hero {
    min-height: 40vh;
  }

  .structures-hero .hero-title {
    font-size: 2.75rem;
  }

  .hero-stats {
    gap: 40px;
  }

  .hero-stat-item .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .structures-hero {
    min-height: 30vh;
  }

  .hero-content-wrapper {
    padding: 60px 0;
  }

  .structures-hero .hero-title {
    font-size: 2.25rem;
  }

  .structures-hero .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }

  .hero-stat-item .stat-number {
    font-size: 2.25rem;
  }
}

/* Structures Grid Layout */
.filters-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 60px;
}

.filter-btn {
  padding: 12px 35px;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.filter-btn.active {
  background: var(--color-secondary);
  color: white;
  border-color: var(--color-secondary);
  box-shadow: 0 5px 15px rgba(91, 158, 214, 0.3);
}

/* Grid Layout */
.structures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

/* Clickable Card Wrapper */
.structure-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.structure-card-link:hover {
  transform: translateY(-2px);
}

.structure-card-link:hover .structure-card {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}

/* Loading/Error States */
.no-results,
.loading-spinner,
.error-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--color-text-muted);
  font-size: 1.2rem;
}

.error-message {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

@media (max-width: 768px) {
  .structures-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
