:root {
  --primary: #000000;
  --secondary: #b98e00;
  --accent: #ffffff;
  --text-soft: rgba(255,255,255,0.82);
  --text-muted: rgba(255,255,255,0.62);
  --border: rgba(255,255,255,0.18);
  --panel: #0c0c0c;
  --shadow: 0 20px 70px rgba(0,0,0,0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--primary);
  color: var(--accent);
  overflow-x: hidden;
}

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

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

.section-gap {
  padding: 100px 0;
}

.section-title,
.brand-font,
.navbar-brand,
.hero-author-name,
.footer-brand,
.review-card h3,
.book-title,
.author-name,
.page-hero h1,
.quote-block .quote-author {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
}

.text-gold {
  color: var(--secondary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar {
  padding: 18px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.4rem;
  color: var(--accent);
}

.navbar-brand img {
  height: 34px;
  width: auto;
}

.navbar-nav {
  gap: 16px;
}

.nav-link {
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--secondary);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.35);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.72) 38%, rgba(0,0,0,0.38) 60%, rgba(0,0,0,0.80) 100%),
    radial-gradient(circle at 70% 35%, rgba(255,255,255,0.08), transparent 26%),
    url('../../Upload/herobackground.webp') center center / cover no-repeat;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.70));
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 520px;
}

.hero-author-name {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  margin-bottom: 10px;
}

.hero-book-title {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  color: var(--secondary);
  margin-bottom: 20px;
}

.hero-text {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

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

.btn-outline-gold,
.btn-solid-gold {
  min-width: 180px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  padding: 14px 24px;
}

.btn-outline-gold {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
  color: var(--primary);
  background: var(--accent);
  border-color: var(--accent);
}

.btn-solid-gold {
  background: var(--secondary);
  border: 1px solid var(--secondary);
  color: var(--primary);
}

.btn-solid-gold:hover,
.btn-solid-gold:focus {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.hero-book-wrap {
  display: flex;
  justify-content: center;
}

.hero-book-card {
  position: relative;
  max-width: 380px;
}

.hero-book-card img {
  width: 100%;
  box-shadow: var(--shadow);
}

.info-section {
  background: var(--primary);
}

.content-card {
  height: 100%;
}

.section-heading {
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--secondary);
  margin-bottom: 22px;
}

.section-copy {
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 0.98rem;
}

.book-cover-frame,
.author-photo-frame {
  position: relative;
  padding: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
}

.book-cover-frame img,
.author-photo-frame img {
  width: 100%;
  object-fit: cover;
}

.author-photo-frame img {
  aspect-ratio: 4 / 5;
}

.quote-block {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 18px 0;
}

.quote-block p {
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 14px;
}

.quote-block .quote-author {
  color: var(--accent);
  font-size: 1.1rem;
}

.page-hero {
  padding: 110px 0 80px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.76), rgba(0,0,0,0.88));
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 760px;
  color: var(--text-soft);
  line-height: 1.9;
}

.inner-section {
  padding: 90px 0;
}

.feature-box {
  border: 1px solid var(--border);
  padding: 30px;
  background: rgba(255,255,255,0.02);
  height: 100%;
}

.feature-box h3 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.feature-box p,
.feature-box li {
  color: var(--text-soft);
  line-height: 1.8;
}

.feature-box ul {
  padding-left: 18px;
  margin: 0;
}

.order-card,
.contact-card,
.review-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.order-card {
  padding: 30px;
}

.book-title,
.author-name {
  color: var(--secondary);
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.meta-text {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.contact-card {
  padding: 32px;
}

.form-control,
.form-control:focus {
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--accent);
  border-radius: 0;
  box-shadow: none;
}

.form-control::placeholder {
  color: rgba(255,255,255,0.38);
}

.form-label {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.form-note,
.form-status {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-top: 14px;
}

.form-status.success {
  color: #87d987;
}

.form-status.error {
  color: #ff8d8d;
}

.review-section {
  background: linear-gradient(180deg, #060606, #000000);
}

.review-card {
  padding: 34px;
  height: 100%;
}

.review-stars {
  color: var(--secondary);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.review-card p {
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 16px;
}

.review-card h3 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.review-role {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.footer {
  padding-top: 80px;
  background: #020202;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.footer p,
.footer li,
.footer a {
  color: var(--text-soft);
  line-height: 1.85;
}

.footer h3 {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.social-list {
  display: flex;
  gap: 10px;
  padding: 0;
  list-style: none;
  margin-top: 16px;
}

.social-list a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.16);
}

.social-list a:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}

.footer-bottom {
  margin-top: 48px;
  padding: 18px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.recaptcha-badge-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .hero-section {
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.4) 65%, rgba(0,0,0,0.85) 100%), url('../../Upload/herobackground.webp') center center / cover no-repeat;
    min-height: auto;
    padding: 70px 0;
  }

  .hero-copy {
    margin-bottom: 40px;
  }
}

@media (max-width: 767.98px) {
  .section-gap,
  .inner-section,
  .footer {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .page-hero {
    padding: 80px 0 50px;
  }

  .contact-card,
  .order-card,
  .review-card {
    padding: 24px;
  }

  .hero-actions .btn-outline-gold,
  .hero-actions .btn-solid-gold,
  .btn-outline-gold,
  .btn-solid-gold {
    width: 100%;
  }
}



/* ===== v3 responsive fixes ===== */
.hero-section .row {
  align-items: center;
}

.hero-book-card {
  width: 100%;
}

.hero-book-card img,
.book-cover,
.author-photo,
.content-card img,
.contact-card img {
  max-width: 100%;
  height: auto;
}

.row {
  --bs-gutter-y: 1.5rem;
}

.contact-card,
.content-card,
.quote-block,
.review-card {
  overflow: hidden;
}

@media (max-width: 1199.98px) {
  .section-gap {
    padding: 80px 0;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-book-card {
    max-width: 320px;
    margin-inline: auto;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar {
    padding: 14px 0;
  }

  .navbar-collapse {
    margin-top: 14px;
    padding: 16px 0 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .navbar-nav {
    gap: 6px;
  }

  .nav-link {
    padding: 10px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 64px 0;
    text-align: center;
  }

  .hero-copy {
    margin: 0 auto 32px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-book-wrap {
    margin-top: 12px;
  }

  .section-gap {
    padding: 72px 0;
  }

  .section-heading,
  .book-title,
  .author-name,
  .page-hero h1 {
    line-height: 1.2;
  }

  .content-card,
  .contact-card,
  .quote-block,
  .footer {
    text-align: center;
  }

  .content-card img,
  .author-photo,
  .book-cover {
    margin-inline: auto;
  }

  .footer .col-lg-4,
  .footer .col-lg-3,
  .footer .col-lg-5 {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .section-gap {
    padding: 56px 0;
  }

  .hero-section {
    padding: 54px 0 42px;
  }

  .hero-author-name {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .hero-book-title {
    font-size: clamp(1.5rem, 7vw, 2.4rem);
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .btn-outline-gold,
  .btn-solid-gold {
    width: 100%;
    min-width: 0;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-book-card {
    max-width: 260px;
  }

  .quote-block {
    padding: 24px 18px;
  }

  .footer-brand {
    margin-bottom: 12px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    width: 200px;
    height: auto;
    max-width: 100%;
  }

  .navbar-brand {
    max-width: calc(100% - 72px);
  }

  .hero-section {
    padding: 46px 0 38px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-author-name {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .hero-book-title {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .section-heading,
  .book-title,
  .author-name,
  .page-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .meta-text,
  .eyebrow,
  .nav-link {
    letter-spacing: 0.08em;
  }

  .contact-card {
    padding: 22px 16px;
  }

  .form-control {
    font-size: 16px;
  }
}
