/* ============================================
   1000 Business Ideas — Screen Stylesheet
   Browser preview only — NOT used in PDF
   ============================================ */

:root {
  --navy: #1a1a2e;
  --gold: #c9a96e;
  --cream: #fdfcf9;
  --text: #2d2d2d;
  --light: #f5f2eb;
  --border: #d4cec4;
  --green: #3d7a5c;
  --teal: #4a7c8c;
  --rust: #8b5e3c;
  --gray: #6a6258;
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #e8e4dc;
  color: var(--text);
  min-height: 100vh;
}

/* === BOOK CONTAINER (centered, simulates trade paperback) === */
.book-container {
  max-width: 500px; /* Approx 6" at screen resolution */
  margin: 2rem auto;
  background: var(--cream);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.08);
  padding: 3rem 2.5rem;
  min-height: 90vh;
}

/* === TOP NAV BAR === */
.top-nav {
  position: sticky;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
}

.top-nav a {
  color: var(--gold);
  text-decoration: none;
  margin: 0 0.5rem;
}

.top-nav a:hover {
  text-decoration: underline;
}

.nav-title {
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* === LANDING PAGE === */
.landing {
  text-align: center;
  padding: 3rem 1rem;
}

.landing h1 {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 2.2rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.landing .subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* === CATEGORY GRID (landing) === */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.cat-card {
  display: block;
  background: var(--light);
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gold);
  text-decoration: none;
  color: var(--text);
  border-radius: 0 6px 6px 0;
  transition: all 0.2s;
}

.cat-card:hover {
  background: #ede8db;
  transform: translateX(4px);
}

.cat-card .cat-num {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.cat-card .cat-name {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.2rem 0;
}

.cat-card .cat-desc {
  font-size: 0.8rem;
  color: var(--gray);
}

/* === IDEA LIST (category index) === */
.idea-list {
  list-style: none;
}

.idea-list li {
  margin-bottom: 0.2rem;
}

.idea-list a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.idea-list a:hover {
  color: var(--navy);
}

.idea-list .idea-num {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 2.5rem;
}

/* === FEATURE LINKS === */
.feature-links {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.feature-links h3 {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.feature-links a {
  display: inline-block;
  margin: 0.25rem 0.5rem;
  font-size: 0.85rem;
  color: var(--navy);
}

/* === RESPONSIVE === */
@media (max-width: 550px) {
  .book-container {
    margin: 0;
    max-width: 100%;
    padding: 2rem 1.25rem;
    box-shadow: none;
  }
  .top-nav {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }
}
