@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --main-color: #ff8800;
}

body,
html {
  font-family: "Poppins";
}

a,
a:hover,
a:visited {
  color: #1d1d1d;
  text-decoration: none;
}

.text-main {
  color: var(--main-color) !important;
}

.bg-main {
  background-color: var(--main-color);
  color: #fff;
}
.btn.bg-main:hover {
  background-color: var(--main-color);
  color: #fff;
}

.border-main {
  border: 1px solid var(--main-color);
  color: var(--main-color);
}
.btn.border-main:hover {
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

.gradint-text {
  text-align: center;
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(163deg, #ffce33 3.08%, #f80 83.01%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-brand .logo {
  width: 40px;
  height: auto;
  object-fit: contain;
}

.login-btn {
  border: 1px solid var(--main-color);
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--main-color);
  font-weight: lighter;
  transition: background-color 500ms ease-in-out, color 500ms ease-in-out;
}

.login-btn:hover {
  border: 1px solid var(--main-color);
  background-color: var(--main-color);
  color: #fff;
}

.cart-btn {
  position: relative;
  border: 1px solid var(--main-color);
  background-color: var(--main-color);
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff;
  font-weight: lighter;
  transition: background-color 500ms ease-in-out, color 500ms ease-in-out;
}
.cart-count {
  width: 20px;
  height: 20px;
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: red;
  color: white;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}
.cart-btn:hover {
  border: 1px solid var(--main-color);
  background-color: #fff;
  color: var(--main-color);
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  background-image: url("https://images.unsplash.com/photo-1507842217343-583bb7270b66?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000");
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .parallax {
    height: 400px;
  }
}

.parallax::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.parallax-content {
  position: relative;
  z-index: 1;
}

.book-card {
  position: relative;
  background-color: #fff;
  padding: 5px;
  border-radius: 5px;
}

.book-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

.book-card:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.book-card .details {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centering */
  color: white; /* Optional text color */
  padding: 10px;
  border-radius: 5px;
  display: none; /* Initially hidden */
  z-index: 1;
}

.book-card .details button {
  width: 200px;
}

/* Make the details visible on hover */
.book-card:hover .details {
  display: block;
}

#prev-btn,
#next-btn {
  width: 35px;
  height: 35;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff8800;
  border: none;
  background-color: transparent;
  outline: none;
  font-size: 18px;
  margin: 5px;
}

footer ul li {
  margin-bottom: 10px;
}

.quick-link {
  margin-right: 20px;
}

.hover-primary:hover {
  color: #ff8800 !important;
}

.email {
  word-wrap: break-word;
  white-space: normal;
}
.review-text {
  width: 30%;
}

@media (max-width: 450px) {
  .review-text {
    width: 100%;
  }
}

/* Featured Books Section */
.featured-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.section-title p {
  color: #666;
  font-size: 1.1rem;
}

/* Features Section */
.feature-card {
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--main-color);
  margin-bottom: 1.5rem;
}

.toast-container {
  z-index: 1050;
}

.add-to-cart-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
