:root {
    --primary: #f5b400; /* Industrial Yellow */
    --dark: #111111;
    --light-dark: #1a1a1a;
    --gray-bg: #f4f4f4;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; line-height: 1.6; color: #333; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; }

/* Navbar */
#navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: var(--transition); }
#navbar.scrolled { background: #000; padding: 10px 0; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; color: #fff; }
.logo .accent { color: var(--primary); }
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a { color: #fff; font-size: 13px; text-transform: uppercase; font-weight: 600; }
.nav-links a.active { color: var(--primary); }

/* Hero */
.page-hero { height: 400px; background-size: cover; background-position: center; display: flex; align-items: center; position: relative; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-content h1 { font-size: 50px; text-transform: uppercase; }

/* Tabs & Dropdown */
.category-tabs { background: var(--dark); border-bottom: 3px solid var(--primary); }
.tab-wrapper { display: flex; align-items: center; }
.main-tab { background: var(--primary); color: #000; padding: 15px 30px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.dropdown-tab { position: relative; padding: 15px 30px; color: #fff; font-weight: 600; cursor: pointer; }
.dropdown-content { display: none; position: absolute; top: 100%; left: 0; background: #000; width: 250px; z-index: 100; }
.dropdown-content a { display: block; padding: 15px; color: #fff; border-bottom: 1px solid #222; }
.dropdown-tab:hover .dropdown-content { display: block; }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.product-card { background: #fff; padding: 15px; text-align: center; cursor: pointer; transition: var(--transition); border: 1px solid #eee; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.product-card img { width: 100%; height: 200px; object-fit: cover; margin-bottom: 15px; transition: var(--transition); }
.product-card:hover img { transform: scale(1.05); }
.product-card h3 { font-size: 16px; text-transform: uppercase; font-weight: 700; }

/* --- Product Card Styling --- */
.product-card {
    background: #fff;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition); /* Handles Card Lift and Shadow Increase */
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px); /* Card Lift */
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); /* Shadow Increase */
    border-color: var(--primary);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    transition: var(--transition); /* Handles Image Zoom */
}

.product-card:hover img {
    transform: scale(1.08); /* Image Zoom */
}

.product-card .price {
    font-size: 20px;
    font-weight: 800;
    color: #d32f2f; /* Prominent Price Tag */
    margin: 10px 0;
}

.btn-buy {
    background: var(--primary);
    color: #000;
    padding: 12px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.view-details {
    font-size: 13px;
    color: #666;
    text-decoration: underline;
    font-weight: 600;
}

/* Detail Page */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.detail-image img { width: 100%; border-radius: 4px; }
.price { font-size: 28px; font-weight: 800; color: var(--primary); margin: 15px 0; }
.short-desc { color: #666; margin-bottom: 30px; }
.action-btns { display: flex; gap: 15px; margin-bottom: 40px; }
.btn-yellow { background: var(--primary); color: #000; padding: 15px 40px; font-weight: 800; text-transform: uppercase; }
.btn-outline { border: 2px solid #333; padding: 15px 40px; font-weight: 800; background: none; cursor: pointer; }
.features-list { list-style: none; margin-top: 20px; }
.features-list li { margin-bottom: 10px; color: #444; }
.features-list i { color: var(--primary); margin-right: 10px; }

/* Spec Table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 30px; background: #fff; }
.spec-table td { padding: 15px; border: 1px solid #ddd; }
.spec-table td:first-child { font-weight: 700; background: #f9f9f9; width: 30%; }

/* Footer */
footer { background: #000; color: #888; padding: 60px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

/* Responsive */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}