/* Styles pour le site du groupe musical */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e0f2f1 100%);
    color: #77A8A8;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Section Hero */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom; /* privilégier le bas de la photo */
    filter: blur(2px) brightness(0.7); /* moins de flou pour plus de lisibilité */
    transform: scale(1.02); /* zoom très léger pour voir les côtés */
    transition: transform 0.4s ease; /* animation douce */
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    background: transparent;
}

.hero-title {
    font-size: 4em;
    font-weight: 300;
    margin: 0 0 10px 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5em;
    margin: 0 0 40px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 300;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 1em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-btn.primary {
    background: linear-gradient(135deg, #77A8A8 0%, #5a8a8a 100%);
    border-color: #77A8A8;
}

.hero-btn.primary:hover {
    background: linear-gradient(135deg, #5a8a8a 0%, #77A8A8 100%);
    box-shadow: 0 10px 25px rgba(119, 168, 168, 0.4);
}

header {
    background: linear-gradient(135deg, #77A8A8 0%, #5a8a8a 100%);
    color: white;
    padding: 18px 18px; /* un peu plus d'espace vertical (léger agrandissement) */
    /* placer logo/titre à gauche et la navigation à droite */
    text-align: left;
    box-shadow: 0 4px 20px rgba(119, 168, 168, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* aligner logo + titre à gauche */
    gap: 14px; /* espacement modérément augmenté entre logo et titre */
    margin-bottom: 0;
}

.logo-container {
    width: 96px; /* logo agrandi et sans cadre */
    height: 96px;
    border-radius: 50%;
    background: transparent; /* supprimer le fond */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none; /* supprimer l'ombre */
    border: none; /* enlever la bordure/frame */
}

.logo {
    max-width: 88px; /* logo agrandi */
    max-height: 88px;
    border-radius: 50%;
    object-fit: cover;
}

header h1 {
    margin: 0;
    font-size: 2.2em; /* titre un peu plus grand pour s'équilibrer avec logo */
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0; /* aligner verticalement avec le logo */
    display: flex;
    justify-content: flex-end; /* pousser les onglets à droite */
    gap: 14px; /* espace légèrement augmenté entre items */
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 16px; /* padding légèrement plus généreux */
    border-radius: 22px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.95em;
}

nav a:hover, nav a.active {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    box-shadow: 0 8px 25px rgba(0, 77, 64, 0.4);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h2 {
    color: #77A8A8;
    border-bottom: 3px solid #77A8A8;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 300;
    font-size: 2.2em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.tab-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333;
}

.sub-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    padding: 0;
}

.sub-tab-btn {
    background: rgba(119, 168, 168, 0.1);
    border: 2px solid #77A8A8;
    color: #77A8A8;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sub-tab-btn:hover {
    background: rgba(119, 168, 168, 0.2);
    transform: translateY(-2px);
}

.sub-tab-btn.active {
    background: linear-gradient(135deg, #77A8A8 0%, #5a8a8a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(119, 168, 168, 0.3);
}

.sub-tab-content {
    display: none;
}

.sub-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.presentation-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

.presentation-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

.presentation-text {
    flex: 1;
}

.presentation-text p {
    text-align: left;
    line-height: 1.7;
    margin-bottom: 20px;
}

.presentation-text h3 {
    color: #77A8A8;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.presentation-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.presentation-text li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.presentation-text li:before {
    content: "•";
    color: black;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.presentation-text strong {
    color: black;
}

.presentation-text li {
    color: black;
}

.presentation-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.presentation-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(119, 168, 168, 0.3);
    transition: all 0.3s ease;
}

.presentation-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(119, 168, 168, 0.4);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.gallery-item {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(119, 168, 168, 0.2);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(119, 168, 168, 0.3);
}

.social-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 30px;
}

.social-links a {
    color: #77A8A8;
    text-decoration: none;
    padding: 15px 30px;
    border: 2px solid #77A8A8;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, rgba(119, 168, 168, 0.05) 0%, rgba(119, 168, 168, 0.1) 100%);
}

.social-links a:hover {
    background: linear-gradient(135deg, #77A8A8 0%, #5a8a8a 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(119, 168, 168, 0.4);
    transform: translateY(-3px);
}

.concerts-list {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    padding: 30px;
    border-radius: 15px;
    border: none;
    box-shadow: 0 8px 30px rgba(119, 168, 168, 0.2);
    margin-top: 30px;
}

.concerts-list li {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.8);
    border-radius: 10px;
    border-left: 4px solid #77A8A8;
    transition: all 0.3s ease;
    color: black;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.concerts-list li:nth-child(1) { animation-delay: 0.1s; }
.concerts-list li:nth-child(2) { animation-delay: 0.2s; }
.concerts-list li:nth-child(3) { animation-delay: 0.3s; }
.concerts-list li:nth-child(4) { animation-delay: 0.4s; }
.concerts-list li:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.concerts-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: rgba(119, 168, 168, 0.2);
}

.concerts-list strong {
    color: black;
}

.no-concerts {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(119, 168, 168, 0.2);
    margin-top: 30px;
}

.no-concerts p {
    margin: 15px 0;
    font-size: 1.1em;
    color: #77A8A8;
}

footer {
    background: linear-gradient(135deg, #77A8A8 0%, #5a8a8a 100%);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
    box-shadow: 0 -4px 20px rgba(119, 168, 168, 0.3);
}

footer p {
    margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .logo-container {
        width: 60px;
        height: 60px;
    }

    .logo {
        max-width: 45px;
        max-height: 45px;
    }

    .presentation-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .presentation-image {
        order: -1; /* Image en premier sur mobile */
        justify-content: center;
    }

    .presentation-photo {
        max-width: 280px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .sub-tabs {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .sub-tab-btn {
        width: 200px;
        text-align: center;
    }

    /* Responsive Hero */
    .hero-section {
        height: 100vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 250px;
        text-align: center;
    }

    header h1 {
        font-size: 1.8em; /* réduit le titre sur mobile */
    }

    .tab-content h2 {
        font-size: 1.8em;
    }
}

/* Lightbox/Modal pour les images */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 70%;
    max-height: 70%;
    position: relative;
    margin-top: -70px; /* Remonte l'image */
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #77A8A8;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 20px 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(119, 168, 168, 0.8);
    color: white;
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 30px;
        padding: 15px 10px;
    }

    .lightbox-prev {
        left: -60px;
    }

    .lightbox-next {
        right: -60px;
    }

    .lightbox-close {
        top: -40px;
        font-size: 24px;
    }
}

/* Contact page: forcer la couleur des coordonnées en noir */
.contact-section {
    color: #000000;
}
.contact-section a {
    color: #000000;
    text-decoration: none;
}
.contact-section a:hover {
    text-decoration: underline;
}

/* Labels (Email/Téléphone/Association/Adresse) en bleu-vert et gras */
.contact-section .contact-label {
    color: #77A8A8; /* couleur principale du site */
    font-weight: 700;
    margin-right: 6px;
}