
/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

body {
    color: white;
    overflow-x: hidden;
    height: 100vh;
    background: #000;
}

/* Loadscreen */
.loadscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loadscreen-logo {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    color: transparent;
    background: linear-gradient(90deg, #0a1f44, #1a3a8f, #3a5acf);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 15px rgba(26, 58, 143, 0.3);
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.progress-bar {
    width: min(200px, 80%);
    height: 2px;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #0a1f44, #1a3a8f, #3a5acf);
    animation: loading 1s linear forwards;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* Navigation */
.nav-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    pointer-events: none;
}

.logo {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    font-weight: 700;
    color: transparent;
    text-decoration: none;
    position: relative;
    z-index: 1002;
    background: linear-gradient(90deg, #0a1f44, #1a3a8f, #3a5acf);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 15px rgba(26, 58, 143, 0.5);
    letter-spacing: 2px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: auto;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 25px rgba(26, 58, 143, 0.8);
}

.nav-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transform: scaleX(1);
    transform-origin: right;
    z-index: 1001;
    opacity: 1;
}

.nav-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1003;
    pointer-events: auto;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #0a1f44;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1004;
    pointer-events: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0 30px;
    height: 100%;
    align-items: center;
}

.nav-links li {
    margin-left: clamp(15px, 2vw, 40px);
}

.nav-link {
    color: #0a1f44;
    text-decoration: none;
    font-size: clamp(0.9rem, 3vw, 1.3rem);
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0;
    -webkit-text-stroke: 0;
    transition: color 0.3s ease;
}

/* Slider */
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease-in-out, transform 8s linear;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.2);
}

.slide.active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 1;
}

/* Contenu du slide */
.slide-content {
    position: absolute;
    bottom: 15%;
    left: 5%;
    right: 5%;
    max-width: 600px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease 0.6s;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 300;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.slide-subtitle {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    line-height: 1.5;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    max-width: 100%;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-area {
        height: 70px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .slide-content {
        bottom: 10%;
        left: 10px;
        right: 10px;
    }
    
    .slide-title {
        margin-bottom: 10px;
    }
}