/* Header styles and elements */

header {
  background-color: #D88C9A; /* Header background color */
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}

.header-content{
  color: #3E2C41;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

header a {
  color: #3E2C41; /* Header link color */
  text-decoration: none; /* Optional: remove underline */
  transition: color 0.3s ease; /* Smooth hover transition */
}

header a:hover { /* Header link hover color */
  color: #F7C5CC; /* Hover color (light or contrast-compliant) */
  text-decoration: underline; /* Optional: add underline on hover */
}

.header-divider {
  border: 0;
  height: 2px;
  margin: 0;
  background: linear-gradient(
    to right,
    transparent,
    #3E2C41,
    #333333,
    #3E2C41,
    transparent
  );
  opacity: 0.8;
}

.site-logo {
  max-height: 200px;
  width: auto;
}

/* Footer styles and elements */

footer {
  background-color: #D88C9A; /* Header background color */
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}

.footer-content{
  color: #3E2C41;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  text-shadow: #222831;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}

body {
  padding: 0;
  margin: 0;
  max-width: none;
}
footer a {
  color: #F7C5CC; /* Header link color */
  text-decoration: none; /* Optional: remove underline */
  transition: color 0.3s ease; /* Smooth hover transition */
}

footer a:hover { /* Header link hover color */
  color: #80CBC4; /* Hover color (light or contrast-compliant) */
  text-decoration: underline; /* Optional: add underline on hover */
}

/* Main Body Style */
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #FFF5F7; /* Main color */
  color: #3E2C41; /* Main Text Color */
} 
a {
  color: #D88C9A; /* Main link color */
  text-decoration: none;
}

a:hover {
  color: #B2AEB5; /* Main link hover color */
  text-decoration: underline;
}

h1, h2, h3 {
  color: #3E2C41; /* Secondary headings */
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

/* ---------------- Content sections ------------------ */

/* Default section */
section.default-section {
  width: 100%;
  margin: 0;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
  to bottom,
  #FFF5F7 0%,
  #FAD6DD 50%,  /* soft midpoint blend */
  #F7C5CC 100%
  );
  color: #3E2C41;
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

.default-section .default-content {
  max-width: 1200px;
  margin: 0 auto;
}

.default-section .text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #3E2C41;
}

/* Book highlight section */
.highlight-section {
  background: linear-gradient(to bottom, 
  #80CBC4 0%,
  #A7D7CE 50%, /* optional intermediate tint */
  #FFF5F7 100%);
  color: #B2AEB5;
  position: relative;
  overflow: hidden;
}

.highlight-section .content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.highlight-book-section {
  background: linear-gradient(to bottom, 
  #80CBC4 0%,
  #A7D7CE 50%, /* optional intermediate tint */
  #FFF5F7 100%);
  color: #3E2C41;
  width: 100%;        /* full viewport width */
  margin: 0%;         /* remove any outer spacing */
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
  padding: 1rem;
}

.highlight-book-section .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;

  max-width: 1200px;   /* Restrict content width */
  margin: 0 auto;       /* Center it horizontally */
  padding-top: 2rem;
  width: 100%;          /* Full width up to max */
  box-sizing: border-box;
}

.highlight-book-section .text-content {
  flex: 1;
  min-width: 300px;
  margin-bottom: 2rem;
}

.highlight-book-section .text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #3E2C41;
}

.highlight-book-section .text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.highlight-book-section .image-content {
  flex: 1;
  min-width: 250px;
  min-height: 400px;
  max-width: 250px;
  background-image: url('images/BaV_Cover.png');
  background-size: cover;
  background-position: top center;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  margin-right: 2rem;
  margin-bottom: 2rem;
}

/* MISC element */
.centered-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

  .centered-small-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-height: 250px;
  height: auto;
}
/* ----------  FREEBIES ------ */
.freebies-elements {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 2rem;
  flex-wrap: nowrap;
  margin: 0 auto; 
}

.freebies-elements img {
  flex-shrink: 0;
  width: 200px;
  height: auto;
  border-radius: 8px;
}

.freebies-elements .text-content {
  flex: 1;
  font-family: Arial, sans-serif;
}

@media (max-width: 800px) {
  .freebies-elements {
    flex-direction: column;
    text-align: center;
  }

  .freebies-elements img {
    width: 100%;
    max-width: 200px;
  }
}
