:root {
    --bg-color: #050505;
    --text-color: #f4f4f4;
    --accent-color: #ffffff;
    --text-muted: #888888;
    --font-main: 'Outfit', sans-serif;
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--text-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.active {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    mix-blend-mode: difference;
}
.cursor-follower.active {
    width: 0;
    height: 0;
    border-color: transparent;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a {
    margin-left: 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
}

.hero-pretitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

/* Projects List */
.projects-list {
    padding: 10rem 4rem;
    border-top: 1px solid var(--border-color);
}

.project-item {
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.project-link {
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    z-index: 2;
    transition: padding 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-link:hover {
    padding-left: 2rem;
    padding-right: 2rem;
    color: var(--text-muted);
}

.project-num {
    font-size: 1.2rem;
    color: var(--text-muted);
    width: 100px;
}

.project-name {
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 400;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.project-link:hover .project-name {
    color: var(--accent-color);
}

.project-year {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Hover Reveal Effect */
.hover-reveal {
    position: fixed;
    width: 400px;
    height: 500px;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    transform: translate(-50%, -50%);
}

.hover-reveal__inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hover-reveal__img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Footer */
footer {
    padding: 10rem 4rem 4rem;
    background-color: #000;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-title {
    font-size: clamp(2rem, 6vw, 6rem);
    font-weight: 500;
    margin-bottom: 2rem;
}

.email-link {
    font-size: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s ease;
    transform-origin: right;
}

.email-link:hover::after {
    transform: scaleX(0);
}

.socials {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.socials a {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.socials a:hover {
    color: var(--text-color);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Project Pages Details */
.project-hero {
    height: 100vh;
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 4rem;
}

.project-hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 1;
    margin-bottom: 2rem;
}

.project-details {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-bottom: 4rem;
}

.detail-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 1.2rem;
}

.project-content {
    padding: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.project-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 4rem;
}

.project-gallery img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.next-project {
    padding: 10rem 4rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.next-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.next-title {
    font-size: clamp(2rem, 5vw, 5rem);
    display: inline-block;
    position: relative;
}

.next-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.next-title:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .navbar, .hero, .projects-list, footer, .project-hero, .project-content, .next-project {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .project-num, .project-year {
        display: none;
    }
    .cursor, .cursor-follower {
        display: none;
    }
    body, a {
        cursor: auto;
    }
    .hover-reveal {
        display: none !important;
    }
    .project-details {
        flex-direction: column;
        gap: 2rem;
    }
}
