/* assets/css/style.css */
/* THE FABRICATION GRID DESIGN SYSTEM */

:root {
    /* Colors */
    --clr-graphite: #1c1c1c;
    --clr-charcoal: #2b2b2b;
    --clr-steel: #5a5a5a;
    --clr-silver: #a0a0a0;
    --clr-offwhite: #f5f5f5;
    --clr-orange: #ff5722;
    --clr-amber: #ff9800;
    --clr-blue: #1e3a5f;
    --clr-dark: #121212;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    
    /* Technical elements */
    --grid-line: rgba(255, 255, 255, 0.05);
}

body {
    font-family: var(--font-primary);
    background-color: var(--clr-offwhite);
    color: var(--clr-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Typography Utility */
.tech-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-orange);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.tech-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background-color: var(--clr-orange);
}

/* Text Colors */
.text-silver { color: var(--clr-silver) !important; }
.text-orange { color: var(--clr-orange) !important; }

/* Backgrounds & Textures */
.bg-graphite { background-color: var(--clr-graphite) !important; color: #fff; }
.bg-charcoal { background-color: var(--clr-charcoal) !important; color: #fff; }
.bg-light-steel { background-color: var(--clr-offwhite) !important; }

.grid-bg {
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
}

/* Custom Buttons */
.btn-industrial {
    background-color: var(--clr-orange);
    color: #fff;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 24px;
    border: 2px solid var(--clr-orange);
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-industrial:hover {
    color: var(--clr-orange);
    background-color: transparent;
}

.btn-industrial-outline {
    background-color: transparent;
    color: #fff;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 24px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-industrial-outline:hover {
    border-color: var(--clr-orange);
    color: var(--clr-orange);
}

/* Header */
.site-header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

.site-header.scrolled {
    position: fixed;
    background-color: var(--clr-graphite);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.navbar-brand {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-symbol {
    color: var(--clr-orange);
    margin-right: 5px;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--clr-orange);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-color: var(--clr-graphite);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(28,28,28,0.9) 0%, rgba(28,28,28,0.6) 50%, rgba(28,28,28,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-headline {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subheadline {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
    color: var(--clr-silver);
}

/* Tech UI Overlay */
.tech-ui-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.tech-marker {
    position: absolute;
    color: rgba(255,255,255,0.3);
    font-family: monospace;
    font-size: 10px;
}
.tech-m-1 { top: 20%; left: 5%; border-left: 1px solid rgba(255,255,255,0.2); padding-left: 5px; }
.tech-m-2 { bottom: 20%; right: 5%; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 5px; }
.tech-m-3 { top: 50%; right: 5%; }

/* Quick Enquiry Bar */
.enquiry-bar {
    background-color: var(--clr-charcoal);
    padding: 30px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.enquiry-bar .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--clr-steel);
    border-radius: 0;
    color: #fff;
    padding-left: 0;
}
.enquiry-bar .form-control:focus {
    box-shadow: none;
    border-color: var(--clr-orange);
}
.enquiry-bar select.form-control {
    color: #fff;
}
.enquiry-bar select.form-control option {
    background-color: var(--clr-charcoal);
    color: #fff;
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

/* Cards */
.industrial-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.industrial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 3px;
    background-color: var(--clr-orange);
    transition: width 0.3s ease;
}

.industrial-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}
.industrial-card:hover::before {
    width: 100%;
}

.card-icon {
    font-size: 2rem;
    color: var(--clr-orange);
    margin-bottom: 20px;
}

.card-number {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 3rem;
    font-family: var(--font-heading);
    color: rgba(0,0,0,0.03);
    font-weight: 700;
}

/* Fabrication Path Animation */
.fabrication-path {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 50px 0;
}

.fabrication-path::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--clr-steel);
    z-index: 1;
}

.path-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-node {
    width: 50px;
    height: 50px;
    background-color: var(--clr-charcoal);
    border: 2px solid var(--clr-steel);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: all 0.3s ease;
}

.path-step:hover .step-node, .path-step.active .step-node {
    border-color: var(--clr-orange);
    background-color: var(--clr-orange);
    box-shadow: 0 0 15px rgba(255,87,34,0.5);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
}
.step-desc {
    font-size: 0.85rem;
    color: var(--clr-steel);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.path-step:hover .step-desc, .path-step.active .step-desc {
    opacity: 1;
}

/* Footer */
.site-footer {
    background-color: #121212;
    color: #fff;
    padding: 80px 0 30px;
    border-top: 5px solid var(--clr-orange);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--clr-silver);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--clr-orange);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: var(--clr-silver);
}

/* Animations */
@keyframes spark {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: translateY(-20px) scale(0.5); }
}

.spark-anim {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--clr-orange);
    border-radius: 50%;
    animation: spark 2s infinite;
}

/* General Pages Hero */
.page-hero {
    padding: 150px 0 80px;
    background-color: var(--clr-graphite);
    color: #fff;
    text-align: center;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--clr-graphite);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.loader-brand {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.loader-line {
    width: 200px;
    height: 2px;
    background-color: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}
.loader-progress {
    position: absolute;
    top: 0; left: 0; height: 100%;
    width: 0;
    background-color: var(--clr-orange);
    animation: loading 1.5s ease-in-out forwards;
}
@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}
