/* 
   Day Precision Wall - Design System 
   Theme: Engineered Elegance (V2)
*/

:root {
    /* Color Palette - Cool Steel V3 */
    --color-primary: #1e2124;
    /* Dark Slate / Gunmetal */
    --color-primary-light: #282c34;
    /* Lighter Steel */
    --color-secondary: #ffffff;
    --color-accent: #d32f2f;
    /* Stronger Red for high contrast */
    --color-text-main: #e8eaed;
    /* Cool White */
    --color-text-muted: #9aa0a6;
    /* Steel Grey text */
    --color-border: #3c4043;
    /* Structural Grey */

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Roboto', sans-serif;

    /* Spacing - Tightened for V3 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    /* Reduced from 2rem */
    --spacing-lg: 3rem;
    /* Reduced from 4rem */
    --spacing-xl: 5rem;
    /* Reduced from 8rem */

    /* Components */
    --border-radius: 2px;
    /* Sharper corners for "Precision" */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-primary);
    color: var(--color-text-main);
    font-family: var(--font-main);
    line-height: 1.5;
    /* Slightly tighter line height */
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1.1;
    /* Tighter headings */
    text-transform: uppercase;
    letter-spacing: 0.02em;
    /* Reduced tracking for punchiness */
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
    /* Tighter section spacing */
}

/* Navigation */
.navbar {
    background-color: rgba(30, 33, 36, 0.98);
    /* Almost opaque for solidity */
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    /* Slimmer nav */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    /* Slightly smaller logo */
    width: auto;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary);
}

.btn-cta {
    background-color: var(--color-accent);
    color: var(--color-secondary);
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-cta:hover {
    background-color: #b71c1c;
}

/* Hero Section V3 */
.hero {
    height: 85vh;
    min-height: 500px;
    /* User Reference: Reverted to Original Hero Image (Step 239) */
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.2) 100%), url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.hero-content {
    max-width: 700px;
    /* Tighter content width */
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    /* Preserving size as requested */
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    /* Cool grey text */
    margin-bottom: 2rem;
    max-width: 550px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.bg-light {
    background-color: var(--color-primary-light);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}