/* GMPL - Styles CSS */

/* Variables */
:root {
  --primary-color: #0073cf; /* Bleu GMPL */
  --primary-dark: #004080; /* Bleu GMPL foncé */
  --primary-light: #0066cc; /* Bleu GMPL clair */
  --secondary-color: #004390; /* Autre ton de bleu du logo */
  --accent-color: #0073cf; /* Bleu accent */
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #343a40;
  --text-color: #212529;
  --white: #ffffff;
  --black: #000000;
  --border-radius: 0.375rem;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease-in-out;
}

.logoff {
  width: 200px; height: auto;
}


/* Global Styles */
body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

.section {
  padding: 5rem 0;
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

/* Animation classes */
.fade-in, .slide-in-left, .slide-in-right, .zoom-in {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
  transform: translateY(40px);
}

.slide-in-left {
  transform: translateX(-100px);
}

.slide-in-right {
  transform: translateX(100px);
}

.zoom-in {
  transform: scale(0.8);
}

.fade-in.animated,
.slide-in-left.animated,
.slide-in-right.animated,
.zoom-in.animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Navbar */
.navbar {
  transition: all 0.4s ease;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 0.4rem 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
  height: 40px;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 0.2rem 1rem;
}

.navbar-scrolled .navbar-brand img {
  height: 30px;
}

.navbar .nav-link {
  color: var(--secondary-color);
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  position: relative;
  margin: 0 0.1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  transition: var(--transition);
  border-radius: 3px;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 70%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(0, 115, 207, 0.05);
}

/* Styles pour le dropdown */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 0.8rem 0;
  margin-top: 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform-origin: top center;
  animation: dropdownAnimation 0.3s ease;
}

@keyframes dropdownAnimation {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  padding: 0.7rem 1.5rem;
  color: var(--secondary-color);
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 0;
}

.dropdown-item:hover, 
.dropdown-item:focus {
  background-color: rgba(0, 115, 207, 0.1);
  color: var(--primary-color);
  transform: translateX(5px);
}

.navbar-nav .dropdown-menu {
  min-width: 220px;
}

/* Bouton du menu mobile */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: 6px;
  background-color: rgba(0, 115, 207, 0.1);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 115, 207, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 115, 207, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Menu mobile */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .navbar-nav .nav-link {
    padding: 0.8rem 1rem;
    margin: 0.2rem 0;
    border-radius: 6px;
  }
  
  .dropdown-menu {
    box-shadow: none;
    margin-top: 0.5rem;
    margin-left: 1rem;
    border-left: 2px solid var(--primary-color);
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-color: var(--dark-gray);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-content {
  z-index: 3;
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Responsive Hero Text */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    word-break: break-word;
  }
  
  .hero-content .hero-subtitle:last-child {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    word-break: break-word;
  }
  
  .hero-content .hero-subtitle:last-child {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  .hero-content {
    padding: 0 15px;
  }
  
  .hero {
    min-height: 500px;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-content .hero-subtitle:last-child {
    font-size: 0.75rem;
  }
}

/* Carousel Styles */
#heroCarousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-item {
  height: 100vh;
  min-height: 600px;
  position: relative;
}

.carousel-item img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 4;
  width: 5%;
  transition: opacity 0.3s ease;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px;
  width: 2.5rem;
  height: 2.5rem;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.carousel-indicators {
  z-index: 4;
  margin-bottom: 2rem;
}

.carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.5);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--white);
  transform: scale(1.2);
}

/* Products Section */
.product-card {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.product-image-container {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

.price-tag {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.category-btn {
  border: 1px solid var(--medium-gray);
  background-color: var(--light-gray);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  margin: 0 0.25rem 0.5rem 0;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

/* About Section */
.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.about-feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: 1rem;
}

/* Services Section */
.service-card {
  text-align: center;
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
}

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

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
}

/* Wave Section */
.wave-section {
  position: relative;
  background: var(--primary-color);
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 60px;
}

.wave-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-container svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.wave-container .wave-shape {
  fill: var(--white);
}

.logo-container {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 20px;
}

.logo-wrapper {
  display: inline-block;
  background: var(--white);
  border-radius: 50%;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.wave-logo {
  height: 100px;
  width: auto;
}

/* Responsive Wave Section */
@media (max-width: 768px) {
  .wave-section {
    padding-top: 60px;
    padding-bottom: 40px;
  }
  
  .wave-container svg {
    height: 80px;
  }
  
  .wave-logo {
    height: 70px;
  }
  
  .logo-wrapper {
    padding: 15px;
  }
  
  .footer-content {
    margin-top: 40px;
  }
}

/* Category Banner */
.category-banner {
  background-color: var(--light-gray);
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.category-title {
  margin-bottom: 0;
}

.breadcrumbs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin: 0 0.5rem;
  color: var(--dark-gray);
}

.breadcrumbs a {
  color: var(--dark-gray);
}

.breadcrumbs li:last-child a {
  color: var(--primary-color);
  font-weight: 500;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
  font-size: 0.95rem;
}

.footer-logo {
  max-height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-heading {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
  padding-left: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
  padding-left: 5px;
}

.footer-links a::before {
  content: "▶";
  font-size: 0.6rem;
  margin-right: 10px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--white);
}

.footer-links a:hover::before {
  opacity: 1;
  margin-right: 8px;
}

.footer-social {
  margin-top: 1.5rem;
}

.footer-social .social-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  margin-right: 0.75rem;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  font-size: 1.1rem;
  margin-right: 12px;
  color: var(--white);
  min-width: 20px;
  padding-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 4px 0 0 4px;
}

.newsletter-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  box-shadow: none;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
  border-radius: 0 4px 4px 0;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-heading {
    margin-top: 1.5rem;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    text-align: center;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    margin-right: 0.5rem;
  }
}

