:root {
    --primary-color: #5364f3; /* Hugging Face blue */
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-gray: #f0f2f5;
    --dark-gray: #555;
    --accent-color: #ffad1f; /* Hugging Face yellow accent */
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b4ddb 100%);
    color: white;
    padding: 40px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 60px 60px;
}

.banner h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.banner p {
    font-size: 1.4rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.main-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.sidebar {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.profile-img-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    background-color: var(--light-gray);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary-color);
    background-color: var(--light-gray);
}

.contact-info {
    margin-bottom: 30px;
}

.contact-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.contact-item span:first-child {
    margin-right: 10px;
    min-width: 24px;
    text-align: center;
}

.skills-container {
    margin-bottom: 30px;
}

.skill-category {
    margin-bottom: 20px;
}

.skill-category h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.skill-bar {
    height: 8px;
    background-color: var(--light-gray);
    border-radius: 4px;
    margin-bottom: 6px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.online-presence {
    margin-top: 30px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.social-link:hover {
    color: var(--primary-color);
}

.social-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section {
    background-color: white;
    padding: 25px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
}

.section-title-icon {
    margin-right: 10px;
    font-size: 1.8rem;
}

.experience-timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.experience-item {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 3px solid var(--primary-color);
}

.experience-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    position: relative;
}

.experience-date {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.experience-description {
    margin-bottom: 15px;
}

.experience-bullets {
    padding-left: 20px;
}

.bullet-item {
    position: relative;
    margin-bottom: 8px;
    padding-left: 5px;
}

.bullet-item::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.highlight {
    background-color: rgba(255, 173, 31, 0.2);
    padding: 0 3px;
    border-radius: 3px;
}

.content-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.metric-card {
    flex: 1;
    min-width: 180px;
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.job-match {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.match-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.match-title {
    font-weight: bold;
    color: var(--dark-gray);
}

.match-percent {
    font-weight: bold;
    color: var(--primary-color);
}

.match-bar {
    height: 8px;
    background-color: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.match-level {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.match-desc {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.skill-tag {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.content-sample {
    background-color: var(--light-gray);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.content-sample h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.sample-list {
    list-style-type: none;
}

.sample-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.sample-list li::before {
    content: "🎬";
    position: absolute;
    left: 0;
    top: 2px;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.platform-item {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 15px 10px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.platform-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.platform-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.platform-name {
    font-size: 0.9rem;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 20px;
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 20px;
        align-items: start;
    }
    
    .profile-img-container {
        grid-row: span 2;
        width: 150px;
        height: 150px;
    }
    
    .contact-info {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .sidebar {
        display: block;
    }
    
    .profile-img-container {
        margin-bottom: 20px;
    }
    
    .banner h1 {
        font-size: 2rem;
    }
    
    .banner p {
        font-size: 1.1rem;
    }
}

.print-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 1.5rem;
    z-index: 100;
    transition: background-color 0.2s;
}

.print-button:hover {
    background-color: #3b4ddb;
}

@media print {
    .print-button {
        display: none;
    }
    
    body {
        padding: 0;
        background-color: white;
    }
    
    .banner {
        border-radius: 0;
    }
    
    .section, .sidebar {
        box-shadow: none;
        border: 1px solid #eee;
    }
}