body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: white;
    line-height: 1.6;
}

.site-header {
    background-color: #2c2c2c;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e0a800;
    text-decoration: none;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #e0a800;
}

.content {
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; 
    margin-top: 20px;
}

.gallery img {
    width: 100%;       
    height: 300px;     
    object-fit: cover; 
    
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3); 
}

.btn-fullscreen {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #e0a800;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}
.btn-fullscreen:hover {
    background-color: #fff;
}
    .loading-overlay {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        background-color: #1a1a1a; 
        color: #e0a800;
        font-family: sans-serif;
        font-weight: bold;
        z-index: 10; 
    }

    .spinner {
        width: 50px;
        height: 50px;
        border: 5px solid rgba(255, 255, 255, 0.1);
        border-top: 5px solid #e0a800;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-bottom: 20px;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .progress-bar-container {
        width: 200px;
        height: 4px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
        overflow: hidden;
    }

    .progress-bar-fill {
        display: block;
        height: 100%;
        background-color: #e0a800;
        width: 0%;
        transition: width 0.1s;
    }
    
    model-viewer:not([loaded]) > .loading-overlay {
        display: flex;
    }
    
    model-viewer[loaded] > .loading-overlay {
        display: none;
    }