:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #27ae60;
    --background-color: #f8f9fa;
    --text-color: #333;
    --border-color: #e0e0e0;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --max-width: 1200px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    box-shadow: var(--shadow);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info a,
.contact-info span {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.contact-info a:hover {
    opacity: 0.8;
}

/* Navigation */
nav {
    background: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav .container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-btn {
    background: none;
    border: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: var(--background-color);
    border-color: var(--primary-color);
}

.nav-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Content Sections */
.content-section {
    display: none;
    padding: 3rem 0;
    min-height: 500px;
}

.content-section.active {
    display: block;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.skill-card ul {
    list-style: none;
}

.skill-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.skill-card li:last-child {
    border-bottom: none;
}

/* Projects */
.project {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.project-link {
    margin-bottom: 1rem;
}

.project-link a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.project-link a:hover {
    text-decoration: underline;
}

.project ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.project li {
    margin: 0.5rem 0;
}

/* Availability Section */
.availability-section {
    margin-top: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.availability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.availability-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: var(--background-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.availability-item:hover {
    transform: translateY(-2px);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.availability-item .icon {
    font-size: 1.5rem;
    min-width: 2rem;
    text-align: center;
}

.availability-item span:not(.icon) {
    font-weight: 500;
    color: var(--text-color);
}

/* PDF Viewer */
.pdf-viewer {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.pdf-viewer embed {
    border-radius: 4px;
}

/* Download Section */
.download-section {
    text-align: center;
    margin: 2rem 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.download-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.download-card h3 {
    margin-bottom: 1rem;
}

.download-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.download-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .contact-info {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .pdf-viewer embed {
        height: 500px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .availability-grid {
        grid-template-columns: 1fr;
    }
    
    .availability-item {
        padding: 0.75rem 1rem;
    }
}

/* Print Styles */
@media print {
    nav, footer {
        display: none;
    }
    
    header {
        background: none;
        color: var(--text-color);
        padding: 1rem 0;
    }
    
    header h1 {
        color: var(--primary-color);
    }
    
    .contact-info a,
    .contact-info span {
        color: var(--text-color);
    }
    
    .content-section {
        display: block !important;
        page-break-after: always;
    }
    
    .pdf-viewer {
        display: none;
    }
}