/* Gold Visual Infographic Resume Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --gold-primary: #c29342;
    --gold-dark: #a8792c;
    --gold-light: #f6eedb;
    --gold-pill: #c68a4c;
    --gold-pill-hover: #b0783c;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
}

.gold-infographic-template {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
    background-color: #fdfcf9;
    background-image: repeating-linear-gradient(45deg, #fdfbf7 0, #fdfbf7 6px, #f7f2e7 6px, #f7f2e7 12px);
    padding: 36px 40px;
    box-sizing: border-box;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #ebdcc5;
    border-radius: 8px;
    line-height: 1.5;
}

/* Header */
.gold-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 18px;
}

.gold-candidate-name {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #111827;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.gold-candidate-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 0.2px;
}

.gold-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.gold-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.gold-contact-icon {
    color: var(--gold-primary);
    font-size: 0.95rem;
}

.gold-divider-line {
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary) 0%, #ecd19d 60%, transparent 100%);
    margin: 18px 0 24px 0;
    border: none;
}

/* Section Headings */
.gold-section {
    margin-bottom: 24px;
}

.gold-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.gold-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--gold-primary);
    color: #ffffff;
    border-radius: 4px;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.gold-section-heading h2 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--gold-dark);
    margin: 0;
    text-transform: uppercase;
}

/* Two-Column Layout (Flex ensures columns fragment properly in print) */
.gold-grid-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    width: 100%;
}

.gold-col-main {
    width: 62%;
    flex: 0 0 62%;
    min-width: 0;
}

.gold-col-side {
    width: 35%;
    flex: 0 0 35%;
    min-width: 0;
}

/* Left Column: Profile Summary */
.gold-summary-content {
    background: #ffffff;
    border: 1px solid #f0e4cc;
    border-radius: 6px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(194, 147, 66, 0.05);
}

.gold-bullet-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.gold-bullet-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 12px;
    font-size: 0.92rem;
    color: var(--text-primary);
    line-height: 1.55;
}

.gold-bullet-list li:last-child {
    margin-bottom: 0;
}

.gold-bullet-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

.gold-bullet-list strong {
    color: #111827;
    font-weight: 700;
}

/* Left Column: Technical Skills Table */
.gold-tech-table {
    background: #ffffff;
    border: 1px solid #ebdcc5;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(194, 147, 66, 0.05);
}

.gold-tech-row {
    display: grid;
    grid-template-columns: 190px 1fr;
    border-bottom: 1px solid #f3ebe0;
    font-size: 0.88rem;
    padding: 10px 14px;
    align-items: center;
}

.gold-tech-row:last-child {
    border-bottom: none;
}

.gold-tech-row-highlight {
    background-color: #f7edd7;
}

.gold-tech-cat {
    color: #374151;
    font-weight: 700;
}

.gold-tech-details {
    color: #1f2937;
    font-size: 0.88rem;
    line-height: 1.45;
}

/* Right Column: Core Competencies */
.gold-competency-pills {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gold-pill {
    background: linear-gradient(135deg, #c89648 0%, #b88339 100%);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(184, 131, 57, 0.25);
    letter-spacing: 0.2px;
    border: 1px solid #a8742b;
    transition: transform 0.2s ease;
}

.gold-pill:hover {
    transform: translateY(-1px);
}

/* Right Column: Certifications */
.gold-certs-list {
    background: #ffffff;
    border: 1px solid #ebdcc5;
    border-radius: 6px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(194, 147, 66, 0.05);
}

.gold-cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1f2937;
}

.gold-cert-medal {
    color: var(--gold-primary);
    font-size: 1.15rem;
    filter: drop-shadow(0 1px 2px rgba(194, 147, 66, 0.4));
}

/* Career Timeline */
.gold-timeline-stream {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--gold-primary);
    margin-left: 10px;
}

.gold-timeline-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #ebdcc5;
    border-radius: 6px;
    padding: 14px 18px;
    box-shadow: 0 2px 8px rgba(194, 147, 66, 0.05);
}

.gold-timeline-node {
    position: absolute;
    left: -27px;
    top: 18px;
    width: 12px;
    height: 12px;
    background: var(--gold-primary);
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--gold-primary);
}

.gold-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.gold-timeline-role {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.gold-timeline-company {
    font-size: 0.92rem;
    color: var(--gold-dark);
    margin-top: 2px;
}

.gold-timeline-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.gold-timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.gold-timeline-desc ul {
    margin: 6px 0 0 0;
    padding-left: 20px;
}

.gold-timeline-desc li {
    margin-bottom: 4px;
}

/* Education Grid */
.gold-edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.gold-edu-card {
    background: #ffffff;
    border: 1px solid #ebdcc5;
    border-radius: 6px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(194, 147, 66, 0.05);
}

.gold-edu-degree {
    font-size: 0.95rem;
    color: #111827;
    margin-bottom: 4px;
}

.gold-edu-institution {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.gold-edu-year {
    font-size: 0.82rem;
    color: var(--gold-dark);
    font-weight: 600;
    margin-top: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gold-infographic-template {
        padding: 20px 16px;
    }
    .gold-grid-container {
        flex-direction: column;
    }
    .gold-col-main,
    .gold-col-side {
        width: 100%;
        flex: 0 0 100%;
    }
    .gold-tech-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .gold-info-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Print Optimization */
@media print {
    body {
        background: none !important;
        padding: 0 !important;
    }
    .gold-infographic-template {
        background-color: #fdfcf9 !important;
        background-image: repeating-linear-gradient(45deg, #fdfbf7 0, #fdfbf7 6px, #f7f2e7 6px, #f7f2e7 12px) !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        box-shadow: none !important;
        border: none !important;
        padding: 10mm 12mm !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
    }
    .gold-grid-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }
    .gold-col-main {
        width: 62% !important;
        flex: 0 0 62% !important;
    }
    .gold-col-side {
        width: 35% !important;
        flex: 0 0 35% !important;
    }
    .gold-pill {
        background: #c89648 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color: #ffffff !important;
    }
    .gold-icon-box {
        background-color: #c29342 !important;
        color: #ffffff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .gold-tech-row-highlight {
        background-color: #f7edd7 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .gold-section-header {
        break-after: avoid;
        page-break-after: avoid;
    }
    .gold-timeline-card,
    .gold-summary-content,
    .gold-tech-table,
    .gold-certs-list,
    .gold-edu-card,
    .gold-badge-group,
    .gold-cert-item {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}
