/* Base Styles */
body {
  font-family: "Georgia", "Times New Roman", serif;
  margin: 0;
  padding: 0;
  background: #E0E4D7;
  color: #2f3a36;
  line-height: 1.65;
}

/* Site Title */
.site-title {
  width: 100%;
  text-align: center;
  padding: 20px 15px;
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 700;
  letter-spacing: 1px;
  color: #2f3a36;
  background: #C4D6C1;
  box-shadow: none;
  white-space: normal;
  word-wrap: break-word;
}
.site-title {
  box-sizing: border-box;
}

/* Links */
a {
  color: #5a6f66;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

a:hover {
  color: #3f524a;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 15px;
}

/* Card Component */
.card {
  background: #E0E4D7;
  padding: 20px;
  margin: 18px 0;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Button */
.button {
  display: inline-block;
  background: linear-gradient(135deg, #A1B2A8 0%, #B2C8B4 100%);
  color: #1f2a26;
  padding: 14px 24px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  min-height: 44px;
  min-width: 44px;
  font-size: 16px;
  margin: 10px auto;
}
a.button {
  display: block;
  width: fit-content;
  margin: 16px auto;
  text-align: center;
}
/* Center button wrapper */
.button-wrapper,
.card > a {
  text-align: center;
  display: block;
}

.button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #B2C8B4 0%, #C4D6C1 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* Hero Section */
.hero {
  background: #C4D6C1;
  padding: 40px 20px;
  box-shadow: none;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #A1B2A8;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.hero-text h1 {
  margin: 0 0 15px 0;
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 600;
  color: #1f2a26;
}

.hero-text p {
  font-size: clamp(16px, 3vw, 18px);
  max-width: 560px;
  color: #3b4a45;
}

/* Latest Section */
.latest {
  background: #E0E4D7;
  padding: 40px 0;
  position: relative;
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Navigation Strip */
.nav-strip {
  background: linear-gradient(135deg, #B2C8B4 0%, #A1B2A8 100%);
  padding: 20px 15px;
  text-align: center;
}

.nav-strip a {
  display: inline-block;
  background: linear-gradient(135deg, #A1B2A8 0%, #B2C8B4 100%);
  color: #1f2a26;
  padding: 14px 28px;
  margin: 5px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  min-height: 44px;
  font-size: 16px;
}

.nav-strip a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #B2C8B4 0%, #C4D6C1 100%);
}

/* Book Covers */
.book-cover {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 3px solid #A1B2A8;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

/* Review on Amazon button only */
.book-info .button {
  font-size: 14px;
  padding: 12px 22px;
  letter-spacing: 0.4px;
  margin-top: 14px;
}

/* Contact Form */
#contact {
  max-width: 460px;
  margin: 40px auto;
  padding: 24px;
  background: #E0E4D7;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

#contact h2 {
  text-align: center;
  font-size: clamp(22px, 4vw, 28px);
  margin-bottom: 20px;
  color: #1f2a26;
}

#contact label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  font-weight: 700;
  color: #2f3a36;
}

#contact input,
#contact textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: none;
  background: #F4F6F2;
  font-size: 16px;
  box-sizing: border-box;
}

#contact input:focus,
#contact textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(161, 178, 168, 0.6);
}

/* Desktop-specific enhancements */
@media (min-width: 768px) {
  .site-title {
    padding: 32px 15px;
    letter-spacing: 2px;
    white-space: nowrap;
  }

  .container {
    padding: 20px;
  }

  .card {
    padding: 26px;
    margin: 22px 0;
  }

  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  }

  .button {
    padding: 14px 30px;
    letter-spacing: 1px;
  }

  .button:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  }

  .hero {
    padding: 100px 20px;
  }

  .hero-inner {
    flex-direction: row;
    gap: 50px;
    text-align: left;
  }

  .profile-pic {
    width: 200px;
    height: 200px;
    border: 6px solid #A1B2A8;
  }

  .latest {
    padding: 80px 0;
  }

  .nav-strip {
    padding: 28px;
  }

  .nav-strip a {
    padding: 14px 36px;
    margin: 0;
  }

  .nav-strip a:hover {
    transform: translateY(-3px);
  }

  .book-cover {
    max-width: 200px;
  }

  #contact {
    margin: 70px auto;
    padding: 34px;
  }

  #contact h2 {
    margin-bottom: 22px;
  }
}
