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

.zety-cascade-template {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    color: #334155;
    line-height: 1.5;
}

/* LEFT SIDEBAR */
.cascade-sidebar {
    width: 33%;
    background-color: #2b3a4a;
    color: #f1f5f9;
    padding: 36px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 26px;
    flex-shrink: 0;
}

/* Avatar / Monogram */
.cascade-avatar-wrap {
    text-align: center;
    margin-bottom: 10px;
}

.cascade-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cascade-monogram {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Sidebar Sections */
.cascade-side-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #93c5fd;
    text-transform: uppercase;
    border-bottom: 1.5px solid rgba(147, 197, 253, 0.3);
    padding-bottom: 6px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cascade-side-title i {
    font-size: 0.85rem;
}

.cascade-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.86rem;
}

.cascade-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    word-break: break-word;
}

.cascade-icon {
    color: #60a5fa;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Skill Progress Bars */
.cascade-skills-meters {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.cascade-meter-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.83rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.cascade-meter-pct {
    color: #93c5fd;
    font-size: 0.78rem;
}

.cascade-meter-track {
    background-color: rgba(255, 255, 255, 0.15);
    height: 7px;
    border-radius: 10px;
    overflow: hidden;
}

.cascade-meter-fill {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    height: 100%;
    border-radius: 10px;
}

/* Certifications in sidebar */
.cascade-cert-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.84rem;
}

.cascade-cert-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #e2e8f0;
}

.cascade-cert-check {
    color: #34d399;
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Education in Sidebar */
.cascade-side-edu {
    margin-bottom: 12px;
}

.cascade-edu-degree {
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
}

.cascade-edu-school {
    font-size: 0.82rem;
    color: #cbd5e1;
}

.cascade-edu-date {
    font-size: 0.78rem;
    color: #93c5fd;
}

/* MAIN CONTENT */
.cascade-main {
    width: 67%;
    padding: 38px 36px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header Banner */
.cascade-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 16px;
}

.cascade-name {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1e293b;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.cascade-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2563eb;
    letter-spacing: 0.3px;
}

/* Sections */
.cascade-section {
    display: flex;
    flex-direction: column;
}

.cascade-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #1e293b;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid #3b82f6;
}

.cascade-section-title i {
    color: #3b82f6;
    font-size: 1rem;
}

/* Summary */
.cascade-summary-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
}

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

.cascade-bullet-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.55;
}

.cascade-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.1rem;
}

.cascade-bullet-list strong {
    color: #0f172a;
}

/* Experience Timeline */
.cascade-experience-timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 4px;
}

.cascade-exp-item {
    position: relative;
}

.cascade-exp-item::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #3b82f6;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #3b82f6;
}

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

.cascade-exp-role {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.cascade-exp-dates {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}

.cascade-exp-company {
    font-size: 0.92rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 8px;
}

.cascade-exp-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
}

.cascade-exp-desc ul {
    margin: 6px 0 0 0;
    padding-left: 18px;
}

.cascade-exp-desc li {
    margin-bottom: 4px;
}

/* Technical Skills Grid */
.cascade-tech-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cascade-tech-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #3b82f6;
    padding: 8px 12px;
    border-radius: 4px;
}

.cascade-tech-cat {
    font-weight: 700;
    font-size: 0.85rem;
    color: #0f172a;
    margin-bottom: 2px;
}

.cascade-tech-val {
    font-size: 0.84rem;
    color: #475569;
}

/* Responsive (Screen Only) */
@media screen and (max-width: 768px) {
    .zety-cascade-template {
        flex-direction: column;
    }
    .cascade-sidebar, .cascade-main {
        width: 100%;
        padding: 24px 20px;
    }
}

/* Print Optimization */
@media print {
    body {
        background: none !important;
        padding: 0 !important;
    }
    .zety-cascade-template {
        display: flex !important;
        flex-direction: row !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .cascade-sidebar {
        width: 33% !important;
        flex: 0 0 33% !important;
        background-color: #2b3a4a !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        padding: 20px 16px !important;
    }
    .cascade-main {
        width: 67% !important;
        flex: 0 0 67% !important;
        padding: 24px 20px !important;
    }
    .cascade-meter-fill {
        background: #3b82f6 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .cascade-side-title,
    .cascade-main-title {
        break-after: avoid;
        page-break-after: avoid;
    }
    .cascade-exp-item, .cascade-tech-card, .cascade-side-section, .cascade-skill-item {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}
