/* Nita Media and Publishing, LLC — site styles
   Self-contained; no external CSS framework. */

:root {
  --navy: #1f2a44;
  --navy-deep: #161e33;
  --ink: #1a1a1a;
  --paper: #fbf9f5;
  --paper-alt: #f3efe7;
  --accent: #c2693b;     /* warm terracotta */
  --accent-dark: #a8552c;
  --muted: #6b6f7a;
  --line: #e3ddd2;
  --white: #ffffff;
  --radius: 12px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 0.4em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 0 0 0.6rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .08s ease, background .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  background: var(--navy);
  color: var(--paper);
  border-radius: 10px;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.25rem;
}
.brand-text {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.brand-sub {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--navy); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent-dark); text-decoration: none; }
.nav-cta {
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
}
.nav-cta:hover { background: var(--navy); color: var(--paper) !important; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--paper);
  padding: clamp(4rem, 10vw, 7rem) 0;
}
.hero .eyebrow { color: #e7b08c; }
.hero h1 { color: var(--white); }
.hero-inner { max-width: 760px; }
.lead {
  font-size: 1.2rem;
  color: #d7dae3;
  max-width: 620px;
}
.hero-actions { margin-top: 2rem; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,0.5); }
.hero .btn-ghost:hover { background: var(--paper); color: var(--navy); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--paper-alt); }
.section-intro { color: var(--muted); max-width: 600px; margin-top: -0.2rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
  font-size: 1.05rem;
}
.stats {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.stats li {
  border-top: 2px solid var(--accent);
  padding-top: 0.8rem;
}
.stats strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  color: var(--navy);
}
.stats span { color: var(--muted); font-size: 0.9rem; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: transform .12s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(31,42,68,0.10); }
.card h3 { margin-bottom: 0.2rem; }
.card-meta { color: var(--accent-dark); font-size: 0.82rem; font-weight: 600; margin: 0 0 0.6rem; }
.card p:last-child { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

.cover {
  height: 180px;
  border-radius: 8px;
  margin-bottom: 1.1rem;
  background-size: cover;
}
.cover-1 { background: linear-gradient(135deg, #2f3e64, #1f2a44); }
.cover-2 { background: linear-gradient(135deg, #c2693b, #8a4023); }
.cover-3 { background: linear-gradient(135deg, #4b6b54, #2c4332); }

/* Featured book */
.featured-book {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.8rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
}
.featured-book-media {
  display: block;
  line-height: 0;
  height: 100%;
}
.featured-book-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.featured-book-media:hover img { transform: scale(1.03); }
.featured-book-body { padding: 1.8rem 1.8rem 1.8rem 0; }
.featured-book-body h3 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}
.featured-book-body p { color: var(--muted); margin: 0 0 1.3rem; }
.featured-book-body .card-meta { margin-bottom: 0.3rem; }
.featured-book-body .btn { margin-top: 0.2rem; }

@media (max-width: 720px) {
  .featured-book { grid-template-columns: 1fr; gap: 0; }
  .featured-book-body { padding: 1.5rem; }
}

.app-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  margin-bottom: 1.1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.app-icon-1 { background: linear-gradient(135deg, #5b7cdb, #2f3e64); }
.app-icon-2 { background: linear-gradient(135deg, #e7b08c, #c2693b); }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-intro p { color: var(--muted); max-width: 360px; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .15s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row textarea { resize: vertical; }
.submit-btn { width: 100%; border: none; }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-status {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.2em;
}
.form-status.ok { color: #2c7a4b; }
.form-status.err { color: #b23b3b; }
.form-fineprint { font-size: 0.72rem; color: var(--muted); margin: 1rem 0 0; line-height: 1.5; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c9cdd8;
  padding: 1.6rem 0;
  font-size: 0.9rem;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.back-to-top { color: #e7b08c; font-weight: 500; }

/* Responsive */
@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .stats { grid-template-columns: 1fr; gap: 1rem; }
  .contact-wrap { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
