/* Palette Bleu Blanc Rouge */
:root {
    --blue: #1E3A8A;
    --white: #ffffff;
    --red: #D62828;
    --dark: #222;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* GENERAL */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    color: var(--dark);
}

/* HEADER */
.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: linear-gradient(to right, var(--blue), var(--white), var(--red));
    color: white;
    box-shadow: 0px 4px 8px var(--shadow);
}

/* TITRE */
h1 {
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px var(--shadow);
}

/* MENU */
.menu {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
}

.menu li {
    display: inline;
}

.menu li a {
    text-decoration: none;
    font-weight: bold;
    color: var(--dark);
    padding: 10px 15px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

.menu li a:hover,
.menu li a.active {
    background-color: var(--blue);
    color: white;
    box-shadow: 0px 4px 6px var(--shadow);
}

/* CONNEXION / PROFIL */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- BOUTON CONNEXION ARRONDI --- */
.btn-login, .btn-profil, .btn-logout {
    background-color: var(--white);
    color: var(--blue);
    padding: 12px 25px; /* Ajout de plus d’espace pour l'effet bouton */
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px; /* Arrondi */
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px var(--shadow);
    border: 2px solid var(--blue); /* Bordure bleue pour cohérence */
}

/* Bouton Déconnexion (couleur rouge) */
.btn-logout {
    background-color: var(--red);
    color: white;
    border: 2px solid var(--red);
}

/* Effet au survol */
.btn-login:hover, .btn-profil:hover, .btn-logout:hover {
    background-color: var(--blue);
    color: white;
    transform: scale(1.05);
}


/* HERO SECTION */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to right, var(--blue), var(--white), var(--red));
    color: var(--dark);
    border-radius: 10px;
    margin: 40px auto;
    width: 80%;
    box-shadow: 0px 6px 10px var(--shadow);
}

.hero h2 {
    font-size: 32px;
    font-weight: bold;
}

.hero .highlight {
    color: var(--red);
}

.hero p {
    font-size: 18px;
    margin: 10px 0;
}

/* BOUTON PRINCIPAL */
.btn-main {
    display: inline-block;
    padding: 12px 20px;
    background-color: var(--blue);
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    box-shadow: 0px 4px 6px var(--shadow);
}

.btn-main:hover {
    background-color: var(--red);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 15px;
    background-color: var(--dark);
    color: white;
    margin-top: 50px;
}

/* SUPPRESSION DE LA SECTION ACCUEIL */
.hero {
    display: none;
}

/* SECTION PRODUITS */
#produits {
    text-align: center;
    padding: 50px 20px;
}

.product-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product-card {
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 250px;
    transition: 0.3s ease-in-out;
}

.product-card img {
    width: 100%;
    border-radius: 5px;
}

.product-card h3 {
    margin-top: 10px;
    font-size: 18px;
}

.product-card p {
    color: #555;
}

.product-card .btn-main {
    margin-top: 10px;
    display: inline-block;
    padding: 10px 15px;
    background-color: #1E3A8A;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    border: none;
    cursor: pointer;
}

.product-card .btn-main:hover {
    background-color: #D62828;
}

/* SECTION PRODUITS */
#produits {
    text-align: center;
    padding: 50px 20px;
}

.product-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product-card {
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 250px;
    transition: 0.3s ease-in-out;
}

.product-card img {
    width: 100%;
    border-radius: 5px;
}

.product-card h3 {
    margin-top: 10px;
    font-size: 18px;
}

.product-card p {
    color: #555;
}

.product-card .btn-main {
    margin-top: 10px;
    display: inline-block;
    padding: 10px 15px;
    background-color: #1E3A8A;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    border: none;
    cursor: pointer;
}

.product-card .btn-main:hover {
    background-color: #D62828;
}

/* SECTION SOCIAL MEDIA */
.social-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}


/* From Uiverse.io by vinodjangid07 - Adapté avec un Dégradé de Bleu */
.card {
    position: relative;
    width: 200px;
    height: 200px;
    background: white; /* Fond blanc épuré */
    border-radius: 30px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: all 1s ease-in-out;
    border: 2px solid white;
}

/* Dégradé amélioré (teintes de bleu de plus en plus claires) */
.background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1E3A8A 10%, #3B5998 40%, #7AA8E6 70%, #D0E6FF 100%);
}

/* Logo central */
.logo {
    position: absolute;
    right: 50%;
    bottom: 50%;
    transform: translate(50%, 50%);
    transition: all 0.6s ease-in-out;
    font-size: 1.3em;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 3px;
}

.logo .logo-svg {
    fill: white;
    width: 30px;
    height: 30px;
}

/* Icônes */
.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.icon .svg {
    fill: rgba(255, 255, 255, 0.9);
    width: 100%;
    transition: all 0.5s ease-in-out;
}

/* Effet des petits boutons */
.box {
    position: absolute;
    padding: 10px;
    text-align: right;
    background: rgba(255, 255, 255, 0.4);
    border-top: 2px solid white;
    border-right: 1px solid white;
    border-radius: 10% 13% 42% 0%/10% 12% 75% 0%;
    box-shadow: rgba(100, 100, 111, 0.3) -7px 7px 29px 0px;
    transform-origin: bottom left;
    transition: all 1s ease-in-out;
}

.box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.box:hover .svg {
    fill: white;
}

/* Instagram - Bleu Foncé */
.box1 {
    width: 70%;
    height: 70%;
    bottom: -70%;
    left: -70%;
    background: #1E3A8A; /* Bleu profond */
}

.box1::before {
    background: linear-gradient(135deg, #1E3A8A 30%, #3B5998 70%);
}

.box1:hover::before {
    opacity: 1;
}

.box1:hover .icon .svg {
    filter: drop-shadow(0 0 5px white);
}

/* Twitter - Bleu Clair avec Icône en Bleu Foncé */
.box2 {
    width: 50%;
    height: 50%;
    bottom: -50%;
    left: -50%;
    transition-delay: 0.2s;
    background: #D0E6FF; /* Bleu très clair */
}

.box2 .icon .svg {
    fill: #1E3A8A; /* Bleu foncé pour visibilité */
}

.box2::before {
    background: linear-gradient(135deg, #D0E6FF 30%, #7AA8E6 70%);
}

.box2:hover::before {
    opacity: 1;
}

.box2:hover .icon .svg {
    filter: drop-shadow(0 0 5px #1E3A8A);
}

/* Discord - Bleu Moyen */
.box3 {
    width: 30%;
    height: 30%;
    bottom: -30%;
    left: -30%;
    transition-delay: 0.4s;
    background: #3B5998; /* Bleu intermédiaire */
}

.box3::before {
    background: linear-gradient(135deg, #3B5998 30%, #7AA8E6 70%);
}

.box3:hover::before {
    opacity: 1;
}

.box3:hover .icon .svg {
    filter: drop-shadow(0 0 5px white);
}

/* Petits effets supplémentaires */
.box4 {
    width: 10%;
    height: 10%;
    bottom: -10%;
    left: -10%;
    transition-delay: 0.6s;
}

/* Effets de survol */
.card:hover {
    transform: scale(1.1);
}

.card:hover .box {
    bottom: -1px;
    left: -1px;
}

.card:hover .logo {
    transform: translate(70px, -52px);
    letter-spacing: 0px;
}

/* --- NAVBAR FIXE STYLE --- */
.navbar {
    position: fixed;
    top: 20px; /* Descend légèrement la barre de menu */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 50px; /* Plus arrondi */
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: all 1s ease-in-out;
}

/* Arrière-plan de la navbar avec effet dégradé */
.nav-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1E3A8A 10%, #3B5998 40%, #7AA8E6 70%, #D0E6FF 100%);
    border-radius: 50px;
    z-index: -1;
}

/* Menu */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

/* Style des liens du menu */
.navbar ul li {
    position: relative;
}

/* --- BOUTONS DU MENU --- */
.navbar ul li a {
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    color: white;
    padding: 12px 25px; /* Plus d’espace pour un effet "bouton" */
    border-radius: 50px; /* Arrondi */
    transition: all 0.3s ease-in-out;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Effet au survol */
.navbar ul li a:hover,
.navbar ul li a.active {
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* --- ESPACE POUR ÉVITER QUE LE CONTENU SOIT CACHÉ PAR LA NAVBAR --- */
body {
    padding-top: 120px; /* Ajustement pour éviter que le menu recouvre le contenu */
}


/* --- Effet de bouton animé comme les cartes sociales --- */
.nav-item {
    position: relative;
    padding: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10% 13% 42% 0%/10% 12% 75% 0%;
    box-shadow: rgba(100, 100, 111, 0.3) -7px 7px 29px 0px;
    transform-origin: bottom left;
    transition: all 1s ease-in-out;
}

.nav-item:hover {
    transform: scale(1.1);
}

/* --- Effet de hover inspiré des cartes --- */
.nav-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.nav-item:hover::before {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* ===== PAGE DE CONNEXION ===== */

/* Supprime les marges et paddings par défaut */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Ajustement du container de connexion */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Assure que le fond couvre toute la hauteur */
    background: linear-gradient(135deg, #1E3A8A 10%, #3B5998 40%, #7AA8E6 70%, #D0E6FF 100%);
    margin: 0; /* Supprime toute marge restante */
}


/* Boîte de connexion */
.login-box {
    background: rgba(255, 255, 255, 0.2); /* Fond semi-transparent */
    backdrop-filter: blur(10px); /* Effet de flou */
    padding: 30px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 7px 29px 0px;
    text-align: center;
    max-width: 350px;
    width: 90%;
    color: white;
}

/* Centrer le titre */
.login-box h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Champs de saisie */
.login-box input {
    width: 80%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid white;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
    outline: none;
}

/* Placeholder en blanc */
.login-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}


/* Lien d'inscription */
.register-link {
    margin-top: 15px;
    font-size: 14px;
}

.register-link a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.register-link a:hover {
    color: #D0E6FF;
}

/* Style spécifique au bouton de connexion dans la page login */
.btn-login-form {
    background: var(--white);
    color: var(--blue);
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 6px;
}

.btn-login-form:hover {
    background: var(--blue);
    color: white;
}


#Tangas, #SecretCharms {
    padding: 100px; /* Ajuste la valeur selon l'espace souhaité */
}