@font-face {
  font-family: FrauncesRegular;
  src: url("../fonts/Fraunces_72pt-Regular.ttf");
}

@font-face {
  font-family: FrauncesSemiBold;
  src: url("../fonts/Fraunces_72pt-SemiBold.ttf");
}

@font-face {
  font-family: FrauncesBold;
  src: url("../fonts/Fraunces_72pt-Bold.ttf");
}

@font-face {
  font-family: WorkSansLight;
  src: url("../fonts/WorkSans-Light.ttf");
}

@font-face {
  font-family: WorkSansMedium;
  src: url("../fonts/WorkSans-Medium.ttf");
}

/* Variables & Fonts */
:root {
  --font-heading: "FrauncesSemiBold", serif;
  --font-heading-bold: "FrauncesBold", serif;
  --font-heading-regular: "FrauncesRegular", serif;
  --font-body: "WorkSansLight", sans-serif;
  --primary: #E9E3D3;
  --secondary: #9AA1AE;
  --accent-red: #CD433F;
  --nav-link-color: #7A7A7A;
}

* {
  box-sizing: border-box;
}

body,
html {
  font-family: var(--font-body);
  color: var(--secondary);
  margin: 0;
  padding: 0;
  background-color: #12141A;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* Navigation */
.navbar {
  background: transparent;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease, padding 0.3s ease; /* Smooth transition */
}


.navbar.scrolled {
  background-color: #12141A !important;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  font-family: var(--font-heading-bold);
  font-size: 1.5rem;
  color: var(--primary) !important;
}

.navbar-brand span {
  color: var(--accent-red);
  font-style: italic;
}

.nav-link {
  font-family: var(--font-body);
  color: var(--secondary) !important;
  font-size: 0.9rem;
  margin: 0 10px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Sidebar */
.offcanvas-start {
  background-color: #12141A;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-title {
  font-family: var(--font-heading-bold);  
  color: var(--primary);
}

.btn-close-white {
  filter: invert(1);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 120px;
  padding-bottom: 50px;
}

.sub-heading {
  font-family: var(--font-heading-regular);
  color: #C39958;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.main-heading {
  font-family: var(--font-heading-bold);
  color: var(--primary);
  font-size: clamp(3rem, 5vw + 1rem, 5rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.main-heading span {
  color: var(--accent-red);
}

.hero-text {
  font-size: 1.1rem;
  max-width: 450px;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Buttons */
.btn-custom-primary {
  background-color: var(--accent-red);
  color: var(--primary);
  font-family: var(--font-body);
  padding: 12px 30px;
  border: 1px solid var(--accent-red);
  transition: all 0.3s ease;
}

.btn-custom-primary:hover {
  background-color: transparent;
  color: var(--accent-red);
  border: 1px solid var(--accent-red);
}

.btn-custom-secondary {
  background-color: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  padding: 12px 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-custom-secondary:hover {
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Single Image Wrapper */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  margin-top: 20px;
}

/* Single Book Image Styling */
.hero-books-img {
  width: 100%;
  max-width: 650px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(15px 25px 25px rgba(0, 0, 0, 0.7));
  animation: floatBooks 6s ease-in-out infinite;
}


/* ===============================
   The Book Section
   =============================== */
.the-book-section {
  padding: 100px 0;
  background-color: #12141A;
  position: relative;
  z-index: 2;
}

.section-subheading {
  font-family: var(--font-heading-regular);
  color: #C39958;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.section-heading {
  font-family: var(--font-heading-bold);
  color: var(--primary);
  font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem);
  line-height: 1.2;
}

/* 2nd Section Image Setup */
.book-section-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(10px 20px 30px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s ease;
}

.book-section-img:hover {
  transform: translateY(-5px) scale(1.02);
}

/* Typography & Synopsis */
.book-synopsis {
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.book-synopsis p {
  margin-bottom: 20px;
}

.text-primary-bold {
  font-family: "WorkSansMedium", sans-serif;
  color: var(--primary);
}

/* Divider Line */
.section-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0 25px 0;
}

/* Retailer Section */
.available-text {
  font-family: var(--font-body);
  color: #6C727F;
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-style: italic;
}

.btn-retailer {
  background-color: transparent;
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 10px 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-retailer:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--primary);
  border-color: rgba(255, 255, 255, 0.4);
}


/* ===============================
   About the Author Section
   =============================== */
.about-section {
  padding: 120px 0;
  background-color: #1A1C23;
  position: relative;
}

/* Image Styling */
.author-image-wrapper {
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.about-author-img {
  object-fit: cover;
  aspect-ratio: 4 / 4.8;
  display: block;
  transition: transform 0.5s ease;
}

.author-image-wrapper:hover .about-author-img {
  transform: scale(1.03);
}

.about-subheading {
  font-family: var(--font-heading-regular);
  color: #8C94A1;
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.about-quote {
  font-family: var(--font-heading-regular);
  color: var(--primary);
  font-size: clamp(1.4rem, 3vw + 0.5rem, 1.7rem);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 35px;
}

.about-text {
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 35px;
}

.about-text p {
  margin-bottom: 20px;
}

.author-name {
  font-family: var(--font-heading-bold);
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.author-title {
  font-family: var(--font-body);
  color: #6C727F;
  font-size: 0.9rem;
  margin-bottom: 0;
}


/* ===============================
   Author Podcast Section
   =============================== */
.podcast-section {
  padding: 100px 0;
  background-color: #12141A;
  position: relative;
}

/* Heading Styling */
.podcast-heading {
  font-family: var(--font-heading-bold);
  color: var(--primary);
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
  margin-bottom: 15px;
}

.podcast-desc {
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.podcast-placeholder {
  background-color: #D3D3D3;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podcast-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}


/* ===============================
   Book Trailer Section
   =============================== */
.trailer-section {
  padding: 100px 0;
  background-color: #1A1C23;
  position: relative;
}

/* Heading Styling */
.trailer-heading {
  font-family: var(--font-heading-bold);
  color: var(--primary);
  font-size: clamp(2rem, 4vw + 1rem, 3.2rem);
  margin-bottom: 15px;
}

/* Description Text */
.trailer-desc {
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Video Wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 4px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* Video Element inside wrapper */
.trailer-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* ===============================
   Early Praise / Reviews Section
   =============================== */
.praise-section {
  padding: 100px 0;
  background-color: #12141A;
  position: relative;
}

/* Main Grid Container with Border */
.praise-grid {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Individual Columns / Vertical Dividers */
.praise-col {
  padding: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  /* Ensures inner cards match height automatically */
}

.praise-col:last-child {
  border-right: none;
}

/* Card Content Styling */
.praise-card {
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.stars {
  color: #F5C518;
  font-size: 1.2rem;
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.review-text {
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 40px;
  flex-grow: 1;
}

.reviewer-info {
  margin-top: auto;
}

.reviewer-name {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.reviewer-occ {
  font-family: var(--font-body);
  color: #6C727F;
  font-size: 0.85rem;
}


/* ===============================
   Dispatches / Notes Section
   =============================== */
.dispatches-section {
  padding: 100px 0;
  background-color: #1A1C23;
  position: relative;
}

/* Full Width Thin Divider */
.dispatches-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 35px 0 45px 0;
  opacity: 1;
}

/* Blog Carousel Controls */
.blog-carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

/* Blog Carousel */
.blog-carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.blog-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.blog-carousel-card {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-carousel-card:hover {
  transform: translateY(-5px);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 20px;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-carousel-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dispatch-title {
  font-family: var(--font-heading-bold);
  color: var(--primary);
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 15px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.dispatch-title:hover {
  color: #C39958;
}

.blog-read-more {
  font-family: var(--font-body);
  color: var(--accent-red);
  font-size: 0.9rem;
  margin-top: auto;
  transition: letter-spacing 0.3s ease;
}

.blog-carousel-card:hover .blog-read-more {
  letter-spacing: 1px;
}

/* Carousel Dots */
.blog-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 35px;
}

.blog-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.blog-dot.active {
  background: var(--accent-red);
  width: 28px;
  border-radius: 5px;
}

/* Blog Inner Page Styles */
.blog-inner-section {
  padding: 160px 0 100px 0;
  background-color: #12141A;
  min-height: 100vh;
}

.blog-inner-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.blog-inner-title {
  font-family: var(--font-heading-bold);
  color: var(--primary);
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.8rem);
  line-height: 1.3;
  margin-bottom: 15px;
}

.blog-inner-meta {
  font-family: var(--font-body);
  color: #6C727F;
  font-size: 0.9rem;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-inner-content {
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 1.05rem;
  line-height: 1.9;
}

.blog-inner-content p {
  margin-bottom: 22px;
}

.blog-inner-content h3 {
  font-family: var(--font-heading-bold);
  color: var(--primary);
  font-size: 1.4rem;
  margin-top: 35px;
  margin-bottom: 15px;
}

.blog-inner-content blockquote {
  border-left: 3px solid var(--accent-red);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: var(--primary);
  font-family: var(--font-heading-regular);
  font-size: 1.15rem;
  line-height: 1.6;
}

.blog-inner-content ul {
  padding-left: 20px;
  margin-bottom: 22px;
}

.blog-inner-content ul li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.blog-inner-content em {
  color: var(--primary);
}

.blog-inner-content strong {
  font-family: "WorkSansMedium", sans-serif;
  color: var(--primary);
}

.blog-back-link {
  display: inline-block;
  font-family: var(--font-body);
  color: var(--accent-red);
  font-size: 0.95rem;
  margin-top: 40px;
  transition: letter-spacing 0.3s ease;
}

.blog-back-link:hover {
  color: var(--accent-red);
  letter-spacing: 1px;
}


/* ===============================
   Stay in Touch / Form Section
   =============================== */
.updates-section {
  padding: 100px 0;
  background-color: #12141A;
  position: relative;
}

/* Card Container to match the image's floating box look */
.updates-card {
  background-color: #171920;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.updates-desc {
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

/* Form Styles */
.custom-form {
  width: 100%;
}

.form-group {
  position: relative;
}

.custom-label {
  font-family: var(--font-body);
  color: #6C727F;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}

/* Minimalist Underline Input Fields */
.custom-input {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 5px 0 10px 0;
  transition: border-color 0.3s ease;
}

.custom-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.custom-input:focus {
  outline: none;
  border-bottom: 1px solid var(--primary);
}

/* Form Validation Error Texts */
.error-text {
  color: var(--accent-red);
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.custom-input.is-invalid {
  border-bottom: 1px solid var(--accent-red);
}

/* Success/Error Message Box */
.form-message {
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.form-message.success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid #28a745;
}

.form-message.error {
  background-color: rgba(205, 67, 63, 0.1);
  color: var(--accent-red);
  border: 1px solid var(--accent-red);
}

/* ===============================
   Footer Section
   =============================== */
.site-footer {
  /* Footer ko website se thora separate dikhane ke liye halka sa mukhtalif dark shade */
  background-color: #15171E;
  padding: 80px 0 40px 0;
  position: relative;
  overflow: hidden;
}

/* Footer Logo Setup */
.footer-brand {
  font-family: var(--font-heading-bold);
  font-size: 1.4rem;
  color: var(--primary) !important;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-brand span {
  color: var(--accent-red);
  font-style: italic;
}

.footer-brand:hover {
  opacity: 0.8;
}

/* Links Styling (Socials & Nav) */
.footer-link {
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

/* Smooth color transition on hover */
.footer-link:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Very thin horizontal line */
.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 30px 0 25px 0;
}

/* Copyright Text */
.copyright-text {
  font-family: var(--font-body);
  color: #6C727F;
  font-size: 0.85rem;
}






/* Floating Animation */
@keyframes floatBooks {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}


/* Media Queries for smaller screens */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 120px;
    text-align: center;
  }

  .hero-text {
    margin: 0 auto 30px auto;
  }

  .btn-group-custom {
    justify-content: center;
  }

  .hero-image-wrapper {
    margin-top: 50px;
  }

  .hero-books-img {
    max-width: 450px;
    /* Tablet screens par chota size */
  }

  /* the-book-section */
  .the-book-section {
    padding: 70px 0;
  }

  .book-section-img {
    max-width: 320px;
  }

  .section-heading br {
    display: none;
  }

  /* about-section */
  .about-section {
    padding: 80px 0;
  }

  .about-text {
    font-size: 1rem;
  }

  /* podcast-section */
  .podcast-section {
    padding: 80px 0;
  }

  /* trailer-section */
  .trailer-section {
    padding: 80px 0;
  }

  /* praise-section */
  .praise-section {
    padding: 80px 0;
  }

  .praise-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .praise-col:last-child {
    border-bottom: none;
  }

  /* dispatches-section */
  .dispatches-section {
    padding: 80px 0;
  }

  .blog-carousel-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }

  /* updates-card */
  .updates-card {
    padding: 40px 30px;
  }
}


@media (max-width: 576px) {
  .hero-section {
    background-size: cover;
    background-position: center;
  }

  .hero-books-img {
    max-width: 90%;
    /* Mobile screens par fit karne ke liye */
  }

  /* the-book-section */
  .the-book-section {
    padding: 50px 0;
  }

  .btn-group-retailers {
    flex-direction: column;
    width: 100%;
  }

  .btn-retailer {
    width: 100%;
    /* Mobile par full width buttons */
    text-align: center;
  }

  /* about-section */
  .about-section {
    padding: 60px 0;
  }

  .about-author-img {
    aspect-ratio: 1 / 1;
    /* Mobile par perfectly square */
  }

  .about-quote {
    font-size: 1.3rem;
  }

  /* podcast-section */
  .podcast-section {
    padding: 60px 0;
  }

  .podcast-desc {
    font-size: 0.9rem;
    padding: 0 15px;
  }

  /* trailer-section */
  .trailer-section {
    padding: 60px 0;
  }

  .trailer-desc {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .video-wrapper {
    border-radius: 0;
    /* Mobile par full edge-to-edge better lagta hai */
  }

  /* praise-section */
  .praise-section {
    padding: 60px 0;
  }

  .praise-card {
    padding: 30px 20px;
    /* Mobile par padding thori kam kardi hai taake space achi milay */
  }

  /* dispatches-section */
  .dispatches-section {
    padding: 60px 0;
  }

  .dispatches-divider {
    margin: 25px 0 35px 0;
  }

  .blog-carousel-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .blog-carousel-track {
    gap: 16px;
  }

  /* Blog inner page */
  .blog-inner-section {
    padding: 120px 0 60px 0;
  }

  /* updates-section */
  .updates-section {
    padding: 60px 0;
  }

  .updates-card {
    padding: 30px 20px;
    border: none;
    box-shadow: none;
    background-color: transparent;
    /* Mobile pe box hata kar cleaner look */
  }

  /* footer-nav */
  .footer-nav {
    flex-direction: column;
    gap: 15px !important;
    margin-top: 20px;
  }
}