/*
Theme Name: ConsciousnessPress
Theme URI: https://www.booksonconsciousness.com
Author: Marcel Kuijsten
Description: A premium WordPress theme for consciousness studies and Julian Jaynes books.
Version: 1.0
*/

:root {
  --bg: #0d1117;
  --bg-soft: #111827;
  --text: #f9fafb;
  --muted: #d1d5db;
  --gold: #c6a664;
  --teal: #6ee7b7;
  --border: #1f2937;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

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

header {
  position: sticky;
  top: 0;
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
  color: var(--gold);
  text-decoration: none;
}

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

nav a {
  color: var(--text);
  text-decoration: none;
  transition: 0.3s ease;
}

nav a:hover {
  color: var(--gold);
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
background:
  linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)),
  url('/wp-content/themes/consciousnesspress/assets/hero.jpg') center/cover;

}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-family: "Playfair Display", serif;
}

.hero p {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  margin-right: 1rem;
  transition: 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  color: #000;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.section {
  padding: 6rem 0;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-family: "Playfair Display", serif;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.book-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  transition: 0.3s ease;
}

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

.book-card img {
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

.book-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.book-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.quote-section {
  background: var(--bg-soft);
  text-align: center;
}

.quote {
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  max-width: 900px;
  margin: 0 auto;
}

footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid a {
  color: var(--muted);
  text-decoration: none;
}

.book-hero {
  padding: 6rem 0;
}

.book-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4rem;
}

.book-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.book-content p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.key-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.theme-tag {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  border-radius: 100px;
}

.cta-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  nav ul {
    display: none;
  }

  .book-layout {
    grid-template-columns: 1fr;
  }
}
