:root {
  --navy-dark: #0f172a;   /* slate-900 */
  --navy-light: #1e40af;  /* blue-800 */
  --primary-blue: #2563eb; /* blue-600 */
  --accent-yellow: #eab308; /* yellow-500 */
  --accent-yellow-hover: #ca8a04; /* yellow-600 */
  --bg-gray: #f9fafb;     /* gray-50 */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-gray);
  color: #1f2937; /* gray-800 */
}

/* Navbar */
.bg-navy-dark {
  background-color: var(--navy-dark) !important;
}

.logo-box {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: bold;
  font-size: 1.25rem;
}

.search-container {
  position: relative;
  max-width: 32rem; /* max-w-lg */
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.5rem; /* Left padding for icon */
  border-radius: 9999px;
  border: none;
  color: #1f2937;
}

.search-input:focus {
  outline: 2px solid var(--primary-blue);
}

.search-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
}

.nav-icon-link {
  color: white;
  position: relative;
  transition: color 0.2s;
}

.nav-icon-link:hover {
  color: #60a5fa; /* blue-400 */
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ef4444; /* red-500 */
  color: white;
  font-size: 0.7rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero-section {
  background-color: var(--navy-light);
  color: white;
  padding: 4rem 0;
}

.btn-yellow {
  background-color: var(--accent-yellow);
  color: #1e3a8a; /* blue-900 */
  font-weight: bold;
  border: none;
  border-radius: 9999px; /* rounded-full */
  padding: 0.75rem 2rem;
  transition: all 0.2s;
}

.btn-yellow:hover {
  background-color: var(--accent-yellow-hover);
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-placeholder {
  background-color: #1d4ed8; /* blue-700 */
  border: 2px dashed #3b82f6; /* blue-500 */
  border-radius: 0.5rem;
  height: 16rem;
  width: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd; /* blue-300 */
}

/* Categories */
.category-card {
  background-color: white;
  border: 1px solid #f3f4f6; /* gray-100 */
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.category-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-icon {
  background-color: #eff6ff; /* blue-50 */
  color: var(--primary-blue);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  transition: all 0.2s;
}

.category-card:hover .category-icon {
  background-color: var(--primary-blue);
  color: white;
}

/* Products */
.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  border-left: 4px solid var(--primary-blue);
  padding-left: 0.75rem;
}

.product-card {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-img-container {
  height: 12rem;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-badge {
  font-size: 0.75rem;
  color: var(--primary-blue);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-cart-icon {
  background-color: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.btn-cart-icon:hover {
  background-color: #1d4ed8; /* blue-700 */
}

/* Footer */
.footer {
  background-color: var(--navy-dark);
  color: #9ca3af; /* gray-400 */
}
