/* 
   3D Axis "Lab" Theme 
   Based on 3d-printinglab.com reference 
*/

@import url('https://fonts.googleapis.com/css2?family=Acme&family=Inter:wght@400;600&display=swap');

:root {
    --primary: #50E3C2;
    /* Teal / Turquoise from reference */
    --accent: #171717;
    /* Dark Charcoal for buttons/text */
    --bg: #FFFFFF;
    --surface: #F8F9FA;
    --text: #171717;
    --muted: #6c757d;
    --border: #e9ecef;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    /* Body text remains readable */
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.btn,
.nav-links a,
.logo-text {
    font-family: 'Acme', sans-serif;
    /* Headings use the playful/lab font */
    letter-spacing: 0.5px;
}

/* Promo Bar */
.promo-bar {
    background-color: var(--accent);
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    padding: 8px;
    font-weight: 600;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 1.8rem;
    color: var(--accent);
    margin-left: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    /* Teal hover */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    /* Slightly squarer like the reference */
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
    border: 2px solid var(--accent);
}

.btn:hover {
    background: #fff;
    color: var(--accent);
}

.btn-white {
    background: #fff;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-white:hover {
    background: var(--accent);
    color: #fff;
}

.btn-sm {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    background: var(--primary);
    /* Teal button */
    color: var(--accent);
    text-decoration: none;
    font-family: 'Acme', sans-serif;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-sm:hover {
    opacity: 0.9;
}

/* Product Grid */
section {
    padding: 60px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--accent);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background: #fff;
    transition: 0.3s;
    /* Minimalist card, no border until hover */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.product-image {
    height: 300px;
    background: var(--surface);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 50px;
    font-family: 'Acme', sans-serif;
    font-size: 0.8rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin: 0 0 5px;
}

.product-info .price {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 10px;
}

/* Banner */
.banner {
    background-color: var(--surface);
    text-align: center;
    border-top: 5px solid var(--primary);
    /* Teal accent line */
}

/* Footer */
footer {
    background: var(--accent);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Ideally hamburger menu, but for now hidden on mobile is safer than broken */
    }
}
