/* Global Styles */
/* Structure pour footer toujours en bas */

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Body */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    color: #ffffff;
    overflow-x: hidden;
    flex: 1;
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background-color: #111;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.1);
}

header nav a {
    color: #f0f0f0;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

header nav a.active {
    color: #ff9900;
    font-weight: bold;
    border-bottom: 2px solid #ff9900;
    padding-bottom: 3px;
}

header nav a:hover {
    color: #ff9900;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
}

.hero-image {
    width: 280px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(255, 153, 0, 0.4));
}

.hero h2 {
    font-size: 3rem;
    color: #ff9900;
    text-shadow: 0 0 10px rgba(255, 153, 0, 0.2);
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin-bottom: 30px;
    color: #dddddd;
}

/* Call to Action Button */
.cta-button {
    padding: 15px 35px;
    background-color: #ff9900;
    color: #000;
    border: none;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #e67e00;
}

/* Footer */
footer {
    background-color: #111;
    padding: 20px;
    text-align: center;
    color: #cccccc;
    font-size: 0.9rem;
    margin-top: auto; /* Ensures footer stays at the bottom */
}

footer a {
    color: #ff9900;
    text-decoration: none;
    margin-left: 10px;
}

footer a:hover {
    color: #e67e00;
}
/* Formulaire de Connexion / Inscription */
.login-form {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 153, 0, 0.1);
    max-width: 400px;
    width: 100%;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form label {
    font-weight: bold;
    color: #ff9900;
    text-align: left;
}

.login-form input {
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    background-color: #2a2a2a;
    color: #fff;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

.login-form input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.5);
}

.login-form .cta-button {
    margin-top: 10px;
}

/* Lien sous le formulaire */
.login-form + p {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #ccc;
}

.login-form + p a {
    color: #ff9900;
    text-decoration: none;
}

.login-form + p a:hover {
    text-decoration: underline;
    color: #e67e00;
}

/* Style des liens dans le texte */
a {
    color: #ff9900; /* Orange */
    font-weight: bold; /* Gras */
    text-decoration: none; /* Retirer la sous-ligne */
    transition: color 0.3s ease;
}

a:hover {
    color: #e67e00; /* Couleur légèrement plus foncée au survol */
}



/* Style pour la section Pourquoi choisir AppolStack */
.why-choose {
    color: #333;
    padding: 50px 30px;
    border-radius: 15px;
    margin-top: 200px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Titre principal de la section */
.why-choose h3 {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #ff9900; /* Texte gris foncé pour le titre */
}

/* Style des sous-titres */
.why-choose h4 {
    font-size: 1.8em;
    color: #ff9900; /* Gris foncé pour garder une unité avec le titre */
    margin-top: 30px;
    text-align: center;
}

/* Style des paragraphes */
.why-choose p {
    font-size: 1.1em;
    color: #ff9900; /* Gris moyen pour la lisibilité */
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

/* Style des listes */
.why-choose ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 20px;
}

.why-choose ul li {
    background: url('checkmark-icon.png') no-repeat left center;
    background-size: 25px 25px;
    padding-left: 40px;
    font-size: 1.2em;
    color: #ff9900; /* Gris foncé pour les éléments de la liste */
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
}

/* Changement de couleur au survol */
.why-choose ul li:hover {
    transform: scale(1.05);
    color: #666; /* Gris plus clair au survol */
}

/* Style pour le texte en gras dans la liste */
.why-choose ul li strong {
    color: #333; /* Conserver une couleur sobre pour le texte en gras */
}

/* Style pour le bouton d'appel à l'action */
.why-choose .cta-button {
    background-color: #4CAF50; /* Vert clair pour un contraste doux */
    color: white;
    padding: 15px 30px;
    font-size: 1.1em;
    border: none;
    border-radius: 30px;
    margin-top: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.why-choose .cta-button:hover {
    background-color: #45a049; /* Vert plus foncé au survol */
}
