:root {
  --bg-dark: #050505;
  --text-main: #ffffff;
  --text-muted: #888888;

  /* CELTICS GREEN ACCENT */
  --accent: #007A33;
  --accent-glow: rgba(0, 122, 51, 0.3);

  --font-head: 'Cinzel', serif;
  --font-body: 'Lato', sans-serif;

  --section-gap: 160px; /* slightly less dramatic so mobile isn't insane */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.8;
}

/* Bold Cinzel Heading Logic */
h1, h2, h3, .logo {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
}

/* --- Navigation --- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 70px;
  position: absolute;
  width: 100%;
  z-index: 100;
}

.logo {
  font-size: 1.1rem;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* --- Hero --- */
.hero {
  background: url('92cd2786-5f4c-4209-baf4-14f4002cf802.jpeg');
  background-size: cover;
  background-position: center top;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,15,15,0.3), rgba(15,15,15,0.95));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 18px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 300;
}

/* --- Buttons --- */
.btn {
  padding: 15px 40px;
  background: transparent;
  border: 1px solid var(--accent);
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
  border-radius: 10px;
}

.btn:hover {
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary {
  background: var(--accent);
}

.btn-outline {
  background: transparent;
}

/* --- Sections (IMPORTANT: always visible) --- */
.section {
  padding: var(--section-gap) 40px;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 1;         /* FIXED: no more invisible sections */
  transform: none;
  transition: none;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 90px;
}

.section-title::after {
  content: '';
  display: block;
  width: 400px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto 0;
}

/* --- Layouts --- */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.bio-image img {
  width: 100%;
  height: auto;
  border-left: 10px solid var(--accent);
  padding-left: 30px;
}

.divider-line {
  width: 500px;
  height: 1px;
  background: var(--accent);
  margin-top: 30px;
}

/* --- Book Grid --- */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px 60px;
}

.book-card {
  text-align: center;
}

.book-card:nth-child(even) {
  margin-top: 100px;
}

.book-cover {
  width: 100%;
  max-width: 300px;
  margin-bottom: 30px;
  border: 1px solid #1a1a1a;
  transition: 0.5s;
}

.book-card:hover .book-cover {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

/* === Coloring Books Carousel Override === */
#coloring .book-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;     /* Firefox */
  -ms-overflow-style: none;  /* IE / Edge */
}

#coloring .book-grid::-webkit-scrollbar {
  display: none;             /* Chrome, Safari */
}

#coloring .book-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  text-align: center;
}

/* === Novel Feature Layout (cover left, text right) === */
.novel-feature {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 60px;
  align-items: start;
}

.novel-feature .book-cover {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.novel-feature .book-cover img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #1a1a1a;
}

.coming-soon {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
}

.buy-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* --- Contact Note + Social --- */
.contact-note {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: 0.95rem;
  color: #ccc;
}

.contact-note a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.contact-note a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.social-links a {
  padding: 12px 24px;
  border: 1px solid var(--accent);
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 10px;
}

.social-links a:hover {
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* --- Contact Form (pretty + green outline) --- */
.contact-form {
  border: 2px solid var(--accent);
  padding: 26px;
  border-radius: 12px;
  background: rgba(0,0,0,0.45);
  box-shadow: 0 0 18px rgba(0, 122, 51, 0.25);
  max-width: 700px;
  margin: 18px auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 122, 51, 0.55);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(0, 122, 51, 0.55);
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid #111;
  margin-top: 120px;
  padding: 60px 40px;
  background: #050505;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-name {
  font-family: var(--font-head);
  letter-spacing: 3px;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.footer-rights {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.footer-credit {
  font-size: 0.65rem;
  color: #666;
}

/* =========================
   Mobile fixes
========================= */
@media (max-width: 850px) {
  nav {
    position: relative;
    padding: 16px 18px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    background: rgba(5,5,5,0.6);
    backdrop-filter: blur(6px);
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .hero {
    height: auto;
    min-height: 70vh;
    padding: 70px 18px 40px;
    background-position: center center;
  }

  .hero h1 {
    font-size: 2.4rem;
    line-height: 1.1;
    letter-spacing: 2px;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 32ch;
    margin: 0 auto 18px;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 16px;
  }

  .section {
    padding: 70px 18px;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  .section-title::after {
    width: 160px;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .bio-image img {
    border-left: none;
    padding-left: 0;
    border: 1px solid rgba(0, 122, 51, 0.4);
    border-radius: 12px;
  }

  .divider-line {
    width: 100%;
    max-width: 340px;
    margin: 18px auto 0;
  }

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

  .book-card:nth-child(even) {
    margin-top: 0;
  }

  .novel-feature {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }

  .buy-buttons {
    justify-content: center;
  }
}
