/* 
   Agro-Logic Engineering - Earth Geometric Aesthetics Design System
   Brand Colors:
   - Deep Peat Black: #1B1B1B
   - Harvest Gold: #FBC02D
   - Vital Vein Green: #2E7D32
   - Precision Satellite Blue: #0288D1
*/

:root {
    --peat-black: #1B1B1B;
    --harvest-gold: #FBC02D;
    --vein-green: #2E7D32;
    --satellite-blue: #0288D1;
    --text-light: #E0E0E0;
    --text-muted: #A0A0A0;
    --grid-color: rgba(251, 192, 45, 0.1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Grid Background Effect */
.bg-grid {
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Navbar Styling */
.navbar {
    background-color: rgba(27, 27, 27, 0.95);
    border-bottom: 1px solid var(--grid-color);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 900;
    color: var(--harvest-gold) !important;
    letter-spacing: 2px;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-agro {
    background-color: var(--harvest-gold);
    color: var(--peat-black);
    font-weight: 700;
    border-radius: 0;
    padding: 12px 30px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
}

.btn-agro:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 192, 45, 0.4);
}

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

.btn-outline-agro:hover {
    background-color: var(--harvest-gold);
    color: var(--peat-black);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

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

.hero-stats {
    border-left: 3px solid var(--harvest-gold);
    padding-left: 20px;
    margin-top: 40px;
}

.stat-item {
    margin-bottom: 15px;
}

.stat-value {
    color: var(--harvest-gold);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Cards */
.agro-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    transition: all 0.3s ease;
    height: 100%;
}

.agro-card:hover {
    border-color: var(--harvest-gold);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.card-icon {
    color: var(--harvest-gold);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #111;
    padding: 80px 0 40px;
    border-top: 1px solid var(--grid-color);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--harvest-gold);
    margin-bottom: 20px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

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

/* Animations */
@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(1000%); }
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--satellite-blue), transparent);
    opacity: 0.5;
    animation: scanline 8s linear infinite;
    z-index: 1;
}

/* Dashboard Elements */
.dashboard-widget {
    background: #222;
    border: 1px solid #333;
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 0.9rem;
    color: var(--harvest-gold);
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.heatmap-placeholder {
    height: 300px;
    background: linear-gradient(45deg, #1b1b1b 25%, #222 25%, #222 50%, #1b1b1b 50%, #1b1b1b 75%, #222 75%, #222 100%);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
}

.heatmap-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(46, 125, 50, 0.4), transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(251, 192, 45, 0.3), transparent 40%),
                radial-gradient(circle at 50% 20%, rgba(2, 136, 209, 0.2), transparent 60%);
}
