.projects-body {
  background: radial-gradient(1100px 700px at 15% -10%, rgba(0, 26, 61, 0.08), transparent 55%),
    radial-gradient(900px 600px at 85% 0%, rgba(0, 26, 61, 0.06), transparent 55%), var(--surface);
}

/* Projects Hero Section */
.projects-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.projects-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.projects-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.5) 0%, rgba(5, 10, 18, 0.7) 100%);
  z-index: 1;
}

.projects-hero-inner {
  position: relative;
  z-index: 2;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.projects-hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 16px;
}

.projects-hero-title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.98);
  text-align: center;
  font-weight: 800;
}

.projects-hero-lead {
  margin: 24px 0 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

/* Projects Filters Section */
.projects-filters-section {
  padding: 40px 0;
  background: var(--surface);
  border-bottom: 1px solid rgba(196, 198, 207, 0.5);
}

.projects-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(0, 26, 61, 0.7);
}

.filter-select {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(196, 198, 207, 0.5);
  background: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  color: rgba(46, 52, 64, 0.9);
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-select:hover {
  border-color: rgba(0, 26, 61, 0.3);
}

.filter-select:focus {
  outline: none;
  border-color: rgba(0, 26, 61, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 26, 61, 0.1);
}

.btn-reset {
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(196, 198, 207, 0.5);
  background: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 26, 61, 0.9);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset:hover {
  background: rgba(0, 26, 61, 0.05);
  border-color: rgba(0, 26, 61, 0.3);
}

/* Projects Grid Section */
.projects-grid-section {
  padding: 60px 0;
}

.projects-results-info {
  margin-bottom: 32px;
  font-size: 14px;
  color: rgba(46, 52, 64, 0.7);
}

.projects-results-info span {
  font-weight: 700;
  color: rgba(0, 26, 61, 0.9);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(196, 198, 207, 0.5);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 44px rgba(10, 20, 35, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(10, 20, 35, 0.12);
}

.project-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.05);
}

.project-status {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.project-status-completed {
  background: rgba(34, 197, 94, 0.9);
  color: white;
}

.project-status-in_progress {
  background: rgba(59, 130, 246, 0.9);
  color: white;
}

.project-status-upcoming {
  background: rgba(249, 115, 22, 0.9);
  color: white;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: rgba(0, 26, 61, 0.6);
  margin: 0;
}

.project-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: rgba(0, 26, 61, 0.95);
  line-height: 1.3;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(46, 52, 64, 0.7);
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(196, 198, 207, 0.3);
  border-bottom: 1px solid rgba(196, 198, 207, 0.3);
}

.project-location,
.project-date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-location svg,
.project-date svg {
  width: 16px;
  height: 16px;
}

.project-summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(46, 52, 64, 0.8);
}

.projects-empty {
  text-align: center;
  padding: 80px 20px;
}

.projects-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: rgba(196, 198, 207, 0.5);
}

.projects-empty-icon svg {
  width: 100%;
  height: 100%;
}

.projects-empty .h3 {
  margin-bottom: 12px;
  color: rgba(0, 26, 61, 0.9);
}

.projects-empty .muted {
  color: rgba(46, 52, 64, 0.7);
}

/* Pagination */
.projects-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(196, 198, 207, 0.5);
}

.pagination-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(196, 198, 207, 0.5);
  background: rgba(255, 255, 255, 0.95);
  color: rgba(0, 26, 61, 0.7);
  transition: all 0.2s ease;
  text-decoration: none;
}

.pagination-link:hover {
  background: rgba(0, 26, 61, 0.05);
  border-color: rgba(0, 26, 61, 0.3);
  color: rgba(0, 26, 61, 0.9);
}

.pagination-link svg {
  width: 20px;
  height: 20px;
}

.pagination-numbers {
  display: flex;
  gap: 8px;
  margin: 0 16px;
}

.pagination-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(196, 198, 207, 0.5);
  background: rgba(255, 255, 255, 0.95);
  color: rgba(0, 26, 61, 0.7);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination-number:hover {
  background: rgba(0, 26, 61, 0.05);
  border-color: rgba(0, 26, 61, 0.3);
  color: rgba(0, 26, 61, 0.9);
}

.pagination-current {
  background: rgba(0, 26, 61, 0.95);
  border-color: rgba(0, 26, 61, 0.95);
  color: white;
}

.pagination-current:hover {
  background: rgba(0, 26, 61, 0.95);
  border-color: rgba(0, 26, 61, 0.95);
  color: white;
}

/* Project Detail Hero Section */
.project-detail-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.project-detail-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.project-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.6) 0%, rgba(5, 10, 18, 0.8) 100%);
  z-index: 1;
}

.project-detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.project-detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.project-detail-breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-detail-breadcrumbs a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.project-detail-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.project-detail-title {
  margin: 0 0 16px;
  max-width: 900px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.98);
  font-weight: 800;
}

.project-detail-status {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.project-detail-status-completed {
  background: rgba(34, 197, 94, 0.9);
  color: white;
}

.project-detail-status-in_progress {
  background: rgba(59, 130, 246, 0.9);
  color: white;
}

.project-detail-status-upcoming {
  background: rgba(249, 115, 22, 0.9);
  color: white;
}

/* Project Detail Info Section */
.project-detail-info-section {
  padding: 60px 0;
  background: var(--surface);
}

.project-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.project-detail-info-card {
  padding: 32px 24px;
  border-radius: 20px;
  border: 1px solid rgba(196, 198, 207, 0.5);
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  box-shadow: 0 12px 32px rgba(10, 20, 35, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-detail-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 20, 35, 0.1);
}

.project-detail-info-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: rgba(0, 26, 61, 0.7);
}

.project-detail-info-icon svg {
  width: 100%;
  height: 100%;
}

.project-detail-info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(46, 52, 64, 0.6);
  margin-bottom: 8px;
}

.project-detail-info-value {
  font-size: 16px;
  font-weight: 600;
  color: rgba(0, 26, 61, 0.9);
}

/* Project Detail Description Section */
.project-detail-description-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(0, 26, 61, 0.03) 100%);
}

.project-detail-content {
  max-width: 900px;
  margin: 0 auto;
}

.project-detail-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(46, 52, 64, 0.85);
}

/* Project Detail Features Section */
.project-detail-features-section {
  padding: 80px 0;
  background: var(--surface);
}

.project-detail-features-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.project-detail-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(196, 198, 207, 0.5);
  background: rgba(255, 255, 255, 0.95);
  transition: transform 0.2s ease;
}

.project-detail-feature-item:hover {
  transform: translateX(4px);
}

.project-detail-feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: rgba(34, 197, 94, 0.8);
}

.project-detail-feature-icon svg {
  width: 100%;
  height: 100%;
}

.project-detail-feature-item span {
  font-size: 15px;
  font-weight: 500;
  color: rgba(46, 52, 64, 0.85);
}

/* Project Detail Specs Section */
.project-detail-specs-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(0, 26, 61, 0.03) 100%);
}

.project-detail-specs-content {
  max-width: 900px;
  margin: 40px auto 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(46, 52, 64, 0.85);
}

/* Project Detail Gallery Section */
.project-detail-gallery-section {
  padding: 80px 0;
  background: var(--surface);
}

.project-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.project-detail-gallery-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(196, 198, 207, 0.5);
  aspect-ratio: 16 / 10;
}

.project-detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Project Detail Team Section */
.project-detail-team-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(0, 26, 61, 0.03) 100%);
}

.project-detail-team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.project-detail-team-member {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(196, 198, 207, 0.5);
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: rgba(0, 26, 61, 0.9);
}

/* Project Detail Awards Section */
.project-detail-awards-section {
  padding: 80px 0;
  background: var(--surface);
}

.project-detail-awards-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.project-detail-award-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(196, 198, 207, 0.5);
  background: rgba(255, 255, 255, 0.95);
}

.project-detail-award-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: rgba(249, 115, 22, 0.8);
}

.project-detail-award-icon svg {
  width: 100%;
  height: 100%;
}

.project-detail-award-item span {
  font-size: 15px;
  font-weight: 500;
  color: rgba(46, 52, 64, 0.85);
}

/* Project Detail Challenges Section */
.project-detail-challenges-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(0, 26, 61, 0.03) 100%);
}

.project-detail-challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.project-detail-challenges-card {
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(196, 198, 207, 0.5);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 44px rgba(10, 20, 35, 0.08);
}

.project-detail-challenges-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: rgba(0, 26, 61, 0.7);
}

.project-detail-challenges-icon svg {
  width: 100%;
  height: 100%;
}

.project-detail-challenges-card .h3 {
  margin: 0 0 16px;
  font-size: 22px;
  color: rgba(0, 26, 61, 0.95);
}

.project-detail-challenges-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(46, 52, 64, 0.8);
}

/* Project Detail CTA Section */
.project-detail-cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(0, 26, 61, 0.95), rgba(0, 26, 61, 0.92));
  text-align: center;
}

.project-detail-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.project-detail-cta-content .h2 {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.98);
}

.project-detail-cta-content .muted {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.8);
}

.project-detail-cta-content .btn-primary {
  background: rgba(255, 255, 255, 0.95);
  color: rgba(0, 26, 61, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
}

.project-detail-cta-content .btn-primary:hover {
  background: rgba(255, 255, 255, 1);
  color: rgba(0, 26, 61, 1);
}

/* Responsive Styles */
@media (max-width: 1100px) {
  .projects-grid,
  .project-detail-gallery-grid,
  .project-detail-team-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-detail-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-detail-features-list,
  .project-detail-awards-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .projects-hero,
  .project-detail-hero {
    min-height: 100vh;
  }

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

  .filter-group {
    min-width: 100%;
  }

  .projects-grid,
  .project-detail-gallery-grid,
  .project-detail-team-list,
  .project-detail-info-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-challenges-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-features-list,
  .project-detail-awards-list {
    grid-template-columns: 1fr;
  }
}
