/* File: public_html/assets/css/style.css */
:root {
    --bg-dark: #091128;
    --bg-surface: #111a35;
    --brand-red: #D11F46;
    --brand-red-hover: #ff3366;
    --text-light: #ffffff;
    --text-muted: #a0aabf;
    --border-color: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: var(--bg-dark); color: var(--text-light); line-height: 1.6; overflow-x: hidden; }

/* Top Utility Bar (Mills CNC Style) */
.top-bar { background-color: var(--brand-red); color: #fff; padding: 8px 5vw; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.top-bar-left span { margin-right: 20px; }
.top-bar-right a { color: #fff; text-decoration: none; margin-left: 20px; transition: 0.3s; }
.top-bar-right a:hover { opacity: 0.8; }

/* Main Sticky Header */
.site-header { background: var(--bg-dark); border-bottom: 1px solid var(--border-color); padding: 15px 5vw; position: sticky; top: 0; z-index: 1000; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s; }
.site-logo img { max-height: 60px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--text-light); text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 0.95rem; transition: color 0.3s; }
.site-nav a:hover, .site-nav a.active { color: var(--brand-red); }
.nav-btn { background: var(--brand-red); color: #fff !important; padding: 10px 24px; border-radius: 2px; }
.nav-btn:hover { background: var(--brand-red-hover); }
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Hero Video Section */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; justify-content: flex-start; padding: 0 5vw; overflow: hidden; }
.hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); z-index: 0; object-fit: cover; opacity: 0.3; }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding-top: 50px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 20px; line-height: 1.1; font-weight: 800; text-transform: uppercase; }
.hero-subtitle { display: inline-block; background: #000; padding: 10px 20px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 25px; border-left: 4px solid var(--brand-red); }
.hero p { font-size: 1.2rem; margin-bottom: 40px; color: #f4f4f5; max-width: 700px; }
.btn-group { display: flex; gap: 20px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 15px 35px; font-size: 1rem; font-weight: 800; text-transform: uppercase; text-decoration: none; text-align: center; transition: all 0.3s; border-radius: 2px; cursor: pointer; border: none; }
.btn-red { background: var(--brand-red); color: #fff; border: 2px solid var(--brand-red); }
.btn-red:hover { background: transparent; color: var(--brand-red); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--bg-dark); }

/* Industrial Grid Blocks */
.section-pad { padding: 80px 5vw; }
.section-header { margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; text-transform: uppercase; font-weight: 800; border-left: 5px solid var(--brand-red); padding-left: 15px; }

.industrial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.grid-card { background: var(--bg-surface); border: 1px solid var(--border-color); padding: 40px 30px; transition: all 0.3s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.grid-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--brand-red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.grid-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.5); border-color: var(--brand-red); }
.grid-card:hover::before { transform: scaleX(1); }
.grid-card i { font-size: 3rem; color: var(--brand-red); margin-bottom: 25px; }
.grid-card h3 { font-size: 1.5rem; margin-bottom: 15px; text-transform: uppercase; font-weight: 800; }
.grid-card p { color: var(--text-muted); margin-bottom: 30px; flex-grow: 1; }
.card-link { font-weight: 700; color: #fff; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; }
.card-link:hover { color: var(--brand-red); gap: 15px; }

/* Robust Footer */
.main-footer { background: #040812; padding: 60px 5vw 20px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-col h4 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 25px; color: #fff; }
.footer-col p { color: var(--text-muted); margin-bottom: 15px; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 12px; transition: 0.3s; font-weight: 500; }
.footer-col a:hover { color: var(--brand-red); padding-left: 5px; }
.partner-logos { display: flex; gap: 20px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.partner-logos img { height: 40px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .top-bar { flex-direction: column; gap: 10px; text-align: center; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-surface); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border-color); }
    .site-nav.active { display: flex; }
    .mobile-toggle { display: block; }
    .hero { text-align: center; padding-top: 40px; }
    .hero-subtitle { border-left: none; border-bottom: 4px solid var(--brand-red); }
    .btn-group { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}