/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', Arial, sans-serif;
}

body {
    background-color: #f9f7f4;
    color: #333;
    line-height: 1.6;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('../images/background.png') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.4;
    filter: saturate(1.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    min-height: 100vh;
}

/* Header Styles */
header {
    text-align: center;
    padding: 30px 0;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3c6e71;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    color: #555;
}

/* Navigation Styles */
nav {
    background-color: #3c6e71;
    padding: 15px 0;
    margin-bottom: 30px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #d9d9d9;
}

/* Typography */
h1, h2, h3 {
    color: #3c6e71;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

/* Section Styles */
.section {
    margin-bottom: 40px;
}

/* Disclaimer Sections */
.disclaimer-section {
    background-color: #f9f3e9;
    border: 1px solid #d4a574;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.disclaimer-section p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.disclaimer-box {
    background-color: #fffbf0;
    border: 2px solid #d4a574;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.disclaimer-box h3 {
    color: #8b6914;
    margin-top: 0;
    margin-bottom: 15px;
}

.disclaimer-box p {
    margin-bottom: 10px;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

/* Commitment Section */
.our-commitment {
    background-color: #e0ebe8;
    padding: 25px;
    border-radius: 8px;
    margin: 40px 0;
}

.commitment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.commitment-item {
    flex: 1;
    min-width: 250px;
}

.commitment-item h3 {
    color: #3c6e71;
    border-bottom: 2px solid #3c6e71;
    padding-bottom: 10px;
}

/* Product Showcase */
.products-showcase {
    margin: 40px 0;
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
}

.product-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}

.product-card img {
    max-width: 200px;
    margin: 0 auto 20px;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #3c6e71;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2a5154;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Wholesale Section */
.wholesale-section {
    background-color: #f2f2f2;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
}

/* Product Page Styles */
.product-section {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 30px;
}

.product-image {
    flex: 1;
    text-align: center;
}

.product-image img {
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-info {
    flex: 2;
}

/* Label Section */
.label-section {
    background-color: #CEA568;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 2px solid #4F2E13;
}

/* Key Benefits */
.key-benefits ul {
    list-style-type: none;
    padding-left: 0;
}

.key-benefits li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.benefit-number {
    background-color: #3c6e71;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

/* Ingredients Section */
.ingredients-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0;
}

.ingredients-section ul li {
    background-color: #e0ebe8;
    padding: 10px 15px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.ingredients-section ul li img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.ingredients-section ul li:hover {
    background-color: #3c6e71;
}

.ingredients-section ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ingredients-section ul li:hover a {
    color: white;
}

/* Safety Page Styles */
.ingredient-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.ingredient-card h3 {
    border-bottom: 2px solid #3c6e71;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.ingredient-card ul {
    list-style: none;
}

.ingredient-card ul li {
    margin-bottom: 10px;
}

.ingredient-card a {
    display: inline-block;
    margin-top: 10px;
    color: #3c6e71;
    font-weight: 600;
}

.ingredient-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    float: right;
    object-fit: cover;
    margin-left: 15px;
    border: 2px solid #3c6e71;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

table th {
    background-color: #3c6e71;
    color: white;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Analysis Page Styles */
.analysis-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ingredient-analysis {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #3c6e71;
}

.ingredient-analysis h4 {
    color: #3c6e71;
    margin-bottom: 10px;
}

/* References Section */
.references-section {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
    border: 1px solid #ddd;
}

.references-section h2 {
    color: #3c6e71;
    border-bottom: 2px solid #3c6e71;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.references-list {
    list-style-type: decimal;
    padding-left: 20px;
}

.references-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.references-list a {
    color: #3c6e71;
    text-decoration: none;
}

.references-list a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #ddd;
    color: #666;
}

/* Square Button Styles */
.square-button-container {
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 259px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: 'Open Sans', Arial, sans-serif;
}

.square-button-container .button-padding {
    padding: 20px;
}

.square-button-container .buy-button {
    display: inline-block;
    font-size: 18px;
    line-height: 48px;
    height: 48px;
    color: white;
    min-width: 212px;
    background-color: #3c6e71;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.square-button-container .buy-button:hover {
    background-color: #2a5154;
}

/* Responsive Design */
@media (max-width: 768px) {
    .commitment-grid {
        flex-direction: column;
    }
    
    .products-container {
        flex-direction: column;
        align-items: center;
    }
    
    .product-section {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .ingredients-section ul {
        grid-template-columns: 1fr;
    }
}