/* Base styles and CSS variables for theming */
:root {
    --primary-color: #2563eb;      /* Blue 600 */
    --primary-dark: #1d4ed8;       /* Blue 700 */
    --primary-light: #3b82f6;      /* Blue 500 */
    --accent-color: #0ea5e9;       /* Sky 500 */
    --text-primary: #1f2937;       /* Gray 800 */
    --text-secondary: #4b5563;     /* Gray 600 */
    --background-light: #f9fafb;   /* Gray 50 */
    --background-white: #ffffff;
    --border-color: #e5e7eb;       /* Gray 200 */
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
    background-color: var(--background-light);
}

/* Common layout elements */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.nav-wrapper {
    background-color: var(--background-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Cards and Sections */
.card {
    background-color: var(--background-white);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: R1.5rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Skill bars */
.skill-bar {
    width: 100%;
    height: 0.5rem;
    background-color: var(--border-color);
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.skill-progress {
    height: 100%;
    border-radius: 9999px;
    background-color: var(--primary-color);
}

/* Social links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive Grid */
.grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.footer {
    background-color: var(--background-white);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.hidden { display: none; }

/* Print styles */
@media print {
    .nav-wrapper, .footer {
        display: none;
    }
    
    body {
        background-color: white;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}