/* Jande Labs Stylesheet */

:root {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-muted: #475569;
    --brand-teal: #1b5b6c;
    --border-color: #e2e8f0;
    --accent-light: #e6f2f5;
    --max-width: 880px;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Branding */
.site-header {
    padding: 40px 0 20px 0;
}

.brand {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 380px;
    height: auto;
    display: block;
}

/* Main Content */
.main-content {
    padding: 20px 0 60px 0;
}

.hero-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Intro Title - Scaled with clamp() to stay on one line on mobile */
.hero-title {
    font-size: clamp(1.25rem, 5vw, 2rem);
    color: var(--brand-teal);
    margin-bottom: 16px;
    font-weight: 700;
    white-space: nowrap;
}

/* Intro Body Copy - Fluidly scaled to prevent text bloat on mobile */
.lead-text {
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.body-text {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cta-text {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 600;
    color: var(--brand-teal);
}

/* Projects Section */
.projects-section {
    margin-top: 40px;
}

.section-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.project-tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--brand-teal);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.project-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.project-exp {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 16px;
}

.project-link {
    color: var(--brand-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.project-link:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 0 16px; /* Slightly increases usable width on phone screens */
    }
    .hero-section {
        padding: 20px; /* Reduces card padding slightly to give text room to breath */
    }
    .logo {
        max-width: 100%;
    }
}
