/* =========================================
   WF TECHNICAL INDUSTRIES - GOLDEN TEMPLATE
   CLIENT: LARRY SMITH WOODWORKING
========================================= */

/* --- 1. GLOBAL VARIABLES (Command Center) --- */
:root {
    --primary-color: #2c3e50; /* Slate Blue/Grey - Heavy & Professional */
    --accent-color: #27ae60;  /* Forest Green - Trust & Action */
    --accent-hover: #2ecc71;  /* Lighter Green for button hovers */
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --bg-color: #ffffff;
    --bg-alt: #f8f9fa;        /* Light grey for alternating sections */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- 2. GLOBAL RESET & TYPOGRAPHY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1, h2, h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* --- 3. NAVIGATION (The Helm) --- *//* --- 3. NAVIGATION (The Helm) --- */
header {
    background-color: var(--bg-color); /* Changed to white to match the logo */
    padding: 20px 5%;
    display: flex;
    flex-direction: column; /* This stacks the logo on top of the nav */
    justify-content: center;
    align-items: center;
    border-bottom: 3px solid var(--primary-color); /* Adds a heavy slate line under the nav */
}

.main-logo {
    max-width: 320px; /* Controls the size of the logo */
    height: auto;
    margin-bottom: 20px; /* Pushes the nav links down a bit */
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.02); /* Slight zoom effect when they hover over the logo */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px; /* Spacing between the links */
    flex-wrap: wrap; /* Allows links to wrap on small mobile screens */
    justify-content: center;
}

.nav-links a {
    color: var(--primary-color); /* Dark text for the white background */
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase; /* Makes the links look a bit more industrial */
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color); /* Turns green when hovered */
}

/* --- 4. BUTTONS (The Triggers) --- */
.btn-primary, .btn-secondary, .btn-buy, .btn-submit {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    border: none;
    text-align: center;
}

.btn-primary, .btn-buy, .btn-submit {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-primary:hover, .btn-buy:hover, .btn-submit:hover {
    background-color: var(--accent-hover);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* --- 5. HERO & HEADERS --- */
#hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 100px 20px;
    text-align: center;
    border-bottom: 5px solid var(--accent-color);
}

#hero h2 {
    color: var(--text-light);
    font-size: 3rem;
}

.page-header {
    background-color: var(--bg-alt);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

/* --- 6. GRIDS (Shop & Gallery Layouts) --- */
.shop-inventory, .gallery-container, #shop {
    padding: 60px 5%;
}

.product-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card, .gallery-item {
    background: var(--bg-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.product-card:hover, .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.product-card img, .gallery-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
    background-color: #eee; /* Placeholder for missing images */
    min-height: 200px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 15px 0;
}

/* --- 7. FORMS & ABOUT PAGE --- */
.contact-container, .about-container {
    padding: 60px 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    text-