:root {
    --bg: #ecebe9;
    --text: #1a1a1a;
    --accent: #d4a373;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor */
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* We will use custom scrolling */
    height: 100vh;
    user-select: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--text);
    color: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, background-color 0.3s;
    mix-blend-mode: difference;
}

.cursor.active {
    transform: translate(-50%, -50%) scale(0.8);
    background-color: var(--accent);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    mix-blend-mode: difference;
    color: white;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 600;
}

.info {
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* Progress Bar */
.progress-container {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: rgba(0,0,0,0.1);
    z-index: 100;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--text);
    transition: width 0.1s;
}

/* Central Title */
.title-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    text-align: center;
    mix-blend-mode: exclusion;
    color: white;
}

.title-overlay h1 {
    font-family: 'Playfair Display', serif;
    font-size: 12vw;
    line-height: 0.9;
    font-weight: 400;
}

/* Horizontal Gallery */
.gallery-wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gallery {
    display: flex;
    gap: 5vw;
    padding: 0 10vw;
    will-change: transform;
}

.gallery-item {
    flex: 0 0 calc(30vw);
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.5s, transform 0.5s;
    user-drag: none;
    -webkit-user-drag: none;
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 70vw;
        height: 50vh;
    }
    .title-overlay h1 {
        font-size: 18vw;
    }
}
