/* Kavomaz Books Website V2
   No fashion links. Book-only structure.
   Domain target: books.kavomaz.com
*/

:root {
  --bg: #fbf7ef;
  --bg-soft: #fffdf8;
  --text: #1f2933;
  --muted: #65717d;
  --line: #eadfce;
  --brand: #7c4d2f;
  --brand-dark: #56341f;
  --accent: #d7a86e;
  --life: #506073;
  --kids: #be6f57;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(31, 41, 51, 0.10);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 6vw;
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(234, 223, 206, 0.75);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  overflow: hidden;
}

.brand-logo {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  min-width: 58px !important;
  object-fit: contain !important;
  border-radius: 14px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 8px 22px rgba(31, 41, 51, 0.08);
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: -2px;
  font-family: Arial, sans-serif;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--brand-dark);
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 80px 6vw;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(215, 168, 110, 0.24), transparent 30%),
    linear-gradient(90deg, rgba(251,247,239,0.94) 0%, rgba(251,247,239,0.78) 44%, rgba(251,247,239,0.18) 100%);
  pointer-events: none;
}

.hero-main {
  background:
    linear-gradient(110deg, rgba(251, 247, 239, 0.96), rgba(255, 253, 248, 0.22)),
    url("images/kavomaz-books-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-life {
  background:
    linear-gradient(110deg, rgba(251, 247, 239, 0.96), rgba(255, 253, 248, 0.30)),
    url("images/life-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-kids {
  background:
    linear-gradient(110deg, rgba(251, 247, 239, 0.96), rgba(255, 253, 248, 0.24)),
    url("images/kids-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  max-width: 820px;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 680px;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.hero-text {
  font-family: Arial, sans-serif;
  font-size: clamp(17px, 2vw, 21px);
  max-width: 700px;
  color: var(--muted);
  margin-bottom: 34px;
}

.hero-actions,
.contact-actions,
.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(124, 77, 47, 0.20);
}

.btn-primary:hover { background: var(--brand-dark); }

.btn-secondary {
  background: var(--white);
  color: var(--brand-dark);
  border-color: var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 80px 6vw;
}

.category-card,
.book-card,
.note-section,
.contact-section,
.about-section,
.intro-copy,
.featured-section,
.mini-book {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.category-card {
  padding: 44px;
  min-height: 420px;
}

.life-card { border-top: 8px solid var(--life); }
.kids-card { border-top: 8px solid var(--kids); }

.card-badge {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(215, 168, 110, 0.24);
  color: var(--brand-dark);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.category-card p,
.about-section p,
.intro-copy p,
.note-section p,
.contact-section p,
.book-card p,
.mini-book p {
  font-family: Arial, sans-serif;
  color: var(--muted);
}

.category-card ul {
  font-family: Arial, sans-serif;
  color: var(--text);
  padding-left: 20px;
  margin: 22px 0 28px;
}

.text-link {
  font-family: Arial, sans-serif;
  font-weight: 700;
  color: var(--brand);
}

.text-link:hover { color: var(--brand-dark); }

.about-section {
  margin: 0 6vw 80px;
  padding: 50px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.contact-section,
.note-section,
.intro-copy,
.featured-section {
  margin: 0 6vw 80px;
  padding: 44px;
}

.intro-copy { margin-top: 80px; }

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.mini-book {
  padding: 22px;
}

.mini-book img {
  width: 150px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(31, 41, 51, 0.12);
  background: #efe5d5;
  margin-bottom: 18px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0 6vw 80px;
}

.book-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.book-cover {
  width: 100%;
  max-width: 180px;
  height: 270px;
  object-fit: contain;
  border-radius: 16px;
  margin: 0 auto 16px auto;
  background: #f3eadc;
  box-shadow: 0 12px 26px rgba(31, 41, 51, 0.10);
}

.book-card h2 {
  font-size: 17px;
  line-height: 1.22;
  letter-spacing: -0.005em;
  margin-bottom: 10px;
}

.book-card p { flex: 1; }

.book-actions .btn {
  flex: 1;
  min-width: 120px;
  padding-left: 14px;
  padding-right: 14px;
}

.site-footer {
  padding: 34px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer p { margin: 0; }

.site-footer a {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding: 70px 6vw;
  }

  .split-section,
  .book-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .contact-section,
  .note-section,
  .intro-copy,
  .about-section,
  .featured-section {
    padding: 28px;
  }

  .book-grid {
    padding-bottom: 60px;
  }

  .site-footer {
    flex-direction: column;
  }
}


.missing-cover {
  object-fit: contain !important;
  padding: 18px;
}

.missing-cover::after {
  content: "Cover image not uploaded";
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.08;
  }
}
