/* ========================================
   CRIMSON PULPFIC - STYLESHEET
   Modern Pulp Noir Aesthetic
   ======================================== */

/* ========================================
   CSS VARIABLES - BRAND COLORS & TYPOGRAPHY
   ======================================== */

:root {
  /* Colors */
  --crimson-red: #8C1C13;
  --deep-charcoal: #1E1E1E;
  --off-white-paper: #F2EDE4;
  --muted-gold: #C3A36B;
  --gunmetal-gray: #4C4C4C;

  /* Typography */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Libre Baskerville', 'Georgia', serif;
  --font-ui: 'Montserrat', 'Arial', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 3rem;
  --text-4xl: 4rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* Breakpoints (for reference in media queries) */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--deep-charcoal);
  background-color: var(--off-white-paper);
  background-image: repeating-linear-gradient(
    0deg,
    rgba(140, 28, 19, 0.03) 0px,
    transparent 1px,
    transparent 2px,
    rgba(140, 28, 19, 0.03) 3px
  );
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-base);
}

ul {
  list-style: none;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-8);
  }
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
  background: var(--crimson-red);
  border-bottom: 3px solid var(--muted-gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(30, 30, 30, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--off-white-paper);
  letter-spacing: 2px;
  font-weight: bold;
  display: block;
}

.logo:hover {
  opacity: 0.9;
}

.logo-img {
  height: 100px;
  width: auto;
  transition: all var(--transition-base);
  background: #3D3530;
  padding: var(--space-2);
  border-radius: 6px;
}

.logo-img:hover {
  opacity: 0.95;
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .logo-img {
    height: 130px;
  }
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.hamburger {
  width: 25px;
  height: 3px;
  background: var(--off-white-paper);
  transition: all var(--transition-base);
}

.nav-toggle:hover .hamburger {
  background: var(--muted-gold);
}

/* Navigation Menu */
.nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--crimson-red);
  border-top: 2px solid var(--muted-gold);
  padding: var(--space-4);
  gap: var(--space-4);
}

.nav-menu.is-open {
  display: flex;
}

.nav-menu li {
  text-align: center;
}

.nav-menu a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--off-white-paper);
  padding: var(--space-2) 0;
  display: block;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
  color: var(--muted-gold);
  border-bottom-color: var(--muted-gold);
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex !important;
    flex-direction: row;
    position: static;
    border: none;
    padding: 0;
    gap: var(--space-8);
    background: transparent;
  }

  .nav-menu a {
    padding: var(--space-2) 0;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: var(--off-white-paper);
  padding: var(--space-16) var(--space-6);
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-24) var(--space-6);
  }
}

.hero-logo {
  max-width: 200px;
  height: auto;
  margin: 0 auto var(--space-8);
  filter: drop-shadow(3px 3px 6px rgba(30, 30, 30, 0.2));
  background: var(--off-white-paper);
  padding: var(--space-4);
  border-radius: 8px;
}

@media (min-width: 768px) {
  .hero-logo {
    max-width: 300px;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--crimson-red);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: var(--space-4);
  text-shadow: 3px 3px 6px rgba(30, 30, 30, 0.2);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-4xl);
  }
}

.tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--muted-gold);
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-size: var(--text-base);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: var(--text-lg);
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 768px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: var(--space-4) var(--space-8);
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid var(--crimson-red);
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--crimson-red);
  color: var(--off-white-paper);
}

.btn-primary:hover {
  background: var(--off-white-paper);
  color: var(--crimson-red);
  transform: translateY(-2px);
  box-shadow: 4px 4px 12px rgba(140, 28, 19, 0.3);
}

.btn-secondary {
  background: var(--off-white-paper);
  color: var(--crimson-red);
}

.btn-secondary:hover {
  background: var(--crimson-red);
  color: var(--off-white-paper);
  transform: translateY(-2px);
  box-shadow: 4px 4px 12px rgba(140, 28, 19, 0.3);
}

.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.98);
}

/* ========================================
   SECTIONS
   ======================================== */

section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-24) 0;
  }
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--crimson-red);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-8);
  text-align: center;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: var(--text-3xl);
  }
}

.section-intro {
  text-align: center;
  font-size: var(--text-lg);
  max-width: 800px;
  margin: 0 auto var(--space-12);
  line-height: 1.8;
}

/* Section Background Variants */
.section-light {
  background: #FAFAFA;
}

.section-dark {
  background: var(--deep-charcoal);
  color: var(--off-white-paper);
}

.section-dark .section-heading {
  color: var(--crimson-red);
}

.section-crimson {
  background: linear-gradient(
    135deg,
    var(--crimson-red) 0%,
    #6B1410 100%
  );
  color: var(--off-white-paper);
}

.section-crimson .section-heading {
  color: var(--off-white-paper);
}

.section-crimson .service-title {
  color: var(--off-white-paper);
}

.section-crimson .service-list {
  color: var(--off-white-paper);
}

.section-crimson .service-list li {
  color: var(--off-white-paper);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: var(--space-6);
  line-height: 1.8;
}

.lead {
  font-size: var(--text-lg);
  font-weight: 700;
}

.about-note {
  font-style: italic;
  color: var(--muted-gold);
  border-left: 4px solid var(--muted-gold);
  padding-left: var(--space-4);
}

/* ========================================
   BOOK GRID
   ======================================== */

.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

@media (min-width: 640px) {
  .book-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .book-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 4-column grid for series display */
.book-grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .book-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .book-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.book-card {
  background: var(--off-white-paper);
  border: 2px solid var(--crimson-red);
  border-radius: 8px;
  padding: var(--space-6);
  box-shadow: 4px 4px 12px rgba(76, 76, 76, 0.2);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 8px 20px rgba(30, 30, 30, 0.3);
}

.book-cover-placeholder {
  width: 100%;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, var(--gunmetal-gray) 0%, var(--deep-charcoal) 100%);
  border: 1px solid var(--gunmetal-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  box-shadow: 2px 4px 8px rgba(30, 30, 30, 0.3);
}

.book-cover-placeholder span {
  color: var(--off-white-paper);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-cover {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: var(--space-4);
  box-shadow: 2px 4px 8px rgba(30, 30, 30, 0.3);
  border-radius: 4px;
}

.section-subheading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--gunmetal-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: var(--space-16);
  margin-bottom: var(--space-4);
  text-align: center;
}

/* Series Introduction Styling */
.series-tagline {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--muted-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: var(--space-8);
}

.series-intro {
  max-width: 800px;
  margin: 0 auto var(--space-8);
  text-align: left;
}

.series-intro p {
  color: var(--off-white-paper);
  line-height: 1.8;
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
}

.series-hook {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--crimson-red);
  text-align: center;
  margin: var(--space-6) 0;
  letter-spacing: 1px;
}

.series-comps {
  font-style: italic;
  color: var(--warm-parchment);
  border-left: 3px solid var(--crimson-red);
  padding-left: var(--space-4);
  margin-top: var(--space-6);
}

.series-dedication {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--muted-gold);
  text-align: center;
  margin-bottom: var(--space-8);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--gunmetal-gray);
  border-bottom: 1px solid var(--gunmetal-gray);
}

.book-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--crimson-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
}

.book-author {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--gunmetal-gray);
  margin-bottom: var(--space-4);
}

.book-blurb {
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

/* Book card button spacing */
.book-card .btn-primary,
.book-card .btn-secondary {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: var(--space-2);
}

.book-card .btn-primary:last-child,
.book-card .btn-secondary:last-child {
  margin-bottom: 0;
}

/* ========================================
   AUTHOR GRID
   ======================================== */

.author-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

@media (min-width: 640px) {
  .author-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .author-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.author-card {
  background: var(--off-white-paper);
  border: 2px solid var(--muted-gold);
  border-radius: 8px;
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: 4px 4px 12px rgba(30, 30, 30, 0.3);
}

.author-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 8px 20px rgba(30, 30, 30, 0.4);
  border-color: var(--crimson-red);
}

.author-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--crimson-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
}

.author-genre {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--gunmetal-gray);
  font-weight: 600;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.author-bio {
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  color: var(--deep-charcoal);
}

/* ========================================
   SERVICES GRID
   ======================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

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

.service-card {
  background: var(--off-white-paper);
  border: 2px solid var(--crimson-red);
  border-radius: 8px;
  padding: var(--space-6);
  box-shadow: 4px 4px 12px rgba(76, 76, 76, 0.2);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 8px 20px rgba(30, 30, 30, 0.3);
}

.service-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--crimson-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-4);
}

.service-card p {
  font-size: var(--text-sm);
  line-height: 1.6;
}

.services-note {
  text-align: center;
  font-style: italic;
  color: var(--gunmetal-gray);
  margin-top: var(--space-8);
  font-size: var(--text-sm);
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */

.newsletter-section {
  background: var(--muted-gold);
  color: var(--deep-charcoal);
  padding: var(--space-16) var(--space-6);
  text-align: center;
}

.newsletter-section .section-heading {
  color: var(--deep-charcoal);
}

.newsletter-intro {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-input {
  flex: 1;
  padding: var(--space-4);
  border: 2px solid var(--deep-charcoal);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--off-white-paper);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--crimson-red);
  box-shadow: 0 0 0 3px rgba(140, 28, 19, 0.2);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--deep-charcoal);
  color: var(--off-white-paper);
  padding: var(--space-12) var(--space-6);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--muted-gold);
  letter-spacing: 3px;
  margin-bottom: var(--space-4);
}

.footer-logo-img {
  max-width: 80px;
  height: auto;
  margin: 0 auto var(--space-4);
  opacity: 0.9;
  transition: opacity var(--transition-base);
  background: #3D3530;
  padding: var(--space-3);
  border-radius: 6px;
}

.footer-logo-img:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .footer-logo-img {
    max-width: 100px;
  }
}

.footer-tagline {
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--muted-gold);
  margin-bottom: var(--space-8);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.footer-nav a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--off-white-paper);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav a:hover {
  color: var(--crimson-red);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--gunmetal-gray);
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-intro {
  margin-bottom: var(--space-12);
  text-align: center;
}

.contact-intro p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.contact-form {
  background: var(--off-white-paper);
  border: 2px solid var(--crimson-red);
  border-radius: 8px;
  padding: var(--space-8);
  box-shadow: 4px 4px 12px rgba(76, 76, 76, 0.2);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--deep-charcoal);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-4);
  border: 2px solid var(--gunmetal-gray);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: white;
  transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--crimson-red);
  box-shadow: 0 0 0 3px rgba(140, 28, 19, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--gunmetal-gray);
  font-style: italic;
  margin-top: var(--space-6);
  text-align: center;
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: var(--space-4);
}

@media (min-width: 640px) {
  .contact-form .btn-primary {
    width: auto;
  }
}

/* ========================================
   SERVICES DETAIL PAGES
   ======================================== */

.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.service-detail-card {
  background: var(--off-white-paper);
  border: 2px solid var(--crimson-red);
  border-radius: 8px;
  padding: var(--space-8);
  box-shadow: 4px 4px 12px rgba(76, 76, 76, 0.2);
}

.service-description {
  font-size: var(--text-base);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  color: var(--deep-charcoal);
}

.service-subtitle {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--crimson-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.service-list {
  list-style: disc;
  margin-left: var(--space-6);
  margin-bottom: var(--space-6);
}

.service-list li {
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: var(--space-2);
  color: var(--deep-charcoal);
}

.service-detail-card .btn-primary {
  margin-top: var(--space-6);
}

/* ========================================
   AUTHOR BIO PAGES
   ======================================== */

.author-hero {
  padding: var(--space-16) var(--space-6);
}

.author-bio-section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .author-bio-section {
    padding: var(--space-24) 0;
  }
}

.author-bio-content {
  max-width: 900px;
  margin: 0 auto;
}

.author-bio-content p {
  margin-bottom: var(--space-6);
  line-height: 1.8;
}

.author-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 2px solid var(--gunmetal-gray);
}

@media (min-width: 640px) {
  .author-meta {
    grid-template-columns: repeat(3, 1fr);
  }
}

.meta-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--crimson-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
}

.meta-item p {
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

a:focus,
button:focus,
input:focus {
  outline: 3px solid var(--crimson-red);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Visually hidden - for SEO H1 tags */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--off-white-paper);
  border: 2px solid var(--crimson-red);
  border-radius: 8px;
  margin-bottom: var(--space-6);
  padding: var(--space-6);
  box-shadow: 4px 4px 12px rgba(76, 76, 76, 0.15);
}

.faq-question {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--crimson-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .faq-question {
    font-size: var(--text-2xl);
  }
}

.faq-answer {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--deep-charcoal);
}

.faq-answer p {
  margin-bottom: var(--space-4);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  list-style: disc;
  margin-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.faq-answer li {
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

.faq-answer strong {
  color: var(--crimson-red);
}

/* Dark section FAQ styling */
.section-dark .faq-item {
  background: var(--deep-charcoal);
  border-color: var(--muted-gold);
}

.section-dark .faq-question {
  color: var(--muted-gold);
}

.section-dark .faq-answer {
  color: var(--off-white-paper);
}

.section-dark .faq-answer strong {
  color: var(--muted-gold);
}

/* ========================================
   BOOK CAROUSEL HERO
   ======================================== */

.hero-carousel {
  background: var(--off-white-paper);
  padding: var(--space-12) var(--space-6);
  overflow: hidden;
}

.carousel-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.carousel-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.carousel-label {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--muted-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-2);
}

.carousel-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--crimson-red);
  letter-spacing: 2px;
}

@media (min-width: 768px) {
  .carousel-title {
    font-size: var(--text-3xl);
  }
}

/* Carousel Track - single book visible, fade transition */
.carousel-track {
  position: relative;
  min-height: 450px;
}

@media (min-width: 768px) {
  .carousel-track {
    min-height: 400px;
  }
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  padding: 0 var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .carousel-slide {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-12);
  }
}

/* Book Cover in Carousel */
.carousel-book-cover {
  position: relative;
  flex-shrink: 0;
}

.carousel-cover-img {
  width: 180px;
  height: auto;
  box-shadow: 6px 6px 20px rgba(30, 30, 30, 0.3),
              0 0 30px rgba(140, 28, 19, 0.1);
  border-radius: 4px;
  transition: transform var(--transition-base);
}

@media (min-width: 768px) {
  .carousel-cover-img {
    width: 240px;
  }
}

.carousel-book-cover:hover .carousel-cover-img {
  transform: scale(1.02);
}

/* Coming Soon Stamp */
.coming-soon-stamp {
  position: absolute;
  top: 15px;
  right: -10px;
  background: var(--crimson-red);
  color: var(--off-white-paper);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  transform: rotate(15deg);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  z-index: 10;
}

@media (min-width: 768px) {
  .coming-soon-stamp {
    font-size: var(--text-sm);
    top: 20px;
    right: -15px;
    padding: var(--space-2) var(--space-4);
  }
}

/* Book Info in Carousel */
.carousel-book-info {
  text-align: center;
  max-width: 450px;
}

@media (min-width: 768px) {
  .carousel-book-info {
    text-align: left;
  }
}

.carousel-series {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--muted-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
}

.carousel-book-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--crimson-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
}

@media (min-width: 768px) {
  .carousel-book-title {
    font-size: var(--text-3xl);
  }
}

.carousel-author {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--gunmetal-gray);
  margin-bottom: var(--space-4);
}

.carousel-blurb {
  font-size: var(--text-base);
  color: var(--deep-charcoal);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.carousel-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .carousel-cta {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .carousel-cta {
    justify-content: flex-start;
  }
}

/* Carousel Navigation Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gunmetal-gray);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  opacity: 0.4;
}

.carousel-dot:hover {
  background: var(--crimson-red);
  opacity: 0.7;
}

.carousel-dot.active {
  background: var(--crimson-red);
  opacity: 1;
  transform: scale(1.3);
}
