* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: url('thumbnails/skylineDesktop.jpg') center center / cover no-repeat fixed;
    min-height: 100vh;
    padding-top: 80px; /* Account for fixed navbar */
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #764ba2;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(8px);
    transform: scale(1.1);
    z-index: -1;
}

.hero-blur-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text h1,h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: white;
    color: #667eea;
}

.cta-button.primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.headshot-container {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.headshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0%;
}

.headshot-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Page Sections */
.page-section {
    padding: 4rem 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.about-section {
    background: rgba(255, 255, 255, 0.05);
}

/* Active navigation state */
.nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* Navbar scroll effect */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* About Section */
.about-content {
    max-width: 1000px;
    text-align: center;
}

.about-text p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-skills {
    margin-top: 3rem;
    text-align: left;
}

.about-skills h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.skill-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-category h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    color: white;
    opacity: 0.9;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    text-align: center;
}

.contact-content p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info {
    margin: 3rem 0;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-method h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-method .contact-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.contact-method .contact-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.contact-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 3rem;
}

.contact-cta h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: white;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Resume Section */
.resume-actions {
    margin-bottom: 2rem;
    text-align: center;
}

.download-link {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.pdf-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 0;
    width: 75%;
    overflow: hidden;
    margin: 0 auto;
}

embed {
    display: block;
    width: 100%;
    height: 85vh;
    border: none;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
        background: url('thumbnails/skylineMobile.jpg') center center / cover no-repeat fixed;
    }

    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero Section Mobile */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem 1rem;
    }


    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: none;
    }

    .hero-actions {
        justify-content: center;
    }

    .headshot-container {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    h1 {
        font-size: 2rem;
    }

    .container {
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .page-section {
        padding: 3rem 0;
    }

    .pdf-container {
        border-radius: 8px;
    }

    embed {
        height: 75vh;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }

    .hero-content {
        padding: 1rem 0.5rem;
        gap: 1.5rem;
    }

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

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

    .hero-description {
        font-size: 0.9rem;
    }

    .headshot-container {
        width: 220px;
        height: 220px;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .container {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .page-section {
        padding: 2rem 0;
    }

    .pdf-container {
        border-radius: 6px;
    }

    embed {
        height: 70vh;
    }
}

/* Graphics Section */
.graphics-section {
    width: 100%;
    max-width: 1400px;
    margin-top: 4rem;
    padding: 2rem;
}

.graphics-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.graphics-subtitle {
    color: white;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.projects-subtitle {
    color: white;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.graphics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    width: 100%;
}

.graphics-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.graphics-link:hover {
    transform: translateY(-5px);
}

.graphics-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.graphics-link:hover .graphics-item {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.graphics-item h3 {
    color: #667eea;
    font-size: 1.25rem;
    padding: 1rem;
    margin: 0;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.project-thumbnail {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 0 12px 12px;
    background-color: #f8f9fa;
}

.click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.click-overlay span {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.graphics-link:hover .click-overlay {
    opacity: 1;
}

@media (max-width: 1100px) {
    .graphics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .graphics-section {
        margin-top: 3rem;
        padding: 1rem;
    }

    .graphics-section h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .graphics-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .project-thumbnail {
        height: 350px;
    }

    .click-overlay span {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .graphics-section {
        margin-top: 2rem;
        padding: 0.5rem;
    }

    .graphics-section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .graphics-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .graphics-item h3 {
        font-size: 1.1rem;
        padding: 0.75rem;
    }

    .project-thumbnail {
        height: 300px;
    }

    .click-overlay span {
        font-size: 1.1rem;
    }
}

