/* style.css - Blue Theme with Animations */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #e6f0ff;
  color: #003366;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

header {
  background: #0056b3;
  color: white;
  padding: 1em;
  text-align: center;
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

nav {
  margin-top: 0.5em;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #cce0ff;
}

.container {
  max-width: 1000px;
  margin: 2em auto;
  background: white;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 50, 0.1);
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

form input, form textarea, form select, form button {
  width: 100%;
  margin-bottom: 1em;
  padding: 0.75em;
  border: 1px solid #cce0ff;
  border-radius: 5px;
  font-size: 1em;
}

form button {
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #0056b3;
}

.recipes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1em;
  margin-top: 1em;
}

.card {
  background: #f2f8ff;
  padding: 1em;
  border: 1px solid #99ccff;
  border-radius: 6px;
  color: #003366;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 50, 0.1);
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
.form-container {
  max-width: 600px;
  margin: 40px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
  color: #333;
}

label {
  font-weight: bold;
  margin-top: 15px;
  display: block;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1em;
}

button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-size: 1em;
}

button:hover {
  background-color: #0056b3;
}

.message {
  text-align: center;
  font-weight: bold;
  padding: 10px;
  margin: 15px auto;
  max-width: 600px;
  border-radius: 5px;
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
