/* Custom Industrial & Engineering Design System */

:root {
    --color-navy: #0f172a;
    --color-navy-dark: #090d16;
    --color-cyan: #0284c7;
    --color-cyan-dark: #0369a1;
    --color-steel: #334155;
    --color-safety: #f97316;
    --color-amber: #eab308;
    --color-offwhite: #f8fafc;
}

/* ============================================================
   NAVIGATION HEADER — Transparent Overlay → Scrolled States
   ============================================================ */

/* Default (sticky, solid white glass — all pages except hero) */
.glass-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

/* Transparent overlay state — applied on hero pages when at top */
.header-transparent {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom-color: transparent !important;
}

/* Nav links colour inversion for transparent header */
.header-transparent nav a,
.header-transparent #mobile-menu-btn {
    color: rgba(255, 255, 255, 0.88);
}

.header-transparent nav a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

.header-transparent .rfq-icon-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Force top-info-bar hidden behind hero (it's absolute-positioned in hero mode) */
.hero-page-topbar {
    position: relative;
    z-index: 50;
}


.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero Parallax Background Grid */
.industrial-grid-bg {
    background-image: radial-gradient(rgba(2, 132, 199, 0.15) 1px, transparent 1px), radial-gradient(rgba(249, 115, 22, 0.1) 1px, #0f172a 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0284c7;
}

/* Industrial Corner Accents */
.industrial-border {
    position: relative;
}

.industrial-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-top: 3px solid #0284c7;
    border-left: 3px solid #0284c7;
}

.industrial-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    border-bottom: 3px solid #f97316;
    border-right: 3px solid #f97316;
}

/* Image Zoom Hover Card */
.hover-zoom-img {
    overflow: hidden;
}

.hover-zoom-img img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-zoom-img:hover img {
    transform: scale(1.08);
}

/* Counter Card Styling */
.stat-card-gradient {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* RFQ Drawer Active & Pointer Events Control */
#rfq-drawer {
    pointer-events: none;
}

#rfq-drawer * {
    pointer-events: none;
}

#rfq-drawer.active {
    opacity: 1;
    pointer-events: auto;
}

#rfq-drawer.active * {
    pointer-events: auto;
}

/* Notification Toast */
.toast-alert {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 10001;
    padding: 14px 20px;
    border-radius: 12px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-alert.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    background: #059669;
}

.toast-info {
    background: #0284c7;
}

.toast-warning {
    background: #ea580c;
}