/* Humble Help - Style Bundle
   Elegant, minimalist ecommerce theme for journals and accessories
   Inspired by Japanese stationary aesthetics
*/

/* 1. Bootstrap 5 CSS */
@import url('bootstrap/bootstrap.css');

/* 2. Line Awesome Icon Font */
@import url('line-awesome/line-awesome.css');

/* 3. Theme Custom Variables */
:root {
  /* Primary Color - Deep forest green */
  --bs-primary: #2D5A3D;
  --bs-primary-rgb: 45, 90, 61;
  
  /* Secondary Color - Warm taupe */
  --bs-secondary: #8B7355;
  --bs-secondary-rgb: 139, 115, 85;
  
  /* Accent Color - Gold/brass */
  --accent-color: #C4A77D;
  --accent-color-rgb: 196, 167, 125;
  
  /* Background colors */
  --bs-body-bg: #FEFDFB;
  --bs-body-bg-rgb: 254, 253, 251;
  
  /* Text colors */
  --bs-body-color: #3D3D3D;
  --bs-body-color-rgb: 61, 61, 61;
  
  /* Border radius - subtle, elegant */
  --bs-border-radius: 0.5rem;
  --bs-border-radius-lg: 0.75rem;
  --bs-border-radius-sm: 0.375rem;
  
  /* Shadows - very subtle, almost flat */
  --bs-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  --bs-box-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --bs-box-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 4. Global Styles */
body {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 5. Navigation Styles */
.navbar {
  background-color: #fff !important;
  box-shadow: var(--bs-box-shadow-sm);
  padding: 0.75rem 0;
}

/* Logo Visibility - Show only one logo at a time */
.logo-sticky {
  display: none;
}

.logo-default-dark {
  display: none;
}

.logo-default-dark-sticky {
  display: none;
}

div.sticky .logo-sticky {
  display: unset;
}

div.sticky .logo-default {
  display: none;
}

div.sticky .logo-default-dark {
  display: none;
}

div.sticky .logo-default-dark-sticky {
  display: none;
}

div.sticky .logo-dark {
  display: none;
}

[data-bs-theme="dark"] .logo-default-dark {
  display: unset;
}

[data-bs-theme="dark"] .logo-default {
  display: none;
}

[data-bs-theme="dark"] div.sticky .logo-sticky {
  display: none;
}

[data-bs-theme="dark"] div.sticky .logo-default-dark {
  display: none;
}

[data-bs-theme="dark"] div.sticky .logo-default-dark-sticky {
  display: unset;
}

.navbar-dark .logo-default {
  display: none;
}

.navbar-dark .logo-default-dark {
  display: unset;
}

.navbar-light .logo-default {
  display: unset;
}

.navbar-light .logo-default-dark {
  display: none;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--bs-primary) !important;
}

.nav-link {
  color: var(--bs-body-color) !important;
  font-weight: 400;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--bs-primary) !important;
}

/* 6. Button Styles */
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: #234a31;
  border-color: #234a31;
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
  font-weight: 500;
}

.btn-outline-primary:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-outline-secondary {
  color: var(--bs-secondary);
  border-color: var(--bs-secondary);
}

.btn-outline-secondary:hover {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: #fff;
}

.btn-link {
  color: var(--bs-primary);
  text-decoration: none;
}

.btn-link:hover {
  color: #234a31;
}

/* 7. Hero Section */
.hero-1 {
  padding: 120px 0 80px;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--bs-border-radius-lg);
}

.min-vh-75 {
  min-height: 75vh;
}

/* 8. Section Styles */
section {
  padding: 80px 0;
}

/* 9. Category Cards */
.category-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--bs-box-shadow-lg);
}

/* 10. Product Cards */
.single-product-wrapper {
  background: #fff;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.single-product-wrapper:hover {
  box-shadow: var(--bs-box-shadow-lg);
  transform: translateY(-3px);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  transition: transform 0.3s ease;
}

.single-product-wrapper:hover .product-image img {
  transform: scale(1.05);
}

.product-image .hover-img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.single-product-wrapper:hover .product-image .hover-img {
  opacity: 1;
}

.product-favourite,
.product-compare {
  position: absolute;
  top: 10px;
  z-index: 2;
}

.product-favourite {
  right: 10px;
}

.product-compare {
  right: 40px;
}

.product-favourite a,
.product-compare a {
  color: var(--bs-secondary);
  font-size: 1.1rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.product-favourite a:hover,
.product-compare a:hover {
  opacity: 1;
  color: var(--bs-primary);
}

.product-content {
  padding: 1rem;
}

.product-price {
  color: var(--bs-primary);
  font-weight: 600;
}

.badges .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

/* 11. Post Cards */
.card.post {
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card.post:hover {
  box-shadow: var(--bs-box-shadow-lg);
  transform: translateY(-3px);
}

.post-meta {
  color: var(--bs-secondary);
}

.post-meta .meta-icon {
  margin-right: 0.5rem;
}

/* 12. Testimonials */
.testimonials .bg-body {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 13. Subscribe Section */
.subscribe {
  background-color: #F8F6F3;
}

/* 14. Footer */
.footer-3 {
  background-color: #2C2C2C !important;
}

.footer-copyright {
  background-color: rgba(0, 0, 0, 0.1);
}

.footer-3 a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-3 a:hover {
  color: #fff;
}

/* 15. Form Styles */
.form-control {
  border-color: rgba(0, 0, 0, 0.15);
  border-radius: var(--bs-border-radius-sm);
}

.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(45, 90, 61, 0.15);
}

.label-over {
  padding-top: 1.5rem;
}

.label-over + .form-label {
  position: absolute;
  top: 0.5rem;
  left: 0.75rem;
  font-size: 0.75rem;
  color: var(--bs-secondary);
}

/* 16. Dropdown Styles */
.dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--bs-box-shadow-lg);
  border-radius: var(--bs-border-radius);
}

.dropdown-item:hover {
  background-color: rgba(45, 90, 61, 0.05);
}

/* 17. Modal Styles */
.modal-content {
  border: none;
  border-radius: var(--bs-border-radius-lg);
}

/* 18. Alert Styles */
.alert {
  border-radius: var(--bs-border-radius-sm);
}

/* 19. Badge Styles */
.badge {
  font-weight: 500;
}

/* 20. Breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
}

/* 21. Offcanvas Cart */
.offcanvas {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-table {
  font-size: 0.9rem;
}

/* 22. Inner Page Hero */
.inner-page-hero {
  background-color: #F8F6F3;
  padding: 60px 0;
}

/* 23. About Us Icons */
.icon-circle {
  transition: transform 0.3s ease;
}

.icon-circle:hover {
  transform: scale(1.1);
}

/* 24. Animations */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* 25. Responsive Adjustments */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .hero-1 {
    padding: 80px 0 60px;
    min-height: auto;
  }
  
  .display-3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }
  
  .display-3 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.5rem;
  }
}

/* 26. Utility Classes */
.tracking-wider {
  letter-spacing: 0.1em;
}

/* 27. Loading States */
.loading .spinner-border {
  width: 1rem;
  height: 1rem;
}

/* 28. Transitions */
a, .btn, .form-control, .card, .single-product-wrapper {
  transition: all 0.2s ease;
}

/* 29. Focus States */
a:focus, .btn:focus, .form-control:focus {
  outline: none;
}

.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(45, 90, 61, 0.25);
}

/* 30. Selection */
::selection {
  background-color: var(--bs-primary);
  color: #fff;
}

