/* Tailwind Configuration and Custom Styles */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Open+Sans:wght@300;400;600;700&display=swap");

/* Custom CSS Variables for Color Palette */
:root {
  --forest-green: #2d5016;
  --sage: #87a96b;
  --earth-brown: #6b4423;
  --cream: #f5f1e8;
}

/* Header with solid background - fully opaque */
header {
  background-color: rgb(255, 255, 255) !important;
  backdrop-filter: none !important;
}

/* Alpine.js cloak directive */
[x-cloak] {
  display: none !important;
}

/* Custom Animations */
.animate-fade-in {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Table Styling for Products/Services Pages */
#tableproduct {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#tableproduct caption {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest-green);
  padding: 12px;
  background-color: var(--cream);
}

#tableproduct thead {
  background-color: var(--forest-green);
  color: white;
}

#tableproduct th,
#tableproduct td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

#tableproduct th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

#tableproduct tbody tr {
  transition: background-color 0.2s;
}

#tableproduct tbody tr:hover {
  background-color: rgba(135, 169, 107, 0.1);
}

#tableproduct tfoot {
  background-color: var(--cream);
  font-weight: 600;
}

#tableproduct tfoot td {
  border-bottom: none;
}

#tableproduct a {
  color: var(--forest-green);
  text-decoration: underline;
}

#tableproduct a:hover {
  color: var(--sage);
}

/* List Styling */
#list1 {
  list-style: none;
  padding: 0;
}

#list1 li {
  padding: 12px 16px;
  margin: 8px 0;
  background: white;
  border-left: 4px solid var(--sage);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

#list1 li:hover {
  border-left-color: var(--forest-green);
  transform: translateX(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
