/* css/style.css */

/* --- CSS Variables & Theming --- */
:root {
    --bg-color: #F4F4F0;
    --text-main: #000000;
    --accent-safety: #FF4500;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    --border-thickness: 1px;
    --border-style: solid var(--text-main);
}

/* --- Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default; /* Remove default soft pointer */
}

a, button {
    cursor: crosshair;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-mono); /* Default to mono for technical feel */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
}

/* Add subtle noise texture */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    opacity: 0.05;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Navigation Bars --- */
.top-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: var(--border-thickness) var(--border-style);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: -0.05em;
}

.main-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-menu a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0ms;
}

.main-menu a:hover {
    color: var(--accent-safety);
}

.bottom-bar {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-top: var(--border-thickness) var(--border-style);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: auto;
}

/* --- Grid System & Hero Structure --- */
.hero-brutalist {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    flex-grow: 1; /* Take up remaining height */
    border-bottom: var(--border-thickness) var(--border-style);
}

/* Left Content Area (Spans 7 columns) */
.hero-content {
    grid-column: span 7;
    border-right: var(--border-thickness) var(--border-style);
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Right Visual Anchor (Spans 5 columns) */
.hero-visual {
    grid-column: span 5;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* --- Typography System --- */
.hero-header {
    margin-bottom: 4rem;
}

.tagline {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border: var(--border-thickness) var(--border-style);
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--text-main);
    color: var(--bg-color);
}

.headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6.5vw, 6rem); /* Scaled down slightly to fit long words */
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    word-break: break-word;
    /* Typewriter cursor effect class */
    border-right: 0.15em solid var(--accent-safety);
    animation: blink-caret 0.75s step-end infinite;
}

h2.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 4rem);
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

h3.block-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 0.5rem;
    display: inline-block;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-safety); }
}

.subheadline {
    font-size: 1.25rem;
    line-height: 1.5;
    max-width: 90%;
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent-safety);
}

.intro-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #e0e0e0;
    border: var(--border-thickness) var(--border-style);
}

/* --- Layout Sections --- */
.section-padding {
    padding: 6rem 4rem;
}

/* Cards Grid (Advantages) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    border-top: var(--border-thickness) var(--border-style);
    border-left: var(--border-thickness) var(--border-style);
}

.card {
    border-right: var(--border-thickness) var(--border-style);
    border-bottom: var(--border-thickness) var(--border-style);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: background 0.2s;
}

.card:hover {
    background-color: #e0e0e0;
}

.card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--accent-safety);
}

/* Documents List */
.doc-list {
    list-style: none;
    border-top: 2px solid var(--text-main);
}

.doc-list li {
    border-bottom: 1px solid var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-list a {
    display: block;
    padding: 1.5rem 0;
    text-decoration: none;
    color: var(--text-main);
    font-weight: bold;
    font-size: 1.2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.doc-list a:hover {
    color: var(--accent-safety);
    padding-left: 1rem; /* Brutalist jump effect */
}

/* --- Buttons & Calls to Action --- */
.action-area {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: auto;
}

.cta-primary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 400px;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1.25rem;
    border: 2px solid var(--text-main); /* Thicker border for CTA */
    outline: none;
    transition: all 0ms; /* Zero duration transition for harsh feel */
    position: relative;
    text-decoration: none;
}

.cta-primary:hover {
    background-color: var(--text-main);
    color: var(--accent-safety);
}

/* Hard press interaction */
.cta-primary:active {
    transform: translate(4px, 4px);
    box-shadow: -4px -4px 0 var(--accent-safety);
}

.cta-arrow {
    font-size: 1.5rem;
    font-family: var(--font-mono);
}

.cta-secondary {
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-main);
    text-transform: uppercase;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 0.2rem;
}

.cta-secondary:hover {
    color: var(--accent-safety);
    border-bottom-color: var(--accent-safety);
}

/* --- Visual Anchor Styling --- */
.image-wrapper {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    border-bottom: var(--border-thickness) var(--border-style);
}

.image-wrapper img, .content-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(150%); /* High contrast, stark industrial feel */
    transition: transform 0.3s ease-out; /* Slight scale on hover, one of the few smooth animations */
}

.hero-visual:hover .image-wrapper img {
    transform: scale(1.05);
}

.visual-meta {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: var(--text-main);
    color: var(--bg-color);
    font-weight: 700;
}

/* Text Content blocks */
.text-block {
    margin-bottom: 2rem;
}

.text-block ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.text-block li {
    margin-bottom: 0.5rem;
}

/* Product Layout */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    border: var(--border-thickness) var(--border-style);
    padding: 2rem;
}

.product-info h3 {
    margin-top: 0;
}

.product-image-container {
    border: var(--border-thickness) var(--border-style);
    height: 400px;
    background: #000;
}

/* Map placeholder */
.map-container {
    width: 100%;
    height: 500px;
    background: #ccc;
    border: var(--border-thickness) var(--border-style);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #666;
    margin-top: 2rem;
}

/* --- Decorative Grid Elements --- */
.grid-crosshair {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-main);
    line-height: 1;
    z-index: 10;
}

.grid-crosshair.top-left { top: -0.75rem; left: -0.5rem; }
.grid-crosshair.bottom-right { bottom: -0.75rem; right: -0.5rem; }
.grid-crosshair.top-right { top: -0.75rem; right: -0.5rem; }
.grid-crosshair.bottom-left { bottom: -0.75rem; left: -0.5rem; }

/* --- Responsive Strategy --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-column: span 6;
        padding: 4rem 2rem;
    }
    .hero-visual {
        grid-column: span 6;
    }
    .action-area {
        flex-direction: column;
        align-items: flex-start;
    }
    .cta-primary {
        max-width: 100%;
    }
    .product-showcase {
        grid-template-columns: 1fr;
    }
    .section-padding {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .main-menu {
        display: none; /* In a real app, we'd add a hamburger menu. For brutalism, simple vertical stack is fine. */
    }
    .top-nav-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .main-menu {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .hero-brutalist {
        display: flex;
        flex-direction: column;
    }
    
    .hero-visual {
        /* Move image to top on mobile */
        order: -1;
        height: 40vh;
        border-right: none;
        border-bottom: var(--border-thickness) var(--border-style);
    }

    .hero-content {
        border-right: none;
        padding: 3rem 1.5rem;
    }

    .subheadline {
        max-width: 100%;
    }
}