/*
Theme Name: HTMX Zero
Description: Light, airy, 1170px wide personal portfolio layout.
Version: 1.2
Author: Rob Sachristan
*/

:root {
    --bg-canvas: #faf9f6;
    --bg-card: #ffffff;
    --text-heading: #0f172a;
    --text-body: #334155;
    --accent: #4f46e5;
    --border-light: #e2e8f0;
    --radius-lg: 20px;
    --font-sans: system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-canvas);
    color: var(--text-body);
    font-family: var(--font-sans);
    line-height: 1.7;
    padding: 3rem 1.5rem;
}

/* 1170px Main Container */
.site-container {
    max-width: 1170px;
    margin: 0 auto;
}

/* Component Outer Container */
.component-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.04);
    position: relative;
}

/* Admin Drag-and-Drop Handle */
body.logged-in .component-wrapper {
    border-style: dashed;
    cursor: grab;
}

.drag-handle {
    display: inline-block;
    background: #f1f5f9;
    color: var(--accent);
    border: 1px solid var(--border-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 2rem;
}

/* Abstract Hero Section Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.25rem;
    color: var(--text-heading);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-body);
}

.hero-image-card {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; }
}