/* css/style.css */

/* Overall Page and Font Styles */
body {
    background-color: #f0f0f0; /* Lighter background for the new design */
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif; /* USFS official font */
    color: #1b1b1b;
}

/* --- Header Styles --- */
.usa-header {
    background-color: #83A88D; /* A deep blue, a standard USWDS color */
    padding: 1rem 0;
    color: #fff;
}
.usa-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.usa-navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.usa-logo {
    margin-right: 20px;
}
.usa-logo img {
    height: 60px; /* Adjust logo size */
    width: auto;
}
.site-title a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}
.site-title a:hover {
    text-decoration: underline;
}

/* --- Main Content Styling --- */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}
h1, p {
    text-align: center;
}
h1 {
    font-size: 2.5rem;
    color: #4b5320;
    text-shadow: none; /* Removed the text shadow to match the simpler style */
}
hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

/* --- Footer Styles --- */
.usa-footer {
    background-color: #1b1b1b; /* Dark background */
    color: #fff;
    padding: 2rem 0;
}
.usa-footer__primary-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.usa-footer__primary-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.usa-footer__primary-content .usa-logo a,
.usa-footer__secondary-content p {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
}
.usa-footer__secondary-content {
    margin-top: 10px;
}
/* This is a simplified version of the full footer structure, for a basic appearance */

/* --- Card Styles (remains the same) --- */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 300px;
    overflow: hidden;
    transition: transform 0.2s;
    background-color: #fff;
}
.card:hover {
    transform: translateY(-5px);
}
.card-image {
    width: 95%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.card-content {
    padding: 15px;
}
.card-content h3 {
    margin-top: 0;
}
.card-content p {
    color: #666;
    font-size: 0.9em;
}
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* New styles for product pages */
.product-page-main {
    max-width: 900px; /* Make the content area a bit narrower for better readability */
    margin: 20px auto;
    padding: 0 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 30px;
}

.product-title {
    font-size: 2em;
    text-align: center;
    color: #4b5320;
}

.product-image {
    display: block;
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    margin: 20px auto;
}

.product-details {
    line-height: 1.6;
}

.back-link {
    display: block;
    margin-top: 30px;
    text-align: center;
    color: #046b99;
    text-decoration: none;
    font-weight: bold;
}
.back-link:hover {
    text-decoration: underline;
}

/* --- Navigation Bar Styles --- */
.usa-nav {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.usa-nav__primary {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.usa-nav__link {
    display: block;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
}

.usa-nav__link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.center-container {
  text-align: center; /* Centers the list block within its container */
}

.center-container ul {
  display: inline-block; /* Allows the ul to shrink to its content width */
  text-align: left; /* Aligns the text within the list items to the left */
}

/* ... (re
st of your styles) ... */
