/* =============================================================================
   content.css — Hero, CTA, sections
   Sections:
     1. Hero Content & Typography
     2. Hero CTA Buttons
     3. Section typography (shared: .section-title, .lede, .bullets)
     4. Responsive Overrides
   ============================================================================= */


/* =============================================================================
   1. HERO CONTENT & TYPOGRAPHY
   HTML:
     <div class="hero-content">
       <div class="hero-logo"><img></div>
       <h1 class="hero-title">...</h1>
       <p class="hero-sub">...</p>
       <div class="hero-cta">...</div>
     </div>
   ============================================================================= */

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 20px;
  overflow: visible;
  margin-top: -20px;
}

/* class added by init.js after load */
.hero-content.ready { opacity: 1; transform: translateY(0); }

/* Logo — centred */
.hero-logo {
  display: flex;
  justify-content: center;
}

.hero-logo img {
  height: 200px;
  max-width: 92%;
  width: auto;
  display: block;
  margin: 0 auto 18px;
  transition: transform .45s, opacity .35s;
}

/* Main cinematic title — variant B: gold gradient + drop-shadow */
.hero-title {
  font-family: 'Uncial Antiqua', serif;
  /*font-family: 'Pirata One', serif;*/
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: 1px;
  margin: 10px 0 24px;
  background: linear-gradient(
    180deg,
    #fff8e0  0%,
    #f3d38c 40%,
    #e6bd6d 70%,
    #c99742 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 2px 8px rgba(0,0,0,0.9))
    drop-shadow(0 0 20px rgba(200,150,50,0.4));
}

/* Sub-copy / tagline — centred italic */
.hero-sub {
  max-width: 720px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e6d9c0;
  margin: 0 auto 24px;
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  letter-spacing: 0.3px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.55);
}


/* =============================================================================
   2. HERO CTA BUTTONS
   ============================================================================= */

/* Strip Joomla module wrappers of any box styling */
#hero .custom,
#hero .custom .hero-cta,
#hero .module,
#hero .module-inner {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hero-cta {
  display: flex !important;
  gap: 14px;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  padding: 0 !important;
  margin-top: 28px;
  z-index: 4;
}

.hero-cta .btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform .14s ease, box-shadow .14s ease;
}

.hero-cta .btn-primary {
  background: linear-gradient(180deg, rgba(217,179,131,1), rgba(230,189,109,1));
  color: #0b0f14;
  border: none;
}

/* .btn-outline kept — button is currently commented out in HTML but may return */
.hero-cta .btn-outline {
  background: transparent;
  border: 1px solid rgba(230,189,109,0.14);
  color: var(--gold);
}

.hero-cta .btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.45); }
.hero-cta .btn:focus { outline: 3px solid rgba(200,150,60,0.18); outline-offset: 3px; }


/* =============================================================================
   3. SHARED SECTION TYPOGRAPHY
   Used in: .strip-what, .strip-world, .strip-join (and any future strips)
   HTML uses: <h2 class="section-title">, <p class="lede">, <ul class="bullets">
   ============================================================================= */

.section-title {
  font-family: 'Uncial Antiqua', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: 0.5px;
  margin: 0 0 16px;
  background: linear-gradient(180deg, #fff6d5 0%, #e6bd6d 60%, #c99742 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e7dcc5;
  max-width: 680px;
  margin: 0 0 18px;
}

.bullets {
  list-style: none;
  padding: 0; margin: 0 0 24px;
}

.bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd0b8;
}

.bullets li::before {
  content: "✦";
  position: absolute; left: 0;
  color: var(--gold);
  font-size: 0.65rem;
  top: 5px;
}


/* =============================================================================
   4. RESPONSIVE OVERRIDES
   ============================================================================= */

/* Tablet */
@media (max-width: 992px) {
  .hero-title    { font-size: 2.8rem; }
  .hero-logo img { height: 120px; }
}

/* Mobile */
@media (max-width: 480px) {
  .hero-title    { font-size: 1.9rem; line-height: 1.06; }
  .hero-logo img { height: 72px; }
  .hero-sub      { font-size: 0.98rem; padding: 0 12px; }
  .hero-cta .btn { padding: 10px 18px; width: 85%; }
}

/* =============================================================================
   WHAT SECTION
   ============================================================================= */

.what-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.what-text {
  flex: 1 1 55%;
}

.what-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin: 0 0 20px;
  letter-spacing: 0.5px;
}

.what-question {
  color: var(--gold-strong);
  font-style: italic;
}

.what-facts {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 220px;
}

.fact-card {
  background: rgba(217,179,131,0.07);
  border: 1px solid rgba(217,179,131,0.18);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: default;
}

.fact-number {
  font-family: 'Uncial Antiqua', serif;
  font-size: 2.8rem;
  line-height: 1;
  background: linear-gradient(180deg, #fff8e0 0%, #e6bd6d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

.fact-label {
  font-size: 0.88rem;
  color: #c8b99a;
  letter-spacing: 0.4px;
  line-height: 1.4;
}

/* Mobile */
@media (max-width: 768px) {
  .what-inner {
    flex-direction: column;
    gap: 36px;
  }

  .what-facts {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    min-width: unset;
  }

  .fact-card {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
  }
}

/* =============================================================================
   BOOK SECTION
   ============================================================================= */

.book-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  background: rgba(8,12,18,0.78);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  border: 1px solid rgba(217,179,131,0.15);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.book-cover {
  flex: 0 0 280px;
}

.book-cover img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
  display: block;
}

.book-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.book-overline {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.book-title {
  font-family: 'Uncial Antiqua', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin: 0;
  background: linear-gradient(180deg, #fff8e0 0%, #e6bd6d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.8));
  line-height: 1.2;
}

.book-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: #e7dcc5;
  margin: 0;
}

.book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.book-tags span {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(217,179,131,0.12);
  border: 1px solid rgba(217,179,131,0.25);
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.3px;
}

.book-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 6px;
}

.book-availability {
  font-size: 0.82rem;
  color: #9a8e7a;
  margin: 0;
  font-style: italic;
  letter-spacing: 0.3px;
}

@media (max-width: 900px) {
  .book-card {
    flex-direction: column;
    padding: 28px 20px;
  }
  .book-cover {
    flex: 0 0 auto;
    max-width: 220px;
    margin: 0 auto;
  }
  .book-info { gap: 12px; }
}

/* =============================================================================
   WORLD SECTION
   ============================================================================= */

.world-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.world-text {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.world-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0;
  letter-spacing: 0.4px;
}

.world-hook {
  color: #c8b99a;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  border-left: 2px solid rgba(217,179,131,0.35);
  padding-left: 16px;
  margin: 4px 0;
}

.world-inner .btn {
  width: fit-content;
}

@media (max-width: 768px) {
  .world-text { max-width: 100%; }
}

/* =============================================================================
   JOIN SECTION
   ============================================================================= */

.join-inner {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.join-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  margin: 0;
  letter-spacing: 0.4px;
}

.join-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

.join-input {
  flex: 1 1 260px;
  min-width: 200px;
  height: 52px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(217,179,131,0.45);
  background: rgba(255,255,255,0.06);
  color: #efe6d5;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s ease, background .2s ease;
}

.join-input::placeholder {
  color: rgba(239,230,213,0.4);
}

.join-input:focus {
  border-color: rgba(217,179,131,0.75);
  background: rgba(255,255,255,0.09);
}

.join-success {
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(217,179,131,0.12);
  border: 1px solid rgba(217,179,131,0.3);
  color: #f0dfc1;
  font-style: italic;
}

.join-disclaimer {
  font-size: 0.82rem;
  color: #7a6e5f;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .join-form {
    flex-direction: column;
    align-items: stretch;
  }

  .join-input {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    padding: 0 16px;
    margin: 0;
    box-sizing: border-box;
    align-self: stretch;
    appearance: none;
    -webkit-appearance: none;
  }

  .join-form .btn {
    width: 100%;
    flex: none;
  }
}
