/* =============================================
   THE WEIGHT OF GRACE — Promo Page Stylesheet
   Dark, cinematic, Christian fiction aesthetic
   ============================================= */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: #0d0d0d;
  color: #e8e0d0;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

em {
  font-style: italic;
  color: #c9a96e;
}

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #f0ece4;
  margin-bottom: 2rem;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: #c9a96e;
  color: #0d0d0d;
  border: 2px solid #c9a96e;
}

.btn-primary:hover {
  background: transparent;
  color: #c9a96e;
}

.btn-light {
  background: transparent;
  color: #f0ece4;
  border: 2px solid #f0ece4;
}

.btn-light:hover {
  background: #f0ece4;
  color: #0d0d0d;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(to bottom, rgba(13,13,13,0.45) 0%, rgba(13,13,13,0.75) 60%, rgba(13,13,13,1) 100%),
    url('https://images.unsplash.com/photo-1476231682828-37e571bc172f?w=1600&q=80&fit=crop') center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(13,13,13,0.6) 100%);
  pointer-events: none;
}

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

.hero-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 0.5rem;
}

.hero-author {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8e0d0;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  color: #f0ece4;
  line-height: 1.0;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.8);
}

.hero-title em {
  display: block;
  font-size: 0.85em;
}

.hero-genre {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a8a74;
  margin-bottom: 2.5rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a8a74;
  margin-bottom: 0.5rem;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #c9a96e, transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ===== VIDEO SECTION ===== */
.video-section {
  padding: 6rem 0;
  background: #111111;
  text-align: center;
}

.video-section .section-title {
  margin-bottom: 3rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(201,169,110,0.2);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== BOOK SECTION ===== */
.book-section {
  padding: 7rem 0;
  background: #0d0d0d;
}

.book-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: center;
}

/* 3D Book Effect */
.book-cover-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-3d {
  position: relative;
  transform: perspective(900px) rotateY(-12deg);
  transition: transform 0.5s ease;
  filter: drop-shadow(-20px 20px 40px rgba(0,0,0,0.9));
}

.book-3d:hover {
  transform: perspective(900px) rotateY(-4deg);
}

.book-cover-img {
  display: block;
  width: 100%;
  max-width: 320px;
  border-radius: 2px 6px 6px 2px;
}

/* Book spine illusion */
.book-3d::before {
  content: '';
  position: absolute;
  top: 1%;
  left: -18px;
  width: 18px;
  height: 98%;
  background: linear-gradient(to right, #2a1f0f, #5a3e1b, #3a2a0e);
  transform: skewY(-0.5deg);
  border-radius: 2px 0 0 2px;
}

.book-title-large {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #f0ece4;
  margin-bottom: 1.5rem;
}

.book-desc {
  font-size: 1.05rem;
  color: #b8ad9e;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(201,169,110,0.4);
  color: #c9a96e;
  border-radius: 2px;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  padding: 6rem 2rem;
  background:
    linear-gradient(rgba(13,13,13,0.88), rgba(13,13,13,0.88)),
    url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=1600&q=80&fit=crop') center / cover no-repeat;
  text-align: center;
}

.quote-section blockquote {
  max-width: 750px;
  margin: 0 auto;
}

.quote-section blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  color: #f0ece4;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.quote-section blockquote cite {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a96e;
  font-style: normal;
}

/* ===== THEMES SECTION ===== */
.themes-section {
  padding: 7rem 0;
  background: #111111;
  text-align: center;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.theme-card {
  background: #1a1a1a;
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 4px;
  padding: 2.5rem 1.5rem;
  transition: all 0.3s ease;
}

.theme-card:hover {
  border-color: rgba(201,169,110,0.5);
  transform: translateY(-4px);
  background: #1e1e1e;
}

.theme-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #c9a96e;
}

.theme-card h3 {
  font-size: 1.1rem;
  color: #f0ece4;
  margin-bottom: 0.75rem;
}

.theme-card p {
  font-size: 0.92rem;
  color: #7a7060;
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 7rem 2rem;
  background: linear-gradient(135deg, #1a1208 0%, #0d0d0d 50%, #0d1018 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #f0ece4;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  color: #9a8a74;
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 2rem;
  background: #080808;
  text-align: center;
  border-top: 1px solid rgba(201,169,110,0.1);
}

.site-footer p {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4a4035;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .book-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .book-3d {
    transform: perspective(900px) rotateY(0deg);
  }

  .book-3d::before {
    display: none;
  }

  .book-cover-img {
    max-width: 240px;
    margin: 0 auto;
  }

  .book-tags {
    justify-content: center;
  }

  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .themes-grid {
    grid-template-columns: 1fr;
  }

  .video-section,
  .book-section,
  .themes-section,
  .cta-section {
    padding: 4rem 0;
  }
}