/* --- Global Theme Architecture --- */
:root {
    --bg-color: #000000;
    --text-color: #B1B1B1;
    --blue-brand: #095EED;
    --green-brand: #00A03C;
    --font-stack: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* --- Document Setup --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    /*background-image: url("../Fade2.jpg");*/
    background-repeat: repeat-y;        /* 1. Forces the thin image slice to repeat straight down the page */
    background-position: top left;     /* 2. Locks the repeating track tightly to the left side edge */
    color: var(--text-color);
    font-family: var(--font-stack);
    line-height: 1.6;
    padding: 20px 10px 20px 150px;
}


/* --- Layout Structure --- */
.site-container {
    max-width: 750px; /* Restored to your original exact 750px content width specification */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.site-header {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers both the logo and the menu button horizontally */
    gap: 20px;
    margin-bottom: 30px;
}

.header-logo {
    max-width: 100%;
    height: auto;
}

/* Menu Trigger Navigation Panel Layout */
.menu-trigger-panel {
    width: 200px; /* Explicit width prevents button from stretching across the full screen width */
    margin: 0 auto;
}

/* Modernized navigation button element wrapper */
.menu-btn {
    background-color: transparent;
    border: 2px solid var(--blue-brand);
    color: var(--blue-brand);
    font-family: var(--font-stack);
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 16px;
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.menu-btn:hover {
    background-color: var(--blue-brand);
    color: #ffffff;
    border-color: var(--blue-brand);
    box-shadow: 0 0 10px rgba(9, 94, 237, 0.4);
}

/* Base Hyperlinks styling architecture */
a {
    color: var(--blue-brand);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--green-brand);
    text-decoration: underline;
}

/* --- Content Layout Framework --- */
.main-wrapper {
    display: flex;
    flex-direction: column; /* Stacks text and slideshow vertically */
    gap: 25px;
    margin-bottom: 40px;
}

.content-area {
    width: 100%;
}

.intro-text {
    font-size: 1.15rem;
    margin-bottom: 25px;
    text-align: left;
}

/* --- Slideshow Styling --- */
.slideshow-container {
    display: flex;
    justify-content: center; /* Centers your sliding image box under the text block */
}

#slideshow-image {
    max-width: 100%;
    height: auto;
    border: 0;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

/* --- Footer Section --- */
.site-footer {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    margin-top: 20px;
}

.site-footer h5 {
    font-size: 0.85rem;
    color: var(--blue-brand);
    font-weight: normal;
}

.hidden-link {
    color: transparent;
    font-size: 1px;
    text-decoration: none;
}

/* --- Services Page Layout Extensions --- */
.services-headline {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.5;
}

.services-list {
    list-style: none; /* Disables standard dots */
    padding: 0;
    margin: 0;
}

.services-list li {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 18px;
    padding-left: 28px;
    position: relative;
    line-height: 1.4;
}

/* Replaces old inline img bullet tags with your custom Bullet.jpg background asset */
.services-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    background-image: url("../Bullet.jpg");
    background-size: contain;
    background-repeat: no-repeat;
}

/* --- Header Action Group & Page Title Extensions --- */
.header-action-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px; /* Space between the text title and the button */
    width: 100%;
    margin-top: 10px;
}

.page-current-title {
    color: var(--blue-brand);
    font-family: var(--font-stack);
    font-size: 2.2rem;
    font-weight: 900; /* Max ultra-bold text style layout rule */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Adjustments to ensure it looks beautiful and stacks vertically on mobile screens
@media (max-width: 600px) {
    .header-action-group {
        flex-direction: column;
        gap: 15px;
    }
}
*/

/* --- Responsive Adjustments for Mobile Screens --- */
@media (max-width: 600px) {
    body {
        padding-left: 20px; /* Reduces the large left gap on mobile phones so content fits comfortably */
    }

    .main-wrapper {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .menu-trigger-panel {
        flex: 1 1 auto;
        width: 80%;
        max-width: 260px;
    }
    
    .intro-text {
        text-align: center;
    }
}


/* --- Products Page Layout Extensions --- */
.products-instruction {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 30px;
}

.products-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-list li {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 22px;
    padding-left: 28px;
    position: relative;
    line-height: 1.4;
}

/* Connects your global layout background custom bullet graphic cleanly */
.products-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    background-image: url("../Bullet.jpg");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Preserves the original grey style choice for links on this page */
.product-link {
    color: var(--text-color) !important;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.product-link:hover {
    color: var(--green-brand) !important;
    text-decoration: underline;
}

/* Formatting rules for items that do not have interactive page links */
.static-item {
    color: var(--text-color);
}

/* Highlights patent tracking text numbers */
.patent-tag {
    color: #ff3333; /* Upgraded old hardcoded red for clearer reading contrast */
    font-size: 0.85rem;
    margin-left: 8px;
    font-weight: normal;
    display: inline-block;
}

/* --- Profile Page Layout Extensions --- */
.profile-headline {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.5;
}

.title-suffix {
    font-size: 0.9rem;
    font-weight: normal;
}

.profile-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: left;
}

/* Styled inline links specifically for references within text bodies */
.inline-brand-link {
    font-weight: bold;
    font-style: italic;
    color: var(--blue-brand);
}

/* Image container layout centering profiles */
.profile-logo-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.profile-partner-logo {
    max-width: 100%;
    height: auto;
    border: 0;
    transition: transform 0.2s ease-in-out;
}

.profile-partner-logo:hover {
    transform: scale(1.02); /* Clean, modern hover interactive responsiveness */
}

/* --- Contact Page Layout Extensions --- */
.contact-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    margin-top: 20px;
}

.contact-info-image {
    max-width: 100%;
    height: auto;
    border: none;
    display: block;
    /* Optional sleek subtle glow treatment to look premium against the pure black backdrop layout */
    box-shadow: 0 4px 20px rgba(9, 94, 237, 0.15);
    border-radius: 4px;
}

/* --- Industry Links Page Layout Extensions --- */
.industry-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-links-list li {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 22px;
    padding-left: 28px;
    position: relative;
    line-height: 1.4;
}

/* Background canvas bullet treatment injection */
.industry-links-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    background-image: url("../Bullet.jpg");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Keeps the sleek grey link presentation rule active for business entities */
.industry-link {
    color: var(--text-color) !important;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.industry-link:hover {
    color: var(--green-brand) !important;
    text-decoration: underline;
}

/* Supplemental organizational details helper */
.link-description {
    font-size: 0.95rem;
    font-weight: normal;
    color: #888888;
    margin-left: 6px;
    display: inline-block;
}

/* --- Bearing Page Layout Extensions --- */
.bearing-overview-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.bearing-overview-list li {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 16px;
    padding-left: 28px;
    position: relative;
    line-height: 1.4;
}

.bearing-overview-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    background-image: url("../Bullet.jpg");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Resource Link Bar Panel */
.resource-download-panel {
    display: flex;
    gap: 30px;
    margin-bottom: 45px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #222;
}

.download-link {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--blue-brand);
    text-decoration: underline;
}

/* Product Row Cards System */
.bearing-showcase-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.bearing-card {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    background: #050505;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #111;
}

/* Thumbnail and zoom handling container layouts */
.card-image-box {
    flex: 0 0 200px;
    text-align: center;
}

.product-thumb {
    width: 100%;
    max-width: 200px;
    height: auto;
    border: 1px solid var(--text-color);
    display: block;
    margin-bottom: 8px;
    transition: border-color 0.2s ease-in-out;
}

.image-zoom-trigger {
    text-decoration: none;
    display: block;
}

.image-zoom-trigger:hover .product-thumb {
    border-color: var(--green-brand);
}

.zoom-caption {
    font-size: 0.75rem;
    color: var(--text-color);
    display: block;
    margin-top: 4px;
}

.image-zoom-trigger:hover .zoom-caption {
    color: var(--green-brand);
    text-decoration: underline;
}

/* Specific text lists inside product descriptions */
.card-details-box {
    flex: 1;
}

.card-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-bullet-list li {
    font-size: 1.05rem;
    font-weight: bold;
    margin-bottom: 14px;
    padding-left: 24px;
    position: relative;
    line-height: 1.4;
    color: var(--text-color);
}

.card-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    background-image: url("../Bullet.jpg");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Standout custom accent tags */
.highlight-tag-red {
    color: #ff3333;
}

.inline-link {
    color: var(--blue-brand);
    text-decoration: none;
}

/* Responsive Handling to keep cards stackable on mobile screens */
@media (max-width: 650px) {
    .bearing-card {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .card-image-box {
        flex: 1 1 auto;
        width: 100%;
        max-width: 200px;
    }
    
    .resource-download-panel {
        justify-content: center;
    }
}
