/* Main Styles for Michael Grosse's Portfolio */

:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

main {
    padding-top: 60px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

.section-heading {
    position: relative;
    margin-bottom: 2rem;
    font-weight: 700;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 1.5rem auto;
}

/* Page Header */
.page-header {
    background-color: var(--primary);
    color: white;
    padding: 6rem 0 3rem;
    margin-bottom: 2rem;
    position: relative;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/static/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 500px;
    color: white;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Skills */
.skill-badge {
    display: inline-block;
    background-color: #e9ecef;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.skill-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--primary);
    border-radius: 4px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.programming-skill, .tool-skill {
    text-align: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.programming-skill:hover, .tool-skill:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.programming-icon, .tool-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.programming-name, .tool-name {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: #e9ecef;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary);
}

.timeline-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-subtitle {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.timeline-date {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.timeline-badge {
    position: absolute;
    top: 0;
    left: -40px;
    width: 80px;
    height: 30px;
    background-color: var(--primary);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Projects */
.project-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    color: #6c757d;
    font-size: 2rem;
}

.tech-stack {
    margin-top: 1rem;
}

.tech-badge {
    display: inline-block;
    background-color: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Stats */
.stats-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stats-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
}

/* Contact */
.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.profile-image-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.profile-image-placeholder {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.profile-image-placeholder i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.language-name {
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}
