/* Custom styles to replace external bootswatch pulse theme */

body {
  background-color: #7a6a4a;
  color: #f0e6d2;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

header.navbar {
  background-color: #1e40af;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.5);
}

a.nav-link {
  color: #c7d2fe;
  font-weight: 600;
  transition: color 0.3s ease;
  text-decoration: none;
}

a.nav-link:hover {
  color: #e0e7ff;
  text-decoration: underline;
}

section#products {
  background-color: #ffffff;
  border-radius: 0;
  padding: 0;
  width: 100vw;
  box-shadow: none;
}

h1.display-4 {
  color: #1e40af;
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-section {
  background-color: #ffffff;
  width: 100vw;
  padding: 60px 80px;
  box-sizing: border-box;
}

.hero-text p.lead {
  font-size: 1.25rem;
  color: #334155;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: #1e40af;
  border-color: #1e40af;
  font-weight: 600;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #374ac7;
  border-color: #374ac7;
}

.product-grid {
  background-color: #ffffff;
  width: 100vw;
  padding: 40px 80px;
  box-sizing: border-box;
}

.card {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.card-img-top {
  border-radius: 12px 12px 0 0;
  max-height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-title {
  color: #1e40af;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-text {
  color: #334155;
  font-size: 1.1rem;
  line-height: 1.6;
}

footer {
  background-color: #1e40af;
  color: #e0e7ff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* Navbar container override to full width */
.navbar .container {
  max-width: 100% !important;
  padding-left: 20px;
  padding-right: 20px;
}

/* Navbar brand image */
.navbar-brand img {
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column !important;
    padding: 40px 20px !important;
  }
  .hero-text {
    max-width: 100% !important;
    margin-bottom: 30px;
  }
  .hero-image {
    max-width: 100% !important;
  }
  .product-grid {
    padding: 20px;
  }
  .row.row-cols-1.row-cols-md-3.g-4 {
    row-gap: 30px;
  }
  .card-img-top {
    max-height: 150px;
  }
}
