body {
    margin: 0;
    font-family: 'Georgia', serif;
	background-image: url('images/foggy-alley.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
    background-color: #0B1212;
    color: #eee;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2em;
    background-color: #1A1E1D;
    padding: 1em 0;
    margin: 0;
	opacity: 0.75;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero {

    background-position: center;
	height: auto;
    padding: 18em 2em;
    text-align: center;
}

.hero h1 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 0.2em;
}

.hero h1 span {
    font-size: 3em;
    font-weight: bold;
}

.tagline {
    color: #f5f5f5;
    font-size: 2.2em;
    margin-bottom: 1em;
    font-style: bold;
}

.cta {
    display: inline-block;
    padding: 0.8em 1.5em;
    background: none;
    border: 2px solid #eee;
    color: #eee;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.cta:hover {
    background: #eee;
    color: #111;
}
.cta2 {
    display: inline-block;
    padding: 0.8em 1.5em;
    background: none;
    border: 0px solid #eee;
    color: #eee;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.cta2:hover {
    background: #444;
    color: #eee;
}
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2em;
}

.books, .bio, .newsletter, .news {
    margin-bottom: 3em;
}

.books h2, .newsletter h3, .news h3 {
    text-align: center;
    margin-bottom: 1em;
    color: #ddd;
}

.book-gallery {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    flex-wrap: wrap;
	height: auto;
}

.book-gallery img {
    width: 200px;
    height: auto;
    border: 2px solid #333;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.bio p {
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1em;
}

.bio a {
    display: block;
    text-align: center;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.newsletter form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter input[type="email"] {
    padding: 0.7em;
    width: 100%;
    border: none;
    background: #222;
    color: #eee;
    border: 1px solid #555;
}

.newsletter button {
    padding: 0.7em 2em;
    border: none;
    background-color: #f44;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
}

.news ul {
    list-style: square;
    padding-left: 1.5em;
    max-width: 600px;
    margin: 0 auto;
    color: #ccc;
}

footer {
    text-align: center;
    padding: 1em;
    background-color: #000;
    font-size: 0.9em;
    color: #666;
}


/* NAVBAR STYLES */
.navbar {
  background: #0b0b17;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  color: #ffffff;
  font-size: 1.5rem;
  font-family: 'Cinzel', serif;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease-in-out;
}

.nav-links li a:hover {
  color: #8b5cf6;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* MOBILE NAVIGATION */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #121221;
    position: absolute;
    top: 64px;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-left: 2px solid #4466ff;
    border-bottom: 2px solid #4466ff;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }
}