/* General Setup */
body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Pagination Navigation Bars (Top & Bottom) */
.section-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 14px 24px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.bottom-pagination {
  margin-top: 50px;
  margin-bottom: 20px;
}

.nav-btn {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-btn:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.nav-home {
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-home:hover {
  color: #0f172a;
}

/* Header Section */
.notebook-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.badge {
  background-color: #e0e7ff;
  color: #3730a3;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.notebook-header h1 {
  font-size: 2.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.intro-text {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Image-Focused Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.img-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .img-container img {
  transform: scale(1.04);
}

.design-code {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.gallery-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 8px;
}

.gallery-info p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.whatsapp-btn {
  background-color: #16a34a;
  color: #ffffff;
  text-align: center;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}

.whatsapp-btn:hover {
  background-color: #15803d;
}