/* ==========================================================================
   Culture Solved - Custom Styles
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --accent: #E36220;
  --accent-hover: #c8531a;
  --bg-desk: #D1D2CD;
  --text-dark: #2D2D2D;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Raleway', sans-serif;
}

/* ---------- Base Styles ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
}

.section-padding {
  padding: 5rem 0;
}

/* ---------- Accent Button ---------- */
.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.5px;
}

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

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.hero-section {
  height: 75vh;
  min-height: 500px;
  background-color: var(--bg-desk);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background-image: url('../img/white-desk-top-ultrawide.png');
  background-size: auto 100%;
  background-position: right top;
  background-repeat: no-repeat;
  z-index: 0;
}

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

.hero-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.5rem 1.25rem;
  transition: color 0.2s;
}

.hero-nav .nav-link:hover {
  color: var(--accent);
}

.hero-content {
  position: relative;
  z-index: 1;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.hero-book-col {
  align-self: center;
}

.hero-book-img {
  max-height: 500px;
  width: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
  transform: translateY(4px);
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.hero-quote {
  margin-bottom: 1.5rem;
}

.hero-quote p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.hero-quote cite {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  font-style: normal;
}

/* ==========================================================================
   About the Book
   ========================================================================== */
.themes-header {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.book-description {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-dark);
  text-align: left;
}

.book-description ul {
  list-style: none;
  padding-left: 0;
}

.book-description ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.book-description ul li::before {
  content: '\2014';
  color: var(--accent);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.book-description .ideal-for {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   Share Component
   ========================================================================== */
.share-heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--white);
  font-size: 1.2rem;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}

.share-icon:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  transform: scale(1.1);
}

/* ==========================================================================
   Culture Score Assessment
   ========================================================================== */
.assessment-section {
  background-color: #f8f9fa;
}

.assessment-intro .lead {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Progress bar accent */
.progress-bar.bg-accent {
  background-color: var(--accent) !important;
}

/* Step category titles */
.step-category-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.step-category-subtitle {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Likert question styling */
.likert-question {
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.question-text {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.likert-scale {
  width: 100%;
  display: flex;
}

.likert-scale .btn-check:checked + .btn-outline-secondary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.likert-scale .btn-outline-secondary {
  flex: 1;
  font-weight: 600;
}

.likert-labels {
  margin-top: 0.35rem;
}

.likert-labels small {
  font-size: 0.75rem;
}

/* Assessment step animation */
.assessment-step {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Validation alert */
.assessment-validation {
  display: none;
  margin-top: 0.75rem;
}

/* Score results */
.score-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 6px solid var(--accent);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.score-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.score-label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-light);
}

.result-status {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
}

.result-meaning {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 550px;
  margin: 0.5rem auto 0;
}

.cost-of-inaction {
  background-color: #fff3e0;
  border-left: 4px solid var(--accent);
  padding: 1.5rem 2rem;
  border-radius: 4px;
  text-align: left;
  max-width: 600px;
  margin: 2rem auto 0;
}

.cost-of-inaction h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.next-step-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #dee2e6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .hero-book-img {
    max-height: 340px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    height: auto;
    min-height: 500px;
    padding-bottom: 2rem;
  }

  .hero-section::after {
    width: 100%;
    opacity: 0.25;
  }

  .hero-book-col {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .hero-book-img {
    max-height: 280px;
  }

  .hero-text-col {
    text-align: center;
    padding-bottom: 1.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-quote p {
    margin: 0 auto 0.25rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .likert-question {
    padding: 1rem;
  }
}

@media (max-width: 575.98px) {
  .hero-nav .nav-link {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    letter-spacing: 1px;
  }

  .likert-scale .btn {
    font-size: 0.85rem;
    padding: 0.375rem 0.5rem;
  }

  .score-circle {
    width: 130px;
    height: 130px;
  }

  .score-number {
    font-size: 2.5rem;
  }
}
