/**
 * DoYouSicily Brand Theme - Basato su Logo Ufficiale
 * Palette estratta da mselogo.png
 */

:root {
  /* === COLORI PRIMARI (dal logo) === */
  --brand-indigo: #4F46E5;          /* Indigo elettrico - colore principale logo */
  --brand-dark: #110F25;            /* Blu scuro - background logo */
  --brand-gray: #363637;            /* Grigio antracite */
  --brand-light-indigo: #6366F1;    /* Indigo chiaro */
  --brand-purple: #7C3AED;          /* Viola accent */
  
  /* === PALETTE FUNZIONALE === */
  --color-primary-600: #4F46E5;     /* Primario - dal logo */
  --color-primary-700: #4338CA;     /* Primario scuro */
  --color-primary-500: #6366F1;     /* Primario chiaro */
  --color-primary-400: #818CF8;     /* Primario molto chiaro */
  
  --color-secondary-600: #110F25;   /* Secondario - dal logo */
  --color-secondary-700: #0A0A15;   /* Secondario scuro */
  --color-secondary-500: #1E1B3A;   /* Secondario chiaro */
  
  /* === COLORI SEMANTICI === */
  --color-success: #10B981;         /* Verde successo */
  --color-warning: #F59E0B;         /* Arancio warning */
  --color-danger: #EF4444;          /* Rosso errore */
  --color-info: #3B82F6;            /* Blu info */
  
  /* === BACKGROUNDS === */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F9FAFB;
  --bg-dark: #110F25;               /* Dal logo */
  
  /* === TESTI === */
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --text-light: #F9FAFB;
  
  /* === GRADIENTI (mantengo quelli esistenti per compatibilità) === */
  --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --gradient-secondary: linear-gradient(135deg, #110F25 0%, #1E1B3A 100%);
  --gradient-hero: linear-gradient(135deg, #4F46E5 0%, #6366F1 50%, #7C3AED 100%);
  
  /* === SHADOWS === */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  
  /* === BORDERS === */
  --border-color: #E5E7EB;
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

/* === DARK MODE (compatibilità) === */
[data-theme="dark"] {
  --bg-primary: #111827;
  --bg-secondary: #1F2937;
  --bg-dark: #030712;
  
  --text-primary: #F9FAFB;
  --text-secondary: #D1D5DB;
  --text-muted: #9CA3AF;
  
  --border-color: #374151;
}

/* === UTILITY CLASSES === */
.bg-brand {
  background-color: var(--brand-indigo) !important;
}

.text-brand {
  color: var(--brand-indigo) !important;
}

.border-brand {
  border-color: var(--brand-indigo) !important;
}

.btn-brand {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  opacity: 0.95;
}

/* === NAVBAR THEME === */
.navbar-custom {
  background: white;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--brand-indigo);
}

/* === CARD THEME === */
.card-custom {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.card-custom:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* === BADGE THEME === */
.badge-reserved {
  background: var(--gradient-primary);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* === B2B PRICE THEME === */
.b2b-price {
  color: var(--brand-indigo);
  font-size: 24px;
  font-weight: 700;
}

/* === BUTTON PRIMARY (override) === */
.btn-primary-custom {
  background: var(--gradient-primary) !important;
  color: white !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.btn-primary-custom:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3) !important;
}

/* === HERO SECTIONS === */
.hero-gradient {
  background: var(--gradient-hero);
  color: white;
}

/* Console log */
console.log('✅ Theme DoYouSicily caricato - Palette dal logo ufficiale');

