/* ==========================================================================
   404 Error Page Styles (error-404.css)
   Atmospheric luxury error template for Olizou.
   ========================================================================== */

.error-404-page {
  background: var(--charcoal-deep, #11100d);
  color: var(--paper, #f3efe7);
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.error-404-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(140px, 18vh, 200px) 24px clamp(80px, 12vh, 140px);
  text-align: center;
}

.error-404-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 35%, rgba(197, 155, 95, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(58, 74, 53, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, #0c0b09 0%, #11100d 50%, #171511 100%);
}

.error-404-container {
  width: min(720px, 100%);
  margin: 0 auto;
}

.error-404-eyebrow {
  margin: 0 0 18px;
  font: 700 12px/1 var(--sans, "Manrope", sans-serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c59b5f;
}

.error-404-title {
  margin: 0 0 20px;
  font: 600 clamp(34px, 5.2vw, 64px) / 1.05 var(--serif, "EB Garamond", serif);
  letter-spacing: -0.04em;
  color: #f7f3ec;
}

.error-404-lead {
  max-width: 580px;
  margin: 0 auto 38px;
  font: 400 clamp(15px, 1.8vw, 18px) / 1.65 var(--sans, "Manrope", sans-serif);
  color: rgba(243, 239, 231, 0.78);
}

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

.error-404-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 4px;
  font: 600 13px/1 var(--sans, "Manrope", sans-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}

.error-404-actions .button-primary {
  background: #c59b5f;
  color: #11100d;
  border: 1px solid #c59b5f;
}

.error-404-actions .button-primary:hover,
.error-404-actions .button-primary:focus-visible {
  background: #d4ac73;
  border-color: #d4ac73;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 155, 95, 0.35);
}

.error-404-actions .button-secondary {
  background: rgba(238, 234, 227, 0.06);
  color: #eeeae3;
  border: 1px solid rgba(238, 234, 227, 0.24);
  backdrop-filter: blur(8px);
}

.error-404-actions .button-secondary:hover,
.error-404-actions .button-secondary:focus-visible {
  background: rgba(238, 234, 227, 0.12);
  border-color: #c59b5f;
  color: #f7f3ec;
  transform: translateY(-2px);
}

.error-404-actions .button-ghost {
  background: transparent;
  color: rgba(243, 239, 231, 0.7);
  border: 1px solid transparent;
}

.error-404-actions .button-ghost:hover,
.error-404-actions .button-ghost:focus-visible {
  color: #c59b5f;
}

.error-404-help {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(238, 234, 227, 0.1);
  font: 400 14px / 1.5 var(--sans, "Manrope", sans-serif);
  color: rgba(243, 239, 231, 0.6);
}

.error-404-help a {
  color: #c59b5f;
  text-decoration: none;
  font-weight: 600;
  margin-left: 6px;
  transition: color 0.2s ease;
}

.error-404-help a:hover,
.error-404-help a:focus-visible {
  color: #f7f3ec;
  text-decoration: underline;
}

@media (max-width: 680px) {
  .error-404-hero {
    padding: 120px 20px 60px;
  }
  .error-404-actions {
    flex-direction: column;
    width: 100%;
  }
  .error-404-actions .button {
    width: 100%;
  }
}
