/* ATS-Friendly Professional CV Stylesheet */

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

body {
    font-family: 'Calibri', 'Arial', 'Helvetica Neue', sans-serif;
    font-size: 11pt;
    line-height: 1.5;
    color: #333;
    background: #f5f5f5;
}

.resume {
    max-width: 8.5in;
    margin: 0 auto;
    padding: 0.5in 0.6in;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Header */
.header {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #2c3e50;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 24pt;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.header .title {
    font-size: 13pt;
    color: #555;
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-info {
    font-size: 10pt;
    color: #666;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-info a {
    color: #2980b9;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Sections */
.section {
    margin-bottom: 18px;
}

.section h2 {
    font-size: 12pt;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #bdc3c7;
    padding-bottom: 5px;
    margin-bottom: 12px;
}

.section > p {
    text-align: justify;
    color: #444;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    gap: 8px;
}

.skill-category {
    display: flex;
    gap: 8px;
}

.skill-category strong {
    min-width: 150px;
    color: #2c3e50;
}

.skill-category span {
    color: #555;
}

/* Experience Items */
.experience-item {
    margin-bottom: 15px;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.experience-item h3 {
    font-size: 11pt;
    font-weight: 600;
    color: #2c3e50;
}

.experience-item .company {
    font-size: 10.5pt;
    color: #555;
    font-style: italic;
}

.experience-item .date {
    font-size: 10pt;
    color: #666;
    white-space: nowrap;
    text-align: right;
}

.experience-item ul {
    margin-left: 18px;
    color: #444;
}

.experience-item li {
    margin-bottom: 3px;
}

/* Education */
.education-item {
    margin-bottom: 10px;
}

.education-item h3 {
    font-size: 11pt;
    font-weight: 600;
    color: #2c3e50;
}

.education-item .company {
    font-size: 10.5pt;
    color: #555;
    font-style: italic;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.project-item {
    font-size: 10.5pt;
    color: #444;
}

.project-item strong {
    color: #2c3e50;
}

/* Store Links */
.store-links {
    margin-bottom: 12px;
    font-size: 10.5pt;
    color: #444;
}

.store-links a {
    color: #2980b9;
    text-decoration: none;
}

.store-links a:hover {
    text-decoration: underline;
}

.more-apps {
    margin-top: 10px;
    font-size: 10pt;
    color: #666;
}

/* Additional Info */
.additional-info {
    list-style: none;
}

.additional-info li {
    margin-bottom: 5px;
    color: #444;
}

.additional-info strong {
    color: #2c3e50;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .resume {
        box-shadow: none;
        padding: 0;
        max-width: 100%;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .experience-item {
        page-break-inside: avoid;
    }
    
    a {
        color: #333;
        text-decoration: none;
    }
    
    .contact-info a::after {
        content: " (" attr(href) ")";
        font-size: 8pt;
        color: #666;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .resume {
        padding: 20px;
    }
    
    .experience-header {
        flex-direction: column;
    }
    
    .experience-item .date {
        text-align: left;
        margin-top: 2px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-category {
        flex-direction: column;
        gap: 2px;
    }
    
    .skill-category strong {
        min-width: auto;
    }
}
