:root {
  --primary-color: #FFD700; /* Yellow gold */
  --secondary-color: #FFA500; /* Orange */
  --background-color: #FFF7E1; /* Light warm background */
  --text-color: #333; /* Dark text */
  --button-color: #FF8C00; /* Bright orange button */
  --input-bg: #f9f9f9; /* Light input background */
  --border-color: #ddd; /* Soft border */
}

/* styles.css */
/* color: EC9628, DA6212, FBD3A1, 020202, #FFFFFF, CBD4B6, FFCC38 */

/* Global Styles */
.border-radius {
    border-radius: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #FFF7E1;
    color: #333;
    margin: 0;
    padding: 0;
  }
  
  .container {
    margin:0 auto;
    padding:0;
    max-width:1320px;
  }

  .allura-regular {
    font-family: "Allura", cursive;
    font-weight: 400;
    font-style: normal;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ebe4b8;
    padding: .5em 10%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  header .logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
  }
  
  header nav ul {
    list-style-type: none;
    display: flex;
    gap: 1em;
  }
  
  header nav ul li a {
    color: #333;
    text-decoration: none;
  }

  .hero {
    text-align: center;
    background-color: #CBD4B6;
    background: url('../assets/imgs/hero-image5.png') no-repeat;
    background-size: cover;
    background-position-y: -301px;
    /* background-blend-mode: darken; */
    padding: 2em 1em;
    position: relative;
    overflow: hidden;
    height:70vh;
  }
  
  /* .wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    line-height: 0;
  }
  
  .wave svg {
    display: block;
    width: 100%;
    height: auto;
  } */
  
  .hero h1 {
    color: #8B5E3C;
    margin-bottom: 0.5em;
    padding-top:10%;
  }
  
  .hero p {
    font-size: 1.2em;
  }
  
  .cta-button {
    background-color: #FFCC38;
    color: #8B5E3C;
    border: none;
    padding: 0.8em;
    font-size: 1em;
    cursor: pointer;
    border-radius: 20px;
    text-decoration: none;
  }
  
/* About Homeschooling Section */
.about-homeschooling {
  display: flex;
  flex-wrap: wrap; /* Allow the children to wrap in smaller screens */
  justify-content: space-between;
  padding: 3rem;
}

.about-homeschooling .about-content {
  max-width: 50%;
  padding-right: 2rem;
}

.about-homeschooling .about-image img {
  max-width: 100%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .about-homeschooling {
      flex-direction: column; /* Stack the elements vertically on small screens */
      text-align: center; /* Center text on small screens */
      padding: 2rem;
  }

  .about-homeschooling .about-content {
      max-width: 100%; /* Take up full width */
      padding-right: 0; /* Remove extra padding */
      margin-bottom: 2rem; /* Add margin between content and image */
  }

  .about-homeschooling .about-image {
      max-width: 100%; /* Ensure the image is full width */
  }

  .about-homeschooling .about-image img {
      width: 100%; /* Make sure the image fits the width of the container */
  }
}

/* Book Review Section */
.book-review {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
  gap: 2rem;
}

.book-review .review-image img {
  max-width: 100%;
  border-radius: 8px;
  height: auto;
}

.book-review .review-content {
  max-width: 50%;
  padding-left: 2rem;
}

.book-review .review-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.book-review .review-content p,
.book-review .review-content ul {
  font-size: 1rem;
  line-height: 1.6;
}

.book-review .review-content ul {
  padding-left: 1.5rem;
}

@media (max-width: 768px) {
  .book-review {
      flex-direction: column; /* Stack content and image vertically */
      text-align: center; /* Center text for readability on smaller screens */
      padding: 2rem;
  }

  .book-review .review-content {
      max-width: 100%; /* Take up full width on small screens */
      padding-left: 0; /* Remove left padding */
      margin-bottom: 1.5rem; /* Add space between content and image */
  }

  .book-review .review-image {
      max-width: 100%; /* Ensure image takes up full width */
  }

  .book-review .review-image img {
      width: 100%; /* Ensure image scales correctly */
  }
}

@media (max-width: 480px) {
  .book-review .review-content h2 {
      font-size: 1.5rem; /* Make the title slightly smaller */
  }

  .book-review .review-content p,
  .book-review .review-content ul {
      font-size: 0.9rem; /* Adjust text size for readability on small screens */
  }
}

  .featured-books {
    padding: 2em 1em;
    text-align: center;
  }
  
  .featured-books h2 {
    color: #8B5E3C;
  }
  
  .book-cards {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
  }
  
  .book-card {
    width: 200px;
    padding: 1em;
    /* background-color: #FFF7E1;
    border: 1px solid #FFD700; */
    border-radius: 5px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    text-align: center;
  }
  
  .book-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
  
  .book-card h3 {
    color: #8B5E3C;
    font-size: 1.2em;
  }

  /* Featured Books Grid */
.featured-books {
    margin-top:-4px;
    padding: 2em 2em;
    background-color: #ebe4b8;
    /* width:100%; */
}

.wavy {
    position:relative;
    z-index:9999;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.book-card {
    border-radius: 10px;
    padding: 1em;
    text-align: center;
}

.book-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.book-card h3 {
    margin-top: 1em;
    font-size: 1.2em;
    color: #333;
}

.book-card p {
    font-size: 0.9em;
    color: #666;
    margin: 1em 0;
}

.book-card button {
    background-color: #F5A623;
    color: white;
    border: none;
    padding: 0.5em 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.book-card button:hover {
    background-color: #D88B0C;
}

  
  footer {
    text-align: center;
    background-color: #bbcdab;
    padding: 1em;
    color: #333;
  }
  
  /* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1em;
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 45px;
    right: 0;
    background-color: #ebe4b8;
    width: 200px;
    height: calc(100vh - 70px);
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em;
    gap: 0.5em;
  }

  .nav-links a {
    width: 100%;
    padding: 0.5em 1em;
    text-align: left;
    color: #333;
  }

  .hamburger {
    display: flex;
  }

  nav.active {
    transform: translateX(0);
  }
}
