* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #0f0f0f;
  color: #f5f5f5;
  line-height: 1.6;
  font-size: 1rem;
}
header {
  background-color: #111;
  padding: 1rem 2rem;
}
.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: gold;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: gold;
}
.hero {
  text-align: center;
  padding: 4rem 2rem;
}
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-in-out;
}
.bible-verse {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
  color: #d1d1d1;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease-in-out forwards;
}
.fade-in-slow {
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about {
  padding: 3rem 2rem;
  max-width: 700px;
  margin: auto;
  text-align: center;
}
.about h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: gold;
}
.about p {
  margin-bottom: 1rem;
  color: #d1d1d1;
  animation: fadeIn 1.5s ease-in-out forwards;
}

.product-gallery {
  padding: 3rem 2rem;
  text-align: center;
}
.product-gallery h2 {
  font-size: 2rem;
  color: gold;
  margin-bottom: 2rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.product-card img {
  width: 100%;
  height: auto;
  display: block;
}
.product-card p {
  padding: 1rem;
  font-weight: bold;
}
.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px gold;
}

/* Additional Animations */
@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes zoom-in {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes pulseAnim {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.slide-in-left {
  animation: slideInLeft 1s ease-in-out forwards;
}
.slide-in-right {
  animation: slideInRight 1s ease-in-out forwards;
}
.slide-in-up {
  animation: slideInUp 1s ease-in-out forwards;
}
.zoom-in {
  animation: zoomIn 0.8s ease-in-out forwards;
}
.pulse {
  animation: pulseAnim 2s infinite;
}

.verse {
  padding: 2rem;
  text-align: center;
  background: #222;
  margin: 2rem auto;
  border-left: 4px solid gold;
  max-width: 600px;
}
.verse h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: gold;
}
.verse p {
  font-style: italic;
  color: #ddd;
}

.contact-section {
  padding: 3rem 2rem;
  max-width: 600px;
  margin: auto;
  text-align: center;
}
.contact-section h2 {
  color: gold;
  margin-bottom: 2rem;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
form input,
form textarea {
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background: #2d2d2d;
  color: #fff;
}
form button {
  background: gold;
  color: #000;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}
form button:hover {
  background: #fff3b0;
}

.site-footer {
  background: #111;
  padding: 2rem;
  text-align: center;
  color: #aaa;
}
.site-footer a {
  color: gold;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer a:hover {
  color: #fff3b0;
}

.newsletter {
  background: #1a1a1a;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
}
.newsletter h3 {
  color: gold;
  margin-bottom: 1rem;
}
.newsletter form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.newsletter input {
  padding: 1rem;
  border-radius: 8px;
  border: none;
  background: #333;
  color: #fff;
  width: 250px;
}
.newsletter button {
  background: gold;
  color: #000;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
.newsletter button:hover {
  background: #fff3b0;
}

#scrollToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background: gold;
  color: black;
  border: none;
  border-radius: 50%;
  padding: 0.8rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 0 10px #000;
  transition: all 0.3s;
}
#scrollToTop:hover {
  background: #fff3b0;
}

@media screen and (max-width: 768px) {
  header nav {
    flex-direction: column;
    gap: 1rem;
  }

  .products,
  .books {
    flex-direction: column;
    align-items: center;
  }

  .product-card,
  .book-card {
    width: 90%;
    margin-bottom: 1rem;
  }

  .newsletter form {
    flex-direction: column;
  }
}

button,
a {
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

button:hover {
  background: gold;
  color: black;
  transform: scale(1.05);
}

.card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(255, 215, 0, 0.2);
}

.add-to-cart-btn {
  background-color: gold;
  color: black;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-to-cart-btn a {
  color: black;
  text-decoration: none;
}

.cart-body {
  background-color: #121212;
  color: #ffffff;
  font-family: "Arial", sans-serif;
  padding: 40px 20px;
}

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

.cart-item {
  background-color: #1f1f1f;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
}

.total-amount {
  font-size: 20px;
  color: #ff69b4;
  margin-top: 30px;
}

.empty-cart {
  color: #aaaaaa;
}

.remove-btn {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 5px;
  transition: background-color 0.3s;
}

.remove-btn:hover {
  background-color: #cc0000;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.quantity-controls button {
  background: #333;
  color: white;
  border: none;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  border-radius: 4px;
}

.checkout-body {
  background-color: #111;
  color: #f4f4f4;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.checkout-summary,
.checkout-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #1c1c1c;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}
.checkout-form input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #333;
  color: #fff;
}
.checkout-btn {
  background-color: #9f7aea;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.checkout-btn:hover {
  background-color: #805ad5;
}
.checkout-status {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: #90ee90;
}

.filter-buttons {
  margin: 20px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-buttons button {
  background-color: #333;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filter-buttons button:hover {
  background-color: #555;
}

.shop-links {
  text-align: center;
  margin: 4rem 0;
}

.shop-links h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.shop-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.shop-btn {
  padding: 1rem 2rem;
  background: #fff;
  color: #000;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.shop-btn:hover {
  background: #ffcc00;
  color: #000;
  transform: scale(1.05);
}

.testimonials-section {
  padding: 40px 20px;
  background-color: #111;
  color: #fff;
  text-align: center;
}

.swiper {
  max-width: 600px;
  margin: 0 auto;
}

.swiper-slide {
  background-color: #222;
  padding: 20px;
  border-radius: 10px;
  font-style: italic;
}
