/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Navbar */
header {
  background: #2c3e50;
  padding: 15px 0;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 85%;
  margin: auto;
  height: 80px;
  font-size: large;
}
.logo {
  color: #fff;
  font-size: 1.5em;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #f1c40f;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #34495e, #2c3e50);
  color: #fff;
  text-align: center;
  padding: 20px;
}
.hero-content h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
}
.hero-content p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #ffffff;
}
.hero-content{
  padding: 50px;
  border-radius: 15px;
}
.hero-content img{
  height: 350px;
  width: 400px;
  border-radius: 15px;
  margin-bottom: 25px;
  margin-left: 10px;
}
.hero img:hover{
  transform: translateY(-5px);
}
.btn{
  background: #f1c40f;
  color: #2c3e50;
  padding: 10px 50px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
}
.btn:hover {
  background: #d4ac0d;
}
.btn.secondary {
  background: #3498db;
  color: white;
}

/* Featured Section */
.featured {
  padding: 60px 10%;
  text-align: center;
  background: #ecf0f1;
}
.featured h2 {
  margin-bottom: 40px;
}
.book-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.book-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  width: 200px;
  padding: 15px;
  transition: transform 0.3s;
  height: 35vh;
}
.book-card img {
  width: 10vw;
  height: 20vh;
  object-fit: cover;
  border-radius: 8px;
}
.book-card:hover {
  transform: translateY(-5px);
}

/* Footer */
footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9em;
}
