



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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #f7f7f5;
    color: #171717;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}







.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(247, 247, 245, 0.92);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #e5e5e2;
}

.nav-container {
    width: min(1120px, 90%);
    margin: auto;

    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1px;
    display: inline-block;
    transition: transform 0.35s ease;
}

.logo:hover {
    cursor: pointer;
    transform: scale(1.05);
    color : #32cd6b;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    font-size: 14px;
    color: #666;
    transition: 0.2s;
}

nav a:hover {
    color: #32cd6b;
}

.nav-button {
    border: 1px solid #171717;
    padding: 9px 16px;
    border-radius: 4px;

    font-size: 13px;
    font-weight: 600;

    transition: 0.2s;
}

.nav-button:hover {
    background: #171717;
    color: #32cd6b;
}.hero {
    min-height: 100vh;
    padding-top: 76px;

    display: flex;
    align-items: center;
}

.hero-container {
    width: min(1200px, 90%);
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;
    align-items: center;
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;

    margin-top: 50px;

    color: #777;
    
    margin-bottom: 20px;
}

.highlight, .highlight1 {
    display: inline-block;
    transition: transform 0.35s ease;
}

.highlight:hover {
    cursor: pointer;
    transform: scale(1.05);
    color : #32cd6b;
}

.highlight1:hover {
    cursor: pointer;
    transform: scale(1.05);
    color : #f24090;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -4px;

    margin-bottom: 28px;
}

.hero h1 span {
    color: #777;
}

.hero-description {
    max-width: 560px;

    color: #666;
    font-size: 16px;
}

.hero-actions {
    display: flex;
    gap: 20px;

    margin-top: 34px;
    margin-bottom: 50px;
}

.primary-button,
.secondary-button {
    padding: 13px 20px;
    border-radius: 4px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.2s;
}

.primary-button {
    background: #171717;
    color: white;
}

.primary-button:hover {
    transform: translateY(-2px);
}

.secondary-button {
    border: 1px solid #d4d4d0;
}

.secondary-button:hover {
    border-color: #171717;
}




.hero-photo {
    width: 370px;
    height: 500px;
    position: relative;
    justify-self: end;
    transform: translateX(-80px);
    background: #171717;
    border: 5px solid white;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    overflow: visible;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 22px;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.35s ease;
}

.hero-photo:hover img {
    transform: translateY(-24.5px) scale(1.1);}
.hero-photo::before {
    content: "";

    position: absolute;

    width: 105px;
    height: 105px;

    right: -38px;
    top: -38px;

    border-top: 2px solid #171717;
    border-right: 2px solid #171717;

    border-radius: 0 30px 0 0;

    z-index: 2;

    transition: transform 0.35s ease;
}

.hero-photo:hover::before {
    cursor: pointer;
    transform: translate(10px, -10px);
    border-color : #32cd6b;}
.hero-photo::after {
    content: "";

    position: absolute;

    width: 105px;
    height: 105px;

    left: -38px;
    bottom: -38px;

    border-left: 2px solid #171717;
    border-bottom: 2px solid #171717;

    border-radius: 0 0 0 30px;

    z-index: 2;

    transition: transform 0.35s ease;
}

.hero-photo:hover::after {
    cursor: pointer;
    transform: translate(-10px, 10px);
    border-color : #32cd6b;}
.section {
    padding: 120px 0;
}

.section-dark {
    background: #171717;
    color: white;
}

.section-container {
    width: min(1120px, 90%);
    margin: auto;
}

.section-heading {
    display: flex;
    align-items: baseline;

    gap: 18px;

    margin-bottom: 70px;

    padding-bottom: 18px;
}

.section-dark .section-heading {
    border-color: #333;
}

.section-number {
    font-size: 12px;
    font-weight: 600;
    color: #888;
}

.section-heading h2 {
    font-size: 38px;
    letter-spacing: -1.5px;}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 100px;
}

.about-text {
    max-width: 650px;
}

.about-text p {
    font-size: 19px;
    color: #555;

    margin-bottom: 22px;
}

.about-info {
    border-top: 1px solid #ddd;
}

.info-item {
    padding: 18px 0;

    border-bottom: 1px solid #ddd;

    display: flex;
    justify-content: space-between;

    gap: 20px;
}

.info-item span {
    color: #888;
    font-size: 13px;
}

.info-item strong {
    font-size: 13px;
    text-align: right;}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 1px;

    background: #333;
    border: 1px solid #333;
}

.skill-card {
    background: #171717;

    padding: 34px;
    min-height: 250px;

    transition: 0.25s;
}

.skill-card:hover {
    background: #202020;
}

.skill-number {
    font-size: 12px;
    color: #777;
}

.skill-card h3 {
    font-size: 22px;

    margin: 35px 0 12px;
}

.skill-card p {
    color: #999;
    font-size: 14px;

    max-width: 400px;
}

.tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;
}

.tags span {
    font-size: 11px;

    padding: 5px 9px;

    border: 1px solid #d5d5d2;
    border-radius: 3px;

    color: #666;
}

.section-dark .tags span {
    border-color: #444;
    color: #aaa;}

.projects {
    border-top: 1px solid #ddd;
}

.project {
    padding: 36px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;

    border-bottom: 1px solid #ddd;

    transition: 0.2s;
}

.project:hover {
    padding-left: 12px;
}

.project-content {
    max-width: 720px;
}

.project-header {
    display: flex;

    gap: 20px;

    margin-bottom: 15px;
}

.project-type,
.project-year {
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.3px;

    color: #888;
}

.project h3 {
    font-size: 27px;
    letter-spacing: -1px;

    margin-bottom: 8px;
}

.project p {
    color: #666;
    font-size: 14px;
}

.project-image {
    width: 300px;
    margin-top: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-link {
    white-space: nowrap;

    font-size: 13px;
    font-weight: 600;

    border-bottom: 1px solid #171717;

    padding-bottom: 3px;}

.timeline {
    border-top: 1px solid #333;
}

.timeline-item {
    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 50px;

    padding: 30px 0;

    border-bottom: 1px solid #333;
}

.timeline-year {
    color: #777;
    font-size: 13px;
}

.timeline-item h3 {
    font-size: 20px;

    margin-bottom: 7px;
}

.timeline-item p {
    color: #999;
    font-size: 14px;

    max-width: 650px;
}

.contact-section {
    padding: 160px 0;

    background: #e8e8e4;
}

.contact-container {
    width: min(1120px, 90%);
    margin: auto;
}

.contact-section h2 {
    font-size: clamp(50px, 7vw, 86px);

    line-height: 0.98;
    letter-spacing: -4px;

    margin-bottom: 30px;
}

.contact-section h2 span {
    color: #777;
}

.contact-section > .contact-container > p:not(.eyebrow) {
    max-width: 480px;

    color: #666;
    font-size: 15px;
}

.contact-button {
    display: inline-block;

    margin-top: 30px;

    font-size: 15px;
    font-weight: 600;

    border-bottom: 1px solid #171717;

    padding-bottom: 5px;
}

.social-links {
    display: flex;

    gap: 24px;

    margin-top: 70px;
}

.social-links a {
    font-size: 13px;
    color: #666;
}

.social-links a:hover {
    color: #111;
}

footer {
    background: #171717;
    color: #888;

    width: 100%;

    padding: 25px max(5%, calc((100% - 1120px) / 2));

    display: flex;
    justify-content: space-between;

    font-size: 11px;
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #171717;
}

.mobile-menu {
    display: none;
}

@media (max-width: 500px) {

    .desktop-nav,
    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        gap: 20px;
        padding: 25px 5%;
        background: white;
        border-bottom: 1px solid #ddd;
    }

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

    .mobile-menu a {
        text-decoration: none;
        color: #171717;
        font-size: 16px;
    }
}
@media (max-width: 500px) {

    nav {
        display: none;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: -3px;
    }

    .hero-photo {
    width: 100%;
    max-width: 560px;
    height: 560px;
    justify-self: center;

    order: -1;

    transform: none;
}

    .section {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .project {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-section {
        padding: 100px 0;
    }

    .contact-section h2 {
        letter-spacing: -3px;
    }

    footer {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 500px) {

    .nav-button {
        display: none;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-button,
    .secondary-button {
        text-align: center;
    }

    .hero-photo {
        width: 85%;
        height: 350px;

        border-radius: 22px;
    }

    .hero-photo img {
        border-radius: 17px;
    }
    
    .hero-photo:hover img {
        transform: translateY(-17px) scale(1.1);
    }

    .hero-photo::before {
        width: 75px;
        height: 75px;

        right: -25px;
        top: -25px;
    }

    .hero-photo::after {
        width: 75px;
        height: 75px;

        left: -25px;
        bottom: -25px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .skill-card {
        padding: 25px;
    }

    .contact-section h2 {
        font-size: 48px;
    }
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #171717;
}

.mobile-menu {
    display: none;
}

@media (max-width: 500px) {

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #171717;
    }

    .mobile-menu.active {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px 28px;
        background: white;
        z-index: 999;
        box-sizing: border-box;
    }

    .mobile-menu a {
        color: #171717;
        text-decoration: none;
        font-size: 16px;
    }
}

    .mobile-menu a:hover{
        color: #32cd6b;
        transform: translateY(-2px);
    }


    .experience-photos {
    display: flex;
    gap: 30px;
    margin-top: -20px;
    margin-left: 100px;
}

.experience-photos img {
    width: 210px;
    aspect-ratio: 7 / 5;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.35s ease;
}

.experience-photos img:hover {
    transform: scale(1.2);
    z-index: 10;
    cursor: pointer;
}

@media (max-width: 500px) {
    .experience-photos {
        margin-left: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-top: 25px;
    }

    .experience-photos img {
        width: 100%;
        aspect-ratio: 7 / 5;
        object-fit: cover;
        border-radius: 12px;
    }

    .experience-photos img:hover {
        transform: scale(1.12);
        z-index: 10;
    }
}