/* style.css */

/* ============ Base Layout ============ */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color:#FEF6D8;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 4rem 0;
}

/* ============ Header ============ */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-weight: 500;
}

/* ============ Hero Section ============ */
.hero {
  background: #DDFEF4;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-image {
  flex: 1 1 300px;
  text-align: center;
}

.cta-buttons {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

/* ============ Book ============ */
.book-info p {
  margin: 0;
  margin-top: -20px;	
  line-height: 1.5;
}

.book-info p + p {
  margin-top: 2px; /* small space between paragraphs */
}
/* ============ Buttons ============ */
.btn {
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn.primary {
  background: #8b3a3a;
  color: #fff;
  border: none;
}

.btn.secondary {
  border: 2px solid #8b3a3a;
  color: #8b3a3a;
  background: transparent;
}

/* ============ Featured Logos ============ */
.featured {
  text-align: center;
}

.featured .logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

/* ============ Author Bio ============ */
.bio-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.bio {
  padding-bottom: 2rem;
}

.series {
  padding-top: 2rem;
}


.author-img {
  width: 250px;
  border-radius: 10px;
}

.bio-text {
  flex: 1 1 400px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 1rem; /* spacing between icons */
  margin-top: 1rem;
}

.social-icons a img {
  width: 32px; /* adjust size if needed */
  height: 32px;
  display: block;
}

/* ============ Email Feedback ============ */
.feedback {
  color: green;
  display: table;
  margin-left: auto;
  margin-right: auto;
  padding:10px 10px;
  text-align:center;
}	


/* ============ WhatsApp Floating ============ */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 40px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

.my-float {
  margin-top: 2px;
}


/* ============ Complete Series ============ */
.series-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  background: #FFFAF8;
  width: 100%;
  max-width: none;
  padding: 4rem 3.5rem; /* top/bottom = 4rem, sides = 1rem */
  box-sizing: border-box;
}


.series-text {
  flex: 1 1 250px;
}

.series-image {
  flex: 1 1 300px;
  text-align: center;
}

/* ============ Testimonials ============ */
.testimonials {
  background: #FDEEF1;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 2rem;
}

.testimonial {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ============ Contact Section ============ */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-content input,
.contact-content textarea {
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* ============ Footer ============ */
.footer {
  background: #111;
  color: #eee;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-nav {
  margin-bottom: 1rem;
}

.footer-nav a {
  color: #eee;
  margin: 0 0.75rem;
}

/* ============ Responsive Fixes ============ */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-content,
  .bio-content,
  .series-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .social-icons {
    justify-content: center;
  }
}
