/* ==========================================================================
   Jack DeBrabander - Personal Brand Website
   Color Scheme: Emerald Green (#10b981) + Slate Gray backgrounds
   Font: Inter (Google Fonts)
   ========================================================================== */

/* ---------- CSS Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    --white: #ffffff;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.25);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--slate-900);
    color: var(--slate-200);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--emerald-400);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--emerald-300);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-700);
    transition: background var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.navbar-brand span {
    color: var(--emerald-400);
}

.navbar-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar-links a {
    color: var(--slate-300);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-500);
    transition: width var(--transition);
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--emerald-400);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-200);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(160deg, var(--slate-950) 0%, var(--slate-900) 40%, var(--slate-800) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content .tagline {
    display: inline-block;
    color: var(--emerald-400);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.hero-content h1 .highlight {
    color: var(--emerald-400);
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 0 0 320px;
}

.hero-image img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 1rem;
    border: 3px solid var(--slate-700);
    box-shadow: var(--shadow-lg);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--emerald-500);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--emerald-600);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-400);
    border: 2px solid var(--emerald-500);
}

.btn-outline:hover {
    background: var(--emerald-500);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--slate-800);
}

.section-dark {
    background: var(--slate-950);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-header .accent-line {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--emerald-500);
    margin: 1rem auto;
    border-radius: 3px;
}

.section-header p {
    color: var(--slate-400);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
}

/* ---------- Cards ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all var(--transition);
}

.section-alt .card {
    background: var(--slate-900);
    border-color: var(--slate-700);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-500);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--emerald-400);
    font-size: 1.5rem;
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.card p {
    color: var(--slate-400);
    font-size: 0.95rem;
    line-height: 1.7;
}

.card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--emerald-400);
}

.card .card-link:hover {
    color: var(--emerald-300);
}

.card .card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.card .card-link:hover svg {
    transform: translateX(3px);
}

/* ---------- About / Intro Content ---------- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.intro-text h2 {
    margin-bottom: 1.5rem;
}

.intro-text p {
    color: var(--slate-300);
    font-size: 1.05rem;
}

.intro-image img {
    border-radius: 0.75rem;
    border: 2px solid var(--slate-700);
    box-shadow: var(--shadow-md);
}

/* ---------- Values / Philosophy ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.value-item {
    padding: 1.75rem;
    border-left: 3px solid var(--emerald-500);
    background: var(--slate-800);
    border-radius: 0 0.5rem 0.5rem 0;
}

.section-alt .value-item {
    background: var(--slate-900);
}

.value-item h4 {
    margin-bottom: 0.5rem;
    color: var(--emerald-300);
}

.value-item p {
    color: var(--slate-400);
    font-size: 0.95rem;
}

/* ---------- Long-form Content ---------- */
.content-narrow {
    max-width: 780px;
    margin: 0 auto;
}

.content-narrow h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.content-narrow h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--emerald-300);
}

.content-narrow p {
    color: var(--slate-300);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.content-narrow ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.25rem;
}

.content-narrow ul li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--slate-300);
    font-size: 1.05rem;
}

.content-narrow ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    background: var(--emerald-500);
    border-radius: 50%;
}

/* ---------- Venture Detail Sections ---------- */
.venture-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--slate-700);
}

.venture-section:last-child {
    border-bottom: none;
}

.venture-section h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.venture-section .venture-url {
    color: var(--emerald-400);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.venture-section p {
    color: var(--slate-300);
    font-size: 1.05rem;
}

/* ---------- Page Header (for sub-pages) ---------- */
.page-header {
    padding: 9rem 0 3.5rem;
    background: linear-gradient(160deg, var(--slate-950) 0%, var(--slate-900) 100%);
    text-align: center;
    border-bottom: 1px solid var(--slate-700);
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}

.page-header p {
    color: var(--slate-400);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--slate-500);
}

.breadcrumbs a {
    color: var(--slate-400);
}

.breadcrumbs a:hover {
    color: var(--emerald-400);
}

.breadcrumbs span {
    margin: 0 0.4rem;
    color: var(--slate-600);
}

/* ---------- Profile Card (About page) ---------- */
.profile-card {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--slate-800);
    border-radius: 1rem;
    border: 1px solid var(--slate-700);
}

.profile-card img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 2px solid var(--slate-600);
    flex-shrink: 0;
}

.profile-card-info h2 {
    margin-bottom: 0.5rem;
}

.profile-card-info .role {
    color: var(--emerald-400);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.profile-card-info p {
    color: var(--slate-400);
    font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--slate-950);
    border-top: 1px solid var(--slate-700);
    padding: 3.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: var(--slate-500);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 0.95rem;
    color: var(--slate-300);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--slate-500);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--slate-600);
    font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-group {
        justify-content: center;
    }

    .hero-image {
        flex: none;
    }

    .hero-image img {
        width: 240px;
        height: 240px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .navbar-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.97);
        backdrop-filter: blur(12px);
        padding: 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--slate-700);
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-links li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--slate-800);
    }

    .navbar-links li:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .section {
        padding: 3.5rem 0;
    }

    .page-header {
        padding: 7.5rem 0 2.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.85rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .btn-group {
        flex-direction: column;
    }

    .hero-image img {
        width: 200px;
        height: 200px;
    }
}