/* Base Styling */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #fce4ec;
  background: radial-gradient(circle at top left, #2b1a2f, #3c2941, #2b1a2f); /* soft fade */
  scroll-behavior: smooth;
}

h1, h2 {
  font-family: 'Pacifico', cursive;
  color: #ff69b4;
}

a {
  text-decoration: none;
  color: #ffb6c1;
  transition: 0.3s ease;
}

a:hover {
  color: #ff4081;
}

/* Hero Section */
.hero {
  height: 60vh;
  overflow-y: hidden;
  background-image: url("../images/candy2.jpg"); 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  flex-direction: column;
  filter: brightness(1.05) contrast(1.05);
  padding: 40px 20px;
}


.hero .overlay {
  background-color: rgba(43, 26, 47, 0.7);
  padding: 60px 20px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  animation: fadeIn 1.5s ease-in-out;
}

.hero h1 {
  font-size: 4rem;
  color: #ffffff;
  text-shadow: 3px 3px #d81b60;
}

.hero p {
  font-size: 1.5rem;
  color: #ffeef7;
  margin-bottom: 25px;
}

.hero nav a {
  background: #ff69b4;
  padding: 12px 22px;
  margin: 0 8px;
  border-radius: 30px;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.hero nav a:hover {
  background: #d81b60;
}

/* Sections */
section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 80px auto; 
  text-align: center;
  background: #3c2941;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#about {
  background-color: #442c4f;
}

#sweets {
  background-color: #512e5f;
}

#contact {
  background-color: #593252;
}

/* Sweet Cards */
.sweet-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.card {
  background: #2a1b2d;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(255, 105, 180, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  background: #3c2b3e;
}

.card strong {
  display: block;
  font-size: 1.2rem;
  margin: 10px 0 5px;
  color: #ffb6c1;
}

/* Footer */
footer {
  background: #1f1122;
  color: #f8bbd0;
  text-align: center;
  padding: 30px 20px;
  font-size: 1rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .hero nav a {
    display: block;
    margin: 10px auto;
    width: 200px;
  }

  .sweet-cards {
    grid-template-columns: 1fr;
  }
}
