/* 
   Elementis Fluid - Fine Chemicals & Catalyst Engineering
   Brand Identity CSS
*/

:root {
    --cobalt-blue: #002B5B;      /* 研發鈷藍 */
    --amber-gold: #FFB100;       /* 反應琥珀金 */
    --frost-white: #F0F4F8;      /* 化學霜白 */
    --platinum-gray: #E5E4E2;    /* 催化鉑金灰 */
    --dark-bg: #001a38;
}

body {
    background-color: var(--cobalt-blue);
    color: var(--frost-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mono-font {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Navbar Styling */
.navbar {
    background-color: rgba(0, 43, 91, 0.95);
    border-bottom: 1px solid rgba(255, 177, 0, 0.3);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 800;
    color: var(--amber-gold) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--frost-white) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--amber-gold) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #003a7a 0%, #001a38 100%);
}

#molecule-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 177, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--platinum-gray);
    margin-bottom: 2rem;
}

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

.section-title {
    border-left: 5px solid var(--amber-gold);
    padding-left: 20px;
    margin-bottom: 50px;
}

/* Cards & Components */
.lab-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(229, 228, 226, 0.2);
    border-radius: 0;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.lab-card:hover {
    border-color: var(--amber-gold);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.btn-elementis {
    background-color: transparent;
    border: 2px solid var(--amber-gold);
    color: var(--amber-gold);
    border-radius: 0;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-elementis:hover {
    background-color: var(--amber-gold);
    color: var(--cobalt-blue);
}

/* Technical Tables */
.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.tech-table th {
    background-color: rgba(255, 177, 0, 0.1);
    color: var(--amber-gold);
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid var(--amber-gold);
}

.tech-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(229, 228, 226, 0.1);
}

/* Footer */
footer {
    background-color: #001429;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 177, 0, 0.2);
}

.footer-logo {
    color: var(--amber-gold);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--platinum-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--amber-gold);
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.purity-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--amber-gold);
    color: var(--cobalt-blue);
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 10px;
}
