/* Reset và thiết lập cơ bản */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(to bottom, #fff0f5, #ffe4e1);
  overflow-x: hidden;
  color: #333;
}

/* Header */
header {
  background-color: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  gap: 1rem;
}

header h1 {
  margin: 0;
  flex-shrink: 0;
}

header h1 a {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: #d63384;
  text-decoration: none;
  white-space: nowrap;
}

/* Menu chính */
nav.menu {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

nav.menu a {
  padding: 0.5rem 1rem;
  background-color: #fff0f5;
  color: #d63384;
  border: 1px solid #d63384;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

nav.menu a:hover {
  background-color: #d63384;
  color: #fff;
  box-shadow: 0 4px 10px rgba(214, 51, 132, 0.2);
}

/* Hero section (nếu có) */
.hero {
  height: 90vh;
  background: url('../images/background-home.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1.5s ease-in-out;
}

.hero-content p {
  font-size: 1.2rem;
  animation: fadeInUp 2s ease-in-out;
}

/* Giới thiệu */
.intro {
  padding: 4rem 2rem;
  text-align: center;
  background: #fff;
}

.intro h3 {
  font-size: 2rem;
  color: #d63384;
  margin-bottom: 1rem;
}

.intro p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: #444;
}

/* Section nội dung */
.section {
  padding: 4rem 2rem;
  text-align: center;
  animation: fadeInUp 1s ease;
}

.section h2 {
  font-size: 2.5rem;
  color: #d63384;
  margin-bottom: 1rem;
}
/* Thẻ thiệp */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

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

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

.card p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Footer */
footer {
  background-color: #fff;
  padding: 1rem;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

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

/* Responsive cho điện thoại */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav.menu {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.5rem;
  }

  nav.menu a {
    margin-bottom: 0.5rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  .card {
    padding: 1rem;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
