/* styles.css */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f0e6;
  color: #4b3f2f;
}
html {
  scroll-behavior: smooth;
}

.announcement-bar {
  background-color: #a07c54;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.announcement-text {
  flex: 1;
  text-align: center;
}

.announcement-close {
  background-color: transparent;
  border: none;
  color: #ffdddd;
  font-size: 1.2em;
  cursor: pointer;
  padding: 0 8px;
  transition: color 0.3s ease;
}

.announcement-close:hover {
  color: #ffffff;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #8b6f47;
  color: white;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-weight: 800;
  text-transform: uppercase;
}
.logo img{
  height: 40px;
  margin-top: 5px;
}

.navbar-links a {
  color: white;
  text-decoration: none;
  margin-left: 30px;
  font-size: 1em;
  transition: color 0.3s ease;
}

.navbar-links a:hover {
  color: #f5f0e6;
}

.cart-icon {
  margin-left: 20px;
  cursor: pointer;
  font-size: 1.2em;
  position: relative;
  display: inline-flex;
  align-items: center;
  color: white;
}

.cart-count {
  background-color: #a07c54;
  color: white;
  font-size: 0.75em;
  padding: 2px 6px;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  right: -10px;
}


.hero {
  background-color: #d2b48c;
  text-align: center;
  padding: 80px 20px;
}

.shop-btn {
  background-color: #8b6f47;
  color: white;
  padding: 12px 24px;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
}
.carousel {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 2s ease-in-out;
}


.carousel-slide {
  width: 100%;
  height: 50vh;
  flex-shrink: 0;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(75, 63, 47, 0.7);
  padding: 20px 30px;
  border-radius: 8px;
  width: 50%;
  text-align: center;
  color: #fff;
}


.carousel-caption h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.carousel-caption p {
  font-size: 1.2em;
}

.carousel-shop-btn {
  margin-top: 15px;
  background-color: #8b6f47;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.carousel-shop-btn:hover {
  background-color: #a07c54;
}



.product-grid {
  padding: 40px 20px;
  background-color: #fdfaf6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background-color: #e0d4c1;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 15px;
}

.product-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease all;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
  aspect-ratio: 1 / 0.8;
  object-fit: cover;
  border-radius: 15px;
}

.product-card h3 {
  margin: 5px 0;
  font-size: 1.4em;
  color: #4b3f2f;
  text-transform: capitalize;
}

.add-cart {
  background-color: #8b6f47;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.95em;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.add-cart:hover {
  background-color: #a07c54;
}


.view-all {
  margin-top: 20px;
  background-color: #8b6f47;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.view-all-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}


.mission {
  background-color: #d8cbb3;
  padding: 40px 20px;
  text-align: center;
}

.fragrance-safety {
  background-image: url('images/family.jpg'); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 40vh;
  color: white;
}

.fragrance-info-box {
  background-color: rgba(75, 63, 47, 0.8); /* Earthy overlay */
  padding: 30px 40px;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fragrance-info-box h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #fdfaf6;
  border-bottom: 2px solid white;
  width: fit-content;
}

.fragrance-info-box ul {
  list-style: disc;
  padding: 0;
  margin: 20px 0;
}

.fragrance-info-box li {
  margin-bottom: 10px;
  font-weight: 500;
}

.ingredients-grid {
  background-color: #fdfaf6;
  padding: 60px 20px;
  text-align: center;
}

.ingredients-grid h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #8b6f47;
}
.ingredient-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.ingredient-card {
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ingredient-card i {
  font-size: 3em;
  color: #8b6f47;
  margin-bottom: 10px;
}

.ingredient-card p {
  font-size: 0.95em;
  color: #4b3f2f;
  font-weight: 500;
}

.sustainable-packaging {
  background-color: #e0d4c1;
  background: url(images/trees.jpg) no-repeat center;
    background-size: cover;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #4b3f2f;
}

.packaging-info-box {
  max-width: 600px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.packaging-info-box h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #8b6f47;
}

.packaging-info-box ul {
  list-style: disc;
  padding-left: 20px;
  margin: 20px 0;
}

.packaging-info-box li {
  margin-bottom: 10px;
  font-weight: 500;
}



footer {
  background-color: #4b3f2f;
  color: white;
  text-align: center;
  padding: 1px;
}
