@charset "utf-8";

html {
    font-family: 'Play';
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* CSS Document */
.flex {
    display: flex;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 1) Par défaut, tout le contenu est caché */
#app {
    display: none;
}

/* 2) Quand le loader disparaît (body.loaded), on affiche enfin l’app */
body.loaded #app {
    display: block;
}

/* Vos styles existants pour #page-loader et .spinner restent inchangés */

/* == LOADER == */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--space-black) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important;
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--star-silver);
    border-top-color: var(--aurora-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

body.loaded #page-loader {
    opacity: 0 !important;
    display: none !important;
    pointer-events: none !important;
}

.about-card strong {
    color: #40f0d7;
    font-size: 1.4rem;
    font-weight: 600;
}

:root {
    --electric-cobalt: #0042ff;
    --twilight-violet: #765da2;
    --nebula-indigo: #4134d9;
    --aurora-green: #21e86f;
    --stellar-white: #f8fafc;
    --void-black: #0f0f23;
    --moon-silver: #e2e8f0;
    --cerulean-jet: #0faedf;
    --midnight-space: #1a1a2e;
}

body {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 40%, #0f0f23 100%);
    color: var(--stellar-white);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Starfield Background */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Floating cosmic particles */
.cosmic-particle {
    position: absolute;
    background: radial-gradient(circle, var(--aurora-green) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 50px;
    background: rgba(15, 15, 35, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

nav.scrolled {
    padding: 15px 50px;
    background: rgba(15, 15, 35, 0.95);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Dropdown dans la nav principale */
nav ul li.dropdown {
    position: relative;
    /* pour positionner le sous-menu */
}

/* Masquer le sous-menu par défaut */
nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    /* juste sous l’item parent */
    left: 0;
    background: rgba(15, 15, 35, 0.95);
    /* même background que la nav */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 200px;
    z-index: 1001;
}

/* Style des items du sous-menu */
nav ul li.dropdown .dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--moon-silver);
    font-size: 0.9rem;
    text-transform: none;
    white-space: nowrap;
}

nav ul li.dropdown .dropdown-menu li a:hover,
nav ul li.dropdown .dropdown-menu li a.active {
    color: var(--stellar-white);
    background: rgba(139, 92, 246, 0.2);
}

/* Afficher le sous-menu au hover */
nav ul li.dropdown:hover .dropdown-menu {
    display: block;
}

/* Petite flèche à côté du titre */
nav ul li.dropdown>a .caret {
    margin-left: 0.3rem;
    font-size: 0.8rem;
}

/* Dropdown pour Blog */
nav ul li.dropdown {
    position: relative;
}

nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 180px;
    z-index: 1001;
}

nav ul li.dropdown .dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--moon-silver);
    font-size: 0.9rem;
    text-transform: none;
    white-space: nowrap;
}

nav ul li.dropdown .dropdown-menu li a:hover,
nav ul li.dropdown .dropdown-menu li a.active {
    color: var(--stellar-white);
    background: rgba(139, 92, 246, 0.2);
}

nav ul li.dropdown:hover .dropdown-menu {
    display: block;
}

nav ul li.dropdown>a .caret {
    margin-left: 0.3rem;
    font-size: 0.8rem;
}

select {
    background: rgba(15, 15, 35, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--moon-silver);
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

select option {
    background: var(--void-black);
    color: var(--stellar-white);
    padding: 15px;
}

/* Logo */
.logo {
    width: 12vw;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-svg {
    width: 45px;
    height: 45px;
    position: relative;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--aurora-green), var(--cerulean-jet), var(--nebula-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

nav a {
    font-family: 'Rajdhani', sans-serif;
    color: var(--moon-silver);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1rem;
    text-transform: uppercase;
}

nav ul a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--aurora-green), var(--cerulean-jet));
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav ul a:hover {
    color: var(--stellar-white);
    text-shadow: 0 0 10px var(--cerulean-jet);
}

nav ul a:hover::after {
    width: 100%;
}

nav ul a.active {
    color: var(--stellar-white);
    text-shadow: 0 0 10px var(--cerulean-jet);
}

nav ul a.active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--aurora-green), var(--nebula-indigo));
    box-shadow: 0 0 8px var(--cerulean-jet);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--aurora-green);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* 1) Le container responsive (ratio 16:9) */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* hauteur = 9/16 de la largeur */
    overflow: hidden;
    background: #000;
    border-radius: 12px;
}

/* Vidéo plein conteneur */
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* couvre tout le container sans déformation */
}

.video-section {
    padding-top: 200px;
}

/* 3) Effet “fade-in” sur #hero */
#hero.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#hero.fade-in.visible {

    opacity: 1;
    transform: translateY(0);
}

/* Sections */
section {
    padding: 120px 50px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--stellar-white), var(--cerulean-jet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--aurora-green), var(--cerulean-jet), var(--nebula-indigo));
    border-radius: 2px;
    animation: titleUnderline 3s ease-in-out infinite;
}

@keyframes titleUnderline {

    0%,
    100% {
        width: 120px;
    }

    50% {
        width: 180px;
    }
}

/* New Section - New Design */
.glass {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(139, 92, 246, 0.05));
    padding: 4rem 2rem;
    color: var(--cosmic-white);
}

.glass .section-title {
    color: var(--galactic-teal);
    margin-bottom: 2rem;
}

.cards-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.card {
    background: var(--space-black);
    border: 1px solid var(--star-silver);
    border-radius: 8px;
    padding: 1.5rem;
    flex: 1 1 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-color: var(--galaxy-violet);
}


/* About Section - New Design */
.glass-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(245, 158, 11, 0.05));
    border-radius: 30px;
    padding: 80px 60px;
    margin: 0 auto;
    max-width: 1400px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.text-panel {
    text-align: center;
    margin-bottom: 80px;
}

.text-panel h3,
#reservation h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--aurora-green), var(--cerulean-jet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

#slotSection {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    margin: 1em;
}

#userInfoSection {
    width: 480px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}

#userInfoSection.visible {
    opacity: 1;
}

/* quand la classe .visible est ajoutée */
#slotSection.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.slot-btn[disabled] {
    background-color: rgb(20, 19, 49);
    color: gray;
}

#slotsContainer .slot-btn.selected {
    background-color: #00bfa6;
    /* couleur principale */
    color: #000;
    border: 2px solid #00ffc3;
    /* contour plus clair */
    transform: scale(1.05);
    /* léger zoom */
    transition: all 0.15s ease;
}

.description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--moon-silver);
    max-width: 800px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 60px;
}

.about-card {
    background: rgba(139, 92, 246, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.5s ease;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3);
    border-color: var(--aurora-green);
    background: rgba(139, 92, 246, 0.12);
}

.about-card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.about-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--aurora-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--moon-silver);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.achievement-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--aurora-green), var(--cerulean-jet));
}

.achievement-item:hover {
    transform: translateY(-5px);
    border-color: var(--aurora-green);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.2);
    background: rgba(30, 58, 138, 0.15);
}

.achievement-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--aurora-green);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.achievement-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: var(--moon-silver);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Mission Tabs Section */
.missions-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(139, 92, 246, 0.05));
}

.missions-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.mission-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 8px;
    backdrop-filter: blur(10px);
}

#messageSection,
#reservationFieldset {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;

}

#messageSection.visible,
#reservationFieldset.visible {
    display: flex;
    /* ou block selon ton layout */
    opacity: 1;
    transform: translateY(0);
    width: 480px;
}

.mission-tab {
    flex: 1;
    padding: 20px 30px;
    background: transparent;
    border: none;
    color: var(--moon-silver);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 15px;
    position: relative;
}

.mission-tab.active {
    background: linear-gradient(135deg, var(--aurora-green), var(--cerulean-jet));
    color: var(--void-black);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.mission-tab:hover:not(.active) {
    background: rgba(245, 158, 11, 0.1);
    color: var(--stellar-white);
}

.mission-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.mission-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.mission-card {
    background: rgba(139, 92, 246, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.5s ease;
}

.mission-card:hover::before {
    left: 100%;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: var(--aurora-green);
    background: rgba(139, 92, 246, 0.12);
}

.mission-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--aurora-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--moon-silver);
    margin-bottom: 20px;
}

.mission-status {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--aurora-green);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--aurora-green);
}

/* Equipment */
.equipment-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.equipment-item {
    font-family: 'Rajdhani', sans-serif;
    width: 140px;
    height: 140px;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--cerulean-jet);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

.equipment-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: radial-gradient(circle, var(--aurora-green), transparent);
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(1.2);
}

.equipment-item:hover {
    transform: scale(1.08) rotate(5deg);
    border-color: var(--aurora-green);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.1);
}

.equipment-item:hover::before {
    opacity: 0.2;
}

/* État initial masqué */
.equipment-detail {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition:
        opacity 0.5s ease-in-out,
        max-height 0.5s ease-in-out;
    /* styles visuels */
    margin-top: 2rem;
    backdrop-filter: blur(4px);
    color: var(--cosmic-white);
    padding: 0 1.5rem;
}

/* Quand on veut l’afficher */
.equipment-detail.show {
    opacity: 1;
    max-height: 500px;
    /* adapter selon la taille de votre contenu */
    padding: 1.5rem;
}

/* Pour cacher définitivement avant le premier clic */
.hidden {
    display: none;
}

/* Option : style de l’item actif */
.equipment-item.active {
    border-color: var(--aurora-green);
    box-shadow: 0 0 12px var(--aurora-green);
}

.calendar-blur {
    filter: blur(4px);
    pointer-events: none;
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Contact */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(139, 92, 246, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

#calendar-body.loading {
    filter: blur(4px);
    pointer-events: none;
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

#calendar-loader {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    font-style: italic;
    display: none;
}

#calendar-loader.active {
    display: block;
}

#reserveForm {
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

#reserveForm label {
    font-weight: bold;
    text-transform: uppercase;
    color: #1fe27b;
}

#submitBtn,
.tab-btn {
    background: linear-gradient(135deg, var(--aurora-green), var(--cerulean-jet));
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #1e293b;
    margin-top: 10px;
}

#submitBtn[disabled] {
    background: grey;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: disabled;
    font-weight: bold;
    color: #1e293b;
}

#submitBtn[disabled]:hover {
    transform: translateY(0px);
    transition: all 0.5s ease;
}

#submitBtn:hover {
    transform: translateY(-3px);
    transition: all 0.5s ease;
    box-shadow: 0px 0px 10px 2px #000;
}

.tab-btn[disabled] {
    background: grey;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: disabled;
    font-weight: bold;
    color: #1e293b;
}

.tab-btn[disabled]:hover {
    transform: translateY(0px);
    transition: all 0.5s ease;
}

.tab-btn.active {
    transition: all 0.2s ease;
    box-shadow: 0px 0px 5px 1px #1fe27b;
}

.tab-btn:hover {
    transform: translateY(-3px);
    transition: all 0.5s ease;
}

.form-text.text-muted {
    font-size: 0.875rem;
    color: #b0b0b0;
}

fieldset p.text-muted {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

#reserveForm .form-control {
    text-align: center;
}

#reserveForm legend {
    margin: 0 auto;
}

#reserveForm fieldset {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 2;
}


.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px;
    background: rgba(139, 92, 246, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: var(--stellar-white);
    font-size: 16px;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
    max-width: 480px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--aurora-green);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--moon-silver);
    opacity: 0.7;
}

.launch-btn {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, var(--aurora-green), var(--cerulean-jet));
    color: var(--void-black);
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.launch-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(248, 250, 252, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.launch-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
}

.launch-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Calendar */
.calendar-container {
    width: 480px;
    font-family: sans-serif;
}

.calendar-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: .5em;
    background: #0f0f23;
    padding: 10px;
    font-weight: 900;
}

.calendar-header button {
    background: linear-gradient(135deg, var(--aurora-green), var(--cerulean-jet));
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #1e293b;

}

#month-year {
    font-weight: bold;
}

.calendar-table {
    width: 100%;
    text-align: center;
}

.calendar-table th,
.calendar-table td {
    padding: 6px 0;
}

.calendar-table td {
    cursor: pointer;
    border: 2px solid #ffffff00;
}

#serviceSection {
    margin-bottom: 20px;
}

#dateSection {
    background: #22244e;
    border-radius: 10px;
}

.calendar-table td:hover {
    border: 2px solid #fff;
    transition: all 1s ease;
}

.calendar-table td.selected {
    border: 2px solid #4CAF50;
    color: #fff;
}

/* Jours sans créneaux = rouge */
.calendar-table td.disabled:not(.empty) {
    color: #555;
    background-color: #ffebee03;
    pointer-events: none;
}

/* Cases hors mois, on les laisse neutres */
.calendar-table td.empty {
    background: none;
    pointer-events: none;
}

#slotsContainer {
    display: flex;
    gap: 10px;
    width: 45%;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    background: #22244e;
    padding: 20px;
    border-radius: 8px;
}

.slot-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--cerulean-jet);
    color: var(--moon-silver);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slot-btn:hover {
    background: var(--cerulean-jet);
    color: #000;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

/* Footer */
footer {
    background: rgba(15, 15, 35, 0.95);
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    padding: 60px 50px 40px;
    margin-top: 120px;
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--aurora-green);
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--moon-silver);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-section a:hover {
    color: var(--cerulean-jet);
    transform: translateX(8px);

}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-links img {
    width: 20px;
    height: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border: 2px solid var(--cerulean-jet);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--cerulean-jet);
}

.footer-bottom {
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--moon-silver);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
.profile-section {
    padding-top: 10rem;
}

/* Responsive */
@media (max-width: 1080px) {
    nav {
        padding: 15px 20px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-svg {
        width: 35px;
        height: 35px;
    }

    .nav-container {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 35, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 15px;
    }

    .nav-menu.active {
        max-height: fit-content;
        border-top: 1px solid rgba(139, 92, 246, 0.3);
        box-shadow: 0 15px 40px rgba(15, 15, 35, 0.9);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 25px;
    }

    nav ul li {
        padding: 15px 0;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    .cosmic-title {
        font-size: 2.8rem;
        letter-spacing: 3px;
    }

    .hero {
        margin-top: 70px;
    }

    .subtitle {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    section {
        padding: 120px 20px;
    }

    .about-section {
        padding: 40px 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .missions-container {
        padding: 0 20px;
    }

    .mission-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .mission-grid {
        grid-template-columns: 1fr !important;
    }



    .equipment-item {
        width: 120px;
        height: 120px;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 3.4rem;
        letter-spacing: 2px;
    }

    .contact-form {
        padding: 30px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 20px;
        padding: 15px;
    }

    #userInfoSection {
        width: 920px;

    }

    .launch-btn {
        font-size: 16px;
        padding: 15px 35px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .indicatif {
        font-size: 1.5rem !important;
    }

    .tab-btn {
        height: 65px;
        margin: 15px;
        font-size: 24px;
    }

    .portfolio-btn {
        margin: 15px;
        height: 65px;
        font-size: 24px;
        margin-bottom: 45px;
    }

    .text-panel h3 {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1.5rem;
    }

    .calendar-container {
        width: 920px;
        font-size: 24px;
    }

    #prev-month {
        scale: 1.4;
    }

    #slotsContainer {
        display: flex;
        gap: 10px;


        width: 65%;
        margin: 0 auto;
        flex-wrap: wrap;
        justify-content: center;
        background: #22244e00;
        padding: 20px;
        border-radius: 8px;
    }

    .slot-btn {
        font-size: 24px;

    }
.animated-button {
    scale: 1.4;
}
    .form-group textarea {
        max-width: 920px;
    }

    .form-group input,
    .form-group textarea {

        max-width: 920px;
    }

    select {
        font-size: 1.5rem;
    }

    #messageSection.visible,
    #reservationFieldset.visible {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        width: 920px;
    }

    #submitBtn {
        scale: 1.5;
        margin-top: 30px;
    }

    #reserveForm label {
        font-size: 24px;
    }

    #next-month {
        scale: 1.4;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    /* -------------------------
   Styles communs (desktop)
   ------------------------- */
    /* Sous-menu caché par défaut */
    .dropdown .dropdown-menu {
        display: none;
    }

    /* Sur desktop, on l’affiche quand .open */
    .dropdown.open .dropdown-menu {
        display: block;
        position: absolute;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        margin: 0.5rem 0 0;
        padding: 0.5rem 0;
        list-style: none;
        min-width: 150px;
        z-index: 1000;
    }

    .dropdown.open .dropdown-menu li a {
        display: block;
        padding: 0.5rem 1rem;
        color: inherit;
        text-decoration: none;
    }

    /* -------------------------
   Override mobile (≤1080px)
   ------------------------- */
    @media (max-width: 1080px) {
        .timeline h3 {
            font-size: 1.9rem !important;
        }

        .timeline span {
            font-size: 1.8rem !important;
        }

        .timeline p {
            font-size: 1.6rem !important;
        }

        /* cacher la petite flèche ▾ */
        .dropdown .caret {
            display: none;
        }

        /* on veut afficher les clones, pas le dropdown-menu sous forme absolue */
        .dropdown .dropdown-menu {
            display: none !important;
        }

        /* style identique pour les clones */
        nav ul>li.flattened {
            display: block;
            border-bottom: 1px solid rgba(139, 92, 246, 0.1);
        }

        nav ul>li.flattened:last-child {
            border-bottom: none;
        }

        nav ul>li.flattened>a {
            display: block;
            width: 100%;
            padding: 15px 20px;
            color: inherit;
            text-decoration: none;
        }
    }

}

/* ============================
   Admin Nav — mobile flatten
   ============================ */
@media (max-width: 1080px) {
    .logo {
        width: 25vw;
    }

    /* 1) On cache le vrai dropdown-menu absolu */
    .dropdown .dropdown-menu {
        display: none !important;
    }

    /* 2) On masque juste la petite flèche ▾ */
    .dropdown .caret {
        display: none;
    }

    /* 3) On stylise les clones (li.flattened) comme les li classiques */
    nav ul>li.flattened {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }

    nav ul>li.flattened:last-child {
        border-bottom: none;
    }

    nav ul>li.flattened>a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        color: inherit;
        text-decoration: none;
    }

    nav a {

        font-size: 2rem;

    }
}



@media (max-width: 1400px) {
    nav ul li.dropdown .dropdown-menu {
        left: -156px;
    }

}

:root {
    /* Définissez ici la durée totale d’un cycle */
    --speed: 35s;
}

.tox-statusbar__right-container {
    display: none !important;
}

/* votre .card, inchangé */
.card {
    width: 100%;
    height: 100%;
    padding: 0px;
    color: white;
    text-align: center;
}

.card p {
    font-size: 14px;
    color: white;
}

/* le slider */
.slider {
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
}

.slider .list {
    display: flex;
    width: 100%;
    /* on multiplie automatiquement la largeur par le nombre d’items */
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}

.slider .list .item {
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    /* on passe à la variable --speed */
    animation: autoRun var(--speed) linear infinite;
    transition: filter 0.5s;
    /* calcule automatiquement le délai selon la position et la quantité */
    animation-delay: calc((var(--speed) / var(--quantity)) * (var(--position) - 1) - var(--speed)) !important;
}

.slider .list .item img {
    width: 75%;
}

/* keyframes inchangés */
@keyframes autoRun {
    from {
        left: 100%;
    }

    to {
        left: calc(var(--width) * -1);
    }
}

/* pause & désaturation au hover */
.slider:hover .item {
    animation-play-state: paused !important;
    filter: grayscale(1);
}

.slider .item:hover {
    filter: grayscale(0);
}

/* si you voulez le sens inverse */
.slider[reverse="true"] .item {
    animation: reversePlay var(--speed) linear infinite;
}

@keyframes reversePlay {
    from {
        left: calc(var(--width) * -1);
    }

    to {
        left: 100%;
    }
}

.slider img {
    scale: 0.8;
}

.small-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff, #a4e8fd);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 0px;
}

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}


.timeline>li {
    margin-bottom: 20px;
    position: relative;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li>.timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 20px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline>li>.timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 33%;
    left: 50%;
    margin-left: -25px;
    background-color: #999999;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline-heading {
    width: 70%;
}

.timeline-clock {
    width: 25%;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body>p,
.timeline-body>ul {
    margin-bottom: 0;
}

.timeline-body>p+p {
    margin-top: 5px;
}

.flex-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}

.flex-around {
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.flex-between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.flex-start {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.flex-end {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.flex-around {
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.flex-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.align-items-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}