* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #0018A8;
  color: #222;
}

/* Header */
.book-header {
  background: #0018A8;
  color: white;
  text-align: center;
  padding: 45px 20px;
}

.book-header h1 {
  font-family: Georgia, serif;
  font-size: 42px;
  color: yellow;
  margin-bottom: 10px;
}

.book-header p {
  font-size: 17px;
}

/* Main Page */
.book-page {
  width: 90%;
  max-width: 1100px;
  margin: 40px auto;
}

/* Main Cover */
.book-cover {
  text-align: center;
  margin-bottom: 35px;
}

.book-cover img {
  width: 320px;
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

/* Description */
.book-description {
  background: white;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  margin-bottom: 40px;
}

.book-description h2 {
  font-family: Georgia, serif;
  font-size: 30px;
  margin-bottom: 20px;
}

.book-description p {
  max-width: 800px;
  margin: 0 auto 18px;
  line-height: 1.8;
  text-align: justify;
}

.book-description strong {
  color: #111;
}

/* Back Button */
.back-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 28px;
  background: #111;
  color: yellow;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.3s;
}

.back-btn:hover {
  background: yellow;
  color: #111;
}

/* Preview Gallery */
.book-images {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.book-images h2 {
  font-family: Georgia, serif;
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
}

.image-gallery a {
  flex-shrink: 0;
  display: block;
}

.image-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 15px;
}

.image-gallery img {
  width: 220px;
  height: 300px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 600px) {

  .book-header {
    padding: 30px 15px;
  }

  .book-header h1 {
    font-size: 32px;
  }

  .book-header p {
    font-size: 15px;
  }

  .book-page {
    width: 94%;
    margin: 25px auto;
  }

  .book-cover img {
    width: 260px;
  }

  .book-description {
    padding: 20px;
  }

  .book-description h2 {
    font-size: 25px;
  }

  .book-description p {
    font-size: 15px;
  }

  .book-images {
    padding: 20px;
  }

  .image-gallery img {
    width: 150px;
    height: 210px;
  }
}

.book-info-container {
    display: flex;
    align-items: stretch;
    gap: 25px;
}

.book-details {
    flex: 0 0 35%;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    margin-bottom: 40px;
}

.book-description {
    flex: 0 0 65%;
    margin-bottom: 40px;
}

.book-details {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 600px) {
  .book-details {
    font-size: 15px;
  }
}