/* Reset & Global */


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9fafb;
  color: #111827;
  line-height: 1.5;
}

/* =====================
   Hero Section
===================== */
.hero {
  background: #2d5076;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}


.hero-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.hero-nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  transition: background 0.2s;
  border-radius: 5px;
}

.hero-nav a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}


/* Buttons */
.btn {
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.btn.primary {
  background-color: #fff;
  color: #1e40af;
}

.btn.primary:hover {
  background-color: #e0e7ff;
}

.btn.secondary {
  background-color: #fff;
  color: #3b82f6;
}

.btn.secondary:hover {
  background-color: #dbeafe;
}

/* =====================
   Search & Filters
===================== */
.search-filter {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.search-bar {
  display: flex;
  width: 100%;
  max-width: 600px;
  margin-bottom: 1rem;
}

.search-bar input {
  flex: 1;
  padding: 0.7rem;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  background-color: #fff;
}

.search-bar button {
  padding: 0.7rem 1.5rem;
  border: none;
  background-color: #111827;
  color: white;
  border-radius: 0 5px 5px 0;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-bar button:hover {
  background-color: #1f2937;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.filter-btn {
  background: white;
  color: #111827;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #111827;
  color: white;
}

/* =====================
   Books Section
===================== */
.books-section {
  padding: 2rem 1rem;
}

.books-section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.books-section p {
  text-align: center;
  margin-bottom: 2rem;
  color: #4b5563;
}

/* =====================
   Book Grid & Cards
===================== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.book-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(229, 231, 235, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.book-card:hover {
  transform: translateY(-4px);
}

.book-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: #f3f4f6;
  transition: transform 0.3s ease;
}

.book-card img:hover {
  transform: scale(1.05);
}

.book-info {
  padding: 1rem;
  flex: 1;
}

.book-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.book-author {
  font-size: 0.9rem;
  color: #6b7280;
}

.book-price {
  margin-top: 0.8rem;
  font-size: 1rem;
}

.book-price del {
  color: #9ca3af;
  margin-right: 0.3rem;
}

.book-card button {
  margin: 1rem;
  background: #2563eb;
  color: white;
  font-weight: bold;
  padding: 0.6rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.book-card button:hover {
  background-color: #1d4ed8;
}

/* =====================
   Responsive Tweaks
===================== */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.95rem;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-bar input,
  .search-bar button {
    width: 100%;
    border-radius: 5px;
  }

  .search-bar button {
    margin-top: 0.5rem;
  }
}


.site-footer {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 3rem 1rem 2rem;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
}

.site-footer h3,
.site-footer h4 {
  color: #e0e7ff;
  margin-bottom: 1rem;
}

.footer-about p {
  color: #d1d5db;
  line-height: 1.6;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #93c5fd;
}

.footer-contact p,
.footer-contact a {
  color: #d1d5db;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.footer-socials a {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.2rem;
  color: #93c5fd;
  transition: transform 0.2s ease;
}

.footer-socials a:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}




.coming-soon {
  background-color: #e0e7ff;
  padding: 2rem 1rem;
  display: flex;
  justify-content: flex-start;
}

.coming-container {
  max-width: 960px;
  margin: 0 auto;
  border-left: 8px solid #1e3a8a;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.coming-container h2 {
  color: #1e3a8a;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.coming-container p {
  color: #374151;
  font-size: 1rem;
  line-height: 1.6;
}

.coming-container {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.coming-container.visible {
  opacity: 1;
  transform: translateX(0);
}


