:root {
    /* Colors - PTMT Theme */
    --color-bg: #f4f4f4;
    /* Light clean background */
    --color-text: #1a1a1a;
    --color-primary: #007bff;
    /* Electric Blue */
    --color-accent: #007bff;
    --color-accent-dim: #0056b3;
    --color-gold: #007bff;
    /* Replaced gold with blue for consistency */
    --color-surface: #ffffff;
    --color-black: #121212;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Header Styles */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    background: transparent;
    /* Clean look */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #ffffff;
    /* White for dark bg */
    opacity: 0.8;
}

.main-nav a:hover {
    color: var(--color-primary);
    opacity: 1;
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: white;
    /* Fallback */
    margin-top: 0;
    /* Offset for header height if needed, or overlay */
    padding-top: 80px;
    overflow: hidden;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Above 3D */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    /* Reduced gap */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertical Center */
    align-items: flex-start;
    /* Horizontal Left */
    height: 100%;
    pointer-events: none;
    text-align: left;
    /* Explicitly left align text */
}

.hero-text-wrapper {
    max-width: 50%;
    /* Only take left half */
    padding-right: 2rem;
    pointer-events: auto;
    /* Allow text selection/buttons */
    text-align: left;
    /* Explicit Left */
}

/* Hero Typography - Editorial Style */
.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(4rem, 8vw, 8rem);
    /* Massive size */
    font-weight: 200;
    /* Thin */
    line-height: 0.9;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -2px;
    /* Tight packing */
}

/* Subtext "QUIET ICONS" style */
.hero p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    /* Wide spacing */
    margin-bottom: var(--spacing-xl);
    color: #cccccc;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    pointer-events: auto;
}

/* Reference Style Button: White Box, Black Text */
.btn-primary {
    background: #ffffff;
    color: #000000;
    padding: 1.2rem 2.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    /* Sharp corners */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--color-black);
    color: var(--color-black);
}

.btn-outline:hover {
    background: var(--color-black);
    color: white;
}

/* Dark components for contrast */
.site-footer,
.product-card,
.dealer-card,
.blog-post {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid #e0e0e0;
}

.product-card h3,
.dealer-card h3 {
    color: var(--color-black);
}

/* Footer (Basic) */
.site-footer {
    background: var(--color-surface);
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: var(--spacing-xl);
}

/* Response Utilities */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        /* Mobile menu logic needed */
    }

    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-text);
        margin-bottom: 6px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Header (Common) */
.page-header {
    padding: 160px 0 60px;
    text-align: center;
    background: var(--color-surface);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-gold);
}

.page-header p {
    color: #888;
    font-size: 1.1rem;
}

/* Catalog / Grid */
.product-grid,
.blog-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
}

/* Product Card */
.product-card {
    background: #111;
    border-radius: 8px;
    padding: var(--spacing-md);
    transition: transform 0.3s ease;
    border: 1px solid #222;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-dim);
}

.product-image-placeholder,
.post-image-placeholder {
    width: 100%;
    height: 250px;
    background: #222;
    margin-bottom: var(--spacing-md);
    border-radius: 4px;
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.price {
    color: var(--color-gold);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

/* Dealers List */
.dealers-section {
    padding: var(--spacing-xl) 0;
}

.dealer-search {
    margin-bottom: var(--spacing-lg);
    display: flex;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border-radius: 50px;
    border: 1px solid #333;
    background: #111;
    color: white;
}

.dealer-card {
    background: #111;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-left: 3px solid var(--color-accent);
}

/* Contact Form */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #888;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #111;
    border: 1px solid #333;
    color: white;
    border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Blog */
.blog-post {
    background: #111;
    padding-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.post-content {
    padding: var(--spacing-md);
}

.post-date {
    color: var(--color-accent);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.read-more {
    color: var(--color-gold);
    font-size: 0.9rem;
    margin-top: 1rem;
    display: inline-block;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    /* Reduced gap */
}

/* Text Content */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
    line-height: 1.8;
    font-size: 1.1rem;
}