:root {
  --primary-color: #550d5d;
  --secondary-color: #d4a7a2;
  --tertiary-color: #7c9885;  
  --background-color: #fcfaf7;
  --text-color: #333;
  --border-color: #ddd;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --accent-color: #816e94;
  --accent-hover: #6a5a7c;

  --prompt-primary-color: #7c9885;
  --prompt-secondary-color: #f4eee2;
  --prompt-bg-color: #7bc58b;
  --prompt-accent-color: #e1b382;
  --prompt-text-color: #333;
  --light-text-color: #f7f3f3;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0; 
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

*, *:before, *:after {
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
  overflow-x: hidden;
}

section {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #3a3a3a;
}

h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  position: relative;
}

h2:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

p {
  margin-bottom: 15px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

/* Removed header and navigation styles */

/* Hero Section */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  width: 50%;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #666;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  width: 45%;
}

.hero-image img {
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quote-card {
  background-color: #7c9885;    
  border-radius: 3px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  width: 100%;
  padding: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px auto;
  flex-direction: column;
}
  
.quote-text {
  font-size: 1.5em;
  color: #333;
  margin: 0 0 10px;
  font-style: italic;
}

.quote-author {
  font-size: 1em;
  color: #edf3ee;
  font-weight: bold;
}
  
.quote-card:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* About Section */
#about {
  background-color: #ffffff;
  background-image: url("../img/background.svg");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: 10px;
}

.about-text {
  flex: 1;
}

p.author-signature {
  font-size: xx-large; 
  font-family: cursive;
  margin-bottom: 30px;
}

/*  Podcast Banner Style - for top of homepage */
.podcast-banner {
  background-color: var(--tertiary-color);
  color: var(--background-color);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
      
.podcast-banner-text {
  font-weight: 500;
}
      
.podcast-banner-button {
  background-color: white;
  color: #2d3748;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
      
.podcast-banner-button:hover {
  background-color: #edf2f7;
  transform: translateY(-2px);
}

/* Journal Collection Section */
#journals {
  background-color: #f8f3f0;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.journal-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journal-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.journal-image {
  height: 250px;
  background-color: #f0e8f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journal-image img {
  max-height: 90%;
  max-width: 90%;
}

.journal-details {
  padding: 20px;
}

.journal-title {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.journal-price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.journal-desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
}

.journal-buttons {
  display: flex;
  gap: 10px;
}

/* Reviews Section */
#reviews {
  background-color: #f8f3f0;
}

.reviews-container {
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.review-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.reviewer-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.review-stars {
  color: #f8b84e;
  margin-bottom: 15px;
}

/* FAQ Section */
#faq {
  background-color: #ffffff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  background-color: #f0e8f5;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.faq-question:after {
  content: "+";
  font-size: 1.5rem;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
  content: "-";
}

.faq-answer {
  background-color: white;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-in-out;
}

.faq-answer-inner {
  padding: 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Large enough value to accommodate content */
}

/* Author CTA Section */
.author-cta {
  max-width: 1200px;
  margin: 50px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
      
.author-cta-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}
      
.author-image {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
      
.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
      
.author-content {
  flex-grow: 1;
  margin-bottom: 10px;
}
      
.author-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #232F3E;
}
      
.author-description {
  padding: 15px 0; 
  margin-bottom: 20px;
  font-size: 16px;
  color: #555;
}
      
.amazon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-color);
  color: white;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}
      
.amazon-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}
      
.book-preview {
  display: flex;
  margin-top: 20px;
  gap: 15px;
  flex-wrap: wrap;
}
      
.book-cover {
  width: 100px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
      
.book-cover:hover {
  transform: scale(1.05);
}

/* Prompt Page */
.prompt-hero-banner {
  background-color: var(--prompt-secondary-color); 
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  margin: 0 auto 30px;
  border-radius: 0; /* Remove border radius on mobile */
  box-shadow: 0 5px 15px var(--shadow-color);
  color: var(--light-text-color);
}

#prompt-container {
  overflow: hidden;
  max-width: 650px;
  width: 75vw;
  height: 80vh;
  margin: 20 auto;
  padding: 40px 20px;
  background-color: var(--background-color);
  border-radius: 15px;      
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.prompt-header {  
  text-align: center;
  margin-bottom: 15px;
}

.prompt-header h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  font-style: italic;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.prompt-container {  
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.prompt-hero-image {
  background-color: var(--prompt-bg-color);
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.prompt-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 50px;
  height: 50px;
  background-color: var(--prompt-accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 3px 5px var(--shadow-color);
}

.prompt-text {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  font-size: 1.4rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on small screens */
}

button {
  background-color: var(--prompt-primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px var(--shadow-color);
  min-width: 140px;
}

button:hover {
  background-color: #677f70;
  transform: translateY(-2px);
}

.date {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #888;
  margin-top: 15px;
  font-size: 0.9rem;  
  font-style: italic;     
  font-weight: 500;
}

/* Benefits section styling */
#benefits {
  padding: 60px 0;
  background-color: #f8f3f0;
  background-image: url(../img/background.svg);
}

#benefits h2 {
  color: var(--accent-color);
}

#benefits p {
  max-width: 800px;
  margin: 0 auto 20px;
}

/* Mobile Responsiveness for Prompt Page */
@media (max-width: 767.98px) {
  .prompt-hero-banner {
    padding: 10px;
  }
  
  #prompt-container {
    padding: 20px 15px;
  }
  
  .prompt-header h1 {
    font-size: 1.8rem;
  }
  
  .subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .prompt-container {
    padding: 20px 15px;
  }
  
  .prompt-text {
    font-size: 1.2rem;
  }
  
  .prompt-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    top: -10px;
    left: -10px;
  }
  
  .button-container {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  button {
    width: 100%;
    max-width: 200px;
  }
} 

/* Centered Follow Section - No image */
.centered-follow {
  background-color: #fff;
  padding: 80px 0;
  text-align: center;
}

.follow-text-only {
  max-width: 700px;
  margin: 0 auto;
}

.follow-text-only h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.follow-text-only p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

.follow-text-only .btn-primary i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.follow-text-only .btn-primary:hover i {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}

/* Footer */
footer {
  background-color: #3a3a3a;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-container {
  background-color: #3a3a3a;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-about p {
  color: #ddd;
  font-size: 0.9rem;
}

.footer-heading {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-bottom p {
  margin-top: 20px;
  color: #aaa;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

/* Components */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  border: 2px solid var(--accent-color);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
  background-color: #f0e8f5;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Responsive Design - Removed header-specific responsive styles */
/* XS and SM breakpoints (mobile) */
@media (max-width: 767.98px) {
  .hero-content, 
  .about-content, 
  .author-cta-container {
    flex-direction: column;
  }
  
  .hero-text, 
  .hero-image, 
  .about-text, 
  .about-image {
    width: 100%;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .author-cta-container {
    text-align: center;
  }
  
  .author-image {
    margin: 0 auto 20px;
  }
  
  .book-preview {
    justify-content: center;
  }
}

/* MD breakpoint (tablets) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content {
    align-items: flex-start;
  }
}

/* XL and XXL breakpoints (large desktops) */
@media (min-width: 1200px) {
  .container {
    padding: 0 50px;
  }
}
