/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Cascadia Code', 'Consolas', 'Monaco', 'Courier New', monospace;
    font-weight: 100;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: translateY(-1px);
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 100;
    color: #ffffff;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.nav-right {
    display: flex;
    align-items: center;
}

/* Language toggle styles removed - English only website */

/* Main content */
.main {
    padding-top: 80px;
}

/* Hero section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.hero-logo-bg {
    width: auto;
    height: 45vh;
    max-width: 80vw;
    object-fit: contain;
    opacity: 1.0;
}

.hero-brand {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 100;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-align: center;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    margin: 0;
}

.hero-title {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 100;
    letter-spacing: -0.04em;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: calc(50% + 36vh);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
}

/* Hero subtitle removed */

/* CTA Section */
.cta-section {
    padding: 3rem 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 100;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #40E0D0 0%, #166534 100%);
    color: white;
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(75, 0, 130, 0.15);
}

.cta-btn.secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Interactive Section */
.interactive-section {
    padding: 5rem 0;
    background: rgba(10, 10, 10, 0.5);
    margin-top: 4rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #888888;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Content title styles moved to viewer overlay */

.splat-viewer-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(5, 5, 5, 0.5);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.splat-viewer-container:hover:not(.mouse-active) {
    border-color: rgba(64, 224, 208, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 5px rgba(64, 224, 208, 0.2), 0 0 0 1px rgba(64, 224, 208, 0.2);
}

.splat-viewer-container.mouse-active {
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(79, 70, 229, 0.3), 0 0 0 2px rgba(79, 70, 229, 0.2);
    transform: translateY(-2px);
}

.splat-viewer {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 16px;
    background: #000;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.splat-viewer:hover {
    transform: translateY(-1px);
}

.viewer-controls {
    margin-top: 1rem;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.control-instructions {
    color: #cccccc;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

.control-instructions strong {
    color: #ffffff;
}

/* Content Carousel */
.content-carousel {
    margin-top: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.carousel-container {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .content-carousel {
        padding: 0 1rem;
    }
}

.content-thumbnail {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.content-thumbnail:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.content-thumbnail.active {
    border-color: rgba(64, 224, 208, 0.6);
    box-shadow: 0 0 15px rgba(64, 224, 208, 0.3), 0 0 0 1px rgba(64, 224, 208, 0.2);
    transform: translateY(-2px);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.content-thumbnail:hover .thumbnail-image {
    transform: scale(1.05);
}

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 0.5rem;
    pointer-events: none;
}

.thumbnail-title {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 100;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Splat viewer focus styling removed - using only hover and mouse-active states */

.splat-viewer:focus {
    outline: none;
}

/* Contact section */
.contact-section {
    padding: 5rem 0;
    background: rgba(10, 10, 10, 0.5);
    margin-top: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 100;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-item p {
    color: #888888;
    font-size: 1rem;
}

/* Social links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #888888;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

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

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(5, 5, 5, 0.5);
}

.footer p {
    color: #666666;
    font-size: 0.875rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
    }
    
    .logo-img {
        height: 32px;
        max-width: 100px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .hero {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-brand {
        font-size: 1.5rem;
        top: 55%;
    }
    
    .hero-title {
        font-size: 1.5rem;
        top: calc(50% + 30vh);
    }
    
    .hero-logo-bg {
        height: 37.5vh;
        max-width: 90vw;
    }
    
    /* Hero subtitle removed */
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .interactive-section {
        padding: 3rem 0;
    }
    
    .splat-viewer-container {
        padding: 1rem;
    }
    
    .splat-viewer {
        height: 400px;
    }
    
    .viewer-controls {
        padding: 0.75rem;
    }
    
    .control-instructions {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .logo-img {
        height: 28px;
        max-width: 80px;
    }
    
    .logo-text {
        font-size: 1.125rem;
    }
    
    .hero-brand {
        font-size: 1.25rem;
        top: 50%;
    }
    
    .hero-title {
        font-size: 1.2rem;
        top: calc(50% + 24vh);
    }
    
    .hero-logo-bg {
        height: 30vh;
        max-width: 95vw;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .splat-viewer {
        height: 350px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Selection */
::selection {
    background: rgba(64, 224, 208, 0.3);
    color: #ffffff;
}

/* Focus styles */
button:focus,
a:focus {
    outline: 2px solid rgba(64, 224, 208, 0.5);
    outline-offset: 2px;
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpCentered {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 30px));
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-brand {
    animation: fadeInUpCentered 0.8s ease-out;
}

.hero-title {
    animation: fadeInUpCentered 0.8s ease-out;
}

.contact-item {
    animation: fadeInUp 0.8s ease-out;
}

.contact-item:nth-child(2) {
    animation-delay: 0.1s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.2s;
}

.splat-viewer-container {
    animation: fadeInUp 0.8s ease-out;
} 