@charset "UTF-8";
/* Custom styles for the About page */
.border-bottom {
  border-width: 2px !important;
}

/* Hero section - Adjust the border-radius for larger screens */
@media (min-width: 992px) {
  .rounded-lg-3 {
    border-radius: 0.3rem;
  }
}
/* Drop Cap */
.drop-cap::first-letter {
  float: left;
  font-family: "EB Garamond", serif;
  font-size: 4.5rem;
  line-height: 0.8;
  padding: 8px 12px 0 5px;
  font-weight: 800;
  color: #d4af37;
  background: linear-gradient(to bottom, #f7e08a, #d4af37);
  -webkit-background-clip: text; /* For Chrome/Safari/Edge */
  background-clip: text; /* The "Standard" property VS Code wants */
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.5));
}

.serif-heading {
  font-family: "Playfair Display", serif;
  font-style: italic;
}

.book-hero {
  position: relative; /* Required for the overlay */
  background-image: url("../images/ch-0/book-cover.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  /* Setting text color to light for readability */
  color: #fdf5e6;
  /* Old Lace or a light cream color #C5B358 */
  /* Optional: Adds a subtle shadow to make text pop against the leather stains */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  /* Desktop Safe Zone: 10% padding on all sides */
  padding: 12% !important;
  height: 100svh;
  max-width: 100vw;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* This creates the 'shadow' layer */
.book-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Darkens the corners, keeps the middle clear */
  background: radial-gradient(circle, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  /* This ensures you can still highlight/click the text */
  z-index: 1;
}

/* We must push the text above the shadow layer */
.book-hero .col-lg-8 {
  position: relative;
  z-index: 2;
}

/* Tablet Range (Portrait & Landscape) */
@media (min-width: 768px) and (max-width: 1199px) {
  .book-hero {
    /* Increase side padding to push text away from the gold edges */
    padding-left: 12vw !important;
    padding-right: 12vw !important;
    /* Ensure the top/bottom gold decor isn't hit */
    padding-top: 10vh !important;
    padding-bottom: 10vh !important;
  }
  .book-hero h1 {
    font-size: calc(1.5rem + 2vw);
    /* Fluid typography */
    margin-bottom: 2rem;
  }
}
.book-hero hr {
  /* Reset default Bootstrap styling */
  border: none;
  height: 2px;
  margin: 3rem auto;
  width: 100%;
  /* Keeps it from hitting the gold side borders */
  /* The Gold Gradient: Tapers off at the edges */
  background: linear-gradient(to right, transparent, #d4af37 20%, #f7e08a 50%, #d4af37 80%, transparent);
  position: relative;
  overflow: visible;
  opacity: 0.8;
}

/* The Gold Flourish/Ornament in the center */
.book-hero hr::after {
  content: "❦";
  /* An elegant four-pointed star or diamond */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 15px;
  background-image: url("../images/pages/book-cover.jpg"); /* Matches the background to "break" the line */
  background-attachment: scroll;
  color: #f7e08a;
  /* Bright gold */
  font-size: 1.5rem;
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}
@media (min-width: 992px) {
  .book-hero hr::after {
    background-attachment: fixed;
    /* Only 'fix' it on desktop */
  }
}

.book-hero h1 {
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.8), 1px 1px 1px rgba(255, 255, 255, 0.2);
  /* Light bottom edge for the 'lip' */
  font-family: "EB Garamond", serif;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: capitalize;
  /* Gives it a formal title look */
}

.book-hero .lead {
  font-family: "Crimson Pro", serif;
  font-weight: 400;
  line-height: 1.6;
}

/* Italicizing the phonemic sounds for scholarly accuracy */
.phonemic {
  font-style: italic;
  color: #f7e08a;
  /* Soft gold to make them stand out */
}

.highlight-j {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-weight: 800;
  color: #f7e08a;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.btn-book-gold {
  /* Faded gold leaf text */
  color: #b89b5e !important;
  /* Oxidized, thinner border */
  border: 2px solid #8a7345 !important;
  background-color: transparent;
  /* Typography */
  font-family: "EB Garamond", serif;
  font-weight: 500;
  /* Slightly lighter weight feels older */
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.5s ease-in-out;
  /* Softer, more natural shadow - less 'digital' */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  /* A subtle 'matte' texture effect */
  opacity: 0.85;
}
.btn-book-gold:hover {
  /* Instead of a glow, we just slightly clarify the gold */
  opacity: 1;
  background-color: rgba(138, 115, 69, 0.1) !important;
  border-color: #b89b5e !important;
  color: #d4c29d !important;
  /* Subtle lift without the shadow drama */
  transform: translateY(-1px);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-image {
  width: 100%;
  /* Fills mobile/tablet screens */
  max-width: 1440px;
  /* Stops growing on large monitors */
  margin: 0 auto;
  /* Keeps it centered */
  aspect-ratio: 1408/768;
  object-fit: cover;
}

/* .manuscript-card {
  background-color: #fdfcf8;
  /* Aged paper tint */
/*  border: 1px solid #e2d1b3 !important;
  transition: transform 0.2s ease-in-out;
}

.manuscript-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.manuscript-card .card-title {
  color: #5a4a32;
  font-family: serif;
  /* Matches your scribe/manuscript theme */
/* } */
/* Custom styles for the Book of Jack website */
/* Custom styles for hover fill links */
.hover-fill-link {
  color: #6c757d; /* Bootstrap secondary gray */
  text-decoration: none; /* Remove the underline */
  padding: 5px 10px; /* Add some space for the "fill" */
  border-radius: 4px; /* Rounded corners */
  transition: all 0.2s ease; /* Makes the color change smooth */
}

.hover-fill-link:hover {
  background-color: #6c757d; /* Fills the background on hover */
  color: white; /* Flips text to white for contrast */
}

/* Scene cards */
.scene-nav-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: #fdfcf8;
  /* Aged paper tint */
}
.scene-nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  background-color: #ffffff;
}
.scene-nav-card:hover .card-title {
  color: #8a7345;
  /* Your "Weathered Gold" color */
}
.scene-nav-card .ratio {
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

/* Force the research button to stay visible */
.btn-outline-dark,
[data-bs-target^="#research-"] {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

/* Optional: Add a slight pulse or distinct color to make it stand out */
.btn-outline-dark {
  border-color: #6c757d;
  color: #6c757d;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  background-color: #6c757d;
  color: #fff;
}

/* Gallery Card Styling */
.gallery-card {
  transition: transform 0.2s ease-in-out;
  border: 1px solid #d4af37;
  /* Gold filigree touch */
  background-color: #fdfdfd;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  /* Keeps the grid uniform regardless of image ratio */
  border-bottom: 1px solid #eee;
}

.serif-font {
  font-family: "EB Garamond", serif;
}

/* Custom muted text that respects theme contrast */
.manuscript-muted {
  color: var(--bs-secondary-color);
  /* Uses Bootstrap 5's built-in theme-aware variable */
}

/* If you want a specific "aged ink" look for your project */
[data-bs-theme=dark] .manuscript-muted {
  color: #b5a489 !important;
  /* Lighter, warmer tone for dark mode */
}

[data-bs-theme=light] .manuscript-muted {
  color: #6c757d !important;
  /* Standard muted grey for light mode */
}

/* --- Gold Button Styling --- */
/* Base Gold Color (A bit deeper for light backgrounds) */
.btn-gold {
  background-color: #8a7345 !important;
  color: #ffffff !important;
  border: 1px solid #8a7345 !important;
}

.btn-outline-gold {
  color: #8a7345 !important;
  border: 1px solid #8a7345 !important;
}

/* Hover effects */
.btn-gold:hover,
.btn-outline-gold:hover {
  background-color: #a68d59 !important;
  color: #ffffff !important;
}

/* --- Dark Mode Adjustments --- */
[data-bs-theme=dark] .btn-outline-gold {
  color: #d4af37 !important;
  /* Brighter gold for dark mode visibility */
  border-color: #d4af37 !important;
}

[data-bs-theme=dark] .btn-gold {
  background-color: #d4af37 !important;
  color: #1a1a1a !important;
  /* Dark text on bright button for contrast */
}

/* Ensure the border-top is visible but not distracting */
.chapter-navigation {
  border-top: 1px solid rgba(138, 115, 69, 0.2) !important;
}

/*# sourceMappingURL=main.css.map */