body {
  margin: 0;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  background: #fefefe;
  color: #333;
  scroll-behavior: smooth;
}

header {
  background: linear-gradient(90deg, #ff007f, #ff6699);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  animation: slideInLeft 1s ease-out;
}

.header-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-right a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s;
}

.header-right a:hover {
  opacity: 0.8;
}

nav {
  background-color: #fff0f5;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  border-bottom: 1px solid #ffe6f0;
}

nav a {
  color: #e60073;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

nav a:hover {
  background: #ffe6f0;
  color: #c2185b;
}

.hero {
  text-align: center;
  padding: 80px 20px;
  background-image: url('https://images.pexels.com/photos/16770378/pexels-photo-16770378.jpeg');
  background-size: cover;
  background-position: center;
  color: white;
  animation: fadeIn 2s ease-in;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 20px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.category-section {
  padding: 50px 20px;
  text-align: center;
  animation: fadeUp 1s ease-out;
}

.category-section h2 {
  font-size: 34px;
  color: #ff007f;
  margin-bottom: 30px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.category-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: opacity 0.3s;
}

.category-card h3 {
  font-size: 20px;
  color: #ff007f;
  padding: 15px 10px;
  background: #fff0f5;
  margin: 0;
}

.about-section {
  background-color: #fff8fc;
  padding: 60px 20px;
  text-align: center;
}

.about-section h2 {
  color: #ff007f;
  font-size: 32px;
  margin-bottom: 20px;
}

.about-section p {
  max-width: 900px;
  margin: 10px auto;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

footer {
  background: linear-gradient(to right, #ff007f, #ff6699);
  color: white;
  text-align: center;
  padding: 25px 15px;
  font-size: 14px;
}

footer a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s;
}

footer a:hover {
  color: #ffe6f0;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  nav {
    flex-wrap: wrap;
    gap: 15px;
  }
}
