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

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    background-color: #ffffff;
    overflow-x: hidden;
    height: 100vh;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 100;
    text-align: center;
}

header h1 {
    font-size: 24px;
    font-weight: 300;
}

#gallery-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -120px;
}

#three-canvas {
    display: block;
}

#hover-info {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    transition: opacity 0.3s ease;
}

#hover-info.hidden {
    opacity: 0;
    pointer-events: none;
}

#hover-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 300;
}

#hover-info p {
    font-size: 16px;
    color: #666;
}

#carousel-nav {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 100;
}

.nav-btn {
    background: none;
    border: 2px solid #333;
    color: #333;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #333;
    color: white;
}

/* Project page styles */
#project-container {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#project-canvas {
    width: 100%;
    height: 400px;
    display: block;
}

#project-content {
    max-width: 800px;
    padding: 40px 20px;
    width: 100%;
}

#project-title {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 30px;
}

#project-description {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

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

.back-btn {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #333;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-50%) translateX(-3px);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 100;
    text-align: center;
    position: relative;  /* Add this to make absolute positioning work */
}