/* Style Général */
html {
    scroll-behavior: smooth; /* Permet un défilement fluide lors des clics sur le menu */
}

body {
    background-color: #0b0f19;
    color: #ffffff;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* 1. Menu de Navigation (Navbar) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(17, 24, 39, 0.95);
    border-bottom: 1px solid #1f2937;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

nav a {
    color: #9ca3af;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffffff;
}

/* Boutons */
button, .cta-btn {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

button:hover, .cta-btn:hover {
    background-color: #2563eb;
}

button:disabled {
    background-color: #4b5563;
    cursor: not-allowed;
}

/* 2. Bannière Héroïque (Hero Banner) */
.hero-banner {
    background-linear-gradient: rgba(11, 15, 25, 0.7), rgba(11, 15, 25, 0.9);
    background-image: linear-gradient(rgba(0,0,0,0.6), #0b0f19), url('images/odonata-banner.png');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 18px;
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto 25px auto;
}

/* Conteneur Principal (Main) */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Sections communes */
section {
    padding: 60px 0;
    border-bottom: 1px solid #1f2937;
}

section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #3b82f6;
}

/* 3. Section À Propos */
.info-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #9ca3af;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* 4. Section Galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05); /* Effet de zoom au survol */
}

/* 5. Section de Mint */
.mint-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nft-card {
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    width: 320px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.nft-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.price {
    font-size: 20px;
    color: #10b981;
    font-weight: bold;
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

input[type="number"] {
    width: 50px;
    padding: 10px;
    background-color: #1f2937;
    border: 1px solid #374151;
    color: white;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
}

#statusMessage {
    margin-top: 15px;
    font-size: 14px;
    color: #9ca3af;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background-color: #111827;
    color: #4b5563;
    font-size: 14px;
}

.language-selector select {

    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    font-size: 14px;

}