/* Provided CSS code */
/* style1.css */

/* Reset some default styles */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f0f0f0;
  padding: 10px 20px;
}

.left-heading {
  margin: 0;
  color: green;
  font-size: 24px;
}

.right-nav {
  display: flex;
}

.right-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.right-nav ul li {
  display: inline-block;
  margin-right: 20px;
}

.right-nav ul li:last-child {
  margin-right: 0;
}

.right-nav ul li a {
  text-decoration: none;
  color: #333;
}

.basket {
  font-weight: bold;
}

.green-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 5px;
}

.main-section {
  text-align: center;
  padding: 50px 0;
}

.shop-description {
  font-style: italic;
}

.browse-btn {
  margin-top: 20px;
}

.images-section {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  text-align: center;
  margin: 0 20px;
}

.leaf-image,
.root-image {
  max-width: 100%;
  height: auto;
}

.image-info {
  margin-top: 10px;
  font-style: italic;
}

.image-info h2 {
  margin-bottom: 5px;
}

.image-info p {
  margin-bottom: 10px;
}

/* Sidebar menu styles */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #f0f0f0;
  transition: left 0.3s ease;
}

.sidebar.active {
  left: 0;
}

.sidebar ul {
  list-style-type: none;
  padding: 20px;
}

.sidebar ul li {
  margin-bottom: 15px;
}

.sidebar ul li a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

/* Hamburger menu styles */
.hamburger-menu {
  display: none; /* Initially hide the hamburger menu */
}

/* Media query for smaller screens */
@media only screen and (max-width: 768px) {
  .right-nav {
    display: none; /* Hide the regular navigation menu on smaller screens */
  }
  
  .hamburger-menu {
    display: inline-block; /* Display the hamburger menu */
    margin-right: 20px;
    cursor: pointer;
  }

  /* Additional styling for the hamburger icon (you can use an image instead) */
  .hamburger-menu::before {
    content: "\2630"; /* Unicode character for hamburger icon */
    font-size: 24px;
    color: #333;
  }

  /* Show the navigation menu when the hamburger menu is clicked */
  .hamburger-menu.active ~ .right-nav {
    display: flex;
  }

  /* Show the sidebar menu when the hamburger menu is clicked */
  .hamburger-menu.active + .sidebar {
    left: 0;
  }

  /* Adjustments for smaller screens */
  .main-section {
    padding: 30px 10px; /* Adjust padding */
  }

  .images-section {
    flex-wrap: wrap; /* Allow images to wrap onto multiple lines */
  }

  .image-container {
    margin: 10px; /* Add some space between images */
    width: calc(50% - 20px); /* Ensure images take up half the width */
    max-width: calc(50% - 20px); /* Ensure images take up half the width */
  }
}
