/* ===================================
   ELECTRO VACA ROSA - DESIGN SYSTEM
   =================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=Inter:wght@300;400;500;600&display=swap');

/* ===================================
   CSS VARIABLES
   =================================== */
:root {
  /* Colors - Vibrant Neon Palette */
  --color-primary: #FF0080;
  /* Electric Pink */
  --color-secondary: #00F0FF;
  /* Cyan */
  --color-accent: #B026FF;
  /* Purple */
  --color-highlight: #FFD700;
  /* Gold */

  /* Background Colors */
  --color-bg-dark: #0A0A0F;
  --color-bg-darker: #050508;
  --color-bg-card: rgba(255, 255, 255, 0.05);
  --color-bg-card-hover: rgba(255, 255, 255, 0.1);

  /* Text Colors */
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #B8B8C8;
  --color-text-muted: #6B6B7B;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  --gradient-hero: linear-gradient(135deg, #FF0080 0%, #B026FF 50%, #00F0FF 100%);
  --gradient-animated: linear-gradient(270deg, #FF0080, #B026FF, #00F0FF, #FFD700);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Effects */
  --blur-glass: 20px;
  --shadow-glow: 0 0 30px rgba(255, 0, 128, 0.3);
  --shadow-glow-cyan: 0 0 30px rgba(0, 240, 255, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* Form Styles */
input,
textarea {
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.05);
  /* Match card bg */
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem;
  width: 100%;
  margin-bottom: 1rem;
  font-size: 1rem;
  transition: var(--transition-normal);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-darker);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  margin-bottom: var(--spacing-sm);
  line-height: 1;
}

.hero-logo {
  max-width: 800px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 0, 128, 0.4));
  animation: float 6s ease-in-out infinite;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--color-text-primary);
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--color-text-primary);
}

p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-text-secondary);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

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

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  /*position: fixed;*/
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(var(--blur-glass));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: var(--shadow-card);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: auto;
  transition: var(--transition-normal);
}

.logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.5));
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-links a:hover {
  color: var(--color-text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-md);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: var(--color-bg-darker);
  background-image: url('img/vacarosa-hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.6);
  z-index: 1;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 30%;
  right: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 128, 0.2) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  animation: slideInUp 1s ease;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: var(--spacing-sm);
}

.hero-date {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
  font-weight: 300;
}

/* Typographic Countdown Styles - Specific Fix for Safari */
.countdown-container-simple {
  display: block;
  margin: var(--spacing-md) 0 var(--spacing-lg);
  text-align: center;
}

#days-count {
  display: inline-block;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-heading);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 0.2rem;
  /* Prevent Safari clipping artifacts */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.countdown-text {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  font-weight: 700;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.hero-cta {
  display: inline-flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(255, 0, 128, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-3px);
}

/* ===================================
   SECTIONS
   =================================== */
section {
  padding: var(--spacing-xl) var(--spacing-md);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  margin-bottom: var(--spacing-sm);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  margin-top: var(--spacing-md);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
  background: linear-gradient(180deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 100%);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

/* ===================================
   LINEUP SECTION
   =================================== */
.lineup {
  background: var(--color-bg-dark);
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.artist-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(var(--blur-glass));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: var(--spacing-md);
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.artist-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 0;
}

.artist-card:hover::before {
  opacity: 0.1;
}

.artist-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.artist-card-content {
  position: relative;
  z-index: 1;
}

.artist-name {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-primary);
}

.artist-genre {
  color: var(--color-secondary);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-sm);
}

.artist-time {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ===================================
   TICKETS SECTION
   =================================== */
.tickets {
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
}

.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.ticket-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(var(--blur-glass));
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: var(--spacing-md);
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.ticket-card.featured {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.ticket-card.featured::before {
  content: 'POPULAIRE';
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--gradient-primary);
  color: white;
  padding: 5px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
  letter-spacing: 0.1em;
}

.ticket-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-glow-cyan);
}

.ticket-card.featured:hover {
  transform: translateY(-10px) scale(1.07);
}

.ticket-type {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.ticket-price {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
}

.ticket-features {
  list-style: none;
  margin: var(--spacing-md) 0;
  padding: 0;
}

.ticket-features li {
  padding: var(--spacing-xs) 0;
  color: var(--color-text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-features li:last-child {
  border-bottom: none;
}

/* ===================================
   LOCATION SECTION
   =================================== */
.location {
  background: var(--color-bg-dark);
}

.location-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.location-info {
  background: var(--color-bg-card);
  backdrop-filter: blur(var(--blur-glass));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: var(--spacing-md);
}

.location-info h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-secondary);
}

.location-info p {
  margin-bottom: var(--spacing-sm);
}

.location-visual {
  background: var(--color-bg-card);
  backdrop-filter: blur(var(--blur-glass));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0;
  /* Removed padding for map */
  display: block;
  /* Changed from flex to block */
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.location-visual iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}

/* ===================================
   CASHLESS SECTION
   =================================== */
.cashless {
  background: var(--color-bg-darker);
}

.cashless-widget-container {
  max-width: 800px;
  margin: 0 auto;
  background: #000000;
  /* Fond noir pur */
  padding: var(--spacing-md);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  overflow: hidden;
}

.cashless-widget-container iframe {
  background-color: transparent !important;
  color-scheme: dark;
  /* Suggère au navigateur d'utiliser un thème sombre si supporté */
}

.cashless-widget-container:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq {
  background: var(--color-bg-darker);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.faq-item {
  background: var(--color-bg-card);
  backdrop-filter: blur(var(--blur-glass));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text-primary);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
  max-height: 500px;
  /* Arbitrary large height */
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--color-bg-darker);
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
}

.footer-section p,
.footer-section a {
  color: var(--color-text-secondary);
  text-decoration: none;
  display: block;
  margin-bottom: var(--spacing-xs);
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: var(--transition-normal);
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--gradient-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted);
}

/* Style pour les icônes sociales */
/* Couleur officielle Facebook */
.fb-color {
  color: #1877F2 !important;
  font-size: 2rem;
  /* Ajustez la taille ici */
}

/* Couleur officielle Instagram */
.ig-color {
  font-size: 2rem;
  background: -webkit-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Couleur officielle TikTok */
.tt-color {
  font-size: 2rem;
  color: #fe2c55;
  /* TikTok Pink */
  filter: drop-shadow(2px 2px 0px #25f4ee);
  /* TikTok Cyan shift */
}

/* Espacement et effet au survol */
.social-links a {
  margin-right: 15px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.social-links a:hover {
  transform: scale(1.1);
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mystery Card Specifics */
@keyframes flickerSpecial {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    border-color: rgba(0, 243, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.5);
    border-color: rgba(0, 243, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    border-color: rgba(0, 243, 255, 0.5);
  }
}

.mystery-card .artist-card-content div {
  animation: flickerSpecial 4s infinite ease-in-out;
}

.mystery-card:hover {
  border-color: var(--color-secondary) !important;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.4) !important;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    padding: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .lineup-grid,
  .tickets-grid {
    grid-template-columns: 1fr;
  }

  .ticket-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }

  .navbar {
    padding: var(--spacing-sm);
  }

  .hero {
    min-height: 90vh;
  }
}