/* ========== BASIC RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background: #020617;
  color: #f9fafb;
  line-height: 1.6;
}

/* ========== HEADER ========== */
header {
  width: 100%;
  background: rgba(0,0,0,0.6);
  padding: 1.25rem 0;     /* slightly taller */
  text-align: center;
  border-bottom: 1px solid rgba(148,163,184,0.2);
}

.header-center-text {
  font-size: 2.1rem;      /* slightly bigger */
  font-weight: 700;
  color: #f9fafb;
  width: 100%;
  max-width: none;
  display: block;
}

.header-center-text .highlight {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250,204,21,0.5);
  letter-spacing: 1px;
}

/* ========== HERO SECTION ========== */
.hero-bg {
  width: 100%;
  height: 75vh;
  background-image: url("img/diego-hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.2));
}

/* ========== VIDEO SECTION ========== */
.section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.25rem;
}

.video-layout {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.video-column,
.video-text {
  flex: 1 1 50%;

}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  background: #000;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: #facc15;
}

.video-text p {
  color: #cbd5e1;
  margin-bottom: 1rem; /* change value to increase/decrease spacing */
}

/* Stack columns on small screens */
@media (max-width: 800px) {
  .video-layout {
    flex-direction: column;
  }
}

/* ========== BOOKS SECTION ========== */
.books-section {
  max-width: 1100px;
  margin: 3.5rem auto;
  padding: 2rem 1rem;
  text-align: center;
}

.books-title {
  font-size: 2rem;
  color: #facc15;
  margin-bottom: 0.5rem;
}

.books-subtext {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.book-card {
  background: #0f172a;
  border: 1px solid rgba(148,163,184,0.2);
  padding: 1.25rem;
  border-radius: 1rem;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.book-cover {
  width: 100%;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 15px rgba(0,0,0,0.4);
}

.book-card h3 {
  color: #facc15;
  margin-bottom: 0.75rem;
}

.book-card p {
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.book-link {
  color: #93c5fd;
  font-weight: 600;
  text-decoration: none;
}

.book-link:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

/* COMING SOON */
.coming-soon {
  position: relative;
}

.coming-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(250,204,21,0.9);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* ========== OTHER TITLES – WRAPPER ========== */
.other-titles {
  max-width: 1100px;
  margin: 3.5rem auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.other-inner {
  background: #0f172a;
  border-radius: 1.25rem;
  border: 1px solid rgba(148,163,184,0.25);
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  padding: 2rem 1.75rem 2.25rem;
}

.other-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #facc15;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(250,204,21,0.5);
}

/* ========== OTHER TITLES – THUMBNAIL GRID ========== */

.other-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.other-thumb-card {
  background: #020617;
  border-radius: 1rem;
  border: 1px solid rgba(148,163,184,0.35);
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.other-thumb {
  display: block;
  max-width: 190px;        /* keep it close to the real 186px width */
  width: 100%;             /* scale down if needed, never stretch wider than max */
  height: auto;            /* keep natural aspect ratio */
  margin: 0 auto 0.9rem;   /* center inside the card */
  border-radius: 0.75rem;
  box-shadow: 0 8px 15px rgba(0,0,0,0.4);
}


.other-thumb-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
  padding: 0.9rem 0.9rem 1.1rem;
}

/* Link used in Other Titles cards */
.other-link {
  margin-top: auto;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.1s ease;
}

.other-link:hover {
  color: #facc15;
  text-shadow: 0 0 8px rgba(250,204,21,0.5);
  transform: translateY(-1px);
}

/* === AMAZON AUTHOR LINK STYLING === */
.author-link {
  text-align: center;
  margin-top: 2.5rem;
}

.author-link a {
  display: inline-block;
  padding: 0.8rem 2.1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;                    /* dark text */
  background: linear-gradient(135deg, #facc15, #f97316); /* solid button bg */
  text-decoration: none;
  border: 2px solid #facc15;
  border-radius: 999px;              /* pill shape */
  text-shadow: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.6);
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.author-link a:hover,
.author-link a:active,
.author-link a:focus {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(255,255,255,0.7);
  border-color: #fff;
  color: #fff;
  outline: none;
}


/* Mobile tweaks for Other Titles */
@media (max-width: 600px) {
  .other-inner {
    padding: 1.75rem 1.25rem 2rem;
  }
}

/* ===== Thank You Line ===== */
.thank-you {
  text-align: center;
  margin: 3rem auto 1rem;
  padding: 1rem 0;
}

.thank-you p {
  font-size: 1.15rem;
  font-weight: 600;
  color: #facc15;
  text-shadow: 0 0 10px rgba(250,204,21,0.45);
}

/* Extra thank-you line from Diego */
.thank-you-diego {
  font-size: 1.15rem;
  font-weight: 500;
  color: #93c5fd !important; /* soft sky blue */
  margin-top: 0.45rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  text-shadow: 0 0 8px rgba(147,197,253,0.35); /* gentle glow */
}

/* ===== Email Author Button ===== */

.email-author-section {
  text-align: center;
  margin: 3rem auto 0;
}

.email-author-button {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  background: linear-gradient(135deg, #facc15, #f97316);
  text-decoration: none;
  border: 2px solid #facc15;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.6);
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.email-author-button:hover,
.email-author-button:active,
.email-author-button:focus {
  color: white;
  transform: translateY(-2px);
  border-color: white;
  box-shadow: 0 14px 30px rgba(0,0,0,0.75);
  outline: none;
}


/* ========== FOOTER ========== */
.site-footer {
  background: #020617;
  border-top: 1px solid rgba(148,163,184,0.2);
  padding: 1.5rem 1rem;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 3rem;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #facc15;
  text-shadow: 0 0 6px rgba(250,204,21,0.5);
}
