/* Basic Reset & Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    /* Preserve the dark wood background image */
    background:
        linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), /* Slightly darker overlay */
        url("../image/home.png");
    background-size: cover;
    background-attachment: fixed;
    color: #fdfdfd; /* Main body text color (light cream) */
    line-height: 1.6;
}

.page-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Added Header Styling for JS content */
#welcome-header {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #3e2723;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* --- MAIN LAYOUT GRID --- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
}

/* Cards Styling: Deep brown panels to integrate with wood background */
.overview-panel, .specifications-panel {
    background: #3e2723; /* Dark chocolate brown, complements wood */
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5); 
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle white border */
    /* Add smooth transition for animation */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Animation: Lift card slightly on hover */
.overview-panel:hover, .specifications-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.7);
}


/* --- LEFT PANEL STYLING --- */
.product-image-container img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #eee;
    padding: 10px;
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    /* Saffron yellow accent from the image */
    color: #f39c12; 
    border-bottom: 1px solid #5d4037; /* Lighter brown border */
    padding-bottom: 8px;
}

.section-title i {
    font-size: 24px;
    margin-right: 10px;
}

.section-title h2 {
    font-size: 20px;
    font-weight: bold;
    color: #fdfdfd; /* Cream color for title text */
}

.overview-panel p {
    margin-bottom: 15px;
    color: #cfd8dc; /* Light grey for paragraph text */
}

/* Feature Icons (Premium Quality, etc) */
.feature-icons {
    display: flex;
    justify-content: space-around;
    margin: 25px 0;
    padding: 15px 0;
    border-top: 1px solid #5d4037;
    border-bottom: 1px solid #5d4037;
}

.feature-icons div {
    text-align: center;
    font-size: 14px;
    color: #fdfdfd; 
}

.feature-icons i {
    display: block;
    font-size: 22px;
    margin-bottom: 5px;
    /* Bay leaf green accent from the image */
    color: #27ae60; 
}

/* Inquiry Button (now a button element) */
.inquiry-button {
    display: block;
    width: 100%;
    padding: 15px;
    /* Chili red accent from the image */
    background-color: #e74c3c; 
    color: white;
    text-align: center;
    text-decoration: none;
    border: none; /* Added for button element */
    cursor: pointer; /* Added for button element */
    border-radius: 8px;
    font-weight: bold;
    /* Ensure existing transition is preserved, add transform transition */
    transition: background-color 0.3s, transform 0.2s ease;
}

.inquiry-button:hover {
    background-color: #c0392b; /* Darker red on hover */
    /* Add subtle scale animation on hover */
    transform: scale(1.02);
}


/* --- RIGHT PANEL STYLING (Table) --- */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 12px 0;
    border-bottom: 1px solid #5d4037;
    vertical-align: middle;
    color: #fdfdfd; /* Cream text for content */
}

.specs-table tr td:first-child {
    font-weight: bold;
    color: #bdbdbd; /* Light grey for labels */
    width: 35%;
}

.specs-table td i {
    margin-right: 10px;
    color: #f39c12; /* Saffron yellow accent */
}

.specs-table tr:last-child td {
    border-bottom: none;
}


/* --- RESPONSIVENESS (Mobile View) --- */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr; /* Stacks columns on mobile */
    }

    .overview-panel, .specifications-panel {
        padding: 20px;
    }
}
