/* Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f5;
  color: #222;
  line-height: 1.6;
}

/* Layout */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero */

.hero {
  background: #111;
  color: white;
  padding: 90px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  color: #ccc;
  font-size: 1.1rem;
}

/* Sections */

.books-section,
.coming-soon {
  margin: 70px 0;
}

.books-section h2,
.coming-soon h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

/* Grid */

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Cards */

.book-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.book-card:hover {
  transform: translateY(-4px);
}

/* Cover Images */

.book-cover {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/*Dracula Cover*/

.dracula-cover {
    object-position: center top;
}

/*Frankenstein Cover*/

.frankenstein-cover {
    object-position: center top;
}

/* Card Content */

.book-card h3 {
  font-size: 1.4rem;
  margin: 20px 20px 10px;
}

.book-card p {
  color: #555;
  margin: 0 20px 20px;
}

/* Buttons */

.button {
  display: inline-block;
  margin: 0 20px 24px;
  padding: 12px 18px;
  background: #111;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.button:hover {
  background: #333;
}

/* Coming Soon */

.coming {
  max-width: 350px;
  border: 2px dashed #aaa;
}

.coming-badge {
  display: inline-block;
  margin: 0 20px 24px;
  padding: 8px 14px;
  background: #ddd;
  color: #333;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: bold;
}

/* Footer */

footer {
  text-align: center;
  padding: 50px 20px;
  color: #777;
  font-size: 0.95rem;
}

/* Responsive */

@media (max-width: 768px) {

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .book-cover {
    height: 360px;
  }

}
