/* style.css - Green Mountain Industries LLC Theme */

.icon-home::before {
    content: ""; /* Needed for ::before */
    display: inline-block;
    width: 16px; /* Icon size */
    height: 16px;
    background-image: url('images/favicon.png');
    background-size: contain;
    margin-right: 5px;
}

body {
    font-family: "Lucida Console", "Courier New", monospace; /* Classic 90s font */
    background-color: #f0f0f0; /* Light grey background */
    color: #333; /* Dark grey text */
    margin: 0;
    padding: 0;
    text-align: center;
}
.container {
    width: 800px; /* Fixed width for that 90s feel */
    margin: 20px auto;
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 5px 5px 0px #aaa; /* Simple shadow effect */
}
.header {
    background-color: #ffffff;
    padding: 10px 0;
    border-bottom: 2px solid #2F4F4F; /* Dark green border */
}
.header img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.navbar {
    background-color: #2F4F4F; /* Dark green navigation bar */
    padding: 8px 0;
    border-bottom: 1px solid #4CAF50; /* Lighter green accent */
    text-align: center; /* Ensures desktop links are centered */
}
.navbar a {
    color: #ffffff;
    text-decoration: none;
    padding: 0 10px; /* Reduced padding to make room for the separator */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    display: inline-block; /* Allows spacing to collapse on mobile */
}
.navbar a:hover {
    color: #90EE90; /* Light green on hover */
    text-decoration: underline;
}

/* NEW: Add separator between links using a pseudo-element (Desktop Only) */
.navbar a:not(:last-child)::after {
    content: " | ";
    color: #ffffff;
    opacity: 0.8;
}

.content {
    padding: 20px;
    line-height: 1.6;
    text-align: left;
}
.content h1, .content h2 {
    color: #2F4F4F; /* Dark green headings */
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
    margin-top: 25px;
}
.content ul {
    list-style-type: square; /* Classic 90s list style */
    margin-left: 20px;
    padding-left: 0;
}
.footer {
    background-color: #ddd;
    color: #555;
    padding: 15px 0;
    font-size: 0.8em;
    border-top: 1px solid #ccc;
    margin-top: 20px;
}
/* Link styling for content */
.content a {
    color: #4CAF50; /* Lighter green for links */
    text-decoration: none;
}
.content a:hover {
    text-decoration: underline;
}
/* Style for the 90s-style form fields and buttons */
.content input[type="text"], .content textarea {
    border: 2px inset #ccc; /* Classic inset border */
    padding: 3px;
    margin-bottom: 10px;
    width: 95%; /* Make fields nearly full width of the parent */
    box-sizing: border-box;
    background-color: #fff;
    font-family: "Lucida Console", "Courier New", monospace;
}
.content input[type="submit"] {
    background-color: #4CAF50; /* Green button */
    color: white;
    padding: 8px 15px;
    border: 2px outset #ccc; /* Classic outset border */
    font-family: "Lucida Console", "Courier New", monospace;
    cursor: pointer;
    text-transform: uppercase;
}
.content input[type="submit"]:active {
    border: 2px inset #ccc; /* Button press effect */
}
/* STYLE FOR NAICS/CAGE/UEI BAR */
.identifiers-bar {
    text-align: center;
    font-size: 0.85em;
    padding: 10px 0;
    margin: 0;
    background-color: #D9EAD3; /* Light green background */
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
/* Multi-page item styles (Products & Services) */
.product-item, .service-item {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f7f7f7;
    box-shadow: 3px 3px 0px #ddd;
    text-align: center;
}
.product-item h3, .service-item h3 {
    color: #2F4F4F;
    margin-top: 0;
    border-bottom: 1px solid #aaa;
    padding-bottom: 5px;
    text-align: left;
}
.product-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

/* ---------------------------------------------------------------------- */
/* 💻 MOBILE RESPONSIVE STYLES (Max Width: 600px) */
/* ---------------------------------------------------------------------- */

@media screen and (max-width: 600px) {
    .container {
        width: 95%; /* Make container nearly full-width on small screens */
        margin: 10px auto;
        box-shadow: none; /* Remove shadow to save space and simplify */
    }

    .header img {
        /* Reduce the maximum width of the logo slightly on tiny screens */
        max-width: 90%;
    }

    .navbar {
        padding: 5px 0;
    }

    .navbar a {
        /* Stack navigation links vertically */
        display: block;
        padding: 5px 0;
        border-bottom: 1px solid #4CAF50; /* Visual separator for stacked links */
        line-height: 1.2;
    }

    /* REMOVE PIPE SEPARATOR from all links on mobile */
    .navbar a:not(:last-child)::after {
        content: none;
    }

    /* Remove the bottom border from the last link on mobile */
    .navbar a:last-child {
        border-bottom: none;
    }

    .identifiers-bar {
        /* Make the text larger and bold for readability */
        font-size: 0.95em;
        font-weight: bold;
        padding: 10px 5px;
    }

    .content {
        padding: 10px; /* Less padding inside the content box */
    }

    .content h1, .content h2 {
        font-size: 1.2em; /* Shrink headings */
        margin-top: 15px;
    }
}