/* 
 * INDUSTRIAL PREMIUM DESIGN SYSTEM
 * Style Identity: Sharp, Bold, Construction, High-Contrast
 */

:root {
    /* --- COLOR PALETTE --- */
    /* Primary: Construction Orange (Bold, Visible, Action) */
    --color-primary: #FF6B00;
    --color-primary-hover: #E65100;

    /* Secondary/Dark: Charcoal / Asphalt */
    --color-dark: #121212;
    --color-dark-surface: #1E1E1E;
    --color-dark-lighter: #2C2C2C;

    /* Text */
    --color-text-main: #FFFFFF;
    --color-text-muted: #A0A0A0;
    --color-text-dark: #121212;
    /* For use on white backgrounds if any */

    /* UI Accents */
    --color-border: #333333;
    --color-success: #00E676;
    /* Industrial Green */
    --color-danger: #FF1744;
    /* Industrial Red */

    /* --- TYPOGRAPHY --- */
    --font-main: 'Manrope', 'Inter', sans-serif;

    /* --- GEOMETRY (SHARP) --- */
    --radius-sm: 2px;
    --radius-md: 0px;
    /* INTENTIONAL: Sharp edges for buttons/cards */
    --radius-lg: 0px;

    /* --- SPACING --- */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;

    /* --- ANIMATION --- */
    --transition-fast: 0.2s cubic-bezier(0.2, 0, 0, 1);
    --transition-smooth: 0.4s cubic-bezier(0.2, 0, 0, 1);
}

/* --- RESET & BASE --- */
body {
    font-family: var(--font-main);
    background-color: var(--color-dark);
    color: var(--color-text-main);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.03em;
    /* Tight tracking for modern feel */
    color: var(--color-text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- COMPONENTS: BUTTONS --- */
.btn-industrial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: var(--color-primary);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--radius-md);
    /* SHARP */
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-industrial:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-outline-industrial {
    background: transparent;
    border: 2px solid var(--color-text-muted);
    color: var(--color-text-main);
    padding: 10px 22px;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.btn-outline-industrial:hover {
    border-color: var(--color-text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

/* --- COMPONENTS: CARDS --- */
.card-industrial {
    background-color: var(--color-dark-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-industrial:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-industrial img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid var(--color-border);
    filter: grayscale(20%);
    transition: var(--transition-smooth);
}

.card-industrial:hover img {
    filter: grayscale(0%);
}

.card-industrial .card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-industrial .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: auto;
    display: block;
}

/* --- COMPONENTS: NAVBAR --- */
.navbar-industrial {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    color: var(--color-text-main) !important;
    text-transform: uppercase;
}

.navbar-brand span {
    color: var(--color-primary);
}

.nav-link-industrial {
    color: var(--color-text-muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 10px;
    position: relative;
}

.nav-link-industrial:hover,
.nav-link-industrial.active {
    color: var(--color-text-main) !important;
}

.nav-link-industrial::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-fast);
}

.nav-link-industrial:hover::after,
.nav-link-industrial.active::after {
    width: 100%;
}

/* --- COMPONENTS: HERO --- */
.hero-industrial {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    border-bottom: 4px solid var(--color-primary);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.7) 50%, rgba(18, 18, 18, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--color-primary);
    display: block;
    /* Break line for impact */
}

/* --- UTILITIES --- */
.text-industrial-muted {
    color: var(--color-text-muted);
}

.bg-industrial-dark {
    background-color: var(--color-dark);
}

.bg-industrial-surface {
    background-color: var(--color-dark-surface);
}

/* --- SEARCH INPUT --- */
.form-control-industrial {
    background-color: var(--color-dark-lighter);
    border: 1px solid var(--color-border);
    color: white;
    border-radius: var(--radius-md);
    /* SHARP */
    padding: 10px 15px;
}

.form-control-industrial:focus {
    background-color: var(--color-dark-lighter);
    border-color: var(--color-primary);
    box-shadow: none;
    color: white;
}

/* --- COMPONENT: BREADCRUMB --- */
.breadcrumb-industrial {
    background: transparent;
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.breadcrumb-industrial .breadcrumb-item a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.breadcrumb-industrial .breadcrumb-item a:hover {
    color: var(--color-primary);
}

.breadcrumb-industrial .breadcrumb-item.active {
    color: var(--color-text-main);
}

.breadcrumb-industrial .breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: var(--color-border);
}

/* --- COMPONENT: TABLES (CART) --- */
.table-industrial {
    background-color: transparent;
    color: var(--color-text-main);
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table-industrial thead th {
    background-color: var(--color-dark-surface);
    color: var(--color-text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 15px;
    border-bottom: 2px solid var(--color-border);
}

.table-industrial tbody td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.table-industrial img {
    border-radius: var(--radius-md) !important;
}

/* --- COMPONENT: PRODUCT DETAIL --- */
.product-gallery-main {
    border: 1px solid var(--color-border);
    background-color: var(--color-dark-surface);
    padding: 10px;
    margin-bottom: 15px;
    border-radius: var(--radius-md);
}

.product-gallery-thumb {
    border: 1px solid var(--color-border);
    opacity: 0.6;
    transition: var(--transition-fast);
    cursor: pointer;
    border-radius: var(--radius-md);
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
    opacity: 1;
    border-color: var(--color-primary);
}

.price-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.05em;
}

.price-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* --- COMPONENT: LIST GROUPS --- */
.list-group-industrial .list-group-item {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    margin-bottom: -1px;
}

.list-group-industrial .list-group-item:first-child {
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

.list-group-industrial .list-group-item:last-child {
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}