/* style.css */

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

/* Dark background & default text */
body {
  background-color: #121212; 
  color: #ffffff;           
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Header & Nav */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1f1f1f;
  padding: 1rem 2rem;
}

/* LOGO styling */
.logo img {
  max-width: 300px;  /* Keeps the logo from becoming too large */
  height: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav ul li a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
}

nav ul li a.active,
nav ul li a:hover {
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  color: #fff;
}

.hero img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.hero .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0,0,0,0.5);
  padding: 1rem 2rem;
  border-radius: 5px;
}

.hero .hero-text h2 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #ff3434; 
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #dc1010;
}

/* Teaser Section */
.teaser {
  text-align: center;
  padding: 2rem;
}

.teaser h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.teaser p {
  margin: 0.5rem auto;
  max-width: 600px;
}

.teaser img.book-cover {
  width: 200px;
  margin: 1rem 0;
}

/* About Page */
.author-bio {
  padding: 2rem;
  text-align: center;
}

.author-bio h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.author-bio .author-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.author-bio .author-images img {
  max-width: 300px;
  border: 2px solid #fff;
  border-radius: 5px;
}

/* Books Page (Grid Layout) */
.book-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.book-item {
  background-color: #1f1f1f;
  border-radius: 5px;
  padding: 1rem;
  text-align: center;
}

.book-item img {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.book-item h2 {
  color: #ff3434;
  margin-bottom: 0.5rem;
}

.book-item p {
  margin-bottom: 1rem;
}

/* Reviews Section */
.reviews {
  margin: 2rem auto;
  padding: 2rem;
  max-width: 800px;
  background-color: #1f1f1f;
  border-radius: 5px;
}

.reviews h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: #ff3434;
}

.reviews blockquote {
  background-color: #2a2a2a;
  margin: 1rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #ff3434;
  border-radius: 5px;
  position: relative;
}

/* Optional decorative “quote” style */
.reviews blockquote::before {
  content: "“";
  font-size: 3rem;
  color: #ff3434;
  position: absolute;
  left: 10px;
  top: -10px;
}

.reviews blockquote p {
  margin: 0;
  padding-left: 1rem; /* breathing room around the quote mark */
  line-height: 1.5;
}

/* Merch Page */
.merch-page {
  text-align: center;
  padding: 2rem;
}

/* Footer */
footer {
  background-color: #1f1f1f;
  text-align: center;
  padding: 1rem;
}

footer p {
  color: #888;
  font-size: 0.9rem;
}

/* Social Media Links in Footer */
.social-media {
  margin: 1rem 0;
  text-align: center;
}

.social-media h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #ff3434;
}

.social-media ul {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin-top: 0.5rem;
}

.social-media li a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #ccc;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-media li a:hover {
  background-color: #ff3434;
  color: #fff;
  border-color: #ff3434;
}

/* Privacy Policy in Footer */
.privacy-policy {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #888;
}
