/* Styles Généraux */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* Navigation Responsive */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
    color: white;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;   /* Supprime les marges par défaut du navigateur */
    padding: 0;  /* Supprime le retrait par défaut */
}

nav ul li { 
    margin-left: 10px; /* Espace entre les liens uniquement */
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
	font-size: 0.8rem; 
}

/* Conteneur principal */
header {
    position: relative;
    width: 100%;
    /* Remplace height: 70vh par le ratio de votre photo */
    /* Si c'est une photo standard, utilisez 16 / 9. Si elle est plus carrée, essayez 4 / 3 */
    aspect-ratio: 1600 / 1162;
	
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

/* L'image de fond avec l'animation */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* On utilise 100% 100% pour forcer l'affichage entier */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('Photo.jpeg') center / 100% 100% no-repeat;
				
	/* Le rognage intelligent */
    background-size: cover; 
    background-position: 50% 20%;
	
    z-index: -1;
    animation: zoomAnimation 10s infinite alternate ease-in-out;
}

/* Le contenu (Titre et texte) */
.hero-content {
    z-index: 1;
}

.hero-content h1 {
    /* On réduit la taille minimale à 1.5rem pour les petits écrans */
    /*font-size: clamp(1.5rem, 8vw, 4rem); */
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px; /* Réduction de l'espacement sur mobile */
}

/* Définition de l'animation de Zoom */
@keyframes zoomAnimation {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15); /* Zoom de 15% */
    }
}


header h1 {
    /* On descend la taille minimale à 1.5rem au lieu de 2rem ou 2.5rem */
    font-size: clamp(1.5rem, 10vw, 4.5rem); 
    
    /* margin: 0; */
    text-transform: uppercase;
    letter-spacing: 4px; /* On réduit un peu l'espacement pour que ça tienne sur une ligne */
    font-weight: 900;
    line-height: 1.2;
    z-index: 2;
    position: relative;
	margin-top: 20%;
}

/* Sections */
section { padding: 4rem 10%; text-align: center; }
.dark-section { background: #222; color: white; }

/* Grille des membres (Responsive) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.card {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Lecteur Audio */
.player-container {
    max-width: 600px;
    margin: 0 auto;
}

audio { width: 100%; margin-bottom: 20px; }

/* Table des concerts */
.tour-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}

.tour-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.btn-tickets {
    background: #e67e22;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.sold-out {
    color: #888;
    font-style: italic;
}

/* Formulaire de contact */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

#contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#contact-form input, #contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 4px;
}

.btn-submit {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #2980b9;
}

.contact-info {
    flex: 1;
    text-align: left;
    min-width: 250px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;       /* Taille plus petite et élégante */
    font-weight: 700;        /* Écriture grasse */
    letter-spacing: 1px;     /* Espacement entre les lettres (très important pour le look) */
    text-transform: uppercase;
    color: white;
    cursor: pointer;
}

/* Footer */
footer {
    background: #111;
    color: #777;
    text-align: center;
    padding: 2rem;
}

/* Mobile */
@media (max-width: 600px) {
	header h1 {
		font-size: 1rem !important; /* Force la taille si clamp est encore trop gros */
		letter-spacing: 2px;         /* Réduit l'espace pour éviter que le mot ne coupe */
		padding: 0 10px;             /* Ajoute une petite marge sur les côtés */
		margin-top: 100px;
	}

	header p {
		font-size: 1rem;             /* Réduit aussi le texte "Blues / Rock / Live" */
	}
	}