body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #faf7f2;
    color: #333;
    line-height: 1.6;
}
header img {
    width: 220px;
    max-width: 80%;
}
header {
    text-align: center;
    padding: 50px 20px;
    background: #333;
    color: white;
}

header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

header p {
    font-size: 22px;
}

section {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
}

h2 {
    color: #555;
    font-size: 30px;
}

h3 {
    color: #222;
    font-size: 24px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
}
.books {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin-top: 25px;
}
.books img {
    width: 180px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.books img:hover {
    transform: scale(1.05);
}



.book-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 220px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
        margin-bottom: 40px;
}

.book-card:hover {
  transform: translateY(-8px);
}
.book-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 220px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.book-card:hover {
  transform: translateY(-8px);
}
.featured-card {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    margin: 40px auto;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.featured-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.featured-card p {
    font-size: 18px;
    line-height: 1.6;
}
.book-card h4 {
  font-size: 18px;
  margin: 15px 0 10px;
  color: #333;
}

.book-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #d9a441;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
}

.button:hover {
  background: #b8872f;
}
/* Mobile improvements */
.site-header {
    text-align: center;
    padding: 40px 20px;
}

.site-header img {
    max-width: 280px;
    height: auto;
}

.site-header p {
    font-size: 20px;
    margin-top: 20px;
    color: #555;
}
@media (max-width: 600px) {

  section {
    padding: 20px;
  }
.featured-card {
    width: 90%;
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    text-align: center;
}

.featured-card h3 {
    font-size: 26px;
    line-height: 1.2;
}

.featured-card p {
    font-size: 16px;
    line-height: 1.6;
        max-width: 100%;
}
  h2 {
    font-size: 36px;
    text-align: center;
  }

  p {
    max-width: 100%;
    text-align: center;
  }

  .book-card {
    width: 90%;
    margin: auto;
  }

  .books {
    flex-direction: column;
    align-items: center;
  }

}
