/* Dark Moon Events - Custom Styles */

:root {
    --primary-color: #121212;
    --secondary-color: #c9b45c;
    --accent-color: #e6d28c;
    --text-light: #ffffff;
    --text-dark: #121212;
    --gray-dark: #343a40;
    --gray-light: #f8f9fa;
}

/* Polices importées */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Import ZTOtez font */
@font-face {
    font-family: 'ZTOtez';
    src: url('../fonts/ZTOtez-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
    background-color: black;
    line-height: 1.6;
    padding-top: 80px; /* Espace pour la navbar fixe */
}

.lead {
    font-family: 'ZTOtez', sans-serif;
    font-size: 1.8rem;
}

.subtitle {
    color: var(--secondary-color) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'ZTOtez', 'Roboto', sans-serif;
    font-weight: 400;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2.25rem;
}

h5 {
    font-size: 1.5rem;
}

/* Dividers */
.divider {
    width: 80px;
    height: 4px;
    background-color: var(--gray-dark);
    position: relative;
}

.divider-inner {
    display: block;
    width: 40px;
    height: 4px;
    background-color: var(--secondary-color);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.bg-danger {
    background-color: var(--accent-color) !important;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline-light {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-light:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-dark);
}

/* Header & Navigation */
.navbar {
    padding: 1rem 0;
    border-bottom: 2px solid var(--secondary-color);
    background-color: var(--primary-color) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}

.navbar-brand {
    font-family: 'ZTOtez', sans-serif;
    font-size: 1.8rem;
    color: var(--text-light);
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'ZTOtez', sans-serif;
    color: var(--text-light);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    padding: 3.95rem 0;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/header-darkmoon.jpg');
}

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

.hero-btn {
    margin: 0;
}

/* Page-specific hero backgrounds */
.hero-about {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/header-darkmoon.jpg');
}

.hero-bands {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/header-darkmoon.jpg');
}

.hero-gigs {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/header-darkmoon.jpg');
}

.hero-contact {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/header-darkmoon.jpg');
}

.hero-photos {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/header-darkmoon.jpg');
}

.hero h1 {
    font-family: 'ZTOtez', sans-serif;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero p.lead {
    font-family: 'ZTOtez', sans-serif;
    font-size: 2.0rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary-color) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero .fs-3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Card Cards */
.card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

/* Square band cards */
.band-card {
    aspect-ratio: 1/1 !important;
    position: relative;
    background-color: var(--dark-color);
}

.band-card a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.band-card .card-img-container,
.band-card .card-img-top {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
}

/* Card borders */
.card.border-danger {
    border-color: var(--warning-color) !important;
}

/* Biography section */
.biography {
    border-left: 4px solid var(--warning-color) !important;
}
/** end yellow style css **/

.band-card .text-white {
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.7);
}

.band-card:hover {
    transform: translateY(-5px);
}

.band-card .card-img-container {
    height: 100%;
}

.band-card .card-img-container img {
    height: 100%;
    object-fit: cover;
}

.band-card .card-img-top {
    height: 100%;
}

.band-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0 5px;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.icon-circle i {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Effets hover pour les icônes */
.social-icon:hover .icon-circle[style*="background-color: #1877F2"] i {
    color: #1877F2;
}
.social-icon:hover .icon-circle[style*="background-color: #1877F2"] {
    background-color: white !important;
}

.social-icon:hover .icon-circle[style*="background-color: #C13584"] i {
    color: #C13584;
}
.social-icon:hover .icon-circle[style*="background-color: #C13584"] {
    background-color: white !important;
}

.social-icon:hover .icon-circle[style*="background-color: #FF0000"] i {
    color: #FF0000;
}
.social-icon:hover .icon-circle[style*="background-color: #FF0000"] {
    background-color: white !important;
}

/* Audio Platforms */
.band-audio-platforms {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.audio-platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0 5px;
}

.audio-platform-icon:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Effets hover pour les plateformes audio */
.audio-platform-icon:hover .icon-circle[style*="background-color: #1DB954"] i {
    color: #1DB954;
}
.audio-platform-icon:hover .icon-circle[style*="background-color: #1DB954"] {
    background-color: white !important;
}

.audio-platform-icon:hover .icon-circle[style*="background-color: #00C7F2"] i {
    color: #00C7F2;
}
.audio-platform-icon:hover .icon-circle[style*="background-color: #00C7F2"] {
    background-color: white !important;
}

.audio-platform-icon:hover .icon-circle[style*="background-color: #FFFFFF"] i {
    color: #FF0000;
}
.audio-platform-icon:hover .icon-circle[style*="background-color: #FFFFFF"] {
    background-color: #EEEEEE !important;
}

.audio-platform-icon:hover .icon-circle[style*="background-color: #232F3E"] i {
    color: #232F3E;
}
.audio-platform-icon:hover .icon-circle[style*="background-color: #232F3E"] {
    background-color: white !important;
}

.audio-platform-icon:hover .icon-circle[style*="background-color: #629aa9"] i {
    color: #629aa9;
}
.audio-platform-icon:hover .icon-circle[style*="background-color: #629aa9"] {
    background-color: white !important;
}

.card-img-container {
    position: relative;
    overflow: hidden;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--secondary-color);
}

.card-img-overlay-dark {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 1rem;
}

.card-title {
    font-family: 'ZTOtez', sans-serif;
    color: var(--secondary-color);
}

.card .btn-dark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.card .btn-dark:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Gigs Tables */
.table-dark {
    background-color: var(--primary-color);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(108, 0, 0, 0.1);
}

.gigs-table {
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gigs-table .table {
    margin-bottom: 0;
}

.gigs-table th {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--secondary-color);
}

.table-dark.table-hover tbody tr:hover {
    background-color: rgba(230, 210, 140, 0.1);
    color: var(--text-light);
}

.past-gig-row {
    opacity: 0.8;
}

.past-gig-row:hover {
    opacity: 1;
}



/* Band Detail Page */
.band-header {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.band-header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.band-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5) 80%, transparent);
}

.band-logo-container {
    position: relative;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.band-logo {
    max-height: 100%;
    width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

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

.biography {
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 5px 5px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    line-height: 1.7;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Footer */
footer {
    background-color: var(--primary-color) !important;
    border-top: 4px solid var(--secondary-color);
}

footer h5 {
    color: var(--accent-color);
    font-family: 'ZTOtez', sans-serif;
}

footer .social-icons a {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p.lead {
        font-size: 1.2rem;
    }
    
    .band-header {
        height: 300px;
    }
}

/* Admin Dashboard */
.admin-card {
    border-left: 4px solid var(--secondary-color);
}

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

/* Override Bootstrap danger classes with custom yellow */
.btn-danger {
    background-color: red !important;
    border-color: red !important;
    color: #fff !important;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    background-color: red !important;
    border-color: red !important;
    color: #000 !important;
}

.bg-danger {
    background-color: red !important;
}

.badge.bg-danger {
    background-color: red !important;
    color: #fff !important;
}

/* About Us Page Styles */
.team-member {
    margin-bottom: 3rem;
}

.team-member-image img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--secondary-color);
}

.team-member-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.team-member-info h2 {
    color: var(--secondary-color);
    font-family: 'ZTOtez', sans-serif;
}

.team-member-info h4 {
    color: var(--accent-color);
    font-weight: 400;
}

.team-member-description {
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .team-member-image {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .team-member-info {
        text-align: center;
    }
}

/* Contact Page Styles */
/* Nous utilisons maintenant la classe .hero commune à toutes les pages */

.contact-card {
    background-color: var(--primary-color);
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.contact-info h2, .business-hours h3 {
    color: var(--secondary-color);
    font-family: 'ZTOtez', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.contact-icon {
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.contact-item h3 {
    color: var(--secondary-color);
    font-family: 'ZTOtez', sans-serif;
}

.contact-link {
    color: var(--text-light);
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline !important;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    text-decoration: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
}

.social-icon-link:hover {
    color: var(--secondary-color);
    background-color: rgba(255, 215, 0, 0.1);
    transform: scale(1.1);
}

/* Table des concerts */
.gigs-table .gig-date {
    white-space: nowrap;
    min-width: 120px; /* Largeur suffisante pour la date et l'heure */
}

/* Pour les écrans plus petits */
@media (max-width: 768px) {
    .gigs-table .gig-date {
        min-width: 100px;
    }
}

.map-container {
    border: 4px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.business-hours-item {
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.business-hours-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.business-hours li span:first-child {
    font-weight: bold;
}

@media (max-width: 768px) {
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-bottom: 1rem;
        margin-right: 0 !important;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Contact page styles */
.contact-row {
    display: flex;
    flex-wrap: wrap;
}

.contact-col {
    display: flex;
    flex-direction: column;
}

.contact-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.map-container .ratio {
    flex: 1;
}

/* About page styles */
.team-member-card {
    background-color: rgba(33, 37, 41, 0.03);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-name {
    color: #c9b45c;
    font-family: 'ZTOtez', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.services-list ul li {
    position: relative;
    padding: 0.2rem 0;
    white-space: normal;
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: inline-block;
    max-width: 100%;
    padding-left: 1px;
    padding-right: 1px;
    color: white;
}

.service-bullet {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 2px;
}

@media (max-width: 576px) {
    .services-list ul li {
        padding: 0.3rem 0;
        margin-bottom: 1rem;
        font-size: 0.95rem;
        width: 100%;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .services-list {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .agency-title-container {
        justify-content: center;
    }
    
    .contact-info-title {
        text-align: center;
    }
}

.services-list ul {
    display: inline-block;
    margin: 0 auto;
    padding: 0;
}

.text-muted {
    color: white;
}

/* Styles pour les cartes de la galerie photo */
#photoGrid .card {
    background-color: #343a40; /* Gris foncé */
    border: 1px solid #454d55;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#photoGrid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

#photoGrid .card-body {
    padding: 1rem;
}

#photoGrid .card-title {
    color: #c9b45c;;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

#photoGrid .card-text {
    color: #dee2e6 !important; /* Texte en blanc cassé */
    font-size: 0.85rem;
    margin-bottom: 0;
}

#photoGrid .position-relative {
    transition: transform 0.3s ease;
}

#photoGrid .card:hover .position-relative {
    transform: scale(1.05);
}