@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Fredoka One', cursive;
  margin: 0;
  background: #fff7f0;
  color: #4b2e2e;
}

header {
  background: linear-gradient(135deg, #ff9aa2, #ffb6b9);
  padding: 2rem 1rem;
  text-align: center;
  color: white;
  background-size: 300% 300%;
  animation: gradientMove 6s ease infinite;
}

@keyframes gradientMove {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

nav {
  background: #ffb6b9;
  display: flex;
  justify-content: center;
  padding: 0.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: transform 0.3s;
}

nav a:hover {
  transform: scale(1.2);
}

.container {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
}

h1, h2 {
  color: #f76c6c;
}

.hero {
  background: url('https://source.unsplash.com/1600x400/?ice-cream-parlor') center/cover no-repeat;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  text-shadow: 2px 2px 5px #00000070;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

.card {
  background: #fff0f5;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
  from {
    transform: translateY(20px);
    opacity: 0;
  }
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

img.ice-cream {
  width: 100%;
  max-width: 300px;
  border-radius: 1rem;
}

ul {
  padding-left: 1.5rem;
}

blockquote {
  font-style: italic;
  background: #ffe6ea;
  padding: 1rem 2rem;
  border-left: 5px solid #f76c6c;
  margin: 2rem 0;
  border-radius: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

footer {
  background: #ff9aa2;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}
