﻿/* Base */
body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background: #000;
  color: #ddd;
  overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.bounce-in {
  animation: bounceIn 1s ease-in-out;
}

.slide-down {
  animation: slideDown 0.7s ease-out;
}

.hover-pop {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-pop:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

/* Header */
.site-header {
  text-align: center;
  padding: 2rem 1rem;
  background: #0a0a0a;
}

.logo {
  width: 150px;
  margin-bottom: 1rem;
}

.site-header h1 {
  color: #e60000;
  font-size: 2rem;
  margin: 0.5rem 0;
}

.slogan {
  color: #aaa;
  font-size: 1rem;
}

/* Nav */
.navbar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background: #111;
  padding: 1rem;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.navbar a {
  color: #ccc;
  text-decoration: none;
  font-weight: bold;
  position: relative;
}

.navbar a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0%;
  background: #e60000;
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.navbar a:hover::after {
  width: 100%;
}

/* Section */
.section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  color: #e60000;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

/* Services */
.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-box {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #333;
  text-align: center;
}

.service-box h3 {
  color: #e60000;
  margin-bottom: 0.5rem;
}

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

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  background: #222;
  border: none;
  border-radius: 5px;
  color: #fff;
}

.contact-form button {
  padding: 0.8rem;
  background: #e60000;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #b30000;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  background-color: #0a0a0a;
  color: #666;
  border-top: 1px solid #222;
}

/* Illustration grid */
.illustration-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.illustration-grid img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.illustration-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

/* Galerie d'images */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  transition: transform 0.3s;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.red {
  color: #ff0000; /* Rouge vif */
}

.white {
  color: #ffffff;
}
