/* Shared styles for Saffron Palate */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
    url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: #333;
  animation: fadeInBody 1.2s ease-in;
}

@keyframes fadeInBody {
  from { opacity: 0; }
  to { opacity: 1; }
}
 .container {
            max-width: 800px;
            margin: 20px auto;
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0px 0px 10px #ccc;
        }

header {
  background: linear-gradient(90deg, #476df0, #a2e8e0);
  padding: 1rem 2rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.header-right,
.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 800;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: white;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #050333;
}

#searchForm {
  display: flex;
  gap: 0.5rem;
  margin: 0;
}

#searchBox {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 120px;
  transition: all 0.3s ease;
}

#searchBox:focus {
  outline: none;
  border-color: #476df0;
  box-shadow: 0 0 5px rgba(71, 109, 240, 0.6);
}

#searchForm button {
  background-color: #333;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 0.3s;
}

#searchForm button:hover {
  background-color: #555;
}

header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
  white-space: nowrap;
  letter-spacing: 1px;
}

main {
  padding: 2rem;
  text-align: center;
  animation: fadeInMain 1s ease-in;
}

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

.hero {
  background: radial-gradient(circle, #476df0, #26347d);
  padding: 2rem;
  border-radius: 20px;
  color: #ffffff; /* <-- Updated text color */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
  animation: pulse 5s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(162, 232, 224, 0.5); }
  50% { box-shadow: 0 0 30px rgba(162, 232, 224, 0.9); }
}

.highlights {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  padding: 2rem;
  animation: fadeInUp 1s ease-in-out;
}

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

.card {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #4a148c;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

/* Title Styling */
.card h3 a {
  color: #4a148c;              /* Title color */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.4rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Highlight effect on hover */
.card h3 a:hover {
  color: #d81b60;              /* Highlight color on hover */
  text-shadow: 1px 1px 4px rgba(216, 27, 96, 0.3);
}

/* Description Text */
.card p {
  color: #444;
  font-size: 1rem;
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Container Styling */
.container {
  max-width: 700px;
  margin: 4rem auto;
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Heading */
.container h2 {
  text-align: center;
  color: #4a148c;
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* Form Labels */
.container label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

/* Inputs & Textarea */
.container input[type="text"],
.container input[type="email"],
.container textarea {
  width: 90%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border: 2px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.container input:focus,
.container textarea:focus {
  border-color: #4a148c;
  outline: none;
  box-shadow: 0 0 5px rgba(74, 20, 140, 0.3);
}

/* Submit Button */
.btn {
  display: inline-block;
  background: #4a148c;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: #7b1fa2;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 1.5rem;
  }
}
