/* =========================================================
   MOJATA PRIKAZNA — Landing Page Styles
   ========================================================= */

:root {
  --cream: #fdf3e7;
  --cream-soft: #fbeee0;
  --navy: #16284a;
  --navy-light: #22375f;
  --teal: #4fa79b;
  --teal-dark: #3c8c81;
  --coral: #ee7f8f;
  --gold: #f4b942;
  --text-dark: #2b2419;
  --text-muted: #6f6558;
  --border-soft: #efe0cb;

  --font-display: 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --max-width: 1180px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

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

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0;
  color: var(--navy);
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 16px rgba(79, 167, 155, 0.35);
}

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

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--border-soft);
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.8rem;
  background: var(--teal);
  color: #fff;
}

.section-title {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 40px;
  color: var(--navy);
}

.section-title.left {
  text-align: left;
  margin-bottom: 0;
}

/* ============== HEADER ============== */
.site-header {
  background: var(--cream);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-icon { width: 96px; height: 96px; object-fit: contain; flex-shrink: 0; }

.logo-footer .logo-icon { width: 104px; height: 104px; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  font-size: 1.05rem;
  color: var(--navy);
}

.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.main-nav a.active {
  background: var(--navy);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
}

.header-social { display: flex; gap: 10px; }

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.social-icon {
  width: 55%;
  height: 55%;
}

.social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.fb { background: #1877f2; }
.social-btn.email { background: linear-gradient(135deg, #ea4335, #fbbc05); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

/* ============== HERO ============== */
.hero { padding: 60px 0 80px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--teal-dark);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero h1 span { color: var(--coral); }

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-stats {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-stats strong {
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.hero-media { position: relative; }

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 4.4;
  background: linear-gradient(135deg, #f7cdb9, #f0a5a0);
  border-radius: 28px;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.badge-new {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.badge-love {
  position: absolute;
  bottom: -18px;
  left: 24px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ============== HOW IT WORKS ============== */
.how-it-works {
  background: var(--cream-soft);
  padding: 64px 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 160px;
  text-align: center;
}

.step-icon {
  width: 76px;
  height: 76px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.step-arrow {
  color: var(--teal);
  font-size: 1.4rem;
  padding-top: 26px;
}

/* ============== BOOKS ============== */
.books { padding: 72px 0; }

.books-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.see-all {
  border: 1px solid var(--border-soft);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

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

.book-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 12px;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
}

.book-cover-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: block;
}

.book-cover-sub {
  font-size: 0.7rem;
  margin-top: 2px;
  opacity: 0.9;
  display: block;
}

.cover-1 { background: linear-gradient(160deg, #24427a, #16284a); }
.cover-2 { background: linear-gradient(160deg, #c98fd6, #8e6bc9); }
.cover-3 { background: linear-gradient(160deg, #5bb0a0, #3c8c81); }
.cover-4 { background: linear-gradient(160deg, #6b8fd6, #4a63b0); }
.cover-5 { background: linear-gradient(160deg, #f0a5c0, #e57fa0); }

.book-price {
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
}

/* ============== PROMO ============== */
.promo {
  background: linear-gradient(120deg, var(--teal), #7cc9be);
  border-radius: 28px;
  margin: 0 24px 72px;
  max-width: calc(var(--max-width) - 48px);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.promo-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 48px;
  max-width: none;
}

.promo-eyebrow {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.promo-copy h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 22px;
  line-height: 1.3;
}

.promo-copy .btn-primary {
  background: #fff;
  color: var(--teal-dark);
}

.promo-media {
  display: flex;
  gap: -20px;
  position: relative;
  justify-content: center;
}

.promo-book {
  width: 170px;
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.promo-book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-book-2 { margin-left: -40px; transform: rotate(6deg); }

.promo-badge {
  position: absolute;
  top: -16px;
  right: -18px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  font-size: 0.85rem;
}

/* ============== TESTIMONIALS ============== */
.testimonials { padding: 72px 0; }

.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-viewport {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}

.testimonial-viewport::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--navy);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.carousel-arrow:hover { background: var(--cream-soft); }

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-soft);
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-dark);
  min-height: 66px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.85rem;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-block;
}

.avatar-1 { background: #f0a5c0; }
.avatar-2 { background: #6b8fd6; }
.avatar-3 { background: #f4c67a; }
.avatar-4 { background: #8e6bc9; }

/* ============== TRUST BAR ============== */
.trust-bar {
  background: var(--teal-dark);
  color: #fff;
  padding: 20px 0;
}

.trust-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--navy);
  color: #cdd6e8;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 32px;
  padding-bottom: 40px;
}

.logo-footer .logo-text { color: #fff; }

.footer-brand p {
  font-size: 0.85rem;
  margin: 14px 0 18px;
  max-width: 240px;
  overflow-wrap: break-word;
}

.footer-social { display: flex; gap: 10px; }

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-col a, .footer-col span {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: #cdd6e8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 18px 0;
  font-size: 0.8rem;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-photo { aspect-ratio: 4 / 4.2; }
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-card { flex-basis: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }
  .promo-inner { grid-template-columns: 1fr; text-align: center; }
  .promo-media { margin-top: 24px; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 32px 0 56px; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { flex-basis: 78%; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}

.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-soft);
  gap: 16px;
}

/* ============== SIMPLE CONTENT PAGES ============== */
.content-page-wrap {
  padding: 56px 0 80px;
}

.content-page {
  max-width: 760px;
  margin: 0 auto;
}

.content-page h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.content-page h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
  color: var(--teal-dark);
  font-family: var(--font-display);
}

.content-page p {
  margin: 0 0 16px;
  color: var(--text-dark);
}

.content-page ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.content-page li {
  margin-bottom: 6px;
  color: var(--text-dark);
}

.faq-item {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-soft);
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 6px;
}

.faq-item p { margin: 0; }

/* ============== CONTACT PAGE ============== */
.contact-page {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.contact-page h1,
.contact-page h2 {
  text-align: center;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.05rem;
}

.contact-list a { color: var(--navy); font-weight: 700; }

.contact-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.contact-social .social-btn {
  width: 64px;
  height: 64px;
}

/* ============== BLOG PAGE ============== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
}

.blog-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 8px;
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}
