/* CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Enforce zero rounded corners everywhere */
}

body {
  background-color: #ffffff;
  color: #111111;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

ul{list-style: none; line-height: 2}

    /* 
      1. SITE HEADER (Full-Width, Black Background)
    */
.site-header {
  background-color: #000000;
  color: #ffffff;
  width: 100%;
  padding: 0.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 180px;
}

.back-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

    /* 
      2. HERO SECTION (Full Width, Full Height, Centered Book Cover)
    */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('imgs/herobg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 2rem 1rem;
  margin-bottom: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
/*      background-color: rgba(0, 0, 0, 0.3);*/
z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.book-cover {
  height: min(85vh, 700px);
  width: auto;
  max-width: 90vw;
  object-fit: contain;
  filter:drop-shadow(0 30px 45px rgba(0,0,0,.6));
}


    /* 
      3. MAIN CONTAINER (Max 1100px, White Background)
    */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  background-color: #ffffff;
}

.page-top{
  padding-bottom: 0rem; padding-top: 2rem;
}

/* HARMONIC TYPOGRAPHY SCALE (Major Third Ratio ~1.25) */
h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3.5vw + 0.8rem, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 3rem;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.6rem, 2.5vw + 0.6rem, 2.56rem);
  line-height: 1.2;
  margin-bottom: 3rem;
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 2.05rem);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

p {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  color: #333333;
}


.strapline{
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 2.05rem);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  font-weight: 300;
}

.eyebrow{margin-top: 1rem; margin-bottom: 0rem}

.intro{margin-bottom: 2rem}
.disclaimer{font-size: 1rem;}
.button-modern {font-size: 1.2rem}
/*.disclaimer-strap{width: 100%; height: auto; padding: 0.5rem 2rem; background-color: black; text-align: center; margin: 0}
.disclaimer-strap p{color: white; padding: 0; margin: 0; font-weight: 300; letter-spacing: 0.015rem}
*/
.center{text-align: center}
.footer-title{font-weight: 500; color: white}
/* ----------------------------- */

section {
  margin-bottom: 4rem;
}

/* GRID SYSTEM */
.grid {
  display: grid;
  gap: 2rem;
  width: 100%;
}

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

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

.grid-3-col {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4-col {
  grid-template-columns: repeat(4, 1fr);
}

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

.grid-6-col{
  grid-template-columns: repeat(6, 1fr);
  background-color: silver; height: 1;
}

.card {
  background-color: #f8f9fa;
  border: 1px solid #e5e7eb;
  padding: 1.75rem;
/*     min-height: 0;*/
}

.card-inner{
  background-color: #f8f9fa;
  border: 1px solid #e5e7eb;
  padding: 1.75rem;
  min-height: 0;

}


.col-main{grid-column: span 2;}
.col-sidebar{grid-column: span 1;}

.review{
  display: block;
  padding: 1rem; 
  border-radius: 5px; 
  background-color:#f8f9fa; 
  border: 1px solid #e5e7eb; 
  margin-bottom: 1rem;
  position: relative;

}

.highlight img{position: relative;}

.highlight-img{float: left}
.highlight-img {width: 30%; margin-right: 2rem}

/* Image gallery */



.image-grid img {
  width: 50%;
  height: 50%;      /* Optional: Use if you want uniform image height */
  object-fit: cover; /* Optional: Prevents distortion when force-fitting proportions */
  max-width: 100%;   /* Keeps image from overflowing cell width */
  display: block;    /* Removes default inline bottom spacing */
  float: left;
  padding: 2px;
}

/* 1. Base Styles & Thumbnail */
.thumbnail {
  width: 100%;
  max-width: 300px; /* Adjust size as needed */
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.thumbnail:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* 2. Fullscreen Overlay Styling */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it stays above all other content */

  /* Hidden state transitions */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Active overlay state */
.image-modal.active {
  opacity: 1;
  visibility: visible;
}

/* 3. Expanded Image Styling */
.modal-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

  /* Subtle zoom animation when opening */
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

/*.modal-close{color: white}*/



/* Youtube Embed */

.video-container {
  width: 100%;
  max-width: 100%; /* Adjust or remove depending on layout constraints */
  aspect-ratio: 16 / 9;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* BUTTON */

/* Container to keep them side-by-side */
.button-group {
  display: flex;
  gap: 12px; /* Space between buttons */
  align-items: center;
  justify-content: center;
}

/* Button Base Styles */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  
  /* Fixed width & sizing */
  /*width: 25vw;*/
  /*height: 44px;*/
  box-sizing: border-box;
  
  /* Typography & Appearance */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /*font-size: 14px;*/
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  background-color: #50974d; /* Dark slate base */
  border-radius: 6px;
  cursor: pointer;
  padding: 10px 20px;
  
  /* Subtle color-only transition */
  transition: background-color 0.2s ease;
}

/* Subtle Color Rollover */
.btn-modern:hover {
  background-color: #2b4829; /* Slightly lighter tone on hover */
}

/* Click State */
.btn-modern:active {
  background-color: #020617; /* Darkens slightly on click */
}

/* Accessibility Focus Ring */
.btn-modern:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}


    /* 
      4. FOOTER (Full Width, Black Background, 2-Column Inside Container)
    */
.site-footer {
  background-color: #000000;
  color: #ffffff;
  width: 100%;
  padding: 4rem 1.5rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer p {
  color: #a3a3a3;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

    /* 
      RESPONSIVE BREAKPOINT (600px or less)
    */


@media (max-width: 600px) {
  .grid-2-col, .grid-3-col {
    grid-template-columns: 1fr;
  }

  .container, .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-header {
    padding: 1rem;
  }
}