/* General Page Styles */
.item-detail-page {
    margin: 20px auto;
    max-width: 1200px;
    font-family: Arial, sans-serif;
    text-align: center; /* Optional, centers all content */
    animation: fadeIn 0.6s ease-in-out;
}
/* Grid container for the item page */
.item-detail-grid {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    justify-content: space-between; /* Spread out image and info */
}
/* Image section (left side) */
.item-image {
    flex: 1; /* Take up available space */
    max-width: 500px; /* Restrict image width */
    text-align: center;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 16px 8px rgba(3, 27, 238, 0.1);
    height: auto; /* Allow it to scale naturally based on the content */
    z-index: -2;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(84, 172, 240, 0.4);
}

/* Ensure image scales properly */
.item-image img {
    width: 100%;
    height: auto;
}
/* Item Info Section (right side) */
.item-info {
    flex: 1; /* Takes up the rest of the space */
    max-width: 700px;
    background-color: #e0f0ff; /* Soft light-blue */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 16px 8px rgba(17, 16, 16, 0.1);
    min-height: 200px; /* Set a minimum height for the item info box */
    font-size: 1.5rem; /* Adjust font size */
    color: #333; /* Text color */
    line-height: 1.6; /* Improve readability */
    z-index: -2;
    transition: box-shadow 0.35s ease, transform 0.3s ease;
    border: 1px solid rgba(84, 172, 240, 0.35);
}

.card-info {
    margin-top: 85px;
    z-index: -1;
}
/* Style the first line */
.item-info .first-line {
    display: inline-block;
    font-size: 1.6rem;
    color: #2c3e50;
    margin-left: -13px;
    line-height: 1.2;
    vertical-align: top;
}
#item-info-3 .first-line {
    display: inline-block;
    font-size: 1.6rem;
    color: #2c3e50;
    margin-left: -13px;
    line-height: 1.2;
    vertical-align: top;
}

/* Style the heading..Key Features text */
.item-info h3 {
    font-size: 1.9rem;
    color: #34495e;
    margin-top: 20px;
    font-weight: bold;
    margin-top: 70px;
    margin-right: 10px;
    z-index: -1;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}
/* Style the list */
.item-info ul {
    margin: 20px 0;
    padding-left: 20px;
    list-style-type: disc;
}
.item-info ul li {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #2c3e50;
}
/* Style the footnote */
.item-info p em {
    font-size: 1.2rem;
    color: #7f8c8d;
    display: block;
    margin-top: 20px;
}
/* Wrapper for Item Name */
.item-name-wrapper {
    text-align: right; /* Optional, adjust alignment */
    position: relative; /* To allow precise positioning of .item-name */
    margin-bottom: 20px; /* Space between name and grid */
    right: 250px;
    top: 60px;
}
/* Name Styling */
.item-name {
    font-size: 2.5rem;
    color: #2f2c2c;
    display: inline-block; /* Ensure it doesn't take the full width */
    position: relative; /* Allows movement using top/left */
    left: 160px; /* Move the name to the right */
    font-size: 35px; /* Adjust the font size as needed */
    font-family: "Kanit", sans-serif; /* Apply Kanit font */
    z-index: 5;
    z-index: -1;
}
/* asjust to move both details and description */
.item-description-details {
    display: flex; /* Enable Flexbox */
    justify-content: space-between; /* Add space between the two sections */
    margin-top: 120px; /* Space from the sections above */
}
/* Wrapper for product details */
.product-details {
    font-family: "Arial", sans-serif;
    color: #333;
    margin-right: 400px;
}
.product-details h3 {
    color: var(--clr-primary-400); /* Use the custom property here */
    font-weight: bold;
    margin-bottom: 20px; /* Add space below the heading */
    font-size: 25px;
    margin-right: 10px;
    margin-top: 12.5px;
}
/* detail item texts */
.detail-item {
    font-size: 1.3rem;
    margin: 5px 0;
}
/* Controls top part of value pairs for prodcut details  */
.detail-item strong {
    font-weight: bold;
    margin-right: 10px;
    color: var(--clr-primary-400);
    transition: color 0.3s ease;
}
/* Spacing between top label and content */
.details-label {
    margin-bottom: 10px;
}
/* line undenreath */
hr {
    border: none;
    border-top: 1px solid black; /* Sets the underline color to black */
    margin: 0; /* Remove extra spacing above/below the line */
}
/* for text for prodicut description <p> tags */
.product-display p {
    color: #333; /* Change the text color to a dark gray (you can customize it to any color) */
    font-size: 14px; /* Set the font size (you can adjust this as well) */
    line-height: 1.6; /* Adjust the line height for readability */
    max-width: 400px; /* Set a maximum width for the description */
    font-family: "Arial", sans-serif;
    margin-bottom: -13px;
}
/* Main text for product description*/
.product-display h2 {
    color: var(--clr-primary-400); /* Use the custom property here */
    font-weight: bold;
    margin-bottom: 20px; /* Add space below the heading */
}
/* product title*/
.product-display h2 {
    font-size: 25px;
    margin-bottom: 0.5px;
}
/*fixed banner */
.fixed-banneritems {
    position: fixed; /* Fixes the position relative to the viewport */
    top: 0; /* Aligns it to the top of the page */
    left: 0; /* Aligns it to the left */
    width: 100%; /* Makes the banner stretch across the full width */
    height: 69px; /* Height of the banner (adjust as needed) */
    background: linear-gradient(90deg, #ffffff 0%, #5faaec 45%, #5ea4f3 100%);
    z-index: 1; /* Ensures the banner is on top of other content */
}
/* Style for the section containing recommendations */
.item-recommendation-section h3 {
    font-size: 24px;
    font-weight: bold;
    display: block;
    margin-top: -160px;
    margin-bottom: 20px;
    color: var(--clr-primary-400); /* Use the CSS variable here */
    margin-left: -830px; /* Indentation for bullets */
}
/* Style for the recommendation section container */
.item-recommendation-section {
    padding: 20px;
    border-radius: 5px;
    margin: 20px auto; /* Center the section */
    max-width: 800px; /* Optional: Control the width of the entire section */
}
/* Style for the list inside the recommendation section */
.item-recommendation-content ul {
    padding-left: 20px; /* Indentation for list items */
    margin-top: -60px; /* Adjust space above the list */
    list-style-type: disc; /* Bullet points */
    color: #2f2c2c;
    font-weight: normal; /* Remove bold to avoid too much emphasis */
    line-height: 1.6; /* Improve readability by adding space between lines */
    max-width: 600px; /* Max width for the list */
    margin-left: -345px; /* Reset left margin for proper indentation */
}
/* Style for individual list items */
.item-recommendation-content li {
    margin-bottom: -15px;
    font-size: 14px;
    max-width: 100%; /* Ensure list items don't exceed container width */
}
/* Style for the industries section */
.industries-section {
    font-size: 14px;
    margin-top: -70px;
    margin-right: 950px;
    z-index: 0;
    position: relative; /* needed for z-index to work */
}
.industries-section strong {
    font-size: 22px;
    font-weight: bold;
    display: block;
    margin-bottom: -40px;
    color: var(--clr-primary-400); /* Use the custom property here */
    margin-left: 15px; /* Indentation for bullets */
    z-index: 0; /* Still below header-text (95) */
    position: relative; /* needed for z-index to work */
}
.industries-section ul {
    list-style-type: disc; /* Bullet points */
    margin-left: 0px; /* Indentation for bullets */
    color: #2f2c2c;
    font-weight: bold;
}
:root {
    --clr-primary-400: #00a28f;
}
/* items 2 for names*/
.item-2 {
    font-size: 3.5rem;
    color: #2f2c2c;
    left: 115px; /* Move the name to the right */
    font-family: "Kanit", sans-serif; /* Apply Kanit font */
}
