/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f4f4f4;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    color: #111;
    overflow: hidden; 
}

/* LAYOUT & SCROLLING */
main {
    height: 100dvh; 
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth; 
    scrollbar-width: none;  
    -ms-overflow-style: none;
}

main::-webkit-scrollbar { 
    display: none; 
}

section {
    height: 100dvh;
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    padding: 2rem;
    position: relative;

    /* Desktop alignment */
    padding-right: 15vw; 
    padding-left: 5vw;
}

.project-content {
    width: 100%;
    max-width: 800px;
}

/* TYPOGRAPHY */
.font-name { font-family: 'DM Serif Display', serif; }
.font-title { font-family: 'Arimo', sans-serif; }
.font-body { font-family: 'Open Sans', sans-serif; }

#home h1 {
    font-size: 3rem; 
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    text-align: center;
}

#home .email-link {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s;
}

#home .email-link:hover {
    border-bottom: 1px solid #111;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #111;
}

.project-year {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.project-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.project-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: flex-start;
}

.project-list li::before {
    content: "•";
    margin-right: 12px;
    font-size: 1.2rem;
    line-height: 1rem;
}

/* COMPONENTS (BUTTONS) */
.btn-group {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.project-content .btn-group {
    justify-content: flex-start;
}

.btn {
    background-color: #000;
    color: #fff;
    padding: 6px 18px; 
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem; 
    font-weight: 600;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.btn:hover {
    opacity: 0.8;
}

/* NAVIGATION SIDEBAR */
nav {
    position: fixed;
    right: 10vw; 
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

nav a {
    text-decoration: none;
    color: #aaa;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

nav a.active {
    color: #000;
    font-weight: 800;
    transform: scale(1.1);
}

nav a:hover {
    color: #666;
}

}
