* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  background-color: #ffffff;
  color: #272727;
}

header {
  background-color: rgba(229, 84, 115, 0.1);
}

/* Header Section */

.banner {
  max-width: 1920px;
  height: 850px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
}

.banner h1 {
  color: #272727;
  font-family: Lato;
  font-size: 80px;
  font-weight: 800;
  padding: 0 40px;
}

.banner p {
  color: rgba(39, 39, 39, 0.6);
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  margin: 32px 0;
  padding: 0 40px;
}

.banner a {
  display: inline-flex;
  padding: 20px 43px;
  align-items: flex-start;
  gap: 10px;
  border-radius: 8px;
  background: #e55473;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  margin-left: 40px;
}

.banner-image {
  max-width: 635px;
  height: 800px;
  margin-right: 40px;
}

.banner-image-wrapper {
  display: flex;
  align-items: flex-end;
  height: 100%;
}

/*Featured Flowers Section */

.featured-flowers-text > h3 {
  color: #272727;
  text-align: center;
  font-family: Lato;
  font-size: 40px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  margin-top: 178px;
}

.featured-flowers-text > p {
  color: rgba(39, 39, 39, 0.6);
  width: 594px;
  text-align: center;
  margin: auto;
  margin-top: 24px;
  margin-bottom: 48px;
  font-family: Lato;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.featured-flowers-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-left: 240px;
  margin-right: 240px;
}

.featured-flowers {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.flower-bg {
  width: 420px;
  height: 487px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 300px 300px 0 0;
  margin-bottom: 24px;
}

.pink-bg {
  background: rgba(167, 33, 98, 0.15);
}

.blue-bg {
  background: rgba(5, 151, 160, 0.15);
}

.yellow-bg {
  background: rgba(71, 125, 17, 0.15);
}

.featured-flowers a {
  color: #272727;
  font-size: 24px;
  font-weight: 700;
  line-height: 35px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

/* Customer Support Section */

.customer-support-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin: 128px auto 0 auto;
  max-width: 1320px;
  height: 320px;
  border-radius: 8px;
  background: rgba(39, 39, 39, 0.05);
  box-sizing: border-box;
}

.customer-support-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.customer-support-item img {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
}

.customer-support-item p {
  color: rgba(39, 39, 39, 0.8);
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 35px;
}

/*Hot deal section*/

.hot-deal-container {
  max-width: 1920px;
  height: 620px;
  margin: 128px auto 0 auto;
  border-radius: 8px;
  background: rgba(229, 84, 115, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 100px;
}

.hot-deal-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hot-deal-content h2 {
  color: #272727;
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}

.hot-deal-off {
  color: #e55473;
}

.hot-deal-content p {
  color: rgba(39, 39, 39, 0.6);
  font-size: 18px;
  text-align: center;
  margin-bottom: 32px;
  max-width: 500px;
}

.hot-deal-btn {
  display: inline-block;
  background: #e55473;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 8px;
  padding: 20px 43px;
  text-decoration: none;
}

.hot-deal-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hot-deal-image {
  max-width: 320px;
  height: auto;
  display: block;
}

/* Instagram Section */

.instagram {
  max-width: 1920px;
  width: 100%;
  margin: 128px auto 0 auto;
  background: #fff;
  box-sizing: border-box;
  padding: 0 110px;
}

.instagram-text {
  text-align: center;
  margin-bottom: 48px;
}

.instagram-text h3 {
  color: #272727;
  font-family: Lato;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 24px;
}

.instagram-text p {
  color: rgba(39, 39, 39, 0.6);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  max-width: 700px;
  margin: 0 auto;
}

.instagram-gallery {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.instagram-item {
  width: 342px;
  height: 396px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(39, 39, 39, 0.08);
  overflow: hidden;
}

/* Subscribe Section */

.subscribe-section {
  width: 100%;
  height: 450px;
  margin: 128px 0 0 0;
  background: url("./Asset/Rectangle 9.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subscribe-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.subscribe-content h2 {
  color: #272727;
  text-align: center;
  font-family: Lato;
  font-size: 40px;
  font-weight: 800;
}

.subscribe-content p {
  color: rgba(39, 39, 39, 0.6);
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 48px;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 18px 24px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  font-weight: 400;
  background: #fff;
  color: rgba(39, 39, 39, 0.6);
}

.subscribe-form button {
  padding: 18px 36px;
  border-radius: 8px;
  border: none;
  background: #e55473;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

/* Footer Section */

footer {
  max-width: 1920px;
  height: 449px;
  flex-shrink: 0;
  background-color: #111010;
  margin: 128px auto 0 auto;
  text-align: center;
  box-sizing: border-box;
  justify-content: center;
}

footer > h1 {
  color: #e55473;
  font-size: 48px;
  font-weight: 800;
  padding-top: 128px;
  padding-bottom: 24px;
}

#shop {
  color: #fff;
}

footer > p {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  padding-bottom: 32px;
  width: 625px;
  margin: auto;
}

#copyright {
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  font-size: 16px;
  font-weight: 400;
}

/* Responsive CSS */

@media (max-width: 1440px) {
  /* Banner section */
  .banner {
    height: auto;
    width: 100vw;
    max-width: 1440px;
    padding: 0px 10px;
    padding-top: 60px;
    box-sizing: border-box;
  }

  .banner p {
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0 40px;
  }

  .banner-image-wrapper {
    justify-content: center;
    margin: 0;
  }

  .banner-image {
    max-width: 45vw;
    height: auto;
    margin: 0 auto;
    margin-top: 32px;
  }

  /* ===== Featured Flowers ===== */
  .featured-flowers-text > h3 {
    font-size: 48px;
    margin-top: 60px;
  }

  .featured-flowers-text > p {
    width: auto;
    max-width: 100%;
    padding: 0 20px;
    margin-bottom: 24px;
    line-height: 20px;
  }

  .featured-flowers-container {
    flex-direction: column;
    margin: 0 auto;
    gap: 24px;
    max-width: 100vw;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .featured-flowers {
    align-items: center;
    margin-bottom: 20px;
  }

  /* ===== Customer Support ===== */
  .customer-support-container {
    flex-direction: column;
    height: auto;
    padding: 40px 10px;
    gap: 30px;
  }
  .customer-support-item {
    margin-bottom: 0;
  }

  /* ===== Hot Deal Section ===== */
  .hot-deal-container {
    flex-direction: column;
    height: auto;
    padding: 40px 10px;
    gap: 30px;
  }
  .hot-deal-content {
    text-align: center;
    margin-bottom: 0;
  }
  .hot-deal-image-wrapper {
    justify-content: center;
    margin: 0 auto;
  }
  .hot-deal-image {
    max-width: 90vw;
    height: auto;
    margin: 0 auto;
  }

  /* ===== Instagram Section ===== */
  .instagram {
    padding: 0 10px;
  }
  .instagram-gallery {
    gap: 16px;
    padding: 0;
    box-sizing: border-box;
  }
  .instagram-item {
    width: 310px;
    height: 330px;
    margin: 0 auto 10px auto;
    max-width: 90vw;
    object-fit: cover;
  }

  /* ===== Subscribe Section ===== */

  .subscribe-content {
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
    margin: 0 auto;
    text-align: center;
  }

  .subscribe-content h2 {
    font-size: 32px;
  }

  .subscribe-content p {
    font-size: 16px;
    line-height: 26px;
  }
  .subscribe-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    margin: 0 auto;
  }
  .subscribe-form input[type="email"],
  .subscribe-form button {
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
    font-size: 1rem;
  }

  /* ===== Footer ===== */
  footer {
    width: 100%;
    height: auto;
    margin: 20px 0 0 0;
    padding: 20px 10px 0 10px;
  }

  footer > h1 {
    padding-top: 24px;
  }

  footer > p {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 1200px) {
  .banner h1 {
    font-size: 4rem;
  }

  .banner p {
    font-size: 1rem;
  }

  .banner-image {
    max-width: 40vw;
  }

  .instagram {
    padding: 0 60px;
  }

  .instagram-gallery {
    gap: 16px;
  }

  .instagram-item {
    width: 280px;
    height: 320px;
  }

  .instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .instagram-text h3 {
    font-size: 36px;
  }

  .instagram-text p {
    max-width: 600px;
  }

  .featured-flowers-container {
    margin-left: 150px;
    margin-right: 150px;
    gap: 20px;
  }

  .flower-bg {
    width: 340px;
    height: 400px;
  }

  .flower-bg img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
  }

  .featured-flowers a {
    font-size: 22px;
  }

  .subscribe-section {
    width: 100%;
    height: 350px;
    margin: 60px 0;
    padding: 30px 20px;
  }

  .subscribe-content h2 {
    font-size: 36px;
  }

  .subscribe-content p {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .banner h1 {
    font-size: 2.8rem;
  }

  .banner-image {
    max-width: 40vw;
  }

  .instagram {
    padding: 0 40px;
  }

  .instagram-gallery {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .instagram-item {
    width: 250px;
    height: 280px;
  }

  .instagram-text p {
    max-width: 500px;
  }

  .featured-flowers-container {
    margin-left: 80px;
    margin-right: 80px;
    gap: 16px;
  }

  .flower-bg {
    width: 300px;
    height: 350px;
  }

  .flower-bg img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
  }

  .featured-flowers a {
    font-size: 20px;
  }

  .subscribe-section {
    width: 100%;
    height: 320px;
    margin: 50px 0;
    padding: 30px 15px;
  }

  .subscribe-content h2 {
    font-size: 32px;
  }

  .subscribe-content p {
    font-size: 15px;
    line-height: 24px;
  }

  .subscribe-form {
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
  }

  .subscribe-form input[type="email"],
  .subscribe-form button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .banner {
    flex-direction: column;
  }

  .banner h1 {
    font-size: 3rem;
  }

  .banner p {
    font-size: 1rem;
  }

  .banner-image {
    max-width: 60vw;
    width: 100%;
  }

  .featured-flowers-text > h3 {
    font-size: 40px;
  }

  .featured-flowers-text > p {
    width: 85%;
    font-size: 16px;
    margin: 0 auto 32px auto;
  }

  .featured-flowers-container {
    margin-left: 60px;
    margin-right: 60px;
    gap: 16px;
  }

  .flower-bg {
    width: 280px;
    height: 330px;
    align-items: flex-end;
  }

  .flower-bg img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
  }

  .instagram {
    padding: 0 30px;
  }

  .instagram-gallery {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .instagram-item {
    width: 300px;
    height: 340px;
  }

  .instagram-text p {
    max-width: 480px;
  }

  .hot-deal-content h2 {
    font-size: 32px;
  }

  .subscribe-section {
    width: 100%;
    height: 300px;
    margin: 40px 0;
    padding: 25px 15px;
  }

  .subscribe-content h2 {
    font-size: 28px;
  }

  .subscribe-content p {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 30px;
  }

  .subscribe-form {
    flex-direction: row;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
  }

  .subscribe-form input[type="email"] {
    flex: 1;
  }
}

@media (max-width: 576px) {
  .banner h1 {
    font-size: 3rem;
  }

  .banner p {
    font-size: 0.85rem;
  }

  .featured-flowers-text > h3 {
    font-size: 32px;
  }

  .featured-flowers-text > p {
    width: 90%;
    font-size: 15px;
    line-height: 24px;
  }

  .featured-flowers-container {
    flex-direction: column;
    margin-left: 20px;
    margin-right: 20px;
    align-items: center;
    gap: 24px;
  }

  .flower-bg {
    width: 260px;
    height: 300px;
    align-items: flex-end;
  }

  .flower-bg img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
  }

  .instagram {
    padding: 0 20px;
  }

  .instagram-gallery {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .instagram-item {
    width: 280px;
    height: 320px;
    max-width: 90vw;
  }

  .instagram-text p {
    max-width: 450px;
  }

  .hot-deal-content h2 {
    font-size: 28px;
  }

  .subscribe-section {
    width: 100%;
    height: 280px;
    margin: 30px 0;
    padding: 20px 15px;
  }

  .subscribe-content h2 {
    font-size: 24px;
  }

  .subscribe-content p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 25px;
  }

  .subscribe-form {
    flex-direction: column;
    gap: 8px;
    max-width: 300px;
    margin: 0 auto;
  }

  .subscribe-form input[type="email"] {
    padding: 14px 18px;
    font-size: 14px;
  }

  .subscribe-form button {
    padding: 14px 24px;
    font-size: 16px;
  }

  footer > h1 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .banner h1 {
    font-size: 2.7rem;
  }

  .banner p {
    font-size: 1rem;
  }

  .featured-flowers-text > h3 {
    font-size: 28px;
  }

  .featured-flowers-text > p {
    width: 95%;
    font-size: 14px;
    line-height: 22px;
  }

  .featured-flowers-container {
    margin-left: 15px;
    margin-right: 15px;
    gap: 20px;
  }

  .flower-bg {
    width: 220px;
    height: 260px;
    align-items: flex-end;
  }

  .flower-bg img {
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
  }

  .featured-flowers a {
    font-size: 18px;
  }

  .instagram {
    padding: 0 15px;
  }

  .instagram-item {
    width: 250px;
    height: 280px;
    max-width: 85vw;
  }

  .hot-deal-content h2 {
    font-size: 24px;
  }

  .subscribe-section {
    width: 100%;
    height: 260px;
    margin: 25px 0;
    padding: 18px 12px;
  }

  .subscribe-content h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .subscribe-content p {
    font-size: 13px;
    line-height: 19px;
    margin-bottom: 20px;
  }

  .subscribe-form {
    flex-direction: column;
    gap: 8px;
    max-width: 280px;
    margin: 0 auto;
  }

  .subscribe-form input[type="email"] {
    padding: 12px 16px;
    font-size: 13px;
  }

  .subscribe-form button {
    padding: 12px 20px;
    font-size: 15px;
  }

  footer > h1 {
    font-size: 32px;
  }

  .customer-support-item p {
    font-size: 20px;
  }
}
