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

body {
    font-family: 'Lora', serif;
    line-height: 1.5;
    color: #333;
    background-color: #f1e4e4;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px; 
}


/* Header */
header {
    background-color: #b78583;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 60px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    transition: all 0.3s ease; 
    position: relative; 
    font-weight: bold;
}

nav ul li a:hover {
    color: #e7c2c2;
    transition: all 0.3s ease-in-out; 
}

/* Hamburger icon */
.hamburger {
    display: none;
    font-size: 60px;
    cursor: pointer;
    color: white;
    position: absolute;
}

#menu-toggle {
    display: none;
}


/* Home */
#home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 180px;
}

.intro {
    display: flex;
    align-items: center;
    width: 100%;
}

.intro-text {
    flex: 1;
    text-align: right;
}

.intro-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    color: #9f7d7d;
    margin-bottom: 10px;
}

.intro-text p {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    color: #8e6765;
    margin-bottom: 20px;
}

.intro-text a {
    display: inline-block;
    margin: 0 10px;
    vertical-align: middle;
}

.intro-text img {
    width: 40px; 
    height: 40px;
    transition: all 0.3s ease-in-out;
}

.intro-text img:hover {
    transform: scale(1.1);
}

.highlight {
    color: #6d5c5c;  
}

.intro-photo {
    flex: 1;
    text-align: right;
}

.intro-photo img {
    border-radius: 50%;
    width: 350px;
    height: 350px;
    object-fit: cover;
    border: 5px solid #d0a5a7;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}


/* Projects */
#projects {
    padding: 50px 0;
    background-color: #e0cece;
}

.projects-header {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 3rem;
    color: #6d5c5c;
    margin-bottom: 50px;
    text-align: center;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 100px;
    justify-content: center;
    align-items: flex-start;
}

.projects-item {
    max-width: 100%;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    background-color: #f1e4e4;
    transition: all 0.3s ease-in-out;
}

.projects-item:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.projects-item img {
    width: auto;
    height: 200px;
    border-radius: 5px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.projects-title {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    color: #9f7d7d;
    margin-top: 10px;
}

.projects-description {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #8e6765;
    margin-top: 10px;
}

.project-btn {
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #cbb1b1; 
    color: #755352;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    bottom: 10px;
    transition: all 0.3s ease-in-out;
}

.project-btn:hover {
    background-color: #8e6765;
    color: #fff; 
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}


/* Skills */
#skills{
    text-align: center;
    margin: 50px 0;
    font-family: 'Poppins', sans-serif;
}

.skills-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #6d5c5c;
}

.skills-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.skill {
    display: flex;
    align-items: center;
    background-color: #af8989;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    color: #f1e4e4;
}

.skill:hover {
    background-color: #8e6765;
    transition: all 0.3s ease-in-out;
}

.skill-logo {
    width: auto;
    height: 40px;
    margin-right: 10px;
}

.skill-name {
    font-size: 1rem;
    font-weight: bold;
}
 

/* Experiences */
#experience {
    padding: 50px 0;
    background-color: #e0cece;
}

.experience-title {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 3rem;
    color: #6d5c5c;
    margin-bottom: 30px;
    text-align: center;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.experience-item {
    background-color: #f1e4e4;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.experience-item:hover {
    transform: scale(1.02);
}

.experience-role {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: #9f7d7d;
    margin-bottom: 5px;
}

.experience-date {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #4f3937;
    font-weight: bold;
    margin-bottom: 15px;
}

.experience-description {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #755352;
}

.experience-description a {
    color: #6d5c5c;
    text-decoration: none;
    font-weight: bold;
}

.experience-description a:hover {
    color: #9f7d7d;
    text-decoration: underline;
}


/* Footer */
footer {
    background-color: #b78583;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 10px 0;
    font-size: 0.9rem;
}

.footer-content a {
    color: #fff;
    text-decoration: none;
}

.footer-content a:hover {
    color: #e7c2c2;
}

.socmed {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    transition: all 0.3s ease-in-out;
}

.socmed a {
    transition: all 0.3s ease-in-out;
}

.socmed a:hover {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

/*  Desktop Size */
@media (min-width: 1024x) {
    nav ul {
        display: block; /* Menu visible on desktop */
    }

    .hamburger {
        display: none; /* Hide hamburger on desktop */
    }
}


/* Tablet/Mobile Size */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    #home {
        flex-direction: column;
        padding: 50px 20px;
    }

    .intro {
        flex-direction: column;
    }

    .intro-text {
        text-align: center;
        margin-bottom: 30px;
    }

    .intro-text h1 {
        font-size: 5rem;
    }

    .intro-text p {
        font-size: 1.5rem;
    }

    .intro-text img {
        width: 70px;
        height: 70px;
    }

    .intro-photo {
        text-align: center;
        margin-bottom: 30px;
    }

    .intro-photo img {
        width: 420px;
        height: 420px;
    }

    .projects-list {
        grid-template-columns: 1fr; 
        grid-gap: 40px;
        margin: 0 20px;
    }

    .projects-item img {
        width: auto;
        height: 300px;
    }

    .project-description, .experience-description, .skill-name {
        font-size: 1.5rem;
    }

    .project-btn {
        font-size: 2rem;
        padding: 10px 8px;
    }

    .skills-grid {
        gap: 10px;
        margin: 0 20px;
    }
    
    .experience-list {
        flex-direction: column;
        margin: 0 20px;
    }

    .projects-title, .experience-role {
        font-size: 2.3rem;
    }

    .experience-title, .projects-header, .skills-title {
        font-size: 4rem;
    }

    footer {
        padding: 15px 0;
    }

    .socmed {
        gap: 10px;
    }

    nav {
        font-size: 2rem;
    }

    nav ul.menu{
        display: none; 
    }

    .hamburger {
        display: block; 
    }

    nav ul.menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%; 
        background-color: #a87575;
        opacity: 0.95;
        padding: 2em 0;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
        transition: transform 0.4s ease; 
        transform: translateX(-100%);
        z-index: 9999; 
        margin-top: 140px;
    }

    #menu-toggle:checked + .hamburger + nav ul.menu {
        transform: translateX(0); 
    }

    nav ul li {
        display: block;
        text-align: center;
        margin: 80px 0;
    }

    nav ul li a {
        font-size: 2rem;
    }

    header {
        height: 140px;
    }

    .socmed img {
        width: 70px;
        height: 70px;
    }
}