@charset "UTF-8";
/* DN Literary Works — Framed, Harmonized
   Body stays lighter; header + footer use a warmer tint.
   Top accent bar added.
*/

/* GLOBAL */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Minion Pro", Georgia, serif;
  background-color: #fdfaf6; /* lighter page parchment */
  color: #222;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.25rem;
}

/* TOP ACCENT BAR */
.top-accent {
  width: 100%;
  height: 6px;
  background: #6a1a14; /* DN red */
}

/* HEADER – match tone with footer */
.site-header {
  background: #f7e7e0;          /* warmer parchment to match footer */
  border-bottom: 3px solid #6a1414;  /* deep DN red accent, same as footer’s top border */
  padding: 2rem 0 1.25rem;
  text-align: center;
  color: #3a1a15;
  box-shadow: 0 2px 0 rgba(106, 26, 20, 0.2),
              0 6px 14px rgba(0, 0, 0, 0.06);
}

/* NAV */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav li { display: inline-block; }

.main-nav a {
  color: #6a1a14;
  text-decoration: none;
  font-weight: 600;
  transition: color .25s ease;
}
.main-nav a:hover { color: #9e2e26; }

/* HERO */
.hero { text-align: left; margin-top: 2rem; }
.hero-title {
  font-size: 2.25rem;
  margin: 1.5rem 0 .5rem;
  color: #6a1a14;
  line-height: 1.05;
}
.intro { margin-bottom: 1.75rem; color: #333; font-size: 1.05rem; }

/* FEATURED */
.feature { margin-top: 2.25rem; }
.feature h2 {
  font-size: 1.5rem;
  color: #222;
  border-bottom: 1px solid #e6e2de;
  padding-bottom: .25rem;
  margin-bottom: 1rem;
}
.book-feature {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.book-cover {
  width: 100%;
  max-width: 180px;
  border: 1px solid #ddd;
  padding: .5rem;
  background: #fff;
}
.book-info h3 { color: #6a1a14; margin: .25rem 0; font-style: italic; }
.buy-links { margin-top: .75rem; }

/* BUTTONS */
.btn {
  display: inline-block;
  background: #6a1a14;
  color: #fff;
  padding: .4rem .8rem;
  text-decoration: none;
  border-radius: 4px;
  margin-right: .5rem;
  font-size: .95rem;
  transition: background .25s ease;
}
.btn:hover { background: #9e2e26; }

/* ABOUT */
.about { margin-top: 2.75rem; }
.about h2 {
  font-size: 1.5rem;
  margin-bottom: .75rem;
  border-bottom: 1px solid #e6e2de;
  padding-bottom: .25rem;
}
.about p { line-height: 1.6; color: #333; }

/* FOOTER (keeps its tint, slightly deeper than header) */
.site-footer {
  background: #efe7e0;           /* a touch darker than header */
  border-top: 3px solid #6a1a14; /* frame line */
  padding: 2rem 0 1.25rem;
  margin-top: 3rem;
  text-align: center;
  font-size: .9rem;
  color: #555;
}
.site-footer img {
  max-height: 40px;
  display: block;
  margin: 0 auto .75rem;
}
.site-footer p { margin: .25rem 0; }
.site-footer a { color: #6a1a14; text-decoration: none; }
.site-footer a:hover { color: #9e2e26; text-decoration: underline; }

/* SMALL SCREENS */
@media (max-width: 600px) {
  .book-feature { grid-template-columns: 1fr; text-align: center; }
  .book-cover { margin: 0 auto 1rem; }
	/* Subtle hardcover lift under the header */
.site-header {
  /* existing styles... */
  box-shadow: 0 2px 0 rgba(106, 26, 20, 0.2),  /* thin DN-red line glow */
              0 6px 14px rgba(0, 0, 0, 0.06);  /* soft lift */
}
	/* —— Unify header & footer tint ————————————————————— */
:root{
  --frame:#f6e9e2;   /* single source of truth for the warm parchment */
  --line:#6a1414;    /* DN red frame line */
}

/* use background-color + !important to beat any earlier rules */
.site-header{
  background-color: var(--frame) !important;
  border-bottom: 3px solid var(--line);
}

.site-footer{
  background-color: var(--frame) !important;
  border-top: 3px solid var(--line);
}
	/* =========================================================
   BOOK FEATURE SECTION (Home Page)
   ========================================================= */

.book-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.25rem;
  align-items: start;
}

.book-cover img {
  display: block;
  max-width: 300px;
  height: auto;
  margin: 0;
  border: 1px solid #c8bdb3;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
}
.book-cover img:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: all 0.2s ease-in-out;
}
.book-cover {
  text-align: center;
}
	
	
	/* Responsive tweak for narrow screens */
@media (max-width: 800px) {
  .book-row {
    grid-template-columns: 1fr;
  }
  .book-cover img {
    margin: 0 auto;
  }
}
}