@font-face {
    font-family: 'Mother Tongue';
    src: url('./../assets/font/MotherTongue.otf') format('opentype');
}

body {
    font-family: Georgia;
    margin: 0;
    background-color: #FFD3AC; /* Set the background color of the page */
    color: #331C08; /* Set the default text color */
    line-height: 1.6;
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
    color: #FFD3AC;
    transition: color 0.3s ease;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background-color: #664C36;
    padding: 1em 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    flex-wrap: nowrap; /* Important: Prevent wrapping */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}


/* Site Identity */
.site-identity h1 {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    color: #FFD3AC;
    margin: 0;
}


/* Navigation */
.site-navigation ul {
    list-style: none;
    display: flex;
    gap: 2.5em;
}

.site-navigation li {
    position: relative;
}

.site-navigation li::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: #06c1db;
    transition: width .3s ease;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.site-navigation li:hover::after {
    width: 100%;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.burger .bar {
    width: 25px;
    height: 3px;
    background-color: #FFD3AC;
    transition: all 0.3s ease;
}

/* Animate to X */
.burger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.burger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .site-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #664C36;
        padding-bottom: 1em;
    }

    .site-navigation.active {
        display: block;
    }

    .site-navigation ul {
        flex-direction: column;
        text-align: center;
    }

    .site-navigation li {
        padding: 1em 0;
        border-top: 1px solid #FFD3AC;
    }
}


.animated-section {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.animated-section.visible {
    opacity: 1;
}

.profile-pic {
    width: 150px;
    height: 213px;
    border-radius: 50%;
    margin-bottom: 1em;
}

.profile, .education, .training, .experience {
    padding: 2em;
    margin: 2em auto;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.profile h2, .education h2, .training h2, .experience h2 {
    font-family: Georgia;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    font-size: 1.5em;
    line-height: 1em;
}

.contact {
    text-align: center;
    padding: 2em;
    background-color: #664C36;
    color: #FFD3AC;
    border-top: 1px solid #331C08;
}

.contact h2 {
    font-family: Georgia;
    margin-bottom: 1em;
}

.contact a {
    margin: 0 1em;
    color: #FFD3AC;
    transition: color 0.3s;
}

.contact a:hover {
    color: #CCBEB1;
}

.contact img {
    width: 30px;
    height: 30px;
    margin: 0 0.5em;
}

.contact p {
    margin: 1em 0 0;
    font-size: 0.9em;
}