/* ================= GLOBAL ================= */

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

body {
  font-family: 'Heebo', sans-serif;
  direction: rtl;
  background: white;
}

/* ================= NAVBAR ================= */

.navbar {
  background: #3f6f77;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  color: white;
}

.logo {
  font-size: 34px;
  font-weight: 800;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-center {
  display: flex;
  gap: 35px;
}

.nav-center a {
  color: white;
  text-decoration: none;
  font-size: 17px;
  transition: 0.3s;
}

.nav-center a:hover {
  color: #d7b84a;
}

.nav-left img {
  height: 24px;
  margin-left: 10px;
}

/* ================= HERO (HOMEPAGE) ================= */

.hero {
  position: relative;
  background: #c2a24c;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(194,162,76,0.9);
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  display: flex;
  width: 90%;
  max-width: 1400px;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

/* BOOK SIDE */

.book-side {
  text-align: center;
  flex-shrink: 0;
}

.book-img {
  width: 520px;
  margin-bottom: 0;
}

.buy-btn {
  background: #2f5f66;
  color: white;
  border: none;
  padding: 14px 50px;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 15px;
}

.price-blue {
  font-size: 28px;
  color: #2f5f66;
  font-weight: 600;
}

/* TEXT SIDE */

.text-side {
  text-align: right;
  max-width: 550px;
}

.headline {
  font-size: 40px;
  color: #8a0d0d;
  margin-bottom: 20px;
}

.subheadline {
  font-size: 28px;
  color: black;
  font-weight: 400;
  margin-bottom: 35px;
}

.cta-btn {
  background: #a61717;
  color: white;
  border: none;
  padding: 16px 60px;
  border-radius: 30px;
  font-size: 16px;
  margin-bottom: 30px;
  cursor: pointer;
}

.price-area {
  font-size: 26px;
}

.old-price {
  text-decoration: line-through;
  margin-left: 15px;
  color: #8a0d0d;
}

.new-price {
  color: #8a0d0d;
  font-weight: 600;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .book-img {
    width: 220px;
  }

  .hero {
    height: auto;
    padding: 60px 0;
  }
}

/* ================= PEREK (CHAPTER PAGE ONLY) ================= */

/* Page background */

.chapter-page {
  background: #f8f6f2;
}

/* Container */

.chapter-page .chapter-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Titles */

.chapter-page .chapter-title {
  font-size: 38px;
  text-align: center;
  margin-bottom: 10px;
}

.chapter-page .chapter-subtitle {
  text-align: center;
  font-size: 18px;
  color: #888;
  margin-bottom: 30px;
}

/* Gold divider */

.chapter-page .divider {
  width: 80px;
  height: 4px;
  background: #d7b84a;
  margin: 20px auto 50px;
  border-radius: 2px;
}

/* Text block */

.chapter-page .book-text {
  direction: rtl;
  text-align: justify;
  line-height: 1.9;
  font-size: 18px;
  color: #222;
}

/* Paragraph spacing */

.chapter-page .book-text p {
  margin-bottom: 1.4em;
}

/* Dialog line spacing */

.chapter-page .book-text p br {
  line-height: 2;
}

/* Drop cap (first letter) */

.chapter-page .book-text p:first-child::first-letter {
  font-size: 48px;
  font-weight: 800;
  float: right;
  margin-left: 10px;
  line-height: 1;
}

/* Footer */

.chapter-page .footer {
  text-align: center;
  margin: 80px 0 40px;
}

.chapter-page .back-btn {
  background: #2f5f66;
  color: white;
  padding: 12px 30px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
}

/* Chapter responsive */

@media (max-width: 768px) {
  .chapter-page .chapter-title {
    font-size: 28px;
  }

  .chapter-page .book-text {
    font-size: 16px;
    line-height: 1.8;
  }
}