/* Template 02 - Executivo (Executive Navy Blue) */
/* Formal and professional style for leadership roles */

/* ====================== */
/* TEMPLATE VARIABLES     */
/* ====================== */
.template-02 {
    --t-primary: #1a365d;
    --t-primary-light: #2c5282;
    --t-secondary: #c4a000;
    --t-text: #2d3748;
    --t-text-light: #4a5568;
    --t-bg: #ffffff;
    --t-border: #e2e8f0;

    --t-font-main: 'Open Sans', sans-serif;
    --t-font-heading: 'Montserrat', sans-serif;
    --t-font-size-base: 10pt;
    --t-font-size-sm: 9pt;
    --t-font-size-xs: 8pt;
    --t-font-size-name: 26pt;
    --t-font-size-section: 11pt;

    --t-spacing-base: 12px;
    --t-spacing-sm: 8px;
    --t-spacing-xs: 4px;
    --t-spacing-lg: 16px;
    --t-spacing-xl: 24px;
}

/* ====================== */
/* TEMPLATE BASE          */
/* ====================== */
.template-02 {
    font-family: var(--t-font-main);
    font-size: var(--t-font-size-base);
    color: var(--t-text);
    background: var(--t-bg);
    line-height: 1.5;
    padding: 0;
    width: 100%;
}

/* ====================== */
/* HEADER                 */
/* ====================== */
.template-02 .cv-header {
    background: linear-gradient(135deg, var(--t-primary) 0%, var(--t-primary-light) 100%);
    color: white;
    padding: var(--t-spacing-lg) var(--t-spacing-xl);
    position: relative;
}

.template-02 .cv-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--t-secondary);
}

.template-02 .cv-contact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--t-spacing-lg);
    font-size: var(--t-font-size-xs);
    margin-bottom: var(--t-spacing-base);
    padding-bottom: var(--t-spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.template-02 .cv-contact-item {
    display: flex;
    align-items: center;
    gap: var(--t-spacing-xs);
}

.template-02 .cv-contact-item svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.template-02 .cv-cnh {
    background: var(--t-secondary);
    color: var(--t-primary);
    padding: 3px 12px;
    border-radius: 3px;
    font-size: var(--t-font-size-xs);
    font-weight: 700;
    display: inline-block;
    margin-top: var(--t-spacing-xs);
}

.template-02 .cv-name {
    font-family: var(--t-font-heading);
    font-size: var(--t-font-size-name);
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    text-align: center;
    padding: var(--t-spacing-xl) 0 var(--t-spacing-lg);
}

/* ====================== */
/* MAIN CONTENT           */
/* ====================== */
.template-02 .cv-body {
    padding: var(--t-spacing-xl);
}

.template-02 .cv-section {
    margin-bottom: var(--t-spacing-xl);
    overflow: hidden;
    transition: margin 0.4s ease-out, opacity 0.3s ease;
}

.template-02 .cv-section:last-child {
    margin-bottom: 0;
}

.template-02 .cv-section-header {
    background: var(--t-primary);
    color: white;
    font-family: var(--t-font-heading);
    font-size: var(--t-font-size-section);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: var(--t-spacing-sm) var(--t-spacing-lg);
    margin-bottom: var(--t-spacing-base);
    border-left: 4px solid var(--t-secondary);
}

.template-02 .cv-section-content {
    padding-left: var(--t-spacing-sm);
}

/* ====================== */
/* EXPERIENCE ENTRIES     */
/* ====================== */
.template-02 .cv-entry {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--t-spacing-lg);
    margin-bottom: var(--t-spacing-lg);
    padding-bottom: var(--t-spacing-lg);
    border-bottom: 1px solid var(--t-border);
}

.template-02 .cv-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.template-02 .cv-entry-period {
    font-size: var(--t-font-size-sm);
    color: var(--t-primary);
    font-weight: 600;
    text-align: left;
}

.template-02 .cv-entry-title {
    font-weight: 700;
    font-size: var(--t-font-size-base);
    color: var(--t-text);
    margin-bottom: var(--t-spacing-xs);
}

.template-02 .cv-entry-company {
    color: var(--t-primary-light);
    font-weight: 600;
    font-size: var(--t-font-size-sm);
    margin-bottom: var(--t-spacing-sm);
}

.template-02 .cv-entry-location {
    font-weight: 400;
    color: var(--t-text-light);
}

.template-02 .cv-entry-activities {
    margin-top: var(--t-spacing-sm);
    padding-left: var(--t-spacing-base);
}

.template-02 .cv-entry-activities li {
    position: relative;
    padding-left: var(--t-spacing-base);
    margin-bottom: var(--t-spacing-xs);
    font-size: var(--t-font-size-sm);
    line-height: 1.6;
}

.template-02 .cv-entry-activities li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--t-secondary);
}

/* ====================== */
/* EDUCATION ENTRIES      */
/* ====================== */
.template-02 .cv-education-entry {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--t-spacing-lg);
    margin-bottom: var(--t-spacing-base);
}

.template-02 .cv-education-entry:last-child {
    margin-bottom: 0;
}

.template-02 .cv-education-level {
    font-weight: 700;
    margin-bottom: var(--t-spacing-xs);
}

.template-02 .cv-education-institution {
    font-size: var(--t-font-size-sm);
    color: var(--t-text-light);
}

/* ====================== */
/* SKILLS SECTION         */
/* ====================== */
.template-02 .cv-skills-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--t-spacing-xs) var(--t-spacing-xl);
}

.template-02 .cv-skill-item {
    position: relative;
    padding-left: var(--t-spacing-base);
    font-size: var(--t-font-size-sm);
}

.template-02 .cv-skill-item::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--t-secondary);
    font-size: 8px;
}

/* ====================== */
/* OBJECTIVE              */
/* ====================== */
.template-02 .cv-objective-text {
    font-size: var(--t-font-size-sm);
    line-height: 1.7;
    text-align: justify;
    border-left: 3px solid var(--t-secondary);
    padding-left: var(--t-spacing-base);
}

/* ====================== */
/* HIDDEN & ANIMATIONS    */
/* ====================== */
.template-02 .cv-section.hidden {
    display: none;
}

.template-02 .cv-section.hiding {
    animation: sectionHideGlow 0.8s ease-out forwards;
}

.template-02 .cv-section.showing {
    animation: sectionShowGlow 0.8s ease-out forwards;
}

/* ====================== */
/* PRINT STYLES           */
/* ====================== */
@media print {
    .template-02 {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .template-02 .cv-section {
        page-break-inside: avoid;
    }
}