﻿/* General Styles */
html {
  scroll-behavior: smooth;
}



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

body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header and Navigation */
header {
  background-color: #004466;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar ul {
  list-style: none;
  padding: 0;
  display: flex;
}

.navbar ul li {
  margin: 0 15px;
}

.navbar ul li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: color 0.3s, transform 0.3s;
}

.navbar ul li a:hover {
  color: #ffcc00;
  transform: translateY(-3px);
}

.logo img {
  width: 60px;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.1);
}

/* Hero Section */
.page1 {
  background-image: url("strigo.jpg");
  background-size:cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: large;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.text-container h1 {
  font-size: 48px;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease;
}

.text-container p {
  font-size: 18px;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

button {
  background-color: #004466;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s, transform 0.3s;
}

button:hover {
  background-color: #ff9900;
  transform: translateY(-3px);
}

/* Services Section */
.services-grid {
  padding: 80px 20px;
  text-align: center;
  background-color: #fff;
}

.offres {
  max-width: 1200px;
  margin: 0 auto;
}

.services-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
}

.services-grid a {
  padding: 15px 30px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
  display: inline-block;
}

.services-grid a:hover {
  background-color: #0056b3;
  
  transform: translateY(-5px);
}

/* About Section */
.about-section {
  background: white;
  padding: 20px 10px;
  text-align: center;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #34495e;
  min-width: 200px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 1000;
}

/* Style des éléments du dropdown */
.dropdown-menu li {
  display: block;
}

.dropdown-menu li a {
  padding: 10px;
  display: block;
  color: white;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #1a252f;
}

/* Afficher le menu uniquement au survol */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Ajout d’un effet pour éviter la disparition rapide du menu */
.dropdown-menu {
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;

}
.about-section h1 {
  font-size: 32px;
  color: #004466;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
}


.LINK {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.LINK ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.LINK li {
  display: flex;
  align-items: center;
  padding: 20px;
}

.LINK img {
  height: 80px;
  display: flex;
  
  transition: transform 0.3s;
}

.LINK img:hover {
  transform: scale(1.1);
}
.hitachi{
  width: 300px;
}

/* Contact Section */
.contact-info {
  background: #004466;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.contact-info p {
  font-size: 18px;
}

.contact-form {
  background: white;
  padding: 20px;
  border-radius: 5px;
  width: 600px;
  
  margin: 20px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form input{
  width: 100%;
 
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.contact-form textarea {
  width: 100%;
  height: 150px;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.contact-form button {
  width: 100%;
}

/* Articles Section (Unchanged) */
.articles-section {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 24px;
  color: #333;
}

.section-header a {
  text-decoration: none;
  color: #007bff;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.article-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.article-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.article-content {
  padding: 15px;
  flex: 1;
}


.article-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.article-author, .article-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
}



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

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

/* Responsive Design */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    text-align: center;
  }

  .services-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .facts-grid {
    flex-direction: column;
    align-items: center;
  }

  .fact-card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .services-list {
    flex-direction: column;
    align-items: center;
  }

  .text-container h1 {
    font-size: 36px;
  }

  .text-container p {
    font-size: 16px;
  }
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}