:root {
    --background: #0d0d0d;
    --text-primary: #f2f0ef;
    --text-dark: #2d2d2d;
    --sinopia: #d52d00;
    --tangelo: #ef7627;
    --tangerine: #ff9a56;
    --white: #ffffff;
    --super-pink: #d162a4;
    --rose-quartz: #b55690;
    --jazzberry: #a30262;
}
    
body {
    background-color: var(--background);
    color: var(--text-primary);
    width: 80%;
    margin: auto;
    padding: 5%;
    padding-bottom: 1%;
}

/* nav menu */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--super-pink);
    text-decoration: underline;
}

.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

/* end nav menu */

/* footer */

footer {
    margin-top: 2rem;
    margin-bottom: 0;
    text-align: center;
}

footer a {
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* end footer */

/* fade-in */

@keyframes fadeinall {
    0% {
        opacity: 1; }
    97% {
        opacity: 0; }
    98% {
        opacity: 0;
        -webkit-transform: translateY(0);
        transform: translateY(0); }
    100% {
        opacity: 0;
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        z-index: -1; } 
}

/* end fade-in */

/* hero section */

.hero-section {
    background-color: var(--background);
    color: var(--text-primary);
    padding: 6rem 2rem;
}

.hero-container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    animation: fade-in 1s ease-in both;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
	color: var(--rose-quartz);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.highlight {
	color: var(--tangelo);
}

.btn-cta {
    display: inline-block;
    background-color: var(--tangelo);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--rose-quartz);
}

.hero-image img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--jazzberry);
}

/* end hero section */

/* projects section */

.projects-section {
    color: var(--text-dark);
    padding: 4rem 2rem;
    text-align: center;
}

.projects-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--jazzberry);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.project-card h3 {
    font-size: 1.5rem;
    color: var(--sinopia);
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-project {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background-color: var(--tangelo);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-project.alt {
    background-color: var(--rose-quartz);
}

.btn-project:hover {
    background-color: var(--tangerine);
}

.btn-project.alt:hover {
    background-color: var(--super-pink);
}

/* end projects section */


/* resume section */

.resume-section {
    background-color: var(--background);
    color: var(--text-primary);
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.resume-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--sinopia);
    margin-bottom: 1rem;
}

.resume-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.resume-link {
    color: var(--super-pink);
    text-decoration: underline;
}

.resume-link:hover {
    color: var(--tangerine);
}

.resume-summary h3 {
    margin-top: 2rem;
    font-size: 1.4rem;
}

.resume-summary h3:nth-of-type(even) {
    color: var(--rose-quartz);
}

.resume-summary h3:nth-of-type(odd) {
    color: var(--tangelo);
}

.resume-summary ul {
    list-style: disc inside;
    padding-left: 0;
    margin: 1rem 0;
}

.resume-summary p, .resume-summary ul {
    font-size: 1.05rem;
    line-height: 1.6;
}

#resume-download {
    width: 100%;
}

.resume-button {
    display: flex;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    margin-top: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.resume-button.view {
    background-color: var(--sinopia);
    color: white;
}

.resume-button.view:hover {
    background-color: var(--jazzberry);
}

/* end resume section */

/* about section */

.about-section {
    background-color: var(--background);
    color: var(--text-primary);
    text-align: center;
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2rem;
    color: var(--jazzberry);
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-content strong {
    color: var(--tangelo);
}

/*end about section */

/* contact section */

.contact-section {
    background-color: var(--background);
    color: var(--text-primary);
    text-align: center;
    padding: 4rem 2rem;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--sinopia);
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    font-size: 3rem;
}

.social-links a {
	color: var(--white) !important;
}

.social-links a:hover {
    transition: color 0.3s ease;
    transform: translateY(-2px);
}

/* end contact section */



@media (max-width: 768px) {
    .hamburger {
        display: block;
        color: var(--white);
    }

    .nav-links {
        display: none; /* hide menu by default */
        position: absolute;
        top: 60px; /* just below navbar */
        right: 1rem;
        background-color: var(--background);
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .nav-links.show {
        display: flex;
    }

    body {
        width: 95%;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
        border-radius: 20px;
    }

    .experience li, .certs li, .skills li {
        list-style-type: none;
        padding-top: 1rem;
    }

    .education {
        padding-top: 1rem;
    }

    .resume-button {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .hero-content {
        flex: 1;
        text-align: left;
    }

    .hero-image {
        flex: 1;
        display: flex;
        justify-content: center;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
