@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --primary-color: #00ffff;
  --secondary-color: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #000;
  color: #fff;
  scroll-behavior: smooth;
}

/* Header Styles */
.header {
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.1);
}

.nav-link {
  color: white;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #00ffff, #00b3b3);
  color: #000;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

/* Service Card Styles */
.service-card {
  background: linear-gradient(145deg, #111, #1a1a1a);
  border-radius: 10px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.3);
}

.service-card .service-icon {
  flex-shrink: 0;
}

.service-card h3 {
  flex-grow: 0;
}

.service-card p {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* Icon circle */
.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #00ffff, #00b3b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* Footer Styles */
.footer {
  background: linear-gradient(to right, #0a0a0a, #111);
  border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
}

.social-icon:hover {
  background: #00ffff;
  transform: translateY(-3px);
  color: black;
}

/* Hero Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

/* Mobile Menu Styles */
#mobile-menu a {
  font-weight: 500;
  transition: color 0.3s;
}

#mobile-menu a:hover {
  color: #00ffff;
}

/* Fix anchor jump when using fixed header */
section[id] {
  scroll-margin-top: 95px; /* Ajuste selon la hauteur de ton header */
}
