@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

/* ===================== */
/* BASE STYLES (DESKTOP) */
/* ===================== */

/* ------------------------------------------Banner Section------------------------------------------------ */

.banner {
  width: 100%;
  background-color: rgba(229, 84, 115, 0.1);
}

.banner-container {
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
}

.banner-content {
  flex: 1;
}

.banner-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(39, 39, 39, 1);
  line-height: 1.1;
}

.banner-content p {
  font-size: 1.1rem;
  color: rgba(39, 39, 39, 0.6);
  margin: 2rem 0;
}

.banner-content button {
  padding: 1.25rem 2.5rem;
  border-radius: 0.5rem;
  border: none;
  background-color: rgba(229, 84, 115, 1);
  font-size: 1.25rem;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.banner-img {
  flex: 1;
}

.banner-img img {
  width: 100%;
  height: auto;
}

/* ------------------------------------------Featured Flower Section--------------------------------------- */
.feature-container {
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
  padding-top: 8rem;
}

.feature-container h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #272727;
}
.feature-container p {
  color: rgba(39, 39, 39, 0.6);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}
.featured-flower-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.featured-flower-card {
  text-align: center;
}

.featured-flower-card span {
  font-weight: bold;
  font-size: 1.25rem;
}

.featured-flower-card span a {
  color: #272727;
}

.featured-flower {
  width: 464px;
  height: 538px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 300px 300px 0 0;
  padding: 6.8rem 4.75rem 0 4.75rem;
  margin-bottom: 2rem;
}

.featured-flower img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.card1 {
  background-color: rgba(167, 33, 98, 0.15);
}
.card2 {
  background-color: rgba(5, 151, 160, 0.15);
}

.card3 {
  background-color: rgba(71, 125, 17, 0.15);
}

/* ....................................Service Section.............................................. */
.service-container {
  max-width: 76%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 6.25rem;
  padding: 5rem 10rem;
  background-color: rgba(39, 39, 39, 0.05);
  border-radius: 0.5rem;
  margin: 8rem auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.service-card p {
  color: rgba(39, 39, 39, 0.8);
  text-align: center;
}

/* .................................Deal Section................................. */
.deal {
  background-color: rgba(229, 84, 115, 0.05);
}
.deal-container {
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11rem;
  padding: 6.25rem 0;
}

.deal-content {
  text-align: center;
}

.deal-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.pink {
  color: #e55473 !important;
}

.deal-content p {
  color: rgba(39, 39, 39, 0.6);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.deal-content button {
  padding: 1.25rem 2.5rem;
  border-radius: 0.5rem;
  border: none;
  background-color: rgba(229, 84, 115, 1);
  font-size: 1.25rem;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.deal-img img {
  width: 100%;
  height: auto;
}

/* ....................................... Instagram Section ..................................... */

.instagram-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8rem 0;
}
.instagram-content {
  text-align: center;
}

.instagram-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.instagram-content p {
  color: rgba(39, 39, 39, 0.6);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.instagram-img-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

/* ................................. Subscribe Section .............................................. */

.subscribe-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 7.6rem 0;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  background-image: url("./Flower Asset/Rectangle 9.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.subscribe-content {
  text-align: center;
}

.subscribe-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.subscribe-content p {
  color: rgba(39, 39, 39, 0.6);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.subscribe-input {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.subscribe-content input {
  padding: 1.4rem;
  border-radius: 0.5rem;
  border: none;
  width: clamp(320px, 60vw, 700px);
  flex-shrink: 1;
  font-size: 1rem;
  color: rgba(39, 39, 39, 0.8);
}

.subscribe-content button {
  padding: 1.25rem 2.5rem;
  border-radius: 0.5rem;
  border: none;
  background-color: rgba(229, 84, 115, 1);
  font-size: 1.25rem;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

/* ................................Footer Section....................................... */
footer {
  background-color: #111010;
  margin-top: 8rem;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-content {
  text-align: center;
}

.footer-content h2 {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
}
.footer-content p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.footer-content span {
  color: rgba(255, 255, 255, 0.4);
}
/* ===================== */
/* >= 1850px */
/* ===================== */

@media (min-width: 1850px) {
  .service-container {
    max-width: 1440px !important;
  }
}

/* ===================== */
/* ≤ 1200px */
/* ===================== */

@media (max-width: 1200px) {
  .banner-container {
    gap: 3rem;
  }

  .banner-content h1 {
    font-size: 3.5rem;
  }

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

  /* .......................Service Section........................ */
  .service-container {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ===================== */
/* ≤ 1000px */
/* ===================== */

@media (max-width: 1000px) {
  .banner-container {
    flex-direction: column;
    text-align: center;
  }

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

  .banner-content p {
    font-size: 0.95rem;
  }

  /* ..............................Deal Section ............................ */
  .deal-container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  .deal-content h2 {
    font-size: 2.5rem;
  }
}

/* ===================== */
/* ≤ 768px (MOBILE) */
/* ===================== */

@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 2.4rem;
  }

  .banner-content button {
    font-size: 1rem;
    padding: 1rem 2rem;
  }

  /* ..............................Deal Section ............................ */

  .deal-content h2 {
    font-size: 2rem;
  }

  .deal-content button {
    padding: 1rem 2.25rem;
    border-radius: 0.5rem;
    border: none;
    background-color: rgba(229, 84, 115, 1);
    font-size: 1rem;
    color: white;
    font-weight: 700;
    cursor: pointer;
  }

  /* ............................. Subscribe Section ............................. */
  .subscribe-input {
    flex-direction: column;
  }

  .subscribe-input input,
  .subscribe-input button {
    width: 100%;
  }

  /* ...............................Footer Section ............................. */
  .footer-content h2 {
    font-size: 2.5rem;
  }
}

/* ===================== */
/* ≤ 480px */
/* ===================== */

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

  /* ..................................Featured Flower Section.............................................. */
  .featured-flower {
    width: 360px;
    height: 438px;
  }

  /* ..............................Deal Section ............................ */

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

  /* ...............................Footer Section ............................. */

  .footer-content h2 {
    font-size: 2rem;
  }
}
