/* Style global de la page - Thème Futuriste Néon */
body {
    font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #0a0a0f; /* Fond sombre futuriste */
    color: #ccc; /* Couleur de texte gris clair */
    overflow-x: hidden;
}

/* Barre de navigation - Effet néon et dégradé futuriste */
.navbar {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #0ff, #08f);
    display: flex;
    align-items: center;
    padding-left: 20px;
    box-shadow: 0 0 20px rgba(0,255,255,0.2);
    position: relative;
    z-index: 10;
}

.navbar-logo {
    height: 40px;
    width: auto;
    cursor: pointer;
    margin: 0;
    filter: drop-shadow(0 0 5px #0ff);
}

/* Boutons de la navbar */
.navbar .btn {
    margin: 0 10px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #111;
    background: #0ff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.navbar .btn:hover {
    background: #08f;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 10px #0ff, 0 0 20px #08f;
}

.navbar .btn:active {
    transform: translateY(1px);
}

/* Liens additionnels sous la barre de navigation */
.sub-links {
    position: absolute;
    top: 80px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sub-link {
    font-size: 1rem;
    color: #0ff;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sub-link:hover {
    color: #08f;
}

/* Séparateur entre sub-links */
.separator {
    font-size: 1rem;
    color: #666;
    margin: 0 5px;
}

/* Conteneur principal - Carte futuriste translucide */
.container {
    max-width: 800px;
    margin: 100px auto;
    padding: 30px;
    background: rgba(30, 30, 40, 0.8);
    box-shadow: 0 0 30px rgba(0,255,255,0.1);
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

/* Titres et texte d'introduction */
header h1 {
    font-size: 2.5rem;
    color: #0ff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #0ff;
}

.intro-text {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Présentation des sous-domaines */
.subdomain-links {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.subdomain-btn {
    flex: 1;
    padding: 20px;
    font-size: 1rem;
    color: #111;
    background: linear-gradient(135deg, #0ff, #08f);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: block;
    text-align: center;
    min-width: 200px;
}

.subdomain-btn h2 {
    margin: 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111;
}

.subdomain-btn p {
    margin: 10px 0 0;
    color: #111;
}

.subdomain-btn:hover {
    background: linear-gradient(135deg, #08f, #0ff);
    transform: translateY(-2px);
    box-shadow: 0 0 15px #0ff, 0 0 30px #08f;
}

/* Section "À propos" */
.about {
    margin-bottom: 30px;
}

.about h2 {
    color: #0ff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #0ff;
}

.about p {
    font-size: 1rem;
    color: #aaa;
    line-height: 1.5;
}

/* Projets et Réalisations */
.projects {
    margin-bottom: 30px;
}

.projects h2 {
    color: #0ff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #0ff;
}

.project-item {
    background-color: rgba(20, 20, 30, 0.9);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,255,255,0.1);
    transition: transform 0.3s;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px #0ff, 0 0 30px #08f;
}

/* Section Products (Produits) */
.products {
    margin-bottom: 30px;
}

.products h2 {
    color: #0ff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #0ff;
}

/* Style des items produits */
.product-item {
    background-color: rgba(20, 20, 30, 0.9);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,255,255,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    width: 200px; /* Largeur fixe pour une mise en page plus nette */
    margin: 10px;
    vertical-align: top;
}

.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0,255,255,0.1);
}

.product-item h3 {
    font-size: 1.2rem;
    color: #0ff;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 0 5px #0ff;
}

.product-item p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.4;
}

/* Effet au survol d'un produit */
.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px #0ff, 0 0 30px #08f;
}

/* Contact */
.contact h2 {
    color: #0ff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #0ff;
}

.contact p {
    font-size: 1rem;
    color: #aaa;
    line-height: 1.5;
}

/* Footer */
.footer-text {
    font-size: 0.9rem;
    color: #0ff;
    margin-top: 20px;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* Bouton générique */
.button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #111;
    background-color: #0ff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
}

.button:hover {
    box-shadow: 0 0 10px #0ff, 0 0 20px #08f;
    transform: scale(1.05);
}

/* Adaptation du conteneur pour certains éléments */
.container h1 {
    font-size: 2rem;
    color: #0ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #0ff;
    margin-bottom: 20px;
}

.container .button {
    padding: 10px 20px;
    font-size: 1.1rem;
    color: #111;
    background-color: #0ff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.container .button:hover {
    background-color: #08f;
    box-shadow: 0 0 10px #0ff, 0 0 20px #08f;
    transform: scale(1.05);
}

/* Statut du serveur */
.status {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #0ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #0ff;
}

/* Style du iframe BlueMap */
#bluemap {
    width: 100%;
    height: 80vh;
    border: none;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(0,255,255,0.2);
    background: rgba(15,15,25,0.8);
    backdrop-filter: blur(5px);
}
.product-image {
    max-width: 300px; /* Ajuste cette valeur à ta convenance */
    height: auto; /* Conserve le ratio d'aspect */
    display: block;
    margin: 0 auto; /* Centre l'image horizontalement */
}
.green {
    color: #0f0; 
    text-shadow: 0 0 1px #0f0; /* Ajuste le 2px selon le niveau de flou désiré, mets `none` pour aucun flou */
}
.red{
    text-shadow: 0 0 1px #0f0; /* Ajuste le 2px selon le niveau de flou désiré, mets `none` pour aucun flou */
}
.ip-block {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(30, 30, 40, 0.9);
    color: #0ff; /* Couleur néon */
    border: 2px solid #0ff;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-shadow: none; /* Désactive le flou si c'était un problème */
}

.ip-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 10px #0ff, 0 0 20px #08f;
}

#copy-message {
    margin-top: 10px;
    color: #aaa; /* Couleur plus discrète */
}
/* Conteneur principal */
.container {
    max-width: 600px;
    margin: 100px auto;
    padding: 30px;
    background: rgba(30, 30, 40, 0.8);
    box-shadow: 0 0 30px rgba(0,255,255,0.1);
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

/* Titre du formulaire de contact */
.container h1 {
    font-size: 2rem;
    color: #0ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #0ff;
    margin-bottom: 20px;
}

/* Formulaire de contact */
#contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

/* Champs texte, email et textarea */
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 10px;
    background: #fff;
    color: #111;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.3s ease;
}

#contact-form input[type="text"]::placeholder,
#contact-form input[type="email"]::placeholder,
#contact-form textarea::placeholder {
    color: #666;
}

/* Focus sur les champs (effet néon léger) */
#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
    box-shadow: 0 0 10px #0ff;
}

#contact-form {
    display: grid;
    grid-template-columns: 1fr; /* Une seule colonne */
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

#contact-form textarea {
    grid-column: 1; /* Inutile désormais, mais on le laisse pour clarté */
    min-height: 120px;
    resize: vertical;
}

/* Le bouton en dessous de tous les champs */
#contact-form .button {
    grid-column: 1;
    padding: 10px 20px;
    font-size: 1.1rem;
    color: #111;
    background-color: #0ff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}
