@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Playfair+Display:wght@500;600;700&display=swap');

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ROOT VARIABLES (easy to tweak design) */
:root {
  --primary: #111;
  --secondary: #555;
  --bg: #f9f9fb;
  --white: #fff;
  --radius: 16px;
  --transition: 0.3s ease;
}

/* BODY */
body {
  font-family: "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--primary);
  line-height: 1.6;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eee;

  padding: 15px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--primary);
}

.nav-links a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--secondary);
  position: relative;
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  height: 2px;
  width: 0;
  background: var(--primary);
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* HERO */
.hero {
  padding-top: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.author-name {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.author-tagline {
  margin: 15px 0;
  font-size: 1.1rem;
  color: var(--secondary);
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
}

.btn-primary-custom:hover {
  background: #333;
  transform: translateY(-2px);
}

/* BOOK FAN */
.book-fan {
  position: relative;
  display: inline-block;
  margin-top: 20px;
}

.book {
  width: 110px;
  border-radius: 12px;
  position: absolute;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.book1 {
  transform: rotate(-10deg);
  left: 0;
}
.book2 {
  transform: rotate(0deg);
  left: 50px;
}
.book3 {
  transform: rotate(10deg);
  left: 100px;
}

.book-fan:hover .book1 {
  transform: rotate(-20deg) translateY(-15px);
}
.book-fan:hover .book2 {
  transform: translateY(-20px);
}
.book-fan:hover .book3 {
  transform: rotate(20deg) translateY(-15px);
}

/* SECTION TITLE */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
}

/* BOOK CARD */
.book-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin: 30px 0;
  transition: var(--transition);
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.book-cover {
  border-radius: 10px;
  width: 180px;
}

.book-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.book-description {
  color: var(--secondary);
}

/* BUY BUTTON */
.btn-buy {
  background: var(--primary);
  color: var(--white);
  margin-top: 10px;
}

.btn-buy:hover {
  background: #444;
  transform: translateY(-2px);
}

/* ABOUT */
.about-img {
  transition: var(--transition);
  border-radius: 20px;
}

.about-img:hover {
  transform: scale(1.05);
}

/* PAGE FADE */
.fade-page {
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* SCROLL ANIMATION */
.hidden {
  opacity: 0;
  transform: translateY(40px);
}

.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

/* TYPING CURSOR */
#typing-text::after {
  content: "|";
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .author-name {
    font-size: 2.2rem;
  }

  .book {
    width: 80px;
  }

  .book2 { left: 35px; }
  .book3 { left: 70px; }
}














/* VIDEO BACKGROUND */
.hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* VIDEO */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}

/* OVERLAY (important for readability) */
.video-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

/* OPTIONAL: blur navbar slightly over video */
.backdrop-blur {
  backdrop-filter: blur(10px);
}



.book-card {
  transition: all 0.3s ease;
}

.book-card:hover {
  transform: translateY(-5px);
}













/* ===== SCROLL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}








/* =========================
   FIXED NAVBAR STABILITY
========================= */

body {
  padding-top: 80px; /* prevents content jumping under navbar */
}

/* consistent navbar look across all pages */
.custom-navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eee;

  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  transition: all 0.3s ease;
}

/* same font everywhere */
.custom-navbar .navbar-brand,
.custom-navbar .nav-link {
  font-family: "Segoe UI", sans-serif;
  font-weight: 500;
  color: #111;
}

/* hover effect */
.custom-navbar .nav-link {
  position: relative;
  margin-left: 15px;
}

.custom-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  transition: 0.3s ease;
}

.custom-navbar .nav-link:hover::after {
  width: 100%;
}















.navbar-brand {
  font-family: "Playfair Display", serif; /* consistent elegant font */
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #111 !important;
  text-decoration: none;
}

/* keep hover consistent */
.navbar-brand:hover {
  color: #000 !important;
}





































.scroll-indicator {
  position: absolute;
  bottom: 95px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.scroll-indicator a {
  display: block;
  width: 30px;
  height: 50px;
  position: relative;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  margin: -6px auto;
  animation: arrowMove 1.5s infinite;
}

.scroll-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}




@keyframes arrowMove {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}






.hero-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 100%;
}

/* BIG TITLE */
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 2px;
  animation: fadeUp 1.5s ease-out forwards;
  opacity: 0;
}

/* SUBTEXT */
.hero-subtext {
  font-family: "Cinzel", serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  opacity: 0;
  margin-top: 15px;
  animation: fadeUp 2s ease-out forwards;
  animation-delay: 0.3s;
}

/* BUTTON ANIMATION */
.hero-center .btn {
  opacity: 0;
  animation: fadeUp 2.3s ease-out forwards;
  animation-delay: 0.6s;
}

/* SMOOTH FLOAT EFFECT */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}












.site-footer {
  background-color: #3f5d5f;
  color: #000000;
}

.site-footer p,
.site-footer h5,
.site-footer i {
  color: #000000;
}











/* SECTION */
.featured-book {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px;
  
}

/* LAYOUT */
.book-spotlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  max-width: 1100px;
}

/* REAL BOOK LOOK */
.book-front {
  width: 300px;
  height: 430px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;

  /* realistic shadow */
  box-shadow:
    0 25px 50px rgba(0,0,0,0.25),
    0 10px 20px rgba(0,0,0,0.15);

  transition: transform 0.4s ease;
}

/* IMAGE */
.book-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HOVER = SLIGHT LIFT (REAL OBJECT FEEL) */
.book-front:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 35px 70px rgba(0,0,0,0.3),
    0 15px 25px rgba(0,0,0,0.2);
}

/* TEXT SIDE */
.book-content {
  max-width: 500px;
}

.book-label {
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  font-size: 0.85rem;
}

.book-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin: 10px 0;
}

.book-line {
  width: 70px;
  height: 2px;
  background: #000000;
  margin: 15px 0;
}

.book-desc {
  color: #555;
  line-height: 1.8;
}

.book-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.book-btn:hover {
  background: #d8b365;
}






.about-text p {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* left side animation */
.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* right side animation */
.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* initial directions */
.slide-in-left {
  transform: translateX(-60px);
}

.slide-in-right {
  transform: translateX(60px);
}



.about-text p {
  text-align: justify;    
  text-indent: 2em;        
  line-height: 1.8;        
  margin-bottom: 1.5rem;  
  font-size: 1.1rem; /* increase text size */
}



.about-img,
.name-animate,
.label-animate {
  opacity: 0;
  transform: translateX(-120px);
  animation: slideInLeft 1s ease forwards;
}

/* staggered timing */
.about-img {
  animation-delay: 0.2s;
}

.name-animate {
  animation-delay: 0.5s;
}

.label-animate {
  animation-delay: 0.8s;
}

/* keyframes */
@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}















/* initial hidden state */
.book-front img,
.book-title,
.book-desc,
.book-label,
.book-line,
.book-btn {
  opacity: 0;
}

/* LEFT: book image */
.book-front img {
  transform: translateX(-100px);
  animation: slideLeft 1s ease forwards;
  animation-delay: 0.2s;
}

/* RIGHT: text content */
.book-label,
.book-title,
.book-line,
.book-desc {
  transform: translateX(100px);
  animation: slideRight 1s ease forwards;
}

/* stagger text animation */
.book-label { animation-delay: 0.4s; }
.book-title { animation-delay: 0.6s; }
.book-line  { animation-delay: 0.8s; }
.book-desc  { animation-delay: 1s; }

/* BOTTOM: button */
.book-btn {
  transform: translateY(80px);
  animation: slideUp 1s ease forwards;
  animation-delay: 1.3s;
}

/* keyframes */
@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* animate the whole container */
.book-front {
  opacity: 0;
  transform: translateX(-100px);
  animation: slideLeft 1s ease forwards;
  animation-delay: 0.2s;
}

/* remove animation from img */
.book-front img {
  opacity: 1;
  transform: none;
}

.book-desc {
  text-align: justify;     
  text-indent: 2em;       
  font-size: 1.15rem;     
  line-height: 1.8;       
  margin-top: 10px;       
}

.featured-book {
  margin-top: 80px; /* creates separation */
  padding-top: 60px;
}


/* whole section */
.synopsis {
  max-width: 800px;
  margin: 80px auto;
  padding: 30px;
}

/* header container */
.synopsis h1 {
  text-align: center;
  font-family: 'Georgia', serif; /* elegant book-style font */
  font-size: 2.2rem;
  background: #6c5ce7; /* nice modern purple */
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
}

/* description text */
.synopsis p {
  text-align: justify;
  text-indent: 2em;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
}

.synopsis-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.6);

  display: none;           /* hidden by default */
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.synopsis-container {
  background: white;
  padding: 25px;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
}


.book-content {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 1.6s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



/* ===== INITIAL STATE (ALL HIDDEN) ===== */
.book-front,
.book-content,
.book-label,
.book-title,
.book-genre,
.book-line,
.book-desc,
.synopsis-btn-wrap,
.book-btn {
  opacity: 0;
}

/* ===== LEFT (BOOK IMAGE) ===== */
.book-front {
  transform: translateX(-120px);
  animation: slideLeft 1.2s ease forwards;
  animation-delay: 0.2s;
}

/* ===== RIGHT (ALL TEXT BLOCKS) ===== */
.book-content {
  transform: translateX(120px);
  animation: slideRight 1.2s ease forwards;
  animation-delay: 0.3s;
}

/* keep internal elements synced (no stagger chaos) */
.book-label,
.book-title,
.book-genre,
.book-line,
.book-desc,
.synopsis-btn-wrap,
.book-btn {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

/* ===== KEYFRAMES ===== */
@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  padding-top: 20px;
}








@keyframes glowPulse {
  0% {
    text-shadow:
      0 0 5px #fff,
      0 0 10px #ffffff,
      0 0 20px #ffffff;
  }
  50% {
    text-shadow:
      0 0 10px #fff,
      0 0 25px #ffffff,
      0 0 45px #ffffff;
  }
  100% {
    text-shadow:
      0 0 5px #dde5e6,
      0 0 10px #dde5e6,
      0 0 20px #dde5e6;
  }
}

.book-hero-title {
  animation: glowPulse 2.5s infinite ease-in-out;
}



.book-hero-title {
  text-align: center;
  color: #fff;
  margin: 0;
  text-shadow: 0 0 10px #00eaff;
}

/* First title (bigger) */
.title-main {
  font-size: 52px;
}

/* Second title (smaller) */
.title-sub {
  font-size: 34px;
  margin-top: 10px;
}

/* Author */
.book-hero-author {
  text-align: center;
  margin-top: 15px;
  color: #fff;
  font-size: 18px;
  text-shadow: 0 0 5px #ffffff;
}

.book-hero-title,
.book-hero-author {
  opacity: 0;
}

:root {
  --nav-height: 70px;
}

/* smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* FIX NAV OVERLAP */
#intro {
  scroll-margin-top: var(--nav-height);
}

/* FORCE FULL PAGE SECTIONS */
.hero-video,
#intro {
  height: 100vh;
  scroll-snap-align: start;
}

/* ENABLE SNAP SCROLLING */
body {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}



.author-img {
  width: 250px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}




.page-text {
  font-family: "Quicksand", sans-serif;
  font-size: 1.15rem;
  line-height: 1.9;
  text-align: justify;
  text-indent: 2em;
  color: #444;
}




/* center name + label */
.name-animate,
.label-animate {
  text-align: center;
  display: block;
}

/* center whole text block */
.about-text {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: justify;
}

/* paragraphs styling */
.about-text p {
  font-family: "Quicksand", sans-serif;
  font-size: 1.15rem;
  line-height: 1.9;
  text-indent: 2em;
  color: #444;
  margin-bottom: 1.5rem;
}



.about-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;

  display: block;
  margin: 0 auto;
}



.about-container {
  text-align: center;
  margin-top: 60px;
}

.about-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}



.about-img {
  margin-bottom: 5px; /* pulls text closer to image */
}

.about-text {
  margin-top: 0;
  padding-top: 0;
}





@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-container {
  opacity: 0;
  animation: slideInLeft 0.8s ease-out forwards;
  text-align: center;
}

















/* VIDEO BACKGROUND WRAPPER */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

/* VIDEO ELEMENT */
.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* 🔥 STRONGER BLUR */
  filter: blur(20px);
  
  /* prevent edges showing after heavy blur */
  transform: scale(1.2);
}

/* DARK OVERLAY (slightly stronger for readability) */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* slightly darker */
  background: rgba(0, 0, 0, 0.6);
}






.book-spotlight {
  background: rgba(0, 0, 0, 0.45); /* dark glass layer */
  backdrop-filter: blur(12px);     /* frosted glass effect */
  -webkit-backdrop-filter: blur(12px);

  border-radius: 16px;
  padding: 40px;
  max-width: 1100px;
  margin: 80px auto;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}














/* MAIN TEXT FIX */
.book-content {
  color: #ffffff;
}

/* TITLE */
.book-title {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* GENRE + LABEL */
.book-genre,
.book-label {
  color: rgba(255, 255, 255, 0.85);
}

/* DESCRIPTION */
.book-desc {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* BUTTON (optional boost) */
.book-btn {
  background: #000;
  color: #fff;
  border: none;
}

.book-btn:hover {
  background: #222;
}




.reflection-title {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 1.5px;
  color: rgba(0, 0, 0, 0.9);
}










/* GLOBAL FOOTER STYLE (affects ALL pages) */
.site-footer {
  background: #1a1410; /* warm dark tone */
  color: #e6d3a3;
  border-top: 1px solid rgba(230, 211, 163, 0.2);
}

/* TEXT INSIDE FOOTER */
.site-footer p,
.site-footer h5 {
  color: #ffffff;
}

/* ICON COLOR */
.site-footer i {
  color: #ffffff;
}

/* LINKS (if you add any later) */
.site-footer a {
  color: #e6d3a3;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}























/* BOOK CONTAINER */
.book-front {
  perspective: 1200px;
}

/* BOOK IMAGE */
.book-front img {
  width: 100%;
  max-width: 300px;
  border-radius: 6px;

  /* 3D ANGLE */
  transform: rotateY(-18deg) rotateX(4deg);
  transform-style: preserve-3d;

  /* REALISTIC SHADOW */
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    -10px 0 20px rgba(0, 0, 0, 0.4);

  transition: all 0.4s ease;
}

/* HOVER EFFECT (makes it feel alive) */
.book-front img:hover {
  transform: rotateY(-8deg) rotateX(2deg) scale(1.03);
}

/* SUBTLE LIGHT EDGE (fake spine highlight) */
.book-front img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  border-radius: 6px 0 0 6px;
}


















body {
  background: radial-gradient(
      circle at center,
      #ffffff 0%,
      #f4f1ec 60%,
      #e9e2d8 100%
  );
}

/* subtle vignette for depth */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

  background: radial-gradient(
    circle at center,
    transparent 60%,
    rgba(0, 0, 0, 0.05) 100%
  );
}






















/* =========================
   GLOBAL RESPONSIVE RESET
========================= */
img {
  max-width: 100%;
  height: auto;
}

/* prevent horizontal scroll issues */
body {
  overflow-x: hidden;
}

/* =========================
   NAVBAR MOBILE FIX
========================= */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

/* =========================
   HERO TEXT RESPONSIVE
========================= */
@media (max-width: 768px) {
  .book-hero-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .book-hero-author {
    font-size: 14px;
  }
}

/* =========================
   BOOK PAGE LAYOUT
========================= */
@media (max-width: 768px) {
  .book-spotlight {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .book-front img {
    transform: none !important;
  }
}

/* =========================
   ABOUT PAGE FIX
========================= */
@media (max-width: 768px) {
  .about-container {
    text-align: center;
  }

  .about-img {
    width: 180px;
    height: auto;
  }

  .about-text {
    padding: 10px;
    font-size: 15px;
  }
}

/* =========================
   INTRO / SYNOPSIS SECTION
========================= */
@media (max-width: 768px) {
  .intro-card {
    padding: 20px !important;
  }

  .page-text {
    font-size: 15px;
  }
}

/* =========================
   FOOTER MOBILE FIX
========================= */
@media (max-width: 768px) {
  .site-footer .row {
    text-align: center;
  }

  .site-footer .col-12 {
    align-items: center !important;
    margin: 0 auto;
  }
}

















.reveal-left,
.reveal-right {
  opacity: 0;
}

/* when active class is added */
.reveal-left.active {
  animation: slideInLeft 1s ease forwards;
}

.reveal-right.active {
  animation: slideInRight 1s ease forwards;
}

/* animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}




/* HEADER + FOOTER TITLE UNIFIED STYLE */
.navbar-brand,
.footer-title {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* FOOTER COLOR ADJUSTMENT */
.site-footer .footer-title {
  color: #ffffff;
}
























/* ABOUT PAGE MINIMAL BACKGROUND */
body {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f6f2ec 50%,
    #ede6db 100%
  );
}

/* soft vignette for depth */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

  background: radial-gradient(
    circle at center,
    transparent 60%,
    rgba(0, 0, 0, 0.05) 100%
  );
}











.book-spotlight {
  background: rgba(0, 0, 0, 0.75);  /* deep black with slight transparency */
  color: #ffffff;

  border-radius: 16px;
  padding: 40px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}





 






/* HIGH CONTRAST BOOK DESCRIPTION */
.book-desc {
  color: #ffffff;              /* pure white for max contrast */
  font-size: 19px;
  line-height: 1.8;
  font-weight: 400;

  /* improves readability on busy backgrounds */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* optional: make genre + label slightly softer but still readable */
.book-label {
  color: #f5e6c8;
  font-weight: 600;
  letter-spacing: 1px;
}

.book-genre {
  color: rgba(255, 255, 255, 0.85);
}






/* FORCE FOOTER TO IGNORE VIDEO BACKGROUND */
.site-footer {
  position: relative;
  z-index: 10;

  background: #181717; /* solid color blocks video */
  color: #fffdfd;
}

/* ensures footer is always above video layer */
.video-background {
  z-index: -1;
}








.page-text p {
  font-size: 20px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
}

















/* AUTHOR NAME FONT STYLE */
.about-container h2 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1px;
}