html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

body {
  background-color: #0b0b0c;
  color: white;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}

/* LOGO */

.navbar {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 3;
  width: 100%;
  height: 90px;
  background-color: #0b0b0c;
}

.navbar img {
  position: relative;
  width: 160px;
  height: 130px;
  top: -10px;
}
.logo {
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* makes dark logos white */
}

/* Background image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1512820790803-83ca734da794")
    center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.1);
  z-index: 0;
}

/* Dark overlay */
.hero::after {
  content: "";
  position: absolute;
  background: rgba(11, 11, 12, 0.75);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #d4af37;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #e0e0e0;
  line-height: 1.5;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: 0.3s;
}

.btn-primary {
  background: #d4af37;
  color: #0b0b0c;
}

.btn-primary:hover {
  background: #c19b2e;
}

.btn-secondary {
  border: 1px solid #d4af37;
  color: #d4af37;
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
}

/* Desktop */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

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

  .buttons {
    flex-direction: row;
    justify-content: center;
  }

  .btn {
    padding: 14px 20px;
  }
}

/*
---------------

Here starts the collection section styles

----------------
*/

.collections {
  padding: 60px 20px;
  text-align: center;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.collections h2 {
  font-size: 1.8rem;
  color: #d4af37;
  margin-bottom: 10px;
}

.subtitle {
  color: #bbb;
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.collection-card {
  background: #111;
  border-radius: 12px;
  padding: 15px;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.1);
  transition: 0.3s;
}

.collection-card:hover {
  transform: translateY(-5px);
}

.collection-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
}

.collection-card h3 {
  color: #fff;
  margin-bottom: 8px;
}

.collection-card p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.meta {
  display: block;
  color: #d4af37;
  font-size: 0.8rem;
  margin-bottom: 25px;
}

/* Desktop */
@media (min-width: 768px) {
  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*
________________

HIGHLIGH BOOKS
________________
*/

.books {
  padding: 60px 20px;
  text-align: center;
}

.books h2 {
  font-size: 1.8rem;
  color: #d4af37;
  margin-bottom: 10px;
}

.books-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.book-card {
  background: #111;
  border-radius: 12px;
  padding: 15px;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.08);
  transition: 0.3s;
}

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

.book-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
}

.book-card h3 {
  color: #fff;
  margin-bottom: 6px;
}

.book-card p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.book-card .btn {
  display: block;
  text-align: center;
  margin-bottom: 8px;
}

.btn.small {
  font-size: 0.9rem;
  padding: 10px;
}

.view-all {
  margin-top: 30px;
}

/* Desktop */
@media (min-width: 768px) {
  .books-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.categories {
  padding: 60px 20px;
  text-align: center;
}

.categories h2 {
  font-size: 1.8rem;
  color: #d4af37;
  margin-bottom: 10px;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.category-card {
  background: #111;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: white;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.08);
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.category-card h3 {
  margin-bottom: 8px;
  color: #fff;
}

.category-card p {
  font-size: 0.9rem;
  color: #ccc;
}

/* Desktop */
@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
