/*GENERAL*/
body {
  font-family: 'Lora', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/*HEADER*/
.header {
  background-image: url('orange\ and\ pink.jpg');
  background-size: cover;
  background-position: center;
  height: 100px;
  padding: 60px;
  text-align: center;
  font-size: 20px;
}

/*TOP NAV*/
.topnav {
  background-color: white;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.topnav a {
  color: #000000;
  text-align: center;
  padding: 20px 22px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #fff3f0;
  color: black;
}

.topnav a.active {
  background-color: #fff3f0;
  color: black;
}

/* HOME PAGE HEADERS */
.heading h1 {
  font-family: 'Croissant One', cursive;
  font-size: 32px;
  font-weight: normal;
  color: #e76e70;
  text-align: center;
}

/* DESIGN CONTAINER */
.design-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 50px auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}

/* FLORA SECTION - needs width 100% to prevent flex body from squeezing grid */
.flora-section {
  width: 100%;
  box-sizing: border-box;
}

/* DESIGN CARDS */
.design-item {
  background-color: white;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 400px;
}

/* Images */
.design-item img {
  width: 100%;
  max-width: 280px;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #f0f0f0;
}

/* Titles */
.design-item h2 {
  margin: 0 0 15px 0;
  color: #4e7c9d;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* Descriptions */
.design-item p {
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  flex-grow: 1;
}

/* Hover Effect */
.design-item:hover {
  box-shadow: 0 10px 40px rgba(255, 203, 204, 0.3);
  transform: translateY(-5px);
}

/* FOOTER */
.footer {
  background-color: #ffcbcc;
  color: black;
  text-align: center;
  padding: 20px 0;
  position: relative;
  margin-top: auto;
}

.social-icons {
  position: absolute;
  bottom: 10px;
  left: 20px;
  display: flex;
  gap: 20px;
}

.footer-icon {
  width: 30px;
  height: auto;
}

.footer-icon:hover {
  transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .design-container {
    grid-template-columns: repeat(3, 1fr);
  }
  #quote-header {
    font-size: 24px;
  }
}

@media (max-width: 900px) {
  .design-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }
  .header {
    padding: 40px;
    height: 80px;
  }
  #quote-header {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .design-container {
    grid-template-columns: 1fr;
  }
  .design-item {
    min-height: auto;
  }
  .heading h1 {
    font-size: 26px;
  }
  .header {
    padding: 30px;
    height: 60px;
  }
  #quote-header {
    font-size: 18px;
  }
  .topnav a {
    padding: 15px 18px;
    font-size: 15px;
  }
}