/* assets/style.css */
:root {
    --bg-dark: #121212;
    --bg-panel: #1e1e1e;
    --text-main: #e0e0e0;
    --accent-color: #00d4ff;
    /* Tech Blue */
    --accent-hover: #00aaff;
    --border-color: #333;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-hover);
}

/* Header */
header {
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #bbb;
    font-weight: 500;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
}

/* Main Container */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    min-height: 80vh;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: #000;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: transform 0.2s, background 0.2s;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    color: #000;
}

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

.product-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.product-image {
    width: 100%;
    height: 200px;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.product-details {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: #fff;
}

.product-price {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px;
    background: #2a2a2a;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: var(--bg-panel);
    border-radius: 8px;
    overflow: hidden;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: #252525;
    color: var(--accent-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    color: #777;
}