/* AUTHOR SECTION LAYOUT */
.author-container{
display:flex;
align-items:center;
justify-content:center;
gap:60px;
margin-top:40px;
flex-wrap:wrap;
text-align:left;
}

/* AUTHOR IMAGE */
.author-img img{
width:250px;
height:250px;
object-fit:cover;
border-radius:50%;
border:3px solid rgba(255,179,71,0.6);
box-shadow:0 20px 50px rgba(0,0,0,0.5);
}

/* AUTHOR TEXT */
.author-text{
max-width:500px;
}

.author-text h3{
color:#ffb347;
margin-bottom:10px;
font-family:"Playfair Display", serif;
}

.author-text p{
opacity:0.8;
line-height:1.7;
margin-bottom:15px;
}


/* =========================
   ABOUT SECTION ANIMATIONS
========================= */

/* container reveal */
#about {
  opacity: 0;
  transform: translateY(50px);
  animation: sectionFade 1s ease forwards;
  animation-delay: 0.2s;
}

@keyframes sectionFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* title animation */
#about h2 {
  opacity: 0;
  transform: translateY(20px);
  animation: titleDrop 0.8s ease forwards;
  animation-delay: 0.3s;
}

@keyframes titleDrop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* AUTHOR CONTAINER */
.author-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 40px;

  opacity: 0;
  transform: translateY(40px);
  animation: contentFade 1s ease forwards;
  animation-delay: 0.5s;
}

@keyframes contentFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* AUTHOR IMAGE */
.author-img img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,179,71,0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);

  transform: scale(0.9);
  opacity: 0;
  animation: imageZoom 1s ease forwards;
  animation-delay: 0.6s;
  transition: 0.4s ease;
}

@keyframes imageZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* hover effect */
.author-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 70px rgba(255,179,71,0.25);
}

/* AUTHOR TEXT */
.author-text {
  max-width: 500px;

  opacity: 0;
  transform: translateX(30px);
  animation: textSlide 1s ease forwards;
  animation-delay: 0.7s;
}

@keyframes textSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* SUBTITLE */
.author-text h3 {
  color: #ffb347;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;

  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.8s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* PARAGRAPHS */
.author-text p {
  opacity: 0;
  transform: translateY(15px);
  animation: paragraphFade 1s ease forwards;
}

.author-text p:nth-child(2) {
  animation-delay: 0.9s;
}

.author-text p:nth-child(3) {
  animation-delay: 1.1s;
}

@keyframes paragraphFade {
  to {
    opacity: 0.85;
    transform: translateY(0);
  }
}



/* hidden state */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* visible state */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* optional smoother images */
.reveal-img {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.9s ease;
}

.reveal-img.active {
  opacity: 1;
  transform: scale(1);
}

.reveal,
.reveal-img {
  will-change: transform, opacity;
}




/* =========================
   BOOK LAYOUT
========================= */

.book-container{
display:flex;
align-items:center;
justify-content:center;
gap:60px;
flex-wrap:wrap;
margin-top:40px;
text-align:left;
}

/* BOOK IMAGE CONTAINER */
.book-box{
width:300px;
height:430px;
background:#111;
border-radius:20px;
padding:10px;
box-shadow:0 30px 60px rgba(0,0,0,0.6);
transition:0.4s ease;
}

.book-box img{
width:100%;
height:100%;
object-fit:cover;
border-radius:15px;
}

.book-box:hover{
transform:scale(1.05);
box-shadow:0 40px 90px rgba(255,179,71,0.2);
}

/* BOOK TEXT */
.book-details{
max-width:500px;
}

.book-details h3{
font-family:"Playfair Display", serif;
color:#ffb347;
margin-bottom:15px;
font-size:28px;
}

.book-details p{
opacity:0.85;
line-height:1.7;
margin-bottom:15px;
}

/* INTRO TEXT */
.book-intro{
max-width:700px;
margin: 0 auto 20px auto;
opacity:0.8;
}

/* BUTTON */
.book-details .primary{
padding:12px 20px;
border-radius:30px;
background:#ffb347;
border:none;
cursor:pointer;
font-weight:600;
transition:0.3s ease;
}

.book-details .primary:hover{
transform:translateY(-3px);
}



/* =========================
   BASE TYPOGRAPHY SCALE UP
========================= */

body {
  font-size: 18px;
  line-height: 1.7;
}

/* HEADINGS */
h1 {
  font-size: 72px;
  line-height: 1.1;
}

h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

h3 {
  font-size: 26px;
}

/* PARAGRAPHS */
p {
  font-size: 18px;
  opacity: 0.85;
}

/* HERO TEXT (extra emphasis) */
.hero-content h1 {
  font-size: 76px;
}

.hero-content p {
  font-size: 20px;
}

/* BUTTONS */
button {
  font-size: 16px;
  padding: 14px 26px;
}

/* NAVBAR */
.navbar a {
  font-size: 5px;
}

/* BOOK SECTION */
.book-details p,
.book-intro {
  font-size: 19px;
}

/* AUTHOR SECTION */
.author-text p {
  font-size: 18px;
}

.author-text h3 {
  font-size: 28px;
}


/* About Section - warm literary feel */
#about {
  background-color: #f8f1e7; /* parchment-like tone */
  padding: 70px 20px;
}

/* Section title */
#about h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #2c2c2c;
}

/* Layout */
.author-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Image styling */
.author-img img {
  width: 260px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Text styling */
.author-text {
  flex: 1;
}

.author-text h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #ffb347;
}

.author-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .author-container {
    flex-direction: column;
    text-align: center;
  }

  .author-img img {
    width: 200px;
  }
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* IMAGE BACKGROUND */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(40%);
}

/* CONTENT ON TOP */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: left;
}



/* HERO LAYOUT */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 60px;
  padding-top: 100px;
}

/* BOOK CONTAINER */
.book {
  width: 320px;
  height: 480px;
  border-radius: 20px;
  overflow: hidden; /* keeps image inside rounded corners */
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  animation: float 4s ease-in-out infinite;
}

/* IMAGE FIT */
.book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FLOAT ANIMATION */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}


@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Inter:wght@300;400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  background: #0b0b0f;
  color: white;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(12px);
  z-index: 1000;
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  opacity: 0.7;
}

.navbar a:hover {
  opacity: 1;
  color: #ffb347;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 60px;
}

.hero-content h1 {
  font-size: 60px;
  font-family: "Playfair Display", serif;
}

.highlight {
  color: #ffb347;
}

/* BUTTONS */
button {
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}

.primary {
  background: #ffb347;
}

.secondary {
  background: transparent;
  border: 1px solid white;
  color: white;
}

/* SECTION */
.section {
  padding: 120px 60px;
  text-align: center;
}

/* BOOK GRID */
.book-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.book-box {
  background: rgba(255,255,255,0.03);
  padding: 15px;
  border-radius: 15px;
}

.book-box img {
  width: 100%;
  border-radius: 10px;
}

/* AUTHOR */
.author-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.author-img img {
  width: 250px;
  border-radius: 15px;
}
/* NAVBAR (UPDATED BIGGER VERSION) */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 60px; /* ⬅️ bigger padding */
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(14px);
  z-index: 1000;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* BRAND */
.navbar strong {
  font-size: 22px;
  letter-spacing: 1px;
  color: #ffffff;
}

/* LINKS CONTAINER */
.navbar a {
  color: white;
  text-decoration: none;

  margin-left: 25px;
  font-size: 16px;        /* ⬅️ bigger text */
  font-weight: 500;

  opacity: 0.75;
  transition: 0.3s ease;

  padding: 8px 12px;      /* ⬅️ clickable area bigger */
  border-radius: 20px;
}

/* HOVER EFFECT */
.navbar a:hover {
  opacity: 1;
  color: #ffb347;
  background: rgba(255, 179, 71, 0.1);
}

/* ACTIVE PAGE (optional) */
.navbar a.active {
  color: #ffb347;
  opacity: 1;
}
/* AUTHOR TEXT IMPROVEMENT */
.author-text h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 15px;
}

.author-text p {
  color: rgba(255, 255, 255, 0.85); /* white but softer */
  font-size: 16.5px;               /* a bit bigger */
  line-height: 1.8;                /* better readability */
  margin-bottom: 15px;
}
/* AUTHOR TEXT - PREMIUM BIO STYLE */
.author-text h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 18px;
}

/* MAIN PARAGRAPHS */
.author-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;          /* ⬆ bigger text */
  line-height: 1.9;         /* more spacing */
  text-align: justify;      /* justify text */
  text-indent: 40px;        /* indent first line */
  margin-bottom: 18px;
}

.author-text {
  max-width: 750px;   /* makes paragraph wider */
  margin: 0 auto;     /* keeps it centered */
}

.author-text h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 18px;
}

.author-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.9;
  text-align: justify;
  text-indent: 40px;
  margin-bottom: 0;
}

.author-text p {
  opacity: 0;
  transform: translateY(-40px);
  animation: dropIn 0.8s ease forwards;
}

/* stagger all 4 paragraphs */
.author-text p:nth-of-type(1) {
  animation-delay: 0.2s;
}

.author-text p:nth-of-type(2) {
  animation-delay: 0.4s;
}

.author-text p:nth-of-type(3) {
  animation-delay: 0.6s;
}

.author-text p:nth-of-type(4) {
  animation-delay: 0.8s;
}

@keyframes dropIn {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CENTER AUTHOR LAYOUT */
.author-container {
  display: flex;
  flex-direction: column;   /* stack image above text */
  align-items: center;      /* center horizontally */
  text-align: center;
  gap: 25px;
}

/* CIRCLE IMAGE (CENTERED) */
.author-img img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 179, 71, 0.8);
}

/* TEXT CENTERING */
.author-text {
  max-width: 750px;
}

.author-text p {
  text-align: justify;  /* keeps book-style feel */
}

/* BUTTON */
.synopsis-btn {
  margin-top: 10px;
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  background: #ffb347;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

/* MODAL BACKDROP */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  z-index: 1000;
}

/* MODAL */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: #111;
  color: white;
  width: 700px;
  max-width: 90%;
  padding: 25px;
  border-radius: 15px;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 1100;
}

/* ACTIVE */
.modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.modal-overlay.active {
  display: block;
}

/* MODAL CONTENT LAYOUT */
.modal-content {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* IMAGE */
.modal-img {
  width: 180px;
  border-radius: 12px;
  
}
/* TEXT */
.modal-text h2 {
  margin-bottom: 8px;
}

.genre {
  color: #ffb347;
  font-size: 14px;
  margin-bottom: 10px;
  font-style: italic;
}

.modal-text p {
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}
/* CLOSE BUTTON */
.close-btn {
  margin-top: 20px;
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  background: #ffb347;
  cursor: pointer;
}

.buy-btn {
  margin-top: 15px;
  padding: 10px 16px;
  border: none;
  border-radius: 20px;
  background: #ffb347;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

.buy-btn:hover {
  transform: scale(1.05);
}
.modal-img {
  width: 100%;
  max-width: 250px;   /* increased size */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.modal {
  width: 85%;
  max-width: 1100px;     /* makes it wide */
  max-height: 90vh;      /* allows tall modal */
  overflow: hidden;      /* no internal scrolling */
  padding: 30px;
  border-radius: 16px;
}

/* modal layout */
.modal-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* BIGGER IMAGE */
.modal-img {
  width: 420px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* TEXT AREA */
.modal-text {
  flex: 1;
}

.modal-text p {
  font-size: 16px;       /* slightly larger readability */
  line-height: 1.7;
  text-align: justify;
}

.modal-text p {
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;

  /* INDENT EFFECT */
  text-indent: 30px;
  margin-bottom: 15px;
}

.book-box {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.book-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* pushes button to the bottom */
.synopsis-btn {
  margin-top: auto;
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  background: #ffb347;
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.synopsis-btn:hover {
  transform: scale(1.05);
}

/* initial hidden state */
.book-box {
  opacity: 0;
  transform: translateY(40px);
  animation: bookFadeIn 0.6s ease forwards;
}

/* animation keyframes */
@keyframes bookFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* stagger delays (1 by 1 appearance) */
.book-box:nth-child(1) {
  animation-delay: 0.1s;
}

.book-box:nth-child(2) {
  animation-delay: 0.3s;
}

.book-box:nth-child(3) {
  animation-delay: 0.5s;
}

.book-box:nth-child(4) {
  animation-delay: 0.7s;
}

.book-box:nth-child(5) {
  animation-delay: 0.9s;
}

.section h2,
.section p {
  opacity: 0;
  transform: translateY(-40px);
  animation: headerTextDrop 0.8s ease forwards;
}

/* delay so title comes first, subtitle second */
.section h2 {
  animation-delay: 0.2s;
}

.section p {
  animation-delay: 0.4s;
}

@keyframes headerTextDrop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.book-details p {
  text-align: justify;
  text-indent: 25px;
  line-height: 2;
  font-size: 18px;
  color: #ffffff;
}
/* REMOVE BOX / CONTAINER FEEL */
.modal-content {
  background: transparent;   /* remove white box */
  box-shadow: none;          /* remove shadow */
  padding: 0;                /* remove spacing box feel */
}

/* KEEP LAYOUT SAME */
.modal-img {
  width: 250px;
  margin-right: 20px;
}

/* OPTIONAL: cleaner alignment */
.modal-content {
  display: flex;
  align-items: center;
}
/* BOOK ACTION BUTTONS LAYOUT */
.book-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* MAKE BOTH BUTTONS SAME SIZE */
.synopsis-btn,
.buy-btn {
  flex: 1;               /* makes them equal width */
  height: 42px;          /* fixed same height */
  padding: 0 12px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SYNPOSIS BUTTON STYLE */
.synopsis-btn {
  background-color: #2c2c2c;
  color: #fff;
}

.synopsis-btn:hover {
  background-color: #444;
}

/* BUY BUTTON STYLE */
.buy-btn {
  background-color: #b8860b;
  color: #fff;
}

.buy-btn:hover {
  background-color: #d4a017;
}


.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 15px;
}

/* ===== ANIMATED BACKGROUND ===== */
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(-45deg, #0f0f0f, #1a1a1a, #111827, #0b0b0b);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  font-family: 'Inter', sans-serif;
  color: #fff;
  position: relative;
  overflow-x: hidden;
}

/* smooth animated gradient movement */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ===== FLOATING LIGHT ORBS ===== */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: floatGlow 20s infinite alternate ease-in-out;
  filter: blur(40px);
}

body::before {
  top: -100px;
  left: -100px;
}

body::after {
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.12), transparent 70%);
}

/* floating movement */
@keyframes floatGlow {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  50% {
    transform: translate(50px, 30px) scale(1.2);
  }
  100% {
    transform: translate(-30px, -20px) scale(1);
  }
}

.book-details h3 {
  text-align: center;
  width: 100%;
  font-size: 2.2rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 15px;
}

.book-details h3 {
  text-align: center;
  width: 100%;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;  /* smaller than before */
  margin-bottom: 15px;
}

.feature-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%;
  background: #1e1e1e;
  color: #fff;
  gap: 50px;
}

.feature-text {
  max-width: 600px;
}

.feature-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 10px;
  color: #ffb347;
}

.feature-text .date {
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: #00bcd4;
  margin-bottom: 20px;
}

.feature-text p {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  opacity: 0.85;
}

.feature-links {
  margin-top: 25px;
  display: flex;
  gap: 20px;
}

.feature-links a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

.feature-links .grab {
  color: #00bcd4;
}

.feature-image img {
  width: 320px;
  border-radius: 8px;
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.video-box {
  position: relative;
  width: 80%;
  max-width: 900px;
}

.video-box video {
  width: 100%;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.feature-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* VIDEO BACKGROUND */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;

  filter: blur(6px); /* 👈 this is the blur */
  scale: 1.1; /* prevents edge cut-off from blur */
  z-index: 0;
}

/* DARK OVERLAY for readability */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* CONTENT ON TOP */
.feature-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  padding: 60px;
  color: white;
}
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: #111;
  color: white;
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  padding: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.highlight {
  color: orange;
}

/* BUTTONS */
.btn-group {
  margin-top: 20px;
}

button {
  padding: 10px 20px;
  margin-right: 10px;
  cursor: pointer;
}

.primary {
  background: orange;
  border: none;
  color: white;
}

.secondary {
  background: transparent;
  border: 1px solid black;
}

/* HERO BOOK */
.book img {
  width: 300px;
  animation: floatBook 4s ease-in-out infinite;
}

/* ========================= */
/* FEATURE SECTION */
/* ========================= */

.feature-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px;
}

/* VIDEO BACKGROUND */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;

  filter: blur(16px) brightness(0.55); /* 🔥 extra blur */
  scale: 1.2;

  z-index: 0;
}

/* DARK OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* CONTENT */
.feature-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 60px;
  align-items: center;
  color: white;
  max-width: 1100px;
}

/* TEXT */
.feature-text {
  max-width: 600px;
}

.feature-text h2 {
  font-size: 3.5rem; /* bigger */
  margin-bottom: 10px;
}

.feature-text .date {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 15px;
}

.feature-text p {
  font-size: 1.25rem; /* bigger */
  line-height: 1.6;
}

/* LINKS */
.feature-links a {
  color: #ffcc70;
  text-decoration: none;
  font-size: 1.2rem;
}

/* FEATURE BOOK */
.feature-image img {
  width: 380px; /* bigger book */
  border-radius: 12px;

  animation: floatBook 4s ease-in-out infinite;

}
/* FLOAT ANIMATION */
@keyframes floatBook {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}


/* ================= NAV ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: #111;
  color: white;
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* ================= FEATURE SECTION ================= */
.feature-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px;
}

/* BACKGROUND VIDEO */
.feature-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;

  filter: blur(18px) brightness(0.5);
  scale: 1.2;

  z-index: 0;
}
/* OVERLAY */
.feature-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* CONTENT */
.feature-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 60px;
  align-items: center;
  color: white;
  max-width: 1100px;
}

/* TEXT */
.feature-text h2 {
  font-size: 3.5rem;
}

#typing-text {
  font-size: 1.2rem;
  line-height: 1.6;
  min-height: 120px;
}

/* BOOK IMAGE ANIMATION */
.feature-image img {
  width: 380px;
  animation: floatBook 4s ease-in-out infinite;
  border-radius: 12px;
}

@keyframes floatBook {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* ================= MODAL ================= */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.video-box video {
  width: 800px;
  max-width: 90vw;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px;
  cursor: pointer;
}

#typing-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: white;

  text-align: justify;      /* 👈 makes text aligned both sides */
  text-indent: 40px;        /* 👈 first-line indentation */
  max-width: 600px;         /* keeps it readable */
}
/* ===== ABOUT HERO ===== */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

/* BACKGROUND */
.about-bg {
  position: absolute;
  inset: 0;
  background: url("image/your-background.jpg") center/cover no-repeat;
  filter: grayscale(30%) brightness(40%);
  transform: scale(1.1);
}

/* OVERLAY */
.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

/* CONTENT WRAPPER */
.about-content {
  position: relative;
  display: flex;
  gap: 60px;
  max-width: 1200px;
  padding: 80px;
  align-items: center;
}

/* TEXT SIDE */
.about-text {
  flex: 1;
}

.about-text h1 {
  font-size: 60px;
  margin: 0;
  font-family: serif;
}

.about-text h1 span {
  color: #d6c07a;
}

.about-text h3 {
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 14px;
  opacity: 0.7;
}

/* SCROLLABLE TEXT AREA */
.about-scroll {
  margin-top: 20px;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 10px;
}

.about-scroll p {
  line-height: 1.7;
  margin-bottom: 18px;
  opacity: 0.9;
}

/* IMAGE SIDE */
.about-image {
  flex: 0.8;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}


.close-btn {
  margin-top: 15px;

  padding: 8px 12px;   /* smaller size */
  font-size: 13px;     /* smaller text */

  border: none;
  border-radius: 5px;

  background-color: #b8860b;
  color: #fff;
  font-weight: 600;

  cursor: pointer;
  transition: 0.2s ease;

  display: block;
  margin-left: auto;   /* keeps it on the right */
}


#modalTitle {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #fff;
}
































/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: #111;
  color: white;
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* ================= HERO FEATURE SECTION ================= */
.hero-feature {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px;
}

/* BACKGROUND VIDEO */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;

  filter: blur(18px) brightness(0.5);
  scale: 1.2;

  z-index: 0;
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  color: white;
}

/* TEXT SIDE */
.text-side {
  max-width: 600px;
}

.text-side h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  line-height: 1.2;
}

.highlight {
  color: orange;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-top: 10px;
}

.date {
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: #ffb347;
  margin: 15px 0;
}

/* TYPING */
#typing-text {
  font-size: 1.1rem;
  line-height: 1.6;
  min-height: 120px;
}

/* LINK */
.feature-links a {
  color: #ffcc70;
  text-decoration: none;
  font-size: 1.1rem;
}

/* IMAGE */
.image-side img {
  width: 360px;
  border-radius: 12px;
  animation: floatBook 4s ease-in-out infinite;
}

/* FLOAT */
@keyframes floatBook {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* ================= MODAL ================= */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.video-box video {
  width: 800px;
  max-width: 90vw;
  border-radius: 10px;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;

  padding: 8px 12px;
  border: none;
  border-radius: 6px;

  background: #b8860b;
  color: white;
  cursor: pointer;
}

.close-btn:hover {
  background: #d4a017;
}















.feature-links a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
}

/* small button style */
.more-books-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 7px;
  background-color: #b8860b;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 5px;
  transition: 0.2s ease;
}

.more-books-btn:hover {
  background-color: #d4a017;
}





.site-footer {
  background: #0e0e0e;
  color: #ccc;
  text-align: center;
  padding: 40px 20px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}



.footer-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin: 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-line {
  font-size: 0.9rem;
  color: #aaa;
}

.footer-line a {
  color: #fff;
  text-decoration: none;
}

.footer-line a:hover {
  text-decoration: underline;
}

.footer-left-align {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* pushes content to the left */
  gap: 10px;
  width: 100%;
}


.footer-logo {
  width: 200px;   /* adjust smaller or bigger if needed */
  height: auto;
  object-fit: contain;
}


.nav-logo img {
  width: 200px;   /* adjust size as needed */
  height: auto;
  object-fit: contain;
}

/* keeps navbar aligned nicely */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}






.site-footer {
  background: #000000;
}


.navbar {
  background: #000000; /* pure black */
}

.navbar img {
  height: 45px;   /* controls logo size */
  width: auto;
  object-fit: contain;
  display: block;
}




/* =========================
   RESPONSIVE FIX ONLY
   (does NOT change design)
========================= */

/* Prevent horizontal scroll on all pages */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Make images scale down properly */
img {
  max-width: 100%;
  height: auto;
}

/* -------------------------
   TABLET (<= 992px)
------------------------- */
@media (max-width: 992px) {

  /* Book layout */
  .book-container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About page layout */
  .author-container {
    flex-direction: column;
  }
}

/* -------------------------
   MOBILE (<= 600px)
------------------------- */
@media (max-width: 600px) {

  /* Book layout becomes single column */
  .book-container {
    grid-template-columns: 1fr;
  }

  /* Navbar wraps instead of breaking */
  .navbar {
    flex-wrap: wrap;
  }

  .navbar div {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  /* Reduce section padding slightly */
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Ensure about page stacks */
  .author-container {
    flex-direction: column;
  }
}






/* ================= SCROLL INDICATOR ================= */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-indicator a {
  display: block;
  width: 24px;
  height: 40px;
  position: relative;
}

.scroll-indicator span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 4px auto;
  animation: scrollAnim 1.5s infinite;
  opacity: 0;
}

.scroll-indicator span:nth-child(1) {
  animation-delay: 0s;
}
.scroll-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.scroll-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes scrollAnim {
  0% {
    opacity: 0;
    transform: translateY(-10px) rotate(45deg);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(10px) rotate(45deg);
  }
}
.feature-links a {
  text-decoration: underline;
}