//* style.css */

/* ========== GLOBAL STYLES ========== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

header {
  background-color: #222;
  color: white;
  padding: 1em;
  text-align: center;
}

nav a {
  color: #ff4081;
  margin: 0 15px;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

main {
  padding: 2em;
}

footer {
  text-align: center;
  padding: 1em;
  background-color: #eee;
  font-size: 0.9em;
}

/* ========== WELCOME SECTION ========== */
.welcome-section {
  background: linear-gradient(to right, #fefefe, #ffe4f1);
  padding: 3em 2em;
  text-align: center;
  border-bottom: 1px solid #ccc;
  animation: fadeInDown 1s ease-out;
}

.welcome-content h2 {
  font-size: 2em;
  color: #333;
  margin-bottom: 0.5em;
}

.welcome-content .highlight {
  color: #ff4081;
  font-weight: bold;
}

.welcome-content p {
  font-size: 1.2em;
  color: #444;
}

.eighties-flare {
  font-style: italic;
  color: #8e24aa;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== AUTHOR BIO ========== */
.author-bio {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 2em;
}

.coming-soon {
  color: #ff4081;
  font-weight: bold;
  font-size: 0.8em;
}

/* ========== FEATURED BOOK SECTION ========== */
.featured-book {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
}

.stripe-background {
  background-color: #c21076;
  padding: 1.5rem 1rem;
  position: relative;
  overflow: visible;
  z-index: 1;

}



.book-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

/* ---------- Default (non-home) book image ---------- */
.book-image {
  flex-shrink: 0;
  position: relative;
  top: 0;
  z-index: 1;
}

.book-image img {
  width: 250px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.book-image img:hover {
  transform: scale(1.03);
}

/* ---------- Home Page Special Styles ---------- */
body.home .book-image {
  top: -80px;
  z-index: 3;
}

body.home .book-image img {
  width: 400px; /* go taller — even 420px if needed */
  border-radius: 0;
  border: 2px solid black;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}



/* ---------- Book Info Shared ---------- */
.book-info {
  flex: 1;
  max-width: 450px;
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: justify;
  color: white;
}

.book-info h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
}

.book-info .button {
  display: inline-block;
  margin-top: 1rem;
  background-color: #ffcc00;
  color: #000;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .book-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .book-info {
    max-width: 90%;
    text-align: center;
  }

  body.home .book-image {
    top: -30px;
  }

  body.home .book-image img {
    width: 280px;
  }
}

body.willowlake .book-info {
  font-size: 0.9rem; /* or whatever size you want */
  line-height: 1.4;   /* optional: improves readability */
}
body.willowlake .book-info p {
  font-size: 0.9rem;
}

body.strawberryrockets .book-info {
  font-size: 0.9rem; /* or whatever size you want */
  line-height: 1.4;   /* optional: improves readability */
}
body.strawberryrockets .book-info p {
  font-size: 0.9rem;
}

body.strawberryrockets header {
  background-image: url('website%20background.jpg');
  background-repeat: repeat;
  background-size: auto; /* keep it at original size since it's a seamless pattern */
  background-position: top center;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.content-wrapper {
  display: flex;
  align-items: flex-start;       /* makes sidebar align to top */
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  gap: 2rem;
}

/* Sidebar on the top-right */
.sidebar {
  width: 220px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px #ff2fc3, 0 0 30px #00f0ff;
  color: white;
  position: relative;
  top: 0;
  right: 0;
}

.sidebar h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: white;
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.sidebar ul li a:hover {
  color: #ff2fc3;
  text-shadow: 0 0 5px #ff2fc3;
}

main {
  flex: 1;
}

.sidebar {
  margin-top: 2rem;
}

* CSS Document */

