@import 'components/navbar.css';
@import 'components/projects.css';
@import 'components/forms.css';
@import 'components/animations.css';
@import 'components/buttons.css';

/* Masquer la barre de défilement sur tous les éléments */
html, body {
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE and Edge */
}

/* Masquer la barre de défilement sur WebKit (Chrome, Safari, etc.) */
html::-webkit-scrollbar, 
body::-webkit-scrollbar {
  display: none;
}

/* Appliquer aux conteneurs avec défilement horizontal */
.overflow-x-auto {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.overflow-x-auto::-webkit-scrollbar {
  display: none;
}

/* Styles globaux */
html, body {
  scroll-behavior: smooth;
}

:root {
  --blue: #3b82f6;
  --background: #0a0a0a;
}

body {
  font-family: "Space Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: var(--background);
  color: #fff;
}

#main-content {
  opacity: 0;
  transition: opacity 0.5s ease;
}

#particles-js {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 1;
  pointer-events: none;
}

section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

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

.glass-card {
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.gradient-text {
  background: linear-gradient(45deg, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-emphasis-color: transparent;
}

/* Style pour les badges de technologies */
.tech-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 1.2rem;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

/* Style pour le bouton glass */
.glass-button {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Animation pour le texte rotatif */
@keyframes fadeInOut {
  0%, 20% { opacity: 0; transform: translateY(10px); }
  5%, 15% { opacity: 1; transform: translateY(0); }
}

.typing-subtitle {
  position: relative;
}

.typing-subtitle::after {
  content: "|";
  animation: blink 1s infinite;
  opacity: 1;
}