/* Clean Minimalist Theme with Image Background */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f7fafc;
    overflow-x: hidden;
}

/* Header with Image Background */
header {
    height: 120vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: white;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), 
                url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: grayscale(100%);
    z-index: -1;
}

.name-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
    max-width: 600px;
    line-height: 1.6;
}

/* Headshot Styles */
.headshot-container {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
    display: flex;
    justify-content: center;
}

.headshot {
    width: 187.5px;
    height: 187.5px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.headshot:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: white;
    font-size: 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-links {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #2d3748;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #3182ce;
    background: rgba(49, 130, 206, 0.1);
}

.nav-links a.active {
    color: #3182ce;
    background: rgba(49, 130, 206, 0.1);
}

/* Main Content */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: white;
    margin-top: 0;
}

.section {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2d3748;
    font-weight: 700;
    text-align: center;
}

/* Experience Cards */
.experience-card {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(49, 130, 206, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #3182ce;
    background: #f1f5f9;
}

/* Card Header with Logo */
.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.logo-container {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 0.5rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.company-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.header-content {
    flex: 1;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #3182ce;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: top;
}

.experience-card:hover::before {
    transform: scaleY(1);
}

.date {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.position {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.organization {
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sub-position {
    border-left: 2px solid rgba(49, 130, 206, 0.2);
    margin-left: 1rem;
    padding-left: 1rem;
    margin-top: 1rem;
}

.sub-position .date {
    font-size: 0.8rem;
}

.sub-position .position {
    font-size: 1.2rem;
}

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

.skill-category {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(49, 130, 206, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.skill-category:hover {
    border-color: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    background: #f1f5f9;
}

.skill-category h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #4a5568;
}

/* Contact Section */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-link {
    color: #3182ce;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid #3182ce;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-link:hover {
    background: #3182ce;
    color: white;
    transform: translateY(-2px);
}

.linkedin-link {
    padding: 1rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.linkedin-link:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .name-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .content {
        padding: 2rem 1rem;
    }
    
    .experience-card {
        padding: 1.5rem;
    }
    
    .nav-links {
        padding: 0 1rem;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .headshot {
        width: 150px;
        height: 150px;
    }
    
    .logo-container {
        width: 50px;
        height: 50px;
    }
    
    .card-header {
        gap: 1rem;
    }
} 