/* ===== HERO BANNER — single replacement block ===== */

.hero-banner {
  display: flex;
  align-items: center;
  gap: 36px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Left content */
.hero-content {
  flex: 1 1 0;
  color: #fff;
}

/* Headline and paragraph */
.hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 18px;
}
.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  margin: 0 0 22px;
  max-width: 560px;
}

/* ===== Buttons: equal width, controlled height, black text ===== */
.hero-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* Equal flexible widths, fixed visual height, centered label */
.hero-buttons .btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;            /* controlled height */
  padding: 0 18px;         /* horizontal padding only */
  box-sizing: border-box;
  white-space: nowrap;
  line-height: 1;
  color: #000 !important;  /* force black text */
  text-decoration: none;
  border-radius: 10px;
  font-weight: 800;
  transition: transform .16s ease;
}

/* Button colors (adjust backgrounds as needed) */
.hero-buttons .btn.green { background: #7ac943; }
.hero-buttons .btn.orange { background: #fbb03b; }
.hero-buttons .btn.purple { background: #a864a8; color: #000; }

/* Hover */
.hero-buttons .btn:hover { transform: translateY(-3px); }

/* ===== Hero image column constrained so left column has room ===== */
.hero-image {
  flex: 0 0 420px;        /* fixed column width for image */
  max-width: 360px;
  display: flex;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  height: auto;
  max-width: 360px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

/* ===== Icons: small, single row, tight spacing ===== */
.hero-icons {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.icon-item img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.icon-item span {
  font-weight: 700;
  font-size: 15px;
  color: rgba(255,255,255,0.95);
  line-height: 1.2;
  white-space: nowrap;
}

/* Label: allow wrapping, limit width so it wraps into 1–2 lines */
.icon-item span {
  display: block;
  max-width: 150px;       /* controls where the label breaks to a second line */
  white-space: normal;
  font-weight: 800;
  font-size: 15px;
  color: rgba(255,255,255,0.95);
  line-height: 1.15;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 900px) {
  .hero-banner {
    gap: 24px;
  }
  .hero-image {
    flex: 0 0 360px;
    max-width: 360px;
  }
  .icon-item img { width: 56px; height: 56px; }
  .icon-item span { max-width: 140px; font-size: 14px; }
}

@media (max-width: 700px) {
  .hero-banner {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-image { flex: 0 0 auto; max-width: 420px; margin-bottom: 18px; }
  .hero-content { width: 100%; }
  .hero-icons { justify-content: center; gap: 16px; }
  .icon-item { justify-content: center; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; height: 48px; }
}
/* ===== Interest Section ===== */
.interest-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.hero-banner {
  background: #000; /* black hero background */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}
.icon-item img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  filter: brightness(1.2) drop-shadow(0 0 6px rgba(255,215,0,0.3));
}
.hero-buttons .btn {
  flex: 1;
  height: 48px;
  border-radius: 10px;
  font-weight: 700;
  color: #000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform .18s ease, box-shadow .18s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,215,0,0.4);
}
.hero-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.45);
  filter: brightness(0.95);
}
/* ===== Shop by selection Section Header (Green Line + Title) ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center; /* centers text and lines */
  gap: 18px;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 18px;
  padding: 0 20px;
}

.section-line {
  flex: 1; /* THIS makes the line stretch */
  height: 6px;
  background: linear-gradient(90deg,#7ac943,#5fa21f);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(122,201,67,0.12);
}

.section-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: 0.6px;
}
/* ===== Featured Books Header ===== */
.featured-header{
    width:100%;
    max-width:1200px;
    margin:60px auto 30px;
    padding:0 20px;
}

.featured-title{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    width:100%;
}

.featured-title .section-line{
    flex:1 1 auto;
    height:6px;
    background:linear-gradient(90deg,#7ac943,#5fa21f);
    border-radius:6px;
    box-shadow:0 6px 18px rgba(122,201,67,.12);
  min-width:60px;
}

.featured-title .section-title{
    margin:0;
    font-size:22px;
    font-weight:900;
    color:#fff;
    letter-spacing:.6px;
}

.featured-link{
    text-align:right;
    margin-top:8px;
}

.view-all-link{
    color:#7ac943;
    text-decoration:none;
    font-weight:700;
    transition:color .3s ease,text-shadow .3s ease;
}

.view-all-link:hover {
  color: #ffd700; /* gold */
  text-shadow: 0 0 10px rgba(255,215,0,0.6);
}
/* Each book item */
.book-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #111;
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Book cover image */
.book-item img {
  width: 160px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition: filter 0.25s ease;
}

/* Book title text */
.book-item p {
  margin-top: 10px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

/* Hover glow effect */
.book-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255,215,0,0.4);
}

.book-item:hover img {
  filter: drop-shadow(0 0 10px rgba(255,215,0,0.6));
}

/* Carousel wrapper */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between; /* arrows on left and right */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Books grid */
.books-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  margin: 0;
  flex-wrap: nowrap; /* keeps all books in one row */
  flex: 1; /* allows grid to fill space between arrows */
}
/* Arrows */
.carousel-arrow {
  background: #111;
  border: 2px solid #7ac943;
  color: #7ac943;
  font-size: 32px;
  font-weight: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* prevents arrows from collapsing */
}

.carousel-arrow:hover {
  background: #7ac943;
  color: #000;
  box-shadow: 0 0 15px rgba(122,201,67,0.6);
}

/* Responsive tweak */
@media (max-width: 520px) {
  .section-header {
    flex-direction: column;
    gap: 10px;
  }
  .section-line { width: 56px; height: 5px; }
}
/* Mobile layout */
@media (max-width: 520px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .section-line {
    width: 56px;
    height: 5px;
  }
  .section-title {
    font-size: 20px;
  }
}
.shop-section {
  display: flex;
  align-items: center;
  justify-content: center; /* centers horizontally */
  gap: 12px; /* space between line and text */
}
.green-line {
  display: inline-block;
  width: 60px;
  height: 4px;
  background: #9efc6b; /* your green */
  border-radius: 2px;
}
/* Interest grid layout */
.interest-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 24px;
  margin: 40px auto;
  max-width: 1200px;
}

/* Each icon button */
.interest-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #111;
  border-radius: 12px;
  padding: 20px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Icon image */
.interest-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: filter 0.25s ease;
}

/* Label text */
.interest-item p {
  margin-top: 10px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

/* Hover glow effect */
.interest-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(122,201,67,0.4);
}

.interest-item:hover img {
  filter: drop-shadow(0 0 10px rgba(122,201,67,0.6));
}
/* Newsletter Banner */
.newsletter-banner {
  background: #111;
  padding: 40px 20px;
  margin: 60px auto;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.newsletter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.newsletter-text {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
}

.newsletter-icon {
  font-size: 48px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  width: 260px;
}

.newsletter-form button {
  padding: 12px 20px;
  background: #7ac943;
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #5fa21f;
}
/* Footer */
.pp-footer {
  background: #000;
  color: #fff;
  padding: 60px 40px;
  font-family: 'Poppins', sans-serif;
}

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

.footer-col h4 {
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 6px 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: gold;
}

.footer-logo {
  width: 80px;
  margin-bottom: 10px;
}

.brand h3 {
  color: #fff;
  margin-bottom: 5px;
}

.brand p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.social {
  width: 32px;
  height: 32px;
  background-size: cover;
  display: inline-block;
  transition: transform 0.3s;
}

.social:hover {
  transform: scale(1.1);
}

/* Replace with your actual icon images */
.facebook { background-image: url('images/facebook.png'); }
.instagram { background-image: url('images/instagram.png'); }
.youtube { background-image: url('images/youtube.png'); }
.pinterest { background-image: url('images/pinterest.png'); }
.tiktok { background-image: url('images/tiktok.png'); }

.footer-note {
  font-size: 13px;
  color: #aaa;
  line-height: 1.4;
  margin-top: 10px;
}
/* Footer Safari fixes */
.pp-footer a {
  color: #ccc !important;
  text-decoration: none !important;
}

.pp-footer a:hover {
  color: gold !important;
}

.pp-footer h3,
.pp-footer h4 {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1 1 180px;
  min-width: 180px;
}

.footer-col ul {
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  list-style: none;
  margin: 6px 0;
}
.social-icons {
  display: flex;
  gap: 12px;
}

.social i {
  font-size: 28px;
  color: #ccc;
  transition: 0.3s;
}

.social i:hover {
  color: gold;
}
