/* ===== HOME PAGE STYLING ===== */

/* Reset */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: rgb(255, 240, 250);
  color: rgb(120, 0, 90);
}

/* Container to center everything */
.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(
    to bottom right,
    rgb(255, 220, 245),
    rgb(255, 230, 250)
  );
  border-radius: 20px;
  padding: 60px 40px;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(255, 105, 180, 0.2);
  margin-bottom: 60px;
}

.hero h1 {
  font-size: 2.2em;
  color: rgb(170, 0, 130);
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1em;
  color: rgb(100, 0, 80);
  margin-bottom: 25px;
}

.cta-button {
  background-color: rgb(255, 150, 210);
  color: white;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
}

.cta-button:hover {
  background-color: rgb(255, 105, 180);
  transform: scale(1.05);
}

/* ===== FEATURED SECTION ===== */
.featured {
  width: 90%;
  max-width: 1000px;
  background-color: rgb(255, 225, 245);
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
}

.featured h2 {
  color: rgb(150, 0, 120);
  margin-bottom: 25px;
  font-size: 1.7em;
}

.featured-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.featured figure {
  background: white;
  border-radius: 15px;
  padding: 15px;
  width: 200px;
  box-shadow: 0 2px 10px rgba(255, 105, 180, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.featured figure:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.featured img {
  width: 100%;
  border-radius: 10px;
}

.featured figcaption {
  margin-top: 10px;
  font-weight: 600;
  color: rgb(120, 0, 90);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .hero {
    padding: 40px 20px;
  }

  .featured-items {
    flex-direction: column;
    align-items: center;
  }
}


/* ========== FEATURED SECTION ========== */

.featured figure img {
    border: 1px solid rgb(221, 21, 21);
    border-radius: 10%;
    box-shadow: 0 0 10px rgba(189, 25, 189, 0.7);
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured figure img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.8);
    animation: jello 0.9s ease-in-out;
}

/* ========== JELLO HOVER ANIMATION ========== */
@keyframes jello {
    0% { transform: scale3d(1, 1, 1); }
    15% { transform: scale3d(1.25, 0.75, 1); }
    30% { transform: scale3d(0.75, 1.25, 1); }
    45% { transform: scale3d(1.15, 0.85, 1); }
    60% { transform: scale3d(0.95, 1.05, 1); }
    75% { transform: scale3d(1.05, 0.95, 1); }
    100% { transform: scale3d(1, 1, 1); }
}