/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles */
body {
  font-family: Arial, sans-serif;
  background-color: rgba(211, 35, 35, 0.75);
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: #333;
  padding: 20px 0;
}

header h1 {
  color: #fff;
  font-size: 32px;
}

nav ul {
  list-style: none;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

/* Skip link style */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 1000;
}

/* Hero Section Styles */
.hero {
  background-image: url('hero-background.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #555;
}

/* Featured Books Section Styles */
.featured-books {
  padding: 50px 0;
  width: 100%;
  opacity: 1;
  background-color: rgb(159, 201, 22);
  background-image: url(bg.jpg);
  height: 80vh;
}

.featured-books h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

footer p {
  font-size: 14px;
}

/* Hover effect */
.book-item:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Smooth scroll effect */
html {
  scroll-behavior: smooth;
}

.book-item {
  width: 200px;
  margin: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;
}

.book-item img {
  width: 100%;
  height: auto;
}

.book-info {
  padding: 10px;
}

.books {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
