:root {
    --bg: #050505;
    --text: #ffffff;
    --accent: #1ab9ff;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background-color: var(--text);
    border: none;
}

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

.back-link {
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.back-link:hover {
    transform: translateX(-5px);
}

.back-link svg {
    width: 20px;
    height: 20px;
}

.nav-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 8vw;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
}

.line-mask {
    overflow: hidden;
    display: inline-block;
}

.line-inner {
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.6;
    margin-top: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* Gallery */
.gallery-section {
    padding: 0 5vw;
    max-width: 1600px;
    margin: 0 auto;
}

.project-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25vh;
    gap: 10vw;
}

.project-item.reverse {
    flex-direction: row-reverse;
}

.project-image-wrapper {
    flex: 1.5;
    height: 70vh;
    overflow: hidden;
    position: relative;
}

.project-image {
    width: 100%;
    height: 120%; /* For parallax */
    background-size: cover;
    background-position: center;
    transform-origin: center;
    filter: brightness(0.7) contrast(1.1);
    transition: filter 0.5s;
}

.project-image-wrapper:hover .project-image {
    filter: brightness(1) contrast(1);
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10vw;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.2);
    pointer-events: none;
    z-index: 10;
}

.project-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-meta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.project-details h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    margin: 0 0 1rem 0;
    line-height: 1.1;
}

.project-details p {
    font-size: 1.2rem;
    opacity: 0.7;
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.view-link {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
    width: fit-content;
}

.view-link span {
    transition: transform 0.3s;
}

.view-link:hover {
    border-color: var(--accent);
}

.view-link:hover span {
    transform: translateX(10px);
}

.showcase-footer {
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-footer h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4vw;
    opacity: 0.2;
}

@media (max-width: 768px) {
    .project-item, .project-item.reverse {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 15vh;
    }
    .project-image-wrapper {
        flex: none;
        width: 100%;
        height: 50vh;
    }
    .project-details {
        flex: none;
        width: 100%;
    }
    .project-details h2 {
        font-size: 2.5rem;
    }
    .showcase-nav {
        padding: 1.5rem;
    }
    .cursor {
        display: none;
    }
}


/* Navigation Switcher */
.nav-title-wrapper {
    position: relative;
    cursor: pointer;
}

.nav-title {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s;
}

.nav-title:hover {
    opacity: 0.8;
}

.switcher-box {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    min-width: 130px;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 9999;
}

.switcher-box.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.switcher-link {
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
    text-align: right;
    letter-spacing: 1px;
}

.switcher-link:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-right: 20px;
}
