/* Styles modernes pour la page d'accueil */

/* Logo dans le slider - caché sur desktop car déjà dans la navbar */
.logo {
    position: absolute;
    z-index: 900;
    width: 200px;
    max-width: 20%;
    margin-top: 1vh;
    margin-left: 1vw;
    transition: transform 0.3s ease;
}

/* Cacher le logo du slider sur desktop (déjà dans la navbar) */
@media (min-width: 992px) {
    .logo {
        display: none;
    }
}

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

/* Hero Carousel */
#heroCarousel {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 0;
}

#heroCarousel .carousel-item img {
    max-height: 70vh;
    object-fit: cover;
    width: 100%;
}

#heroCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 8px 12px !important;
}

#heroCarousel .carousel-caption h2 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

#heroCarousel .carousel-caption p {
    font-size: 0.75rem;
    margin-bottom: 0;
}

/* Titres plus grands sur desktop */
@media (min-width: 768px) {
    #heroCarousel .carousel-caption {
        padding: 20px !important;
        border-radius: 15px;
    }
    
    #heroCarousel .carousel-caption h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    #heroCarousel .carousel-caption p {
        font-size: 1.5rem;
    }
}

/* Cards pour les vedettes */
.artist-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.artist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

.artist-card img {
    transition: transform 0.3s ease;
    height: 350px;
    object-fit: contain;
    width: 100%;
    background: #f8f9fa;
}

.artist-card:hover img {
    transform: scale(1.05);
}

.artist-card .card-body {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.artist-card .btn-primary {
    background: linear-gradient(135deg, #c7a36d 0%, #b89360 100%);
    border: 2px solid #c7a36d;
    color: white;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.artist-card .btn-primary:hover {
    background: linear-gradient(135deg, #b89360 0%, #a68350 100%);
    border-color: #b89360;
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(199, 163, 109, 0.5);
}

/* Section avec fond alternés */
.section-white {
    background: #ffffff;
}

.section-light {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.section-gradient {
    background: linear-gradient(135deg, #556774 0%, #435561 100%);
    color: white;
}

/* Titres modernes */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #556774;
}

.section-title-gradient {
    background: linear-gradient(135deg, #556774 0%, #c7a36d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-separator {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #556774, #c7a36d);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Bouton billetterie moderne */
.btn-billeterie {
    background: linear-gradient(135deg, #556774 0%, #435561 100%);
    border: none;
    color: white !important;
    padding: 15px 50px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(85, 103, 116, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #c7a36d;
}

.btn-billeterie:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(85, 103, 116, 0.6);
    color: #c7a36d !important;
    border-color: #c7a36d;
}

/* Bouton Google Maps */
.btn-maps {
    background: linear-gradient(135deg, #c7a36d 0%, #b89360 100%);
    border: 2px solid #c7a36d;
    color: white !important;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(199, 163, 109, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-maps:hover {
    background: linear-gradient(135deg, #b89360 0%, #a68350 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(199, 163, 109, 0.6);
    color: white !important;
    border-color: #b89360;
}

/* Container vidéo responsive */
.video-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.video-wrapper video {
    border-radius: 15px;
}

/* Image bénévoles */
.benevoles-img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    height: auto;
}

.benevoles-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* Cartes Info Pratiques */
.info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 3px solid #c7a36d;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.info-card i {
    font-size: 3rem;
    color: #556774;
    margin-bottom: 1rem;
}

.info-card h4 {
    font-weight: 600;
    color: #556774;
    margin-bottom: 0.5rem;
}

/* Plan d'accès */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
    transform: scale(1.01);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.map-container img {
    width: 100%;
    display: block;
}

/* Partenaires carousel */
.partenaire-carousel {
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 1rem;
    min-height: 220px;
}

.partenaire-carousel .carousel-inner {
    width: 100%;
    height: 200px;
    position: relative;
}

.partenaire-carousel .carousel-item {
    height: 200px;
}

.partenaire-carousel .carousel-item img {
    max-height: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .logo {
        max-width: 30%;
    }
    
    #heroCarousel .carousel-item img {
        max-height: 40vh;
    }
    
    .artist-card img {
        height: 330px;
    }
    .btn-billeterie {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

/* Animations d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* Liens */
.link-custom {
    color: #556774;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-custom:hover {
    color: #c7a36d;
    text-decoration: underline;
}
