/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&family=Montserrat:wght@400;500;600&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Clean, minimal color palette */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b6b6b;
    --accent-primary: #03a167;
    --accent-secondary: rgb(0, 109, 64);
    --border-color: #e5e7eb;
    --shadow-color: rgba(0, 51, 29, 0.05);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0f0f0f;
        --bg-secondary: #1a1a1a;
        --bg-tertiary: #262626;
        --text-primary: #fafafa;
        --text-secondary: #d4d4d4;
        --text-muted: #a3a3a3;
        --accent-primary: #03a167;
        --accent-secondary: #006d40;
        --border-color: #404040;
        --shadow-color: rgba(0, 0, 0, 0.2);
    }
}

body {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 18px;
    font-weight: 400;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

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

@media (prefers-color-scheme: dark) {
    .navbar {
        background: rgba(15, 15, 15, 0.95);
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px var(--shadow-color);
}

@media (prefers-color-scheme: dark) {
    .navbar.scrolled {
        background: rgba(15, 15, 15, 0.98);
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.brand-link:hover {
    transform: translateY(-1px);
}

.logo-container {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 100%;
    height: 100%;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.brand-link:hover .logo {
    color: var(--accent-secondary);
    transform: scale(1.05);
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-link:hover .logo-glow {
    opacity: 1;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s ease;
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.brand-link:hover .brand-text {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 6px 0;
    transition: 0.3s;
    border-radius: 1px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

/* Main content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero section */
.hero {
    padding: 4rem 0 3rem;
    background: var(--bg-primary);
}

.hero-heading {
    text-align: left;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.hero-heading h1 {
    color: var(--text-primary);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.profile-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hero-pitch {
    font-size: 1.75rem;
    color: var(--text-primary);
    max-width: 100%;
    margin: 0 0 2rem 0;
    line-height: 1.5;
    font-weight: 500;
}

.hero-pitch-secondary {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 100%;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

section:last-child {
    border-bottom: none;
}

.section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.section-title h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.75rem;
    max-width: 900px;
    margin: 0 0 2rem 0;
    line-height: 1.5;
    font-weight: 500;
}

/* Career teaser */
.career-teaser {
    background: var(--bg-secondary);
    text-align: center;
    padding: 5rem 0;
}

.career-teaser h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.career-teaser p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
}

/* Timeline */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px var(--shadow-color);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: var(--accent-primary);
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-primary);
    border-radius: 50%;
    left: 20px;
    top: 2.5rem;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--border-color);
}

.timeline-date {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.timeline-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-description:last-child {
    margin-bottom: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px var(--shadow-color);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: var(--accent-primary);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.testimonial-author {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.testimonial-role {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Work section */
#work {
    background: var(--bg-secondary);
    padding-bottom: 3rem;
}

#work .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.work-cta {
    text-align: left;
    max-width: 900px;
    margin: 0;
}

.work-cta h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.5;
}

.work-cta p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.4rem;
}

.work-cta ul {
    margin-bottom: 2.5rem;
}

.work-cta li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.4rem;
}

.work-ps {
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1.5rem;
    font-size: 1.125rem;
}

/* Contact email */
.contact-email {
    color: var(--accent-primary);
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    padding-left: 2rem;
}

/* Lists */
ul, ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    color: var(--text-muted);
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 3rem 0 4rem;
    }
    
    .hero-heading {
        margin-bottom: 3rem;
        padding: 0 10%;
    }
    
    .hero-heading h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 3rem;
        padding: 0 10%;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: left;
    }
    
    .hero-image {
        flex: 0 0 auto;
        order: -1;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .profile-photo {
        max-width: 80%;
        width: 80%;
    }
    
    .hero-pitch {
        font-size: 1.6rem;
    }
    
    .hero-pitch-secondary {
        font-size: 1.28rem;
    }
    
    .hero-actions {
        justify-content: flex-start;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 10px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-method {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 70px;
    }
    
    main {
        margin-top: 70px;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .timeline-content {
        padding: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}
