:root {
    --primary-color: #00cc00;
    --secondary-color: #00ff00;
    --background-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #00cc00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

#title-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

header {
    position: relative;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.4) 100%);
}

.header-content {
    text-align: center;
    padding: 0.5rem;
}

.title {
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--primary-color);
    text-shadow: 
        0 0 20px rgba(0, 204, 0, 0.3),
        0 1px 0 rgba(0, 102, 0, 0.2),
        0 2px 0 rgba(0, 102, 0, 0.2),
        0 3px 0 rgba(0, 102, 0, 0.2),
        0 4px 0 rgba(0, 102, 0, 0.2),
        0 5px 0 rgba(0, 102, 0, 0.2),
        0 6px 0 rgba(0, 102, 0, 0.2),
        0 7px 0 rgba(0, 102, 0, 0.2),
        0 8px 0 rgba(0, 102, 0, 0.2),
        0 9px 0 rgba(0, 102, 0, 0.2),
        0 10px 0 rgba(0, 102, 0, 0.2);
    margin-bottom: 0.25rem;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
    position: relative;
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) translateZ(20px);
    letter-spacing: 2px;
}

.title::before {
    content: 'Sammy\'s 3D Prints';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.3;
    transform: translateZ(-10px);
    filter: blur(2px);
    z-index: -1;
}

.title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.5;
    filter: blur(8px);
    transform: translateZ(-20px);
    z-index: -1;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 0;
}

.muted {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.6;
    margin-top: 0.5rem;
}

.gallery {
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
}

.image-container {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .image-container img {
    transform: scale(1.1);
}

.gallery-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.gallery-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

footer {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-button {
    position: relative;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-button:hover .button-glow {
    opacity: 0.3;
}

@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .gallery {
        padding: 2rem 1rem;
    }
} 