/* Style principal pour Infinity Production */

/* Variables CSS */
:root {
  --primary-color: #000000;
  --secondary-color: #ffffff;
  --accent-color-1: #ff3366; /* Rose */
  --accent-color-2: #6633ff; /* Violet */
  --accent-color-3: #33ccff; /* Bleu */
  --accent-color-4: #ff9900; /* Orange */
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --transition-speed: 0.3s;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--accent-color-1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2));
  color: var(--secondary-color);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--secondary-color);
}

/* Header et Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-speed) ease;
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  transition: all var(--transition-speed) ease;
}

header.scrolled .logo {
  height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2));
  transition: width var(--transition-speed) ease;
}

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

.hamburger {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--primary-color);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(102, 51, 255, 0.2) 0%, rgba(0, 0, 0, 1) 70%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 200px 20px 0 20px; /* Augmentation du padding-top pour descendre le logo */
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2), var(--accent-color-3), var(--accent-color-4));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient 10s ease infinite;
  background-size: 300% 300%;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: #050505;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  display: inline-block;
  position: relative;
  background: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2));
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  z-index: -1;
}

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

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

/* Gallery Section */
.gallery {
  padding: 100px 0;
  background-color: #000000;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: #050505;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  background: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-text p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-color-1);
  border-radius: 10px;
  z-index: -1;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: #000000;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-details p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-details p i {
  margin-right: 15px;
  color: var(--accent-color-1);
  font-size: 1.2rem;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--secondary-color);
  font-family: var(--font-main);
  transition: all var(--transition-speed) ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color-1);
  background-color: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  padding: 50px 0 20px;
  background-color: #050505;
  text-align: center;
}

.footer-logo {
  height: 80px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 30px;
}

.footer-links li {
  margin: 0 15px;
}

.footer-links a {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 30px;
}

.social-links li {
  margin: 0 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: all var(--transition-speed) ease;
}

.social-links a:hover {
  background-color: var(--accent-color-1);
  transform: translateY(-3px);
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Animations */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Background Animation */
.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.animated-bg span {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  animation: animate 25s linear infinite;
  bottom: -150px;
  border-radius: 50%;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    font-size: 24px;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 20px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 25px;
    font-size: 14px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
}
