/**
 * 3D Scene Styles
 * Positions the canvas beautifully fixed behind all content
 */

 body {
    margin: 0;
    overflow-x: hidden;
    background-color: #061429; /* Deep fallback color */
}

/* Make containers float above the 3D background */
.container, .navbar, .intro, section {
    position: relative;
    z-index: 2;
}

#canvas-container,
#canvas-container-construction,
#canvas-container-publicite,
#canvas-container-sante,
#canvas-container-ie {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.85;
    pointer-events: none;
}

/* Glassmorphism utility classes for modern vibe */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 15px;
    color: #fff;
}

/* Make sections translucent instead of solid block colors */
section {
    background: transparent !important;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 20, 41, 0.9) 0%, rgba(6, 20, 41, 0.4) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Darker theme text adjusting for general body */
body, p, h1, h2, h3, h4, h5, h6 {
    color: #f1f2f6; /* Lighter text for dark modern theme */
}

.text-dark {
    color: #f1f2f6 !important;
}