* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #1a1a2e;
    color: white;
    position: relative;
    font-family: 'Fredoka One', sans-serif;
}

/* Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pictures/flowers.png'); /* Update with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: brightness(0.99) contrast(1.1);
    z-index: -1;
}

/* Pink overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
        background: linear-gradient(135deg, 
        rgba(255, 77, 141, 0.25) 0%, 
        rgba(26, 26, 46, 0.85) 70%);
    z-index: -1;
}

/* Horizontal Text Navigation */
.text-nav {
    position: fixed;
    top: 30px;
    right: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    z-index: 1002; /* Higher than vertical nav */
    padding: 15px 25px;
    border-radius: 30px;
}

.text-nav-item {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 5px 0;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-nav-item:hover {
    transform: translateY(-2px);
    color: #ff4d8d;
}

.text-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff4d8d;
    transition: all 0.3s ease;
}

.text-nav-item:hover::after {
    width: 100%;
}

/* Adjust main content for the horizontal nav */
.showcase-container {
    margin-left: 120px;
    padding: 100px 40px 60px; /* Added more top padding */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .text-nav {
        right: 20px;
        gap: 20px;
        padding: 12px 20px;
    }
    
    .text-nav-item {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .text-nav {
        top: 20px;
        right: 50%;
        transform: translateX(50%);
        gap: 15px;
        padding: 10px 15px;
    }
    
    .text-nav-item {
        font-size: 0.9rem;
    }
    
    .showcase-container {
        padding: 90px 20px 40px; /* Adjusted for mobile */
    }
}

@media (max-width: 480px) {
    .text-nav {
        gap: 12px;
        padding: 8px 12px;
    }
    
    .text-nav-item {
        font-size: 0.8rem;
    }
    
    .showcase-container {
        padding: 80px 15px 40px; /* Further adjustment for small screens */
    }
}

/* Vertical Navigation */
.vertical-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.8);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: all 0.3s ease;
}


.nav-item:hover img, .nav-item.active img {
    transform: scale(1.1);
}


/* Navigation Indicator */
.nav-indicator {
    position: absolute;
    left: -5px;
    width: 5px;
    border-radius: 5px;
    background: #ff4d8d;
    transition: all 0.4s ease;
    z-index: 1001;
}

/* Main Content */
.showcase-container {
    margin-left: 120px;
    padding: 40px;
}

.showcase-section {
    min-height: 100vh;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.section-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #e2e2e2;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 77, 141, 0.3);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.project-info p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #e2e2e2;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .vertical-nav {
        left: 10px;
        padding: 15px 8px;
    }
    
    .nav-item img {
        width: 35px;
        height: 35px;
    }
    
    .nav-item span {
        font-size: 0.8rem;
    }
    
    .showcase-container {
        margin-left: 100px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .vertical-nav {
        flex-direction: row;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        padding: 15px;
    }
    
    .nav-indicator {
        display: none;
    }
    
    .showcase-container {
        margin-left: 0;
        padding: 20px;
        margin-bottom: 100px;
    }
    
    .section-header h2 {
        font-size: 2.8rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .vertical-nav {
        width: 95%;
        padding: 10px;
    }
    
    .nav-item {
        padding: 8px;
    }
    
    .nav-item img {
        width: 30px;
        height: 30px;
    }
    
    .nav-item span {
        font-size: 0.7rem;
    }
    
    .section-header h2 {
        font-size: 2.3rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
    }
}

/* Work in Progress Section Styles */
.projects-side-by-side-wip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.usd-linker-project,
.skygen-project {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.usd-linker-project:hover,
.skygen-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 77, 141, 0.3);
}

.usd-linker-header,
.skygen-header {
    margin-bottom: 25px;
    text-align: center;
}

.usd-linker-header h3,
.skygen-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.usd-linker-header p,
.skygen-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #e2e2e2;
    opacity: 0.8;
}

.usd-linker-image-container,
.skygen-image-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.usd-linker-image,
.skygen-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.usd-linker-image:hover,
.skygen-image:hover {
    transform: scale(1.02);
}

.usd-linker-description,
.skygen-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #e2e2e2;
    opacity: 0.9;
}

/* Responsive adjustments for WIP section */
@media (max-width: 768px) {
    .projects-side-by-side-wip {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .usd-linker-project,
    .skygen-project {
        padding: 20px;
    }
    
    .usd-linker-header h3,
    .skygen-header h3 {
        font-size: 1.5rem;
    }
}

/* Project Container Background Styles - Matching WIP Section */
.sync-project,
.autorig-project,
.arabesque-project,
.static-project,
.fleura-project,
.vr-chemistry-project,
.lantern-project,
.cracks-project,
.ray-marching-project {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease;
}

.sync-project:hover,
.autorig-project:hover,
.arabesque-project:hover,
.static-project:hover,
.fleura-project:hover,
.vr-chemistry-project:hover,
.lantern-project:hover,
.cracks-project:hover,
.ray-marching-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 77, 141, 0.3) !important;
}

/* Update text colors to match WIP section */
.sync-header h3,
.autorig-header h3,
.arabesque-header h3,
.static-header h3,
.fleura-header h3,
.vr-chemistry-header h3,
.lantern-header h3,
.cracks-header h3,
.ray-marching-header h3 {
    color: #ffffff !important;
}

.sync-header p,
.autorig-header p,
.arabesque-header p,
.static-header p,
.fleura-header p,
.vr-chemistry-header p,
.lantern-header p,
.cracks-header p,
.ray-marching-header p {
    color: #e2e2e2 !important;
    opacity: 0.8;
}

/* Update description text colors */
.sync-description p,
.autorig-description p,
.fleura-description p,
.vr-chemistry-description p,
.lantern-description p,
.cracks-description p,
.ray-marching-description p {
    color: #e2e2e2 !important;
    opacity: 0.9;
}

/* Update technical details text colors */
.technical-details h4 {
    color: #ffffff !important;
}

.tech-feature h5 {
    color: #ffffff !important;
}

.tech-feature p {
    color: #e2e2e2 !important;
    opacity: 0.8;
}

/* Update description and technical details backgrounds */
.sync-description,
.autorig-description,
.fleura-description,
.vr-chemistry-description,
.lantern-description,
.cracks-description,
.ray-marching-description,
.technical-details {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.tech-feature {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* Add the new Houdini projects to the existing project container styles */
.gridgen-project,
.objmerge-project {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease;
}

.gridgen-project:hover,
.objmerge-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 77, 141, 0.3) !important;
}

/* Add to the existing header text colors */
.gridgen-header h3,
.objmerge-header h3 {
    color: #ffffff !important;
}

.gridgen-header p,
.objmerge-header p {
    color: #e2e2e2 !important;
    opacity: 0.8;
}

/* Add to the existing description text colors */
.gridgen-description p,
.objmerge-description p {
    color: #e2e2e2 !important;
    opacity: 0.9;
}

/* Add to the existing description backgrounds */
.gridgen-description,
.objmerge-description {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}