/* ============================================================
   GOJI BRASS BAND — CSS
   Palette festive : orange, violet, jaune, teal
============================================================ */

:root {
  --orange:  #FF6B35;
  --purple:  #7B2D8B;
  --yellow:  #FFD23F;
  --teal:    #06D6A0;
  --navy:    #0F0E17;
  --dark:    #1A1A2E;
  --warm:    #FFF5E4;
  --light:   #FAFAFA;
  --pink:    #E91E8C;
}

/* ---- Base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: #222;
  background: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, .fw-black {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
}

/* ---- Navbar ----------------------------------------------- */
#mainNav {
  background: rgba(15, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  transition: background 0.3s;
  padding: 0.75rem 0;
}

#mainNav.scrolled {
  background: rgba(15, 14, 23, 0.97);
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--yellow) !important;
  text-shadow: 0 0 20px rgba(255, 210, 63, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.navbar-nav .nav-link:hover {
  color: var(--yellow) !important;
}

.nav-link-cta {
  background: var(--orange) !important;
  color: #fff !important;
  border-radius: 20px !important;
  padding: 0.4rem 1.2rem !important;
}

.nav-link-cta:hover {
  background: #e85a27 !important;
  color: #fff !important;
}

/* ---- Section commons -------------------------------------- */
.section-header { position: relative; }

.section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.tag-pink   { background: var(--pink);   color: #fff; }
.tag-yellow { background: var(--yellow); color: var(--dark); }
.tag-purple { background: var(--purple); color: #fff; }
.tag-orange { background: var(--orange); color: #fff; }
.tag-teal   { background: var(--teal);   color: var(--dark); }

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.75;
}

/* Section backgrounds */
.section-light  { background: var(--light); }
.section-warm   { background: var(--warm); }

.section-dark {
  background: var(--dark);
  position: relative;
}

.section-teal {
  background: linear-gradient(135deg, #0d6d56 0%, #06403a 100%);
}

.section-navy {
  background: var(--navy);
}

.text-white-75 { color: rgba(255,255,255,0.75) !important; }

/* ---- Hero ------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #1a0a2e;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 1rem 4rem;
}

.hero-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--yellow) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-shadow: none;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll a {
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(8px); opacity: 1; }
}

/* ---- Boutons ---------------------------------------------- */
.btn-primary-custom {
  background: var(--orange);
  border: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: 30px;
  padding: 0.7rem 2rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary-custom:hover {
  background: #e85a27;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: 30px;
  padding: 0.7rem 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(220, 39, 67, 0.35);
  text-decoration: none;
  display: inline-block;
}

.btn-instagram:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(220, 39, 67, 0.5);
}

/* ---- Instagram grid --------------------------------------- */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.instagram-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  display: block;
  text-decoration: none;
  background: #eee;
}

.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.instagram-card:hover img {
  transform: scale(1.06);
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.instagram-card:hover .instagram-overlay {
  opacity: 1;
}

.instagram-caption {
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
  line-height: 1.4;
}

/* ---- Répertoire ------------------------------------------- */
.repertoire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.75rem;
}

.repertoire-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  transition: background 0.2s, border-color 0.2s;
}

.repertoire-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--yellow);
}

.repertoire-icon {
  color: var(--yellow);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.repertoire-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.repertoire-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.repertoire-artist {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.repertoire-genre {
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 20px;
  align-self: flex-start;
  margin-top: 2px;
}

/* ---- Effectif -------------------------------------------- */
.members-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.member-card {
  width: 220px;
  text-align: center;
  transition: transform 0.3s;
}

.member-card:hover {
  transform: translateY(-6px);
}

.member-photo-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--orange);
  box-shadow: 0 6px 25px rgba(255, 107, 53, 0.3);
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.member-card:hover .member-photo {
  transform: scale(1.08);
}

.member-name {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.member-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.member-desc {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
  line-height: 1.5;
}

/* ---- Services -------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ---- Contact --------------------------------------------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.2rem;
}

.contact-value {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-value:hover {
  color: var(--teal);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-link:hover {
  transform: translateY(-4px);
  color: #fff;
}

.social-insta {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

.social-fb {
  background: #1877F2;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.social-yt {
  background: #FF0000;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

/* Contact form */
.contact-form .form-control {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form .form-control:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.2);
  outline: none;
}

.contact-form .form-control::placeholder {
  color: rgba(255,255,255,0.35);
}

.contact-form .form-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.invalid-feedback {
  color: #ff8a80;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ---- Footer ----------------------------------------------- */
.footer {
  background: #08080f;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---- Reveal animation on scroll --------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---- Responsive ------------------------------------------- */
@media (max-width: 768px) {
  .members-grid {
    gap: 1.5rem;
  }

  .member-card {
    width: 160px;
  }

  .member-photo-wrap {
    width: 130px;
    height: 130px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
