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

body {
    font-family: "Trebuchet MS", "Verdana", sans-serif;
    background: url("assets/background-image.png") repeat;
    background-color: #c8daf5; /* fallback */
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- GLOBAL WIDTH ALIGNMENT --- */
header, 
.navbar,
.window,
footer {
    display: block;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* --- HEADER WINDOW --- */
header {
    margin-top: 40px;
    background-color: #ffffff;
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 3px 3px 0 #1a1a1a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* -- INTRO LAYOUT */
.intro-section {
    padding: 30px 40px;
}

.intro-flex {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.profile-pic {
    width: 180px;
    height: auto;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
    background-color: #fff;
    flex-shrink: 0;
    margin-top: 10px;
}

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

.intro-text h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.intro-text p {
    margin-bottom: 16px;
    line-height: 1.5;
    color: #333;
}

.quick-info {
    list-style: none;
    padding-left: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.quick-info li {
    margin-bottom: 4px;
}

/* --- SKILLS & LANGUAGES --- */
.skills-section,
.languages-section {
    margin-top: 16px;
    text-align: left;
}

.skills-section h3,
.languages-section h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.skills-icons,
.languages-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.skills-icons img,
.languages-icons img {
    width: 28px;
    height: 28px;
    image-rendering: crisp-edges;
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    background-color: #fff;
    padding: 4px;
    box-shadow: 1px 1px 0 #1a1a1a;
}

.window-bar {
    background-color: #a4bde9;
    color: #1a1a1a;
    font-weight: bold;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.window-buttons {
    display: flex;
    gap: 4px;
}

.window-buttons button {
    background-color: #e1ecff;
    border: 1px solid #1a1a1a;
    width: 18px;
    height: 18px;
    font-size: 12px;
    line-height: 10px;
    cursor: pointer;
}

.window-buttons button:hover {
    background-color: #c8daf5;
}

.intro-section {
    padding: 40px 20px;
}

.profile-pic {
    width: 180px;
    height: auto;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
    margin-bottom: 16px;
    background-color: #fff;
}

h1 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

p {
    color: #333;
    font-size: 1.05rem;
}

/* --- NAV BAR --- */
.navbar {
    margin-top: 15px;
    background-color: #ffffff;
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 3px 3px 0 #1a1a1a;
    padding: 10px 20px;
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center; /* -- center-aligned buttons */
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.navbar li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    cursor: pointer;
}

.navbar li img {
    width: 18px;
    height: 18px;
}

.navbar li:hover {
    text-decoration: underline;
    color: #0047ab;
}

/* -- WINDOWS (ABOUT, PROJECTS, CONTACT) -- */
.window {
    background-color: #ffffff;
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 3px 3px 0 #1a1a1a;
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    overflow: hidden;
    text-align: left;
    box-sizing: border-box;
}

.window-content {
    padding: 30px 40px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.window-content p,
.window-content ul {
    width: 100%;
    max-width: 700px;
    text-align: left;
}

.window h2,
.window h3 {
    width: 100%;
    text-align: center;
}

.project-card {
    background-color: #e1ecff;
    border: 2px solid #1a1a1a;
    border-radius: 6px;
    padding: 12px;
    margin: 10px 0;
    box-shadow: 2px 2px 0 #1a1a1a;
}

.project-card h3 {
    margin-bottom: 8px;
}

.btn {
    display: inline-block;
    padding: 6px 10px;
    background-color: #a4bde9;
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    color: #1a1a1a;
}

.btn:hover {
    background-color: #c8daf5;
}

/* -- CONTACT -- */

.contact a {
    color: #0047ab;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* -- FOOTER -- */
footer {
    margin: 25px 0;
    background-color: #ffffff;
    border: 3px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 3px 3px 0 #1a1a1a;
    padding: 10px 20px;
    width: fit-content;
    font-size: 0.9rem;
}