/* 404 Hero Section */
.error-404-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background: linear-gradient(135deg, #f9f8f6 0%, #ede9dd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 20px;
   background-color: var(--heading-color);
  background-image: url("../images/footer-bg.png");
  background-size: cover;
  background-position: center;
}

.error-404-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 500px;
  height: 500px;
  background: rgba(77, 64, 58, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.error-404-hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: rgba(77, 64, 58, 0.03);
  border-radius: 50%;
  z-index: 0;
}

.error-404-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
}

.error-404-number {
  font-size: 200px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
  letter-spacing: -5px;
}

.error-404-title {
  color: var(--primary-color);
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.error-404-subtitle {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
}

.error-404-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-404-actions .btn {
  padding: 12px 35px;
  font-size: 0.95rem;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.error-404-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.error-404-actions .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Search Section */
.error-404-search {
  background: white;
  padding: 80px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.error-404-search .main-section-title {
  color: var(--primary-color);
  font-size: 32px;
  margin-bottom: 20px;
}

.search-form-404 {
  width: 100%;
}

.search-form-404 form {
  display: flex;
  gap: 0;
}

.search-form-404 input[type="search"] {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 1rem;
  font-family: Inter, sans-serif;
  color: #262626;
  background: white;
  transition: all 0.3s ease;
}

.search-form-404 input[type="search"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.search-form-404 button[type="submit"] {
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
  border-radius: 0;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-form-404 button[type="submit"]:hover {
  background: darken(var(--primary-color), 10%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Suggestions Section */
.error-404-suggestions {
  background: #f9f8f6;
  padding: 80px 20px;
}

.error-404-suggestions .main-section-title {
  color: #262626;
}

.suggestion-card {
  display: block;
  height: 100%;
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.suggestion-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.suggestion-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #e8e4d6;
}

.suggestion-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.suggestion-card:hover .suggestion-card-image img {
  transform: scale(1.05);
}

.suggestion-card-content {
  padding: 24px 20px;
}

.suggestion-card h3 {
  color: #262626;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .error-404-hero {
    min-height: 50vh;
    padding: 60px 20px;
  }

  .error-404-number {
    font-size: 120px;
  }

  .error-404-title {
    font-size: 32px;
  }

  .error-404-subtitle {
    font-size: 16px;
  }

  .error-404-actions {
    flex-direction: column;
  }

  .error-404-actions .btn {
    width: 100%;
  }

  .error-404-search {
    padding: 60px 20px;
  }

  .search-form-404 form {
    flex-direction: column;
  }

  .search-form-404 input[type="search"],
  .search-form-404 button[type="submit"] {
    width: 100%;
  }

  .error-404-suggestions {
    padding: 60px 20px;
  }

  .suggestion-card-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .error-404-hero {
    min-height: auto;
  }

  .error-404-number {
    font-size: 80px;
  }

  .error-404-title {
    font-size: 24px;
  }

  .error-404-subtitle {
    font-size: 14px;
  }

  .error-404-search .main-section-title {
    font-size: 24px;
  }

  .suggestion-card-image {
    height: 150px;
  }

  .suggestion-card h3 {
    font-size: 16px;
  }
}
