@import url("https://fonts.googleapis.com/css2?family=Allura&display=swap");

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: #111;
  background-color: #f4f6f4;
}

h1,
h2,
h3 {
  font-family: "Allura";
  font-weight: normal;
}

p {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

/* Opening Section */
.opening {
  width: 100%;
  min-height: 100vh;
  background: url("../img/Frame-203.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #f4f6f4;
  padding: 20px;
  box-sizing: border-box;
}

.opening h1 {
  font-size: 64px;
  margin-bottom: 20px;
}

.opening p {
  font-size: 20px;
}

/* Hero */
.hero {
  width: 100%;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #283128;
  padding: 40px 20px;
  box-sizing: border-box;
}

.hero h1 {
  font-size: 56px;
  max-width: 900px;
  margin: 20px auto;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.bg {
  background: #f4f6f4;
  width: 100%; /* default penuh layar */
  max-width: 700px; /* jangan lebih dari 700px di layar besar */
  margin: 0 auto; /* supaya rata tengah */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(185, 189, 185, 0.418);
  padding: 20px; /* biar isi tidak mepet */
  box-sizing: border-box;
}

/* Tablet */
@media (max-width: 1024px) {
  .bg {
    max-width: 90%;
    padding: 18px;
  }
}

/* HP */
@media (max-width: 768px) {
  .bg {
    max-width: 95%;
    padding: 15px;
  }
}

/* HP kecil */
@media (max-width: 480px) {
  .bg {
    max-width: 100%;
    padding: 12px;
  }
}

/* Section */
.section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.section h2 {
  font-size: 48px;
  text-align: center;
  margin-bottom: 10px;
}

.section p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
}

/* Bouquet list */
.bouquet {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 80px;
  align-items: center;
}

.bouquet:nth-child(even) {
  flex-direction: row-reverse;
}

.bouquet img {
  flex: 1 1 40%;
  max-width: 500px;
  width: 100%;
  border-radius: 10px;
}

.bouquet-text {
  flex: 1 1 50%;
  min-width: 280px;
}

.bouquet-text h3 {
  font-size: 36px;
  margin: 0 0 15px;
}

.bouquet-text p {
  margin-bottom: 10px;
  font-size: 16px;
}

.price {
  font-size: 16px;
  font-weight: 500;
  margin-top: 10px;
}

/* ========================= */
/*  RESPONSIVE BREAKPOINTS   */
/* ========================= */

/* Tablet */
@media (max-width: 1024px) {
  .opening h1 {
    font-size: 48px;
  }
  .hero h1 {
    font-size: 42px;
    padding: 0 20px;
  }
  .section h2 {
    font-size: 36px;
  }
}

/* HP */
@media (max-width: 768px) {
  .opening h1 {
    font-size: 36px;
  }
  .opening p {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 14px;
  }

  .bouquet {
    flex-direction: column !important;
    text-align: center;
  }

  .bouquet img,
  .bouquet-text {
    flex: 1 1 100%;
    width: 100%;
  }

  .bouquet-text h3 {
    font-size: 24px;
  }
}

/* HP kecil */
@media (max-width: 480px) {
  .opening h1 {
    font-size: 28px;
  }
  .opening p {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 24px;
  }
  .hero p {
    font-size: 13px;
  }

  .section h2 {
    font-size: 24px;
  }
}
