/* =========================================
   STATIONERY POINT — Custom Stylesheet
   ========================================= */

:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --primary-light: #e7f1ff;
  --accent: #ffc107;
  --dark: #1a2332;
  --light-bg: #f7f9fc;
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #fff;
}

h1, h2, h3, h4, h5, .display-4, .display-5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* ---------- Navbar ---------- */
.brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}
.navbar .nav-link {
  font-weight: 500;
  color: #333;
  margin: 0 5px;
  position: relative;
  transition: color 0.3s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
}
.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 15%; right: 15%;
  height: 3px; background: var(--primary);
  border-radius: 3px;
}

/* ---------- Hero Banner ---------- */
.hero {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 60%, #063b91 100%);
  color: #fff;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -60px;
  width: 260px; height: 260px;
  background: rgba(255,193,7,0.15);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: 3.2rem; line-height: 1.15; }
.hero .lead { font-size: 1.15rem; opacity: 0.95; }
.hero .btn-accent {
  background: var(--accent); color: #000;
  border: none; font-weight: 600; padding: 12px 28px;
}
.hero .btn-accent:hover { background: #ffca2c; transform: translateY(-2px); }

/* ---------- Section General ---------- */
.section { padding: 70px 0; }
.section-title {
  text-align: center; margin-bottom: 40px;
}
.section-title h2 { font-size: 2.2rem; margin-bottom: 10px; }
.section-title p { color: #666; }
.section-title::after {
  content: ""; display: block;
  width: 70px; height: 4px;
  background: var(--primary);
  margin: 15px auto 0; border-radius: 2px;
}

/* ---------- Category Cards ---------- */
.category-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #eef2f7;
  transition: all 0.3s ease;
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: block;
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(13,110,253,0.15);
  border-color: var(--primary);
  color: var(--primary);
}
.category-card .cat-icon {
  width: 80px; height: 80px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
  transition: all 0.3s;
}
.category-card:hover .cat-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(-10deg) scale(1.1);
}
.category-card h5 { margin-bottom: 8px; font-family: 'Poppins'; font-weight: 600;}
.category-card p { color: #777; font-size: 0.88rem; margin: 0; }

/* ---------- Product Cards ---------- */
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eef2f7;
  transition: all 0.3s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.09);
}
.product-card .product-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f4f6fa;
}
.product-card .product-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-card .product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: #000;
  font-size: 0.7rem; padding: 3px 10px;
  border-radius: 20px; font-weight: 600;
}
.product-card .product-body {
  padding: 18px; flex-grow: 1;
  display: flex; flex-direction: column;
}
.product-card h6 {
  font-weight: 600; margin-bottom: 8px;
  font-family: 'Poppins';
}
.product-card .price {
  font-size: 1.2rem; color: var(--primary);
  font-weight: 700; margin-bottom: 12px;
}
.product-card .btn-cart {
  margin-top: auto;
  background: var(--primary); color: #fff;
  border: none; padding: 8px 14px;
  border-radius: 6px; font-size: 0.9rem;
  transition: all 0.3s;
}
.product-card .btn-cart:hover { background: var(--primary-dark); }

/* ---------- Filter Pills ---------- */
.filter-pills { text-align: center; margin-bottom: 30px; }
.filter-pills .pill {
  display: inline-block;
  padding: 8px 20px;
  margin: 5px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid #d7dde5;
  color: #444;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s;
}
.filter-pills .pill:hover { border-color: var(--primary); color: var(--primary); }
.filter-pills .pill.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

/* ---------- About Page ---------- */
.feature-box {
  background: #fff;
  padding: 30px 25px;
  border-radius: 14px;
  border: 1px solid #eef2f7;
  height: 100%;
  transition: all 0.3s;
}
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}
.feature-box .feature-icon {
  width: 60px; height: 60px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 18px;
}

.mission-vision { background: var(--light-bg); }
.mission-vision .card-inner {
  background: #fff; padding: 35px;
  border-radius: 14px; border-top: 4px solid var(--primary);
  height: 100%;
}

/* ---------- Contact Page ---------- */
.contact-info-item {
  display: flex; align-items: flex-start; gap: 15px;
  padding: 18px; background: #fff;
  border-radius: 10px; margin-bottom: 15px;
  border: 1px solid #eef2f7;
}
.contact-info-item .icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--primary-light); color: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.contact-form {
  background: #fff; padding: 35px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.contact-form .form-control {
  padding: 12px 15px; border-radius: 8px;
  border: 1px solid #d7dde5;
}
.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.12);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #253349 100%);
  color: #fff; padding: 70px 0;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #fff;
}
.site-footer h5, .site-footer h6 { color: #fff; }
.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--accent); padding-left: 3px; }
.site-footer .social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  margin-left: 8px;
  color: #fff;
}
.site-footer .social-icons a:hover {
  background: var(--primary); padding-left: 0;
}

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 60px 0 50px;
  text-align: center;
}
.page-header h1 { margin-bottom: 10px; }
.page-header .breadcrumb {
  justify-content: center; margin: 0;
}
.page-header .breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.page-header .breadcrumb-item.active { color: #fff; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 1.7rem; }
}

/* ---------- Alerts ---------- */
.alert-dismissible { border-radius: 10px; }

/* ---------- Cart Item ---------- */
.cart-item {
  display: flex; gap: 12px; align-items: center;
  padding-bottom: 12px; border-bottom: 1px solid #eee;
}
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.cart-item .ci-body { flex-grow: 1; }
.cart-item .ci-name { font-size: 0.9rem; font-weight: 500; }
.cart-item .ci-price { font-size: 0.85rem; color: var(--primary); font-weight: 600; }
.cart-item .ci-remove {
  background: none; border: none; color: #dc3545; cursor: pointer;
}
