@import url(fontawesome-all.min.css);

@font-face {
    font-family: "Rock's Death";
    src: url('../fonts/rocks-death.woff2') format('woff2'),
        url('../fonts/rocks-death.woff') format('woff');
    font-display: swap;
}

/* Utilisation de la police de secours pendant le chargement */
.logo, .hero-title, .footer-logo {
    font-family: "Rock's Death", Impact, sans-serif;
    font-weight: 700;
}

:root {
    --primary: #e62b1e;
    --dark-bg: #1a1a1a;
    --medium-bg: #222;
    --light-bg: #2a2a2a;
    --accent: #ffcc00;
    --text-light: #f5f5f5;
    --text-medium: #ccc;
    --text-dark: #999;
    --border: #444;
    --transition-duration: 0.5s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header avec barre de séparation discrète */
header {
    background-color: var(--dark-bg);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: top 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.logo, .hero-title, .footer-logo {
    font-family: "Rock's Death", Impact, sans-serif;
    font-weight: 700;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: var(--primary);
}

/* Navigation épurée - Nouvel ordre */
nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 30px;
    position: relative;
}

nav a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    transition: all var(--transition-duration);
    position: relative;
}

nav a:hover, 
nav a.active {
    color: var(--text-light);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-duration);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Hero Section avec titre rock et fond flouté */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 90px;
    overflow: hidden;
}

/* Image de fond avec effet de flou */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../images/yato/band.jpg') no-repeat center center/cover;
    filter: blur(4px);
    z-index: -2;
    transform: scale(1.05); /* Compensation du flou */
}

/* Overlay sombre */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 30, 30, 0.85), rgba(30, 30, 30, 0.9));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    text-transform: none;
    letter-spacing: normal;
    color: transparent;
    text-shadow: none;
    -webkit-text-stroke: 0;
    text-stroke: 0;
    
    /* Nouveaux styles pour l'image */
    width: 40%;
    max-width: 600px; /* Largeur maximale pour les grands écrans */
    height: auto;
    margin: 0 auto -55px; /* Conserver la marge du design original */
    position: relative;
    z-index: 1;
}

.hero-title img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    max-height: 200px; /* Limite la hauteur */
    object-fit: contain; /* Garantit une bonne proportion */
}

/* Ajustements pour tablettes */
@media only screen and (max-width: 992px) {
    .hero-title {
        max-width: 500px;
    }
}

/* Ajustements pour mobiles */
@media only screen and (max-width: 768px) {
    .hero-title {
        max-width: 400px;
        margin-bottom: -40px; /* CORRECTION: Réduit de -20px à -10px */
    }
    
    .hero p {
        font-size: 1.2rem;
        padding: 0 15px;
        max-width: 90%;
        box-sizing: border-box;
        letter-spacing: 1px;
        margin: 5px auto 15px; /* CORRECTION: Réduit la marge verticale */
        line-height: 1.4;
    }
    
    .hero .btn {
        margin-top: 30px; /* CORRECTION: Réduit l'espace au-dessus du bouton */
    }
}

@media only screen and (max-width: 576px) {
    .hero-title {
        max-width: 300px;
        margin-bottom: -35px; /* CORRECTION: Réduit encore plus sur très petits écrans */
    }
    
    .hero p {
        font-size: 1rem; /* CORRECTION: Taille de police plus petite */
        margin: 0 auto 10px; /* CORRECTION: Marge verticale minimale */
    }
    
    .hero .btn {
        margin-top: 20px; /* CORRECTION: Réduit encore l'espace au-dessus du bouton */
    }
}

@media only screen and (max-width: 400px) {
    .hero-title {
        max-width: 250px;
        margin-bottom: -35px;
    }
    
    .hero p {
        font-size: 0.9rem; /* Taille minimale */
        max-width: 100%; /* Prend toute la largeur disponible */
        padding: 0 5px; /* Padding minimal */
    }
}

.hero p {
    font-family: "Rock's Death", Impact, sans-serif;
    font-size: 1.5rem;
    margin: 10px auto 20px;
    color: var(--text-medium);
    max-width: 600px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    text-align: center;
    padding: 0 20px;
    text-shadow: 0 0 3px rgba(0,0,0,0.7);
}

.hero p::before,
.hero p::after {
    content: '✧';
    color: var(--primary);
    margin: 0 15px;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.8));
}

.btn {
    display: inline-block;
    background: transparent;
    color: var(--text-light);
    padding: 15px 45px;
    border: 2px solid var(--primary);
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all var(--transition-duration);
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    box-shadow: 0 0 15px rgba(230, 43, 30, 0.4);
}

/* Section Styles avec fonds plus clairs */
.section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-duration), transform var(--transition-duration);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.light-section {
    background-color: var(--medium-bg);
}

.dark-section {
    background-color: var(--dark-bg);
}

.section-title {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    display: none;
}

.section-subtitle {
    display: none;
}

/* Tour Dates Section - Version épurée avec nouvelles dates */
.tour-dates {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.tour-date {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-duration);
    border-left: 3px solid transparent;
    margin-bottom: 15px;
    background: var(--light-bg);
}

.tour-date:hover {
    border-left: 3px solid var(--primary);
    transform: translateX(5px);
}

.date-info {
    flex: 1;
    padding-left: 20px;
}

.date-info h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.date-info .location {
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: 8px;
}

.date-info .venue {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.date-info .city {
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.tour-date .date {
    min-width: 100px;
    text-align: center;
    background: var(--dark-bg);
    padding: 10px;
    border: 1px solid var(--border);
}

.tour-date .date .day {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
}

.tour-date .date .month {
    font-size: 1.1rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-top: 5px;
}

/* Message aucun concert - Style identique aux blocs tour-date */
.no-concerts-msg {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-duration);
    border-left: 3px solid var(--primary);
    margin-bottom: 15px;
    background: var(--light-bg);
    text-align: center;
}

.no-concerts-msg .date-info {
    flex: 1;
    padding: 0;
}

.no-concerts-msg h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.no-concerts-msg .message {
    color: var(--text-medium);
    font-size: 1.1rem;
    font-style: italic;
}

/* Aperçu Photos et Vidéos */
.preview-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 40px;
    width: 100%;
}

.preview-item {
    height: 160px;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-duration);
    border: 2px solid transparent;
    cursor: pointer;
}

.preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(230, 43, 30, 0.3);
    border-color: var(--primary);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-duration);
}

.preview-item:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay i {
    color: white;
    font-size: 2rem;
}

/* Contact Section simplifiée */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info {
    text-align: center;
    margin-bottom: 30px;
}

.contact-info h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-text {
    color: var(--text-medium);
}

.contact-text strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition-duration);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-form {
    width: 100%;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-light);
    font-family: 'Roboto', sans-serif;
    transition: border-color var(--transition-duration);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Feedback messages */
.feedback {
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    text-align: center;
    display: none;
    transition: all var(--transition-duration);
}

.feedback.success {
    background-color: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.feedback.error {
    background-color: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* Footer */
footer {
    background: #151515;
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-content {
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    display: inline-block;
    letter-spacing: 3px;
    transition: transform var(--transition-duration);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo span {
    color: var(--primary);
}

.footer-tagline {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.copyright {
    color: var(--text-dark);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    max-width: 500px;
    margin: 30px auto 0;
    padding-top: 20px;
}

/* Lightbox Styles améliorée */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    animation: zoom 0.3s;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    display: block;
    margin: auto;
}

.lightbox-video {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

@keyframes zoom {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 3100;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.close:hover,
.close:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 3050;
}

.prev, .next {
    cursor: pointer;
    color: white;
    font-size: 50px;
    font-weight: bold;
    padding: 15px;
    transition: 0.3s;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev:hover, .next:hover {
    color: var(--primary);
    background: rgba(0, 0, 0, 0.6);
}

#caption {
    margin: 15px auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* Correction du centrage vertical */
.media-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh; /* Prend toute la hauteur de l'écran */
    position: relative;
}

.media-content {
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Debug info */
.debug-info {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 10000;
    display: none;
}

/* Styles optimisés pour la popup de news */
.news-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 380px;
    width: 100%;
    background: var(--medium-bg);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
    display: none;
    text-align: center;
    will-change: transform, opacity;
}

.news-popup.visible {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.popup-title {
    font-family: "Rock's Death", Impact, sans-serif;
    font-size: 1.4rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
    text-align: center;
    padding-right: 30px;
}

.close-popup {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    line-height: 1;
    position: absolute;
    top: 15px;
    right: 15px;
}

.close-popup:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.popup-content {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    text-align: center;
    margin: 0 auto;
    max-width: 90%;
}

.popup-highlight {
    color: var(--accent);
    font-weight: 700;
}

.popup-footer {
    margin-top: 20px;
    text-align: center;
}

.popup-action {
    display: inline-block;
    background: var(--primary);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.popup-action:hover {
    background: #c22419;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(230, 43, 30, 0.3);
}

/* Styles pour le bouton de réouverture */
.reopen-popup-container {
    text-align: center;
    margin: 25px auto 10px;
    width: 100%;
}

.reopen-btn {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reopen-btn:hover {
    background: #c22419;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(230, 43, 30, 0.3);
}

/* Nouveau CSS pour les onglets */
.concert-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.concert-tab {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    background-color: var(--light-bg);
    color: var(--text-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-duration);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.concert-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width var(--transition-duration);
    z-index: -1;
}

.concert-tab:hover::before {
    width: 100%;
}

.concert-tab:hover {
    color: var(--text-light);
    box-shadow: 0 0 10px rgba(230, 43, 30, 0.4);
}

.concert-tab.active {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 43, 30, 0.3);
}

.concert-tab.active::before {
    width: 100%;
}

.past-date {
    opacity: 0.7;
    background: var(--dark-bg);
}

.past-date:hover {
    border-left: 3px solid var(--text-dark);
}

/* Indicateur d'année pour les concerts */
.year-indicator {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: normal;
  text-transform: none;
  letter-spacing: normal;
}

/* Style spécifique pour les années passées */
.past-date .year-indicator {
  background: rgba(200, 0, 0, 0.2);
  color: #d0d0d0;
}

/* Adaptation mobile */
@media (max-width: 768px) {
  .year-indicator {
    display: block;
    margin-left: 0;
    margin-top: 5px;
  }
}

/* Adaptation mobile pour les onglets */
@media only screen and (max-width: 768px) {
    .concert-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .concert-tab {
        width: 100%;
        max-width: 300px;
        padding: 10px 20px;
    }
}

/* Responsive pour petits écrans */
@media only screen and (max-width: 768px) {
    .news-popup {
        max-width: calc(100% - 40px);
        right: 20px;
        bottom: 20px;
        left: 20px;
        padding: 20px;
    }
    
    .popup-title {
        font-size: 1.2rem;
        padding-right: 25px;
    }
    
    .popup-content {
        font-size: 1rem;
    }
    
    .close-popup {
        top: 10px;
        right: 10px;
    }
    
    .reopen-btn {
        font-size: 0.85rem;
        padding: 10px 20px;
    }
}

@media only screen and (max-width: 480px) {
    .news-popup {
        padding: 15px;
        bottom: 15px;
        right: 15px;
        left: 15px;
    }
    
    .popup-title {
        font-size: 1.1rem;
        padding-right: 20px;
    }
    
    .popup-content {
        font-size: 0.95rem;
    }
    
    .popup-action {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
    
    .reopen-btn {
        width: 90%;
        justify-content: center;
    }
}

/* Pour les petits écrans */
@media only screen and (max-width: 992px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .lightbox-video {
        width: 90%;
        height: auto;
    }
    
    .prev, .next {
        font-size: 40px;
        width: 50px;
        height: 50px;
    }
}

@media only screen and (max-width: 768px) {
    .header-container {
        padding: 15px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    /* Menu hamburger pour mobile */
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--dark-bg);
        transition: right var(--transition-duration) ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 70px 20px 20px;
        margin-top: 0;
    }
    
    nav li {
        margin: 15px 0;
    }
    
    nav a {
        font-size: 1.1rem;
        padding: 10px 0;
        display: block;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero p::before,
    .hero p::after {
        content: none; /* Supprime les symboles */
    }

    .section-title h2 {
        font-size: 2rem;
    }
    
    .tour-date {
        flex-direction: column;
        text-align: center;
    }
    
    .date-info {
        padding-left: 0;
        margin-top: 15px;
    }
    
    .preview-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lightbox-content {
        width: 95%;
    }
    
    #caption {
        width: 95%;
    }
    
    .prev, .next {
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    /* Correction centrage boutons */
    .preview-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .preview-section > .btn {
        display: block;
        margin: 20px auto 0;
        width: max-content;
        max-width: 90%;
        text-align: center;
    }
}

@media only screen and (max-width: 576px) {
    .hero p {
        font-size: 1.1rem;
    }
    
    .preview-section > .btn {
        padding: 12px 25px;
        font-size: 1rem;
        white-space: normal;
    }
    
    .tour-date .date {
        margin-bottom: 15px;
    }
    
    .preview-container {
        grid-template-columns: 1fr;
    }
    
    .prev, .next {
        font-size: 25px;
        width: 35px;
        height: 35px;
        padding: 10px;
    }
}

/* ================== GALERIE PHOTOS ================== */
.hero-photos {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 90px;
    overflow: hidden;
}

.hero-photos .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/yato/band.jpg') no-repeat center center/cover;
    filter: blur(8px);
    z-index: -2;
    transform: scale(1.05);
}

.hero-photos .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 30, 30, 0.85), rgba(30, 30, 30, 0.9));
    z-index: -1;
}

.gallery-section {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: transparent;
    color: var(--text-medium);
    border: 1px solid var(--border);
    padding: 10px 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all var(--transition-duration);
    border-radius: 30px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    height: 280px;
    transition: all var(--transition-duration);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(230, 43, 30, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-light);
    transform: translateY(100%);
    transition: transform var(--transition-duration);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-caption p {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    background: var(--light-bg);
    color: var(--text-medium);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-duration);
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

/* ================== OBSERVATEUR D'INTERSECTION ================== */
@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-duration), transform var(--transition-duration);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================== ONGLETS MEDIAS ================== */
.media-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.media-tab {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    background-color: var(--light-bg);
    color: var(--text-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-duration);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.media-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width var(--transition-duration);
    z-index: -1;
}

.media-tab:hover::before {
    width: 100%;
}

.media-tab:hover {
    color: var(--text-light);
    box-shadow: 0 0 10px rgba(230, 43, 30, 0.4);
}

.media-tab.active {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 43, 30, 0.3);
}

.media-tab.active::before {
    width: 100%;
}

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

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

/* ================== VIDEOS ================== */
.video-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    height: 280px;
    cursor: pointer;
}

.video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay i {
    color: white;
    font-size: 3rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.video-item:hover .video-overlay i {
    opacity: 1;
}

/* ================== LIGHTBOX YOUTUBE ================== */
.youtube-iframe {
    width: 80vw;
    height: 45vw; /* Ratio 16:9 */
    max-width: 1200px;
    max-height: 675px;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

@media (max-width: 992px) {
    .youtube-iframe {
        width: 90vw;
        height: 50.625vw; /* 16:9 */
    }
}

@media (max-width: 768px) {
    .youtube-iframe {
        width: 95vw;
        height: 53.4375vw; /* 16:9 */
    }
}

/* Icône YouTube dans l'overlay */
.preview-overlay .fa-youtube {
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.preview-overlay .fa-youtube:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

/* Ajustements pour la section vidéos */
#videos .preview-container {
    margin-bottom: 30px;
}

#videos .preview-item {
    height: 180px;
}

/* Styles pour les photos récentes (3 lignes) */
#photos .preview-container {
    margin-bottom: 30px;
}

#photos .preview-item {
    height: 200px;
}

@media only screen and (max-width: 768px) {
    #photos .preview-item {
        height: 180px;
    }
}

@media only screen and (max-width: 480px) {
    #photos .preview-item {
        height: 150px;
    }
}

/* Bouton play blanc dans cercle gris */
.preview-overlay .fa-play {
    font-size: 1.8rem;
    color: white;
    background-color: rgba(100, 100, 100, 0.6); /* Gris semi-transparent */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.preview-overlay .fa-play:hover {
    background-color: rgba(150, 150, 150, 0.8); /* Gris plus clair */
    transform: scale(1.1);
}

/* Style pour tous les boutons d'overlay */
.preview-overlay i {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}
