/* ================================================
   assets/css/style.css — Green X Public Hub
   Elite Digital Energy Enterprise Design System
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #00a651;
    --primary-dark: #008741;
    --primary-glow: rgba(0, 166, 81, 0.15);
    
    --secondary: #0f172a; /* Obsidian */
    --accent-gold: #D4AF37;
    --accent-gold-glow: rgba(212, 175, 55, 0.1);
    
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 40px rgba(0,0,0,0.08);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* Typography */
h1, h2, h3, h4 { line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
p { color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--primary-glow);
}

.btn-outline {
    border: 2px solid var(--border);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff; /* Replaced transparent blur with solid white for uniform professional design */
    box-shadow: var(--shadow-sm); /* Added subtle shadow by default */
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

/* ── Hero Unique ── */
.hero-unique {
    min-height: 95vh;
    padding: 12rem 0 8rem;
    background: radial-gradient(circle at 80% 20%, #f0fdf4 0%, #ffffff 60%);
    position: relative;
    overflow: hidden;
}

.holographic-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--primary-glow);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Bento Grid ── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    background: var(--bg-alt);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    transition: var(--transition);
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-item .overlay {
    position: absolute;
    inset: 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 60%);
    color: white;
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }

/* ── Technical Grid (Catalog) ── */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    padding: 5rem 0;
}

.filter-sidebar {
    position: sticky;
    top: 120px;
}

.filter-group { margin-bottom: 2.5rem; }
.filter-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; display: block; letter-spacing: 1px; }

.filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.filter-option:hover { color: var(--primary); }
.filter-option input { width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--border); accent-color: var(--primary); }

/* ── Product Cards ── */
.product-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
}

.product-image {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.product-image img { max-width: 100%; max-height: 100%; object-fit: contain; }

.tech-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.spec-item {
    padding: 12px;
    background: var(--bg-alt);
    border-radius: 8px;
    text-align: center;
}

.spec-val { display: block; font-weight: 800; font-size: 1.1rem; color: var(--text-main); }
.spec-label { font-size: 0.65rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }

/* ── Footer ── */
.main-footer {
    background: var(--secondary);
    color: white;
    padding: 8rem 0 4rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating-asset {
    animation: float 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }
    .hero-unique .container { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .hero-unique h1 { font-size: 3.5rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
}

@media (max-width: 768px) {
    .catalog-layout { grid-template-columns: 1fr; }
    .filter-sidebar { display: none; } /* Mobile filter modal needed */
}
