/* ==========================
   HOME DECOR WEBSITE STYLE
   ========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {

  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #faf9f6;

}



.container {

  width: 90%;
  max-width: 1200px;
  margin: auto;

}



/* ==========================
   HEADER
   ========================== */


header {

  background-color: #ffffff;
  padding: 20px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);

}



.nav {

  display: flex;
  justify-content: space-between;
  align-items: center;

}



.logo h2 {

  color: #556b5d;
  font-size: 28px;

}



nav a {

  text-decoration: none;
  color: #444;
  margin-left: 18px;
  font-weight: 600;

}



nav a:hover {

  color: #8a9a7b;

}





/* ==========================
   HERO
   ========================== */


.hero {

  background:
    linear-gradient(rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.35)),
    url("../images/hero.jpg");


  background-size: cover;
  background-position: center;

  padding: 120px 0;

  text-align: center;

  color: white;

}



.hero h1 {

  font-size: 48px;
  margin-bottom: 15px;

}



.hero p {

  font-size: 20px;
  max-width: 700px;
  margin: auto;

}





/* ==========================
   BUTTONS
   ========================== */


.btn {

  display: inline-block;

  margin-top: 20px;

  padding: 12px 28px;

  background-color: #8a9a7b;

  color: white;

  text-decoration: none;

  border-radius: 30px;

  transition: 0.3s;

}



.btn:hover {

  background-color: #6f8062;

}





/* ==========================
   TITLES
   ========================== */


.section-title {

  text-align: center;

  margin: 60px 0 30px;

  font-size: 32px;

  color: #556b5d;

}





/* ==========================
   CARDS
   ========================== */


.cards {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

}



.card {

  background: white;

  border-radius: 15px;

  overflow: hidden;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

}



.card img {

  width: 100%;

  height: 220px;

  object-fit: cover;

}



.card-content {

  padding: 25px;

}



.card h3 {

  color: #556b5d;

  margin-bottom: 10px;

}





/* ==========================
   CATEGORY BUTTONS
   ========================== */


.categories {

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 20px;

}



.categories a {

  background: white;

  padding: 18px 35px;

  border-radius: 30px;

  text-decoration: none;

  color: #556b5d;

  font-weight: bold;

  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);

}



.categories a:hover {

  background: #8a9a7b;

  color: white;

}





/* ==========================
   CONTENT BOX
   ========================== */


.about-box {

  margin-top: 60px;

  margin-bottom: 60px;

  background: white;

  padding: 40px;

  border-radius: 15px;

  text-align: center;

}





/* ==========================
   FOOTER
   ========================== */


footer {

  background: #2f3e35;

  color: white;

  padding: 35px 0;

  text-align: center;

}



footer p {

  margin: 10px 0;

}



footer a {

  color: #ffffff;

  text-decoration: none;

  margin: 0 5px;

}



footer a:hover {

  color: #d8e2c8;

}





/* ==========================
   MOBILE
   ========================== */


@media(max-width:768px) {


  .nav {

    flex-direction: column;

  }


  nav {

    margin-top: 20px;

  }


  .hero h1 {

    font-size: 32px;

  }


  .cards {

    grid-template-columns: 1fr;

  }


  .categories {

    flex-direction: column;

  }


}