/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Akaya Telivigala', sans-serif;
  background-color: rgba(178, 152, 158, 0.18);
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

@media screen and (max-width: 768px) {
  html {
    font-size: 50.25%;
  }
}

/* Container */
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

/* Navigation */
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 120px;
  background-color: #cec3c5;
  padding: 10px;
}

.logo,
.links,
.end {
  color: rgb(0, 0, 0);
  display: flex;
  align-items: center;
}

.logo {
  flex: 1;
  font-size: 3.3rem;
  font-family: 'Allura', cursive;
}

.links {
  flex: 2;
  justify-content: center;
}

.links ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.links li {
  margin: 0 10px;
}

.links li a {
  font-size: 1.8rem;
  color: rgb(0, 0, 0);
  text-shadow: 2px 2px 5px #6f545a;
  text-decoration: none;
  padding: 14px 16px;
  display: block;
  transition: color 0.3s ease;
}

.links li a:hover {
  color: #6f4949;
}

.end {
  flex: 1;
  justify-content: flex-end;
  padding: 20px;
}

.end a {
  margin-left: 20px;
}

.end img {
  width: 24px;
  height: 24px;
}

@media screen and (max-width: 885px) {
  .nav {
    display: block;
  }

  .links,
  .end {
    display: none;
  }
}

/* Welcome Section */
.welcome {
  height: calc(100vh - 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f1edee;
  box-shadow: 0 0 10px #ddd;
  z-index: 8;
  position: relative;
  clip-path: polygon(100% 0, 100% 30%, 100% 91%, 80% 95%, 50% 100%, 0 91%, 0 0);
}

.welcome img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome .talk {
  position: absolute;
  width: 350px;
}

@media (max-width: 767px) {
  .welcome .talk {
    width: 200px;
  }
}

.welcome .talk span {
  display: block;
  font-size: 4rem;
  font-weight: bold;
  position: relative;
  margin-bottom: 10px;
  text-shadow: 0px 0px 1px black;
}

@media (max-width: 767px) {
  .welcome .talk span {
    font-size: 3rem;
  }
}

.welcome .talk span:nth-child(1)::before,
.welcome .talk span:nth-child(3)::after {
  font-size: 2.5rem;
}

.welcome .talk span:nth-child(2) {
  text-align: right;
  margin-right: 20px;
}

.welcome .talk span:nth-child(3)::after {
  font-size: 0.7rem;
}

.welcome .talk span:nth-child(3) {
  margin-left: 20px;
}

.welcome .talk .button {
  width: fit-content;
  margin: 30px auto 0;
  border-radius: 10px;
  box-shadow: 0px 11px 35px 0;
  cursor: pointer;
  transition: box-shadow 0.3s ease, color 0.3s ease;
}

.welcome .talk .button p {
  font-size: 2rem;
  font-weight: bold;
  background-color: #d2c2c5;
  padding: 10px 40px;
  border-radius: 10px;
  margin: 0;
}

.welcome .talk .button:hover {
  color: #5a4848;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Horizontal Rule */
hr {
  box-shadow: 2px 2px 10px #000000;
  border: none;
  height: 1px;
  background-color: #6e535a;
  margin: 40px 0;
}

/* About Section */
.About {
  background-color: #f1edee;
  padding-block: 40px;
  box-shadow: 0 0 10px #ddd;
  z-index: 6;
  position: relative;
}

.About .container {
  position: relative;
  margin-bottom: 50px;
}

h2 {
  margin-left: 8%;
  color: #6e535a;
  font-size: 4.3rem;
  position: relative;
  width: fit-content;
  opacity: 0.9;
  text-shadow: 0px 2px 2px rgb(106, 104, 104);
}

h2::before {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 40%;
  height: 3px;
  background-color: #6e535a;
}

.quality-flower {
  width: 80%;
  margin-left: 10%;
  height: 400px;
  margin-top: 30px;
  position: relative;
  display: flex;
  border: 2px solid #6e535a;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.left-section {
  width: 50%;
  height: 100%;
  background-color: #ccbbbe;
  position: relative;
}

.left-section::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  background-image: url('./images/download (14).jpeg');
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

.right-section {
  width: 50%;
  height: 100%;
  background-color: #ede9ea;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  .About .container .quality-flower .left-section {
    display: none;
  }

  .About .container .quality-flower .right-section {
    width: 100%;
  }
}

.About .container .right-section h3 {
  color: #6e535a;
  font-size: 3.5rem;
  width: fit-content;
  margin: 0 auto;
  text-align: right;
}

.About .container .right-section span {
  color: #6e535a;
  font-size: 3.5rem;
  font-weight: bold;
  display: block;
  text-align: center;
  margin-left: 225px;
}

@media (max-width: 425px) {
  .About .container .right-section span {
    margin-left: 150px;
  }
}

.About .container .right-section p {
  color: #6e535a;
  font-size: 1.6rem;
  width: 300px;
  margin: 30px auto;
  font-weight: bold;
  line-height: 2;
}

.About .container .right-section .button {
  width: fit-content;
  margin: auto;
  background-color: #dac9cc;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

.About .container .right-section .button a {
  font-size: 1.4rem;
  color: #5e5758;
  display: block;
  position: relative;
  padding: 10px 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.About .container .right-section .button a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  transition: 0.3s;
  background-color: #b2989e;
  z-index: -1;
}

.About .container .right-section .button a:hover {
  color: white;
}

.About .container .right-section .button a:hover::before {
  width: 100%;
  background-color: #b2989e;
}

/* Links and buttons */
a {
  text-decoration: none;
}

button {
  background-color: #d9c3c3;
  color: #7e5f5f;
  border: none;
  padding: 10px 20px;
  margin: 20px;
  height: 50px;
  border-radius: 8px;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.19);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
  background-color: #b8a0a0;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Titles */
.titl {
  height: 50px;
  margin: 25px;
  text-align: center;
  padding: 15px;
  font-size: 4.5rem;
  color: #6e535a;
  text-shadow: 2px 2px 5px #6f545a;
}

/* Branches images */
.images {
  display: flex;
  justify-content: space-around;
  background-color: #f7eeee;
  margin: 40px 40px 0 40px;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  width: 250px;
  border-radius: 15px;
  background-color: #b4a5a5;
  color: rgba(0, 0, 0, 0.7);
  text-align: center;
  padding-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.19);
  margin-bottom: 20px;
}

.card img {
  width: 100%;
  height: 300px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  object-fit: cover;
}

.shop-name {
  font-size: 2rem;
  padding: 10px 0;
  font-weight: bold;
  color: black;
}

/* Flower collections */
.flower {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #f0f0f0;
  margin: 50px;
}

.image-container {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.19);
  width: 200px;
  height: 200px;
  margin: 10px;
  overflow: hidden;
  border-radius: 8px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* See more button */
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  margin: 10px;
}

.see-more {
  border: none;
  height: 80px;
  width: 200px;
  text-align: center;
  background-color: #d9c3c3;
  color: #7e5f5f;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 1.6rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.19);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.see-more:hover {
  background-color: #7e5f5f;
  color: #d9c3c3;
}

/* Why choose us section */
.cont {
  text-align: center;
  margin: 50px auto;
  max-width: 900px;
}

.description {
  font-size: 1.8rem;
  padding: 20px;
  margin: 30px;
  color: #5e4c55;
  font-style: italic;
}

/* Boxes section */
.boxes {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 50px auto;
  max-width: 1200px;
  flex-wrap: wrap;
  gap: 20px;
}

.coner {
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  flex: 1 1 300px;
  background-color: #f7eaea;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(107, 79, 79, 0.2);
}

.up {
  margin: 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.up img {
  width: 100px;
  height: auto;
  text-align: center;
}

.up span {
  font-size: 3.2rem;
  font-weight: bold;
  color: #6b4f4f;
  text-align: center;
}

.down {
  margin: 20px;
  font-size: 1.6rem;
  color: #6b4f4f;
  text-align: center;
}

.down ul {
  list-style-type: disc;
  padding-left: 20px;
}

.down ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .coner {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    width: 100%;
  }

  .boxes {
    flex-direction: column;
    align-items: center;
  }

  .box {
    margin-right: 0;
  }

  .images {
    flex-direction: column;
    align-items: center;
  }
}

/* Footer */
.footers {
  padding-top: 40px;
  background-color: #b1979e;
  padding: 30px 0;
  text-align: center;
  height: 300px;
}

.footers h3 {
  color: #000;
  margin-bottom: 20px;
  font-size: 4rem;
  font-family: 'Allura', cursive;
}

.footers a {
  text-decoration: underline;
  color: #5e5154;
  display: inline-block;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.footers a:hover {
  color: white;
  text-decoration: none;
}

.boxess {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.box {
  margin-right: 20px;
  font-size: 1.8rem;
  min-width: 150px;
}

.box ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.box li {
  margin-bottom: 5px;
}

.box span,
.contact-Us span {
  font-weight: bold;
  font-size: 3.3rem;
  display: block;
  color: #000000;
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icons ul {
  display: flex;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.icons ul li i {
  font-size: 3.5rem;
  color: #5e5154;
  transition: color 0.3s ease;
}

.icons ul li i:hover {
  color: #000;
}

.contact-Us {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-Us ul {
  list-style: none;
  font-size: 2.5rem;
  padding-left: 0;
  margin-top: 5px;
}

.contact-Us ul li {
  color: #5e5154;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.Copyright {
  text-align: center;
  background-color: #6e5459;
  padding-block: 15px;
  color: rgb(255, 255, 255);
  font-size: 1.6rem;
}

footer .Copyright p span {
  color: #a58b91;
}

/* Responsive footer */
@media screen and (max-width: 768px) {
  .boxess {
    flex-direction: column;
    align-items: center;
  }

  .footers {
    height: auto;
    padding-bottom: 40px;
  }
}