/* 
   Sylva-Logic Engineering - Design System
   Theme: Annual Ring Geometry & Point Cloud Texture
*/

:root {
    --color-primary: #1B5E20;    /* Deep Moss Green */
    --color-secondary: #BCAAA4;  /* Native Wood */
    --color-accent: #00E5FF;     /* Laser Scan Cyan */
    --color-bg-light: #F5F5F5;   /* Carbon Metric White */
    --color-text-dark: #212121;
    --color-text-muted: #616161;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.font-mono {
    font-family: var(--font-mono);
}

/* Navbar Styling */
.navbar {
    background-color: rgba(27, 94, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: var(--color-secondary) !important;
    letter-spacing: 1px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    pointer-events: none;
}

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

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--color-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

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

.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
}

/* Cards & Components */
.card-sylva {
    background: white;
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card-sylva:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-sylva .card-body {
    padding: 2.5rem;
}

.btn-sylva {
    background-color: var(--color-primary);
    color: white;
    border-radius: 0;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-sylva:hover {
    background-color: #2e7d32;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-sylva {
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    border-radius: 0;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-sylva:hover {
    background-color: var(--color-secondary);
    color: white;
}

/* Footer */
footer {
    background-color: #121212;
    color: rgba(255,255,255,0.6);
    padding: 80px 0 40px;
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: var(--color-accent);
}

/* Dashboard Elements */
.metric-card {
    background: #1e1e1e;
    color: white;
    padding: 1.5rem;
    border-left: 4px solid var(--color-accent);
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    color: var(--color-accent);
}

.metric-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Animations */
@keyframes fiberFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.fiber-bg {
    background: linear-gradient(-45deg, #1B5E20, #2E7D32, #1B5E20, #004D40);
    background-size: 400% 400%;
    animation: fiberFlow 15s ease infinite;
}
