/* Custom styles for the static version */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Toast styles */
.toast {
  background-color: hsl(20, 10%, 12%);
  border: 1px solid hsl(20, 15%, 25%);
  color: hsl(30, 5%, 90%);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  animation: slideIn 0.3s ease-out;
  min-width: 300px;
  max-width: 400px;
}

.toast.success {
  border-left: 4px solid hsl(14, 85%, 50%);
}

.toast.error {
  border-left: 4px solid hsl(0, 72%, 51%);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast.removing {
  animation: slideOut 0.3s ease-out forwards;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Focus styles */
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid hsl(14, 85%, 50%);
  outline-offset: 2px;
}

/* Hero background (fallback CSS) */
.hero-bg {
  background-image: url('rust-hero-fv50dHwM.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
