/* Variables et Reset */
:root {
  --primary: #ff6b00; /* Orange électrique */
  --secondary: #ffd700; /* Jaune or */
  --dark: #1a1a1a; /* Noir profond */
  --light: #f8f8f8; /* Fond clair */
  --text: #333333; /* Texte principal */
  --text-light: #777777;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
    overflow-y: scroll;
}

body {
  line-height: 1.6;
  color: var(--text);
  background-color: #fff;
  display: flow-root;
  min-height: 100vh;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Barre de navigation */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s;
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  transition: all 0.3s;
}

.navbar.scrolled .logo img {
  height: 40px;
}

.navbar-links {
  display: flex;
  align-items: center;
}

.navbar-links a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.navbar-links a:hover {
  color: var(--primary);
}

.navbar-links a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s;
}

.navbar-links a:hover:after {
  width: 100%;
}

.touch-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  margin-left: 25px;
  transition: all 0.3s;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.touch-btn:hover {
  background-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--dark);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)),
    url("C:\Users\SMART\Desktop\Nouveau dossier (2)\images\hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
  padding: 200px 0 120px;
  margin-top: 60px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

.btn:hover {
  background-color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--light);
}

.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-box {
  text-align: center;
  padding: 40px 30px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary);
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-box i {
  font-size: 50px;
  color: var(--primary);
  margin-bottom: 25px;
  transition: all 0.3s;
}

.feature-box:hover i {
  transform: scale(1.1);
  color: var(--secondary);
}

.feature-box h3 {
  margin-bottom: 15px;
  color: var(--dark);
  font-size: 22px;
}

.feature-box p {
  color: var(--text-light);
  font-size: 15px;
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 25px;
  color: var(--dark);
  position: relative;
}

.about-text h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--primary);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.8;
}

.about-list {
  list-style: none;
  margin-top: 30px;
}

.about-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
  color: var(--text-light);
}

.about-list i {
  color: var(--primary);
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 2px;
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--light);
}

.services h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: var(--dark);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.services h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-item:hover .service-image img {
  transform: scale(1.1);
}

.service-item h3 {
  color: var(--dark);
  padding: 25px 25px 15px;
  font-size: 24px;
  position: relative;
}

.service-item h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.service-item ul {
  list-style: none;
  padding: 0 25px 25px;
}

.service-item li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  color: var(--text-light);
}

.service-item li:before {
  content: "•";
  color: var(--primary);
  font-size: 24px;
  position: absolute;
  left: 0;
  top: -3px;
}

/* Process Section */
.process {
  padding: 100px 0;
  background-color: white;
}

.process h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: var(--dark);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.process h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.step {
  text-align: center;
  padding: 40px 25px;
  background-color: var(--light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background-color: var(--primary);
  color: white;
}

.step:hover h3,
.step:hover p {
  color: white;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 25px;
  position: relative;
  z-index: 1;
}

.step:hover .step-number {
  background-color: white;
  color: var(--primary);
}

.step h3 {
  margin-bottom: 15px;
  color: var(--dark);
  font-size: 22px;
  transition: color 0.3s;
}

.step p {
  color: var(--text-light);
  transition: color 0.3s;
}

/* Testimonials Section */
.testimonials{
  padding: 100px 0;
  background-color: var(--light);
}

.testimonials h2{
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: var(--dark);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.testimonials h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary);
}

.testimonial {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 50px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.client-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 5px solid var(--primary);
}

.client-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content h3 {
  color: var(--dark);
  margin-bottom: 20px;
  font-size: 24px;
}

.testimonial-content p {
  color: var(--text-light);
  margin-bottom: 25px;
  font-style: italic;
  line-height: 1.8;
}

.client strong {
  color: var(--dark);
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

.client span {
  color: var(--primary);
  font-size: 14px;
}

/* Gallery Section */
.gallery-section {
  padding-bottom: 0;
  padding: 100px 0;
  background: white;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: #f1f1f1;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-weight: 500px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
}

.filter-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0px 5px 15px rgba(225 , 105, O, 0.3);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  font-weight: 600px;
  box-shadow: 0px 5px 15px rgba(255, 107, 0, 0.3);
}

@media (max-with: 768px) {
    .filter-btn{
        padding: 8px 15px;
        font-size: 12px;
    }

    .gallery-filter{
        gap: 10px;
    }
    
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  transition: bottom 0.3s;
}

.gallery-item:hover .gallery-overlay {
  bottom: 0;
}

.gallery-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #3498db;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px; 
}

.btn, .touch-btn { 
    transition: all 0.3s ease;
}

.btn:focus, .touch-btn:focus{
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}
/* Contact Section */
.quote-section {
  padding: 100px 0;
  background-color: white;
}

.quote-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--light);
  padding: 60px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quote-form h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 36px;
  color: var(--dark);
  position: relative;
}

.quote-form h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary);
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}


/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 80px 0 30px;
  margin-top: -1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 20px;
}

.footer-section img {
  margin-bottom: 20px;
}

.footer-section p {
  color: #bdc3c7;
  margin-bottom: 25px;
  line-height: 1.8;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-section h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-section h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-section i {
  margin-right: 10px;
  color: var(--primary);
  width: 20px;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #bdc3c7;
  margin-bottom: 15px;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.legal-links a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: var(--primary);
}

/* Responsive Design */
@media (max-width: 992px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-links a {
    margin: 15px 0;
  }

  .touch-btn {
    margin: 20px 0 0;
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    margin-bottom: 40px;
  }

  .testimonial {
    flex-direction: column;
    text-align: center;
  }

  .client-photo {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 180px 0 100px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .quote-form {
    padding: 40px 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .feature-box,
  .step {
    padding: 30px 20px;
  }

  .testimonial {
    padding: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .legal-links {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 576){
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }
}
