html {
  scroll-behavior: smooth;
}

body {
  background-color: #fdfaf9;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1300px;
  box-sizing: border-box;
  padding: 0;
  margin: 0 auto;
}

.grid-container {
  display: grid;
}

.flex-container {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.align-right {
  align-items: flex-end;
}

.align-left {
  align-items: flex-start;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: black;
}

p {
  line-height: 1.3;
}

/* MARGIN */
.margin-0 {
  margin: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-0 {
  margin: 0;
}

.m-5 {
  margin: 0 5rem;
}


/* PADDINGS  */
.p-1 {
  padding: 1rem 0;
}

.p-1half {
  padding: 1.5rem;
}

/* FONT FAMILY */
@font-face {
  font-family: "castoro";
  src: url("../fonts/Castoro.ttf") format("truetype");
}

@font-face {
  font-family: "playfair-display";
  src: url("../fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
}

.playfair-display {
  font-family: "playfair-display";
}

.castoro {
  font-family: "Castoro", serif;
}

.sans-serif {
  font-family: sans-serif;
}

.system-font {
  font-family: system-ui, sans-serif;
}


.font-48 {
  font-size: 3rem;
}

.font-14 {
  font-size: 0.875rem;
}

.font-18 {
  font-size: 1.125rem;
}

.font-20 {
  font-size: 1.3rem;
}

/* FONT FORMATTING */
.no-bold {
  font-weight: 200;
}

.bold {
  font-weight: 500;
}

.bolder {
  font-weight: 600;
}

/* COLORS */
.background-dark-navy-blue {
  background-color: #011526;
}

.background-charcoal-purple {
  background-color: #333343;
}

.off-white {
  color: #fdfaf9;
}

.golden-tan {
  color: #b5a27c;
}

.brown {
  color: #91753d;
}

.dark-navy-blue {
  color: #011526;
}

.dark-grey {
  color: #30302F;
}

h1,
h2,
h3,
h4,
h5,
p,
a {
  color: #011526;
}

h1,
h2,
h3,
h4,
h5 {
  font-size: 3rem;
  text-align: center;
  font-weight: 100;
}

/* HEADER */
header {
  border-bottom: 1.5px solid black;
  position: sticky;
  top: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
}

#logo {
  max-width: 6rem;
}

#logo img {
  max-width: 100%;
}

.hamburger {
  display: none;
}

.menu {
  display: flex;
  flex-direction: row;
  position: static;
  width: auto;
  box-shadow: none;
  background: none;
}

.menu-list a {
  padding: 10px;
  color: #b5a27c;
  font-family: "playfair-display";
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease-in-out;
}

.menu-list a:hover,
.menu-list.active a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: #b0b4b9;
  color: #011526;
}

/* HERO SECTION */
.heading {
  font-family: "playfair-display";
  font-weight: 100;
  text-align: center;
  margin: 5rem 0;
}

.hero-image {
  width: 50%;
}

.hero-image img {
  width: 100%;
  display: block;
}

.hero-content {
  width: 50%;
  flex-direction: column;
}

.about-author {
  padding: 0 20px;
  margin: 0 3rem;
  height: -webkit-fill-available;
  flex-direction: column;
  justify-content: center;
}

.media-sect {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  gap: 5rem;
}

.media-icons {
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.media-icons a img {
  width: 25px;
  height: auto;
}

/* RELEASE  SECTION  */

.latest-release {
  grid-template-columns: 36% 34% 30%;
  gap: 1rem;
  padding: 0 3rem;
}

.mikewinser {
  max-width: 100%;
  text-align: center;
}

.mikewinser img {
  width: 80%;
}

.release-detail {
  padding: 1.5rem;
  margin: 0 auto;
  max-width: 300px;
  border-radius: 0.5rem;
  text-align: center;
  font-family: sans-serif;
}

.p-label {
  color: #30302F;
  font-size: 1.15rem;
  line-height: 1.2;
  margin: 0.4rem 0;
}

.buy-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 3rem;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  color: #fdfaf9;
  background-color: #011526;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  text-decoration: none;
}

.buy-btn:hover {
  background-color: #02203f;
}

.more-books {
  text-align: center;
}

.more-books h2 {
  font-size: 3rem;
  margin: 4rem 0;
  font-weight: 100;
}

.books-container {
  padding: 60px 20px;
  background-color: rgb(51, 51, 67);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  /* For desktop, allow wrapping if needed */
  flex-wrap: wrap;
}

/* Card styles remain unchanged */
.book-card {
  border-radius: 5px;
  max-width: 200px;
  padding: 20px;
  text-align: center;
}

.book-card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 3px;
  border: #fdfaf9 0.125rem solid;
      display: block;
}

.book-card h3 {
  font-size: 1.1rem;
  color: #fdfaf9;
  font-weight: 100;
  margin: 0;
      display: block;
      padding-bottom:8px;
}

.book-card p {
  font-size: 1.05rem;
  color: #fdfaf9;
  margin-top: 0;
      display: block;
      letter-spacing: 1px;
}

.book-card a {
  background-color: #fdfaf9;
  color: #000;
  border: none;
  padding: 1rem 4rem;
  font-size: 1rem;
  border-radius: 10rem;
  cursor: pointer;
      display: block;
}

.book-card a:hover {
      background-color: #9a7935;
    color: white;
}

/* Footer */
footer {
  background-color: #fff;
  padding: 40px 0;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.footer-logo {
  max-height: 50px;
}

.footer-divider {
  flex-grow: 1;
  height: 1px;
  background-color: #bfa76f;
  margin: 0 20px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}

.social-icons img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-text {
  margin-right: 20px;
  font-weight: 500;
  color: #333;
}

.footer-text a {
  text-decoration: underline;
  color: rgb(190 173 107);

}