/* ==============================================================
   Anne Esposito – Horror & Paranormal Thriller Author
   ============================================================= */

/* ---------- Global & Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: 'Georgia', serif; line-height: 1.6; color: #222; background: #fafafa; }
a { color: #d22; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header / Navigation ---------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e1e1e;
  color: #fff;
  padding: .8rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}
#nav-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  display: none;
}
nav { display: flex; gap: 1rem; }
nav a { color: #fff; }
nav a:hover { text-decoration: underline; }

/* ---------- Main content ---------- */
main { padding: 1rem 2rem; }
h1 { margin-top: 0; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  margin: 2rem 0;
  background: linear-gradient(135deg, #1e1e1e 0%, #2c3e50 100%);
  color: #fff;
  padding: 4rem 2rem;
  border-radius: 8px;
}
.hero h1 { font-size: 2.8rem; margin-bottom: .5rem; }
.hero p { font-size: 1.2rem; margin-bottom: 1.5rem; }
.hero-btn {
  background: #d22;
  color: #fff;
  padding: .6rem 1.2rem;
  border-radius: .4rem;
  font-size: 1.1rem;
}
.hero-btn:hover { background: #a11; }

/* ---------- Features ---------- */
.features { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.feature { flex: 1 1 280px; background: #fff; padding: 1rem; border-radius: .4rem; box-shadow: 0 2px 8px rgba(0,0,0,.1); text-align: center; }
.feature-img { max-width: 100%; height: auto; margin-bottom: .8rem; border-radius: .3rem; }
.small { font-size: .9rem; }

/* ---------- Book article ---------- */
.book { display: flex; flex-direction: column; align-items: center; margin-top: 1.5rem; }
.book-img { width: 220px; height: auto; border-radius: .4rem; }

/* ---------- Videos ---------- */
.video-wrapper {
  position: relative;   /* container for the absolutely‑positioned iframe */
  width: 100%;
  padding-top: 56.25%;  /* 16:9 aspect ratio (9 / 16 * 100) */
  margin-bottom: 1.8rem;  /* spacing between videos */
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: .4rem;
}

/* ---------- Status messages ---------- */
.status-msg { margin-top .8rem; font-size: .95rem; color: #555; }

/* ---------- Footer ---------- */
footer {
  text-align: center;
  font-size: .9rem;
  background: #1e1e1e;
  color: #aaa;
  padding: 1rem 0;
  margin-top: 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .features { flex-direction: column; }
  #nav-toggle { display: block; }
  nav {
    flex-direction: column;
    background: #1e1e1e;
    position: absolute;
    top: 3.8rem;
    right: 0;
    width: 200px;
    padding: .5rem 0;
  }
  nav a { display: block; padding: .3rem 1rem; }
  nav a:hover { background: #2c3e50; }
  .hero h1 { font-size: 2.4rem; }
  .hero p { font-size: 1.1rem; }
}