/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Hero Banner Section */
.hero {
    text-align: center;
    padding-top: 2rem;
    background-color: #fafafa;
}

.hero-image {
    max-width: 100%;
    max-height: 300px;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
}

.hero-text {
    padding: 2rem 1.5rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    color: #222;
}

.hero .tagline {
    font-size: 1.1rem;
    font-weight: 300;
    color: #555;
}

/* Main Content */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Styles */
section {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

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

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #222;
}

/* Summary Section */
.summary p {
    font-size: 1.1rem;
    color: #555;
    max-width: 65ch;
}

/* Resume Section */
.resume-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.resume-container embed {
    display: block;
    border: none;
}

.resume-fallback {
    padding: 1rem;
    text-align: center;
    background: #f5f5f5;
    font-size: 0.9rem;
}

.resume-fallback a {
    color: #0066cc;
    text-decoration: none;
}

.resume-fallback a:hover {
    text-decoration: underline;
}

/* Contact Chips */
.contact-chips {
    display: -webkit-flex;
    display: flex;
    gap: 1rem;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.chip {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    color: #444444;
    text-decoration: none;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.chip:hover {
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    color: #222222;
}

.chip svg {
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    opacity: 0.7;
    width: 16px;
    height: 16px;
}

.chip:hover svg {
    opacity: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 1rem;
    }

    .hero-image {
        max-height: 400px;
    }

    .hero-text {
        padding: 1.5rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    h2 {
        font-size: 1.3rem;
    }

    .summary p {
        font-size: 1rem;
    }

    .resume-container embed {
        height: 500px;
    }

}

@media (max-width: 480px) {
    .hero {
        padding-top: 0.5rem;
    }

    .hero-image {
        max-height: 300px;
    }

    .hero-text {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    main {
        padding: 0 1rem;
    }

    .resume-container embed {
        height: 400px;
    }
}
