/* Stylesheet for index.html */
.main-content-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 35px;
}

.promo-item,
.testimonial-item,
.featured-item {
  display: none; /* Hide all by default */
}

.promo-item.visible,
.testimonial-item.visible,
.featured-item.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Show visible or active items */
}

.testimonial-item:active {
  
}

#left-side,
#category-nav {
  flex: 1;
  box-shadow: var(--shadow-strong);
  max-width: 300px;
}

#left-side {
  display: flex;
  flex-direction: column;
  background-color: var(--color-soft-golden);
  border: solid var(--color-destin-sand);
  padding: 5px 10px;
  margin-top: 10px;
  margin-left: 0;
  border-radius: 10px;
}

#left-side h2 {
  border: solid var(--color-dark-green);
  background-color: var(--color-light-teal);
  border-radius: 10px;
}

#promos-container {
  background-color: var(--color-mid-green);
  color: var(--color-dark-green);
  border: solid var(--color-dark-green);
  border-radius: 10px;
  padding: 5px 10px;
  margin-top: 5px;
  text-align: center;
  box-shadow: var(--shadow-strong);
}

.promo-item {
  background-color: var(--color-destin-sand);
  color: var(--color-dark-green);
  border: solid var(--color-dark-green);
  border-radius: 10px;
  padding: 5px 10px;
  white-space: normal;
  max-height: 250px;
  min-height: 250px;
  max-width: 350px;
  box-shadow: var(--shadow-strong);
  text-align: center;
}

#promos-heading, #testimonials-heading {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 1.875rem; /* 30px for title */
  box-shadow: var(--shadow-strong);
}

/* --- TESTIMONIALS --- */

#testimonials-container{
  background-color: var(--color-mid-green);
  color: var(--color-dark-green);
  border: solid var(--color-dark-green);
  border-radius: 10px;
  padding: 5px 10px;
  margin-top: 10px;
  white-space: normal;
  box-shadow: var(--shadow-strong);
}

#testimonials-container h2 {
  font-size: 1.675rem;
  text-align: center;
}

.testimonial-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-destin-sand);
  color: var(--color-dark-green);
  border: solid var(--color-dark-green);
  border-radius: 5px;
  padding: 5px 10px;
  white-space: normal;
  max-height: 275px;
  max-width: 350px;
  min-height: 275px;
  box-shadow: var(--shadow-strong);
  text-align: center;
}


/* FEATURED ITEMS */
#featured-container {
  display: flex;
  flex: 2;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 10px;
  margin-left: 50px;
  margin-right: 50px;
}

#featured-container h2 {
  font-size: 2.675rem;
  text-align: center;
  text-shadow: var(--text-shadow-layered);
  color: var(--color-destin-sand);
  background-color: var(--color-mid-green);
  border: solid var(--color-destin-sand);
  border-radius: 15px;
  width: fit-content;
  padding: 0 50px;
  margin: 0px;
  box-shadow: var(--shadow-medium);
}
  
#featured-container ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  box-shadow: var(--shadow-strong);
}

#featured-list {
  border: solid var(--color-mid-green);
  border-radius: 10px;
  box-shadow: var(--shadow-strong);

}


#featured-list a {
  color: var(--color-dark-green);
  background-color: var(--color-destin-sand);
  border-radius: 10px;
  padding: 0px 10px;
  display: block;
  text-align: center;
  font-size: 1.4rem;
  color:var(--color-dark-green);
}

#featured-list {
  min-width: 710px;
  background-color: var(--color-destin-sand);
}

#featured-list img {
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;
  box-shadow: var(--shadow-strong);
  width: 480px;
  height: 320px;
}

#featured-list {
  overflow: hidden; /* Hide anything outside the container */
  /*text-align: center; 
  width: 100%; */
  height: auto; /* Let the height adapt to content */
}

.featured-card h3,
.featured-card p,
.feature-card figure,
.featured-card figcaption {
    margin: 0;
    padding: 0;
}

.featured-card h3.product-name {
    margin-top: 5px;
}

.featured-card p.price {
    margin-top: 5px;
}

figcaption {
  font-size: 1.2rem;
}

#featured-list img {
  max-width: 100%; /* Ensure images are responsive */
  height: auto; /* Maintain aspect ratio */
  background-color: var(--color-mid-green);
  border: solid var(--color-dark-green);
  border-radius: 5px;
  padding: 5px;
}

h3.product-name {
  font-size: 1.6rem;
  margin-bottom: 5px;
  padding-bottom: 0;
}

p.short-description {
  font-size: 1.1rem;
}

#featured-container a {
  text-decoration: none;
}