/* Root Colour Variables */
:root {
  --bg-main: #ECEAE4;
  --bg-card-light: #f7f5f0;
  --dark-primary: #2B2B2B;
  --accent-primary: #A55A38;
  --accent-secondary: #ab6a4c;
  --accent-terracotta: #a36646;
  --text-light: #ffffff;
  --text-muted: #8a8a8a;
}

html,
body {
  background: var(--bg-main);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 120px;
  }
}

/* Policy Notice Padding */
.notice-end {
  padding-bottom: 20px;
}

/* Navbar */
.navbar {
  --bs-navbar-color: var(--text-light);
  --bs-navbar-brand-color: var(--text-light);
  --bs-navbar-hover-color: var(--accent-primary);
  --bs-navbar-disabled-color: var(--text-muted);
  --bs-navbar-active-color: var(--text-light);
  background: var(--dark-primary);
}

/* Brand Logo */
.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--text-light) !important;
}

.navbar-collapse {
  display: flex;
}

.navbar .nav-link.active {
  color: var(--accent-primary);
  font-weight: 600;
}

/* Main Content */
main {
  flex: 1;
  padding-top: 100px;
}

/* Hero Section */
.hero {
  background: var(--bg-main);
}

.hero-text h1 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-primary);
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--dark-primary);
  max-width: 520px;
}

/* Carousel Images */
.carousel-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Rounded Corners for Carousel */
.nice-rogi {
  border-radius: 12px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
}

.hero-actions {
  margin-top: -8px;
}

.hero-btn {
  padding-top: 8px;
  padding-bottom: 8px;
}

.hero-box1 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.hero-box2 {
  background: var(--bg-main);
  color: var(--dark-primary);
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Features Section */
.features {
  background: var(--accent-secondary);
  color: var(--text-light);
  padding: 60px 0 40px;
}

.feature-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 16px;
}

.features h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.features p {
  max-width: 300px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Benefits Section */
.benefits {
  background: var(--dark-primary);
  color: var(--text-light);
  padding: 70px 0;
}

.benefits-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 24px;
}

.benefits-line {
  width: 60px;
  height: 2px;
  background: var(--text-light);
  opacity: 0.7;
  margin: 0 auto 60px;
}

.benefit {
  max-width: 600px;
  margin: 0 auto 55px;
  text-align: center;
}

.benefit:last-child {
  margin-bottom: 0;
}

.benefit-icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 18px;
  color: var(--text-light);
  opacity: 0.85;
}

.benefit h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.benefit p {
  opacity: 0.85;
  line-height: 1.7;
}

/* Fit Section */
.fit {
  background: var(--bg-main);
  color: var(--dark-primary);
  padding: 70px 0;
}

.fit-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 24px;
}

.fit-line {
  width: 60px;
  height: 2px;
  background: var(--accent-primary);
  margin: 0 auto 60px;
}

.fit-icon {
  text-align: center;
  margin-bottom: 24px;
  color: var(--accent-primary);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
}

.fit h3 {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.fit ul {
  max-width: 420px;
  margin: 0 auto;
  padding-left: 20px;
}

.fit li {
  margin-bottom: 14px;
  line-height: 1.6;
}

/* Reader Reviews Section */
.reviews {
  background: var(--bg-main);
  padding: 60px 0 120px;
}

.reviews-title {
  margin-top: -30px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--text-light);
  border-radius: 24px;
  border-top: 6px solid var(--accent-primary);
  padding: 40px 30px;
  height: 100%;
  min-height: 420px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-secondary);
  margin-bottom: 20px;
}

.review-text {
  color: var(--dark-primary);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.review-author {
  color: var(--accent-primary);
  font-weight: 700;
  margin: auto 0 0;
}

.review-role {
  color: var(--dark-primary);
  font-size: 0.9rem;
  opacity: 0.75;
  margin: 0;
}

/* Card Hover Lift Effect */
.jump-box {
  transition: transform 0.3s ease;
}

.jump-box:hover {
  transform: translateY(-26px);
}

/* Footer */
.footer {
  background: var(--dark-primary);
  color: var(--text-light);
}

/* Buy Now Page */
.buy-section {
  padding-top: 30px;
}

/* About Book Page */
.custom-block {
  padding-top: 24px;
  padding-bottom: 24px;
}

@media (min-width: 768px) {
  .custom-block {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.rogi-rogi {
  border-radius: 12px;
  overflow: hidden;
}

/* Subtle Zoom Effect for Book Images */
.book-zoom {
  transition: transform 0.4s ease;
  cursor: pointer;
}

.book-zoom:hover {
  transform: scale(1.06);
}

/* Bottom Feature Cards */
.custom-feature-card {
  background-color: var(--bg-card-light);
  border: 1px solid rgba(163, 102, 70, 0.2);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.custom-feature-card:hover {
  transform: translateY(-6px);
  background-color: var(--text-light);
  border-color: var(--accent-terracotta);
  box-shadow: 0 12px 24px rgba(45, 45, 45, 0.08);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(163, 102, 70, 0.12);
  color: var(--accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-feature-card:hover .icon-wrapper {
  background-color: var(--accent-terracotta);
  color: var(--text-light);
}