/* style.css */

/* General Styling */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #F2EADF; /* Light Beige */
  color: #634933; /* Dark Brown/Taupe */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.6; /* Improve readability */
  scroll-behavior: smooth; /* Smooth scrolling */
}

.container {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
}

h1, h2, h3 {
  font-weight: 600;
}

button {
  background-color: #634933;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #4a3421;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Header */
header {
  background-color: #F2EADF; /* Same as background */
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
  position: sticky; /* Keeps header at the top */
  top: 0;
  z-index: 100; /* Ensure header stays above content */
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  margin-left: 20px;
  transition: color 0.2s ease; /* Smooth transition for active link */
}

nav a:hover {
  color: #4a3421;  /* Darken link on hover */
}

nav a.active {
  font-weight: bold;
  color: #4a3421;  /* Highlight active link */
}

/* Hero Section */
.hero {
  padding: 0; /* Remove default padding */
}

.home-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.home-container {
  display: flex;
  width: 100%;
  max-width: 1200px; /* Optional: Limit maximum width */
}

.hero-content {
  flex: 1; /* Take up available space */
  padding: 20px;
  text-align: center; /* Center the text */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center the content */
  align-items: center; /* Center items horizontally */
}

.hero-content h1 {
font-family: 'Open Sans', sans-serif;  /* Corrected font - using Open Sans */
font-size: 3.5rem;  /* Match size */
font-weight: normal; /* Regular weight */
color: #634933; /* Match color */
margin-bottom: 10px; /* Add some space below the heading */
}

.hero-image {
  flex: 1;
  text-align: right;
  background-size: cover;
  background-position: right center; /* Focus on the right side of the image*/
  background-repeat: no-repeat;
  min-height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Prevent image overflow */
}

.hero-image img {
  max-width: 100%; /* Make the image responsive */
  height: auto;
  border-radius: 0; /* Remove potential border-radius */
  object-fit: contain; /* Ensure the image is fully visible and contained within its area */
  width: 100%; /* Ensures the image stays within the container width */
  height: 100%;
}

/* About Section */
.about {
  padding: 50px 0;
}

.about h2 {
  font-family: 'Open Sans', sans-serif;  /* Corrected font - using Open Sans */
  font-size: 2.5rem;  /* Match size */
  font-weight: normal; /* Regular weight */
  color: #634933; /* Match color */
  margin-bottom: 10px; /* Add some space below the heading */
}

/* Features Section */
.features {
  padding: 50px 0;
  background-color: #f8f4ee;
}

.features h2 {
font-family: 'Open Sans', sans-serif;  /* Corrected font - using Open Sans */
font-size: 2.5rem;  /* Match size */
font-weight: normal; /* Regular weight */
color: #634933; /* Match color */
margin-bottom: 10px; /* Add some space below the heading */
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
  gap: 30px;
}

.feature-item {
  padding: 20px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Testimonial Section */
/* Testimonials Section Styling */
#testimonials {
  padding: 60px 20px;
  background-color: #F2EADF; /* Adjust to match your theme's background */
  text-align: center;
}

#testimonials h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #333; /* Adjust to match your theme's text color */
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  display: none; /* Initially hide all testimonials */
  padding: 20px;
  box-sizing: border-box;
  transition: opacity 0.5s ease-in-out;
  border: 1px solid #ccc; /* Add border to each testimonial */
  border-radius: 8px; /* Add border-radius for rounded corners */
  background-color: #fff; /* Add background for the box look */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.testimonial.active {
  display: block;  /* Show the active testimonial */
}

.testimonial p {
  font-size: 1.2em;
  font-style: italic;
  color: #555; /* Adjust to match your theme's text color */
}

.testimonial h4 {
  margin-top: 15px;
  font-weight: bold;
  color: #777; /* Adjust to match your theme's text color */
}




/* Contact Section */
.contact {
  padding: 50px 0;
}

.contact h2 {
font-family: 'Open Sans', sans-serif;  /* Corrected font - using Open Sans */
font-size: 2.5rem;  /* Match size */
font-weight: normal; /* Regular weight */
color: #634933; /* Match color */
margin-bottom: 10px; /* Add some space below the heading */
}

/* Products Section */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive product columns */
  gap: 30px;
}

.product-item {
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.product-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 5px;
}

.price {
  font-weight: bold;
  color: #634933;
}

/* Full-screen sections */
.page {
  min-height: 100vh; /* Each section takes up at least the full viewport height */
  display: flex;  /* Use flexbox to center content vertically */
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally if needed */
  padding: 0; /* Remove default padding, content within container still has it */
}

.page .container {
  width: 80%; /* Reset the container width */
  margin: 0 auto;
  padding: 20px;  /* Keep padding for internal content */
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #634933;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    background-color: #F2EADF;
    position: absolute;
    top: 80px; /* below header */
    right: 20px;
    width: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px;
    z-index: 99;
  }

  nav.open {
    display: flex;
  }

  nav a {
    margin: 10px 0;
    font-size: 1rem;
  }

  header .container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .about h2,
  .features h2,
  .contact h2 {
    font-size: 1.8rem;
  }

  .home-container {
    flex-direction: column;
  }

  .hero-image {
    min-height: 300px;
    background-size: contain;
    background-position: center;
  }

  .hero-image img {
    width: 100%;
    height: auto;
  }

  .page .container {
    width: 95%;
    padding: 10px;
  }

  .testimonial p {
    font-size: 1rem;
  }
}
#chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #634933;
  color: white;
  padding: 10px 15px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 20px;
  z-index: 1000;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

#chatbot-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
  z-index: 1000;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
  padding: 10px;
  display: flex;
  flex-direction: column;
}

#chatbot-box.hidden {
  display: none;
}

#chat-window {
  height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  padding: 5px;
  font-size: 14px;
}

#user-input {
  padding: 6px;
  flex: 1;
  margin-bottom: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#chatbot-box button {
  padding: 6px;
  background: #634933;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
