/* Sweet Pea's Health and Beauty Custom Styles */

body {
  font-family: 'Merriweather', serif;
  background-color: #fdf6f9;
  color: #2f2f2f;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  color: #d16ba5;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #a04477;
}

/* Header Layout */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */

.logo img {
  max-height: 60px;
  width: auto;
  height: auto;
}

/* Navigation */

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  font-size: 1rem;
  color: #a04477;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: #d16ba5;
}

.hero {
  height: 100vh;
  position: relative;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  height: 100%;
  display: flex;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-overlay {
  position: absolute;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.75);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 600px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hero-slide {
  background-size: cover;
  background-position: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(255, 255, 255, 0.75);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 600px;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  color: #a04477;
}

.hero-overlay p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #555;
}

.swiper-button-next,
.swiper-button-prev {
  color: #a04477;
}

.swiper-pagination-bullet-active {
  background-color: #a04477;
}

.swiper-slide {
  width: 100%;
}


.button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  font-size: 1rem;
  color: #fff;
  background-color: #d16ba5;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #a04477;
}

/* Section Styles */

.section {
  padding: 80px 20px;
  text-align: center;
}

.section:nth-child(even) {
  background-color: #fff;
}

.section:nth-child(odd) {
  background-color: #fef1f6;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #a04477;
}

.section p {
  max-width: 800px;
  margin: 0 auto;
  color: #555;
}

/* Product Grid */

.product-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.product-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  width: 280px;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #a04477;
}

.product-card p {
  font-size: 0.95rem;
  color: #444;
}

/* Footer */

.site-footer {
  background-color: #a04477;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.95rem;
}

.site-footer a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.1rem;
}

/* Responsive Design */

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 10px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .product-grid {
    flex-direction: column;
    align-items: center;
  }
}

form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  color: #a04477;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.error-message {
  color: red;
  font-size: 0.9rem;
}

.form-success {
  color: green;
  margin-top: 20px;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-text {
  flex: 1 1 400px;
  text-align: left;
}

.about-text h2 {
  font-size: 2rem;
  color: #a04477;
  margin-bottom: 10px;
}

.about-text p {
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
}

.about-image {
  flex: 1 1 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .hero {
    height: 100vh;
  }

  .hero-swiper {
    height: 100%;
  }

  .swiper-wrapper {
    display: flex;
    height: 100%;
  }

  .swiper-slide {
    height: 100%;
    padding: 40px 20px;
    flex-direction: column;
    justify-content: center;
  }

  .hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.75);
    padding: 1.5rem;
    max-width: 90%;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    background-color: #fff;
    padding: 20px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .main-nav ul li a {
    font-size: 1.2rem;
  }
}


.eco-image {
  margin: 30px auto;
  text-align: center;
}

.eco-image img {
  width: 300px;           /* You can adjust this size */
  height: 300px;
  object-fit: cover;
  border-radius: 50%;     /* Makes it a perfect circle */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.mobile-nav-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #a04477;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    background-color: #fff;
    padding: 20px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .main-nav ul li a {
    font-size: 1.2rem;
  }
}
