/*
Theme Name: Paras Portfolio
Theme URI: https://parasjhamb.online/
Author: Paras Jhamb
Description: A custom Bento-box style portfolio theme based on your professional resume.
Version: 1.0.0
Text Domain: paras-portfolio
*/

:root {
    --bg-color: #f0f2f5;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --accent: #2563eb;
    --accent-light: #eff6ff;
    --border: #e5e7eb;
    --radius: 28px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ── Bento Grid ── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 24px;
}

.bento-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* ── Specific Cards ── */
.card-profile {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    justify-content: space-between;
}

.card-profile h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #ffffff;
}

.card-profile .subtitle {
    font-size: 1.25rem;
    color: #93c5fd;
    font-weight: 500;
    margin-bottom: 24px;
}

.contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

.pill {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.pill:hover {
    background: rgba(255,255,255,0.2);
}

.card-summary {
    grid-column: span 2;
    grid-row: span 1;
}

.card-summary p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.card-metrics {
    grid-column: span 1;
    grid-row: span 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--accent-light);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Bricolage Grotesque', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 600;
}

.card-experience {
    grid-column: span 2;
    grid-row: span 3;
}

.card-skills {
    grid-column: span 2;
    grid-row: span 2;
}

.card-education {
    grid-column: span 2;
    grid-row: span 1;
}

/* ── Typography & Elements ── */
.section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 4px;
}

/* Experience List */
.exp-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.exp-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.exp-role {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.exp-company {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 12px;
}
.exp-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-color);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 12px;
}
.exp-list {
    list-style: none;
    padding-left: 0;
}
.exp-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.exp-list li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Skills Tags */
.skill-group {
    margin-bottom: 20px;
}
.skill-group:last-child {
    margin-bottom: 0;
}
.skill-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    background: var(--bg-color);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-experience { grid-row: span 2; }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }
    .card-profile h1 {
        font-size: 2.5rem;
    }
}
