/* --- Global Styles and Typography --- */
:root {
    --color-primary: #4CAF50; /* A soft green to represent nature/bamboo */
    --color-secondary: #f4f4f4; /* Light gray for backgrounds */
    --color-text: #333333;
    --color-shadow: rgba(0, 0, 0, 0.08);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body); 
    color: var(--color-text);
    background-color: #ffffff; /* Clean white background */
    line-height: 1.6;
}

/* --- Header Styling --- */
.main-header {
    font-family: 'playfair Display', serif;
    background-color: var(--color-primary);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 6px var(--color-shadow);
}

.main-header h1 {
    font-family: var(--font-heading);
    font-size: 2.8em;
    font-weight: 700;
}

/* --- Main Product Layout (Flexbox) --- */
.product-main {
    display: flex;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 30px;
    gap: 50px; /* Space between image and details */
    align-items: flex-start; /* Aligns the sections to the top */
}

/* --- Image Section --- */
.product-image {
    width: 600px;
   
}



/* --- Details Section (Right) --- */
.product-details-container {
    flex: 1; /* Allows the content to fill the remaining space */
}

.details-section, .key-features {
    margin-bottom: 40px;
    padding: 25px;
    background-color: var(--color-secondary); /* Light background for detail boxes */
    border-radius: 8px;
}

.details-section h2, .key-features h2 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.8em;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 5px;
}

/* Key Value Pairs for Details */
.detail-group {
    margin-bottom: 15px;
    display: flex;
    font-size: 1.1em;
}

.detail-label {
    font-weight: bold;
    color: var(--color-text);
    min-width: 120px; /* Ensures labels align */
}

.detail-value strong {
    color: #008000; /* Darker green for emphasis */
}

/* Lists Styling */
.uses-list, .key-features ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
}

.uses-list li, .key-features li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.uses-list li::before, .key-features li::before {
    content: "🌿"; /* Custom eco-friendly bullet point */
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* --- Footer Styling --- */
.main-footer {
    background-color: var(--color-text); /* Dark background for a sophisticated footer */
    color: white;
    padding: 30px 50px;
    text-align: center;
    border-top: 5px solid var(--color-primary);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: left;
}

.footer-content h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 1.4em;
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.9em;
}

.copyright {
    font-size: 0.8em;
    opacity: 0.7;
    margin-top: 15px;
}

/* --- Responsive Design (for Mobile Devices) --- */
@media (max-width: 768px) {
    .product-main {
        flex-direction: column; /* Stack image and details vertically */
        align-items: center;
        margin: 30px auto;
        padding: 0 15px;
        gap: 30px;
    }
    
    .main-header {
        padding: 30px 10px;
    }

    .main-header h1 {
        font-size: 2em;
    }


    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info, .location-info {
        margin-bottom: 20px;
    }
    
    .details-section, .key-features {
        padding: 20px;
    }
}
