body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Raleway', sans-serif;
  background: linear-gradient(180deg, #0d0d0d 0%, #1f1f1f 100%);
  color: #f1f1f1;
  scroll-behavior: smooth;
}

.navbar-dark.bg-dark-glass {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}

.nav-link {
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: #0dcaf0 !important;
}

.hero-section {
  height: 90vh;
  background: url('../assets/home.jpg') center/cover no-repeat;
  position: relative;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-section .hero-content {
  position: relative;
  z-index: 1;
  margin-bottom: 5rem; /* controls how low the text sits */
}

@media (max-width: 768px) {
  .hero-section .hero-content {
    margin-bottom: 3rem;
  }
}

.card-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-glass:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.footer {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}

.book-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.book-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
}

.book-cover {
  width: 160px;
  height: auto;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.book-details h3 {
  margin-bottom: 0.8rem;
  text-align: center;
  font-weight: 600;
}

.book-buttons, .buy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.btn {
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary {
  background: #007bff;
  color: white;
}

.btn-primary:hover {
  background: #0056b3;
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
}

@media (min-width: 768px) {
  .book-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  .book-cover {
    width: 140px;
    margin-right: 1.5rem;
  }
  .book-details {
    text-align: left;
  }
}
