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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

:root {
  --primary-color: #FF6A00;
  --secondary-color: #FF7300;
  --background-color: #2B2B2B;
}

hr {
  margin: 20px 0;
}

section {
  scroll-margin-top: 70px;
}

header {
  background-color: #fff;
  color: var(--primary-color);
  padding: 5px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
  width: 100px;
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

a {
  text-decoration: none;
}

nav ul li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color:#1b1b1b;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 1100;
}

#about {
  position: relative;
  background: url('about.jpg') no-repeat bottom center/cover;
  padding: 100px 0;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

#about h2, #offert h2, #gallery h2, #contact h2, #area h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

#about p {
  z-index: 2;
  position: relative;
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0 20px 20px 20px;
  max-width: 800px;
}

#about > .logoContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  width: 250px;
  border-radius: 25px;
  z-index: 2;
  margin: 20px 0;
  transition: transform 0.3s ease;
}

#about > .logoContainer:hover {
  transform: scale(1.05);
}

#about .logoContainer img {
  width: 200px;
  padding: 10px;
}

#offert {
  padding: 50px 0;
  background-color: #1b1b1b;
  text-align: center;
  color: #fff;
}

.service {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #444;
  text-align: left;
}
.service:last-child {
  border-bottom: none;
}

.service .text {
  flex: 1;
}

.service h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.image-placeholder {
  width: 300px;
  flex-shrink: 0;
}

.image-placeholder > img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

#area {
  position: relative;
  background: url('about.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  padding: 50px 0;
  color: #fff;
}

#area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

#area .container {
  position: relative;
  z-index: 2;
}

#area h2 {
  text-align: center;
}

#area p {
  font-size: 1.2rem;
}

#area ul {
  margin-top: 15px;
  list-style: none;
  padding-left: 0;
  columns: 2;
}

#area ul li {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

#area li::before {
  content: "\F271";
  font-family: 'bootstrap-icons';
  color: var(--primary-color);
  margin-right: 10px;
}

#gallery {
  padding: 50px 0;
  background-color: #1b1b1b;
}

#gallery h2 {
  text-align: center;
  color: #fff;
}

#lightgallery {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

#lightgallery a {
  flex-grow: 1;
  flex-basis: 300px;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#lightgallery a:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 15px rgba(255, 106, 0, 0.3);
}

#lightgallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#contact {
  padding: 50px 0;
  background-color: #2b2b2b;
  text-align: center;
  color: #fff;
}

.info {
  margin-top: 20px;
    padding: 10px;
}

.info a {
  display: inline-block;
  color: #fff;
  border: 2px solid var(--primary-color);
  padding: 20px 30px;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 40%;
}
.info a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.info i {
  margin-right: 10px;
}

footer {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 20px 0;
  text-transform: uppercase;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  #area ul {
    columns: 1;
  }
}

@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;

    background-color: rgba(27, 27, 27, 0.9);
    backdrop-filter: blur(8px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transform: translateX(100%);
    visibility: hidden;

    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    z-index: 1050;
  }

  nav ul.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }

  nav ul li {
    margin: 20px 0;
  }
  nav ul li a {
    font-size: 1.5rem;
    color: #fff;
  }

  .menu-toggle {
    display: block;
  }

  #about {
    padding: 80px 0;
  }

  #about h2, #offert h2, #gallery h2, #contact h2, #area h2 {
    font-size: 2rem;
  }

  #about p {
    font-size: 1rem;
  }

  .service {
    flex-direction: column;
    text-align: center;
  }

  .service .text {
    padding: 10px;
    text-align: center;
  }

  .image-placeholder {
    width: 80%;
    max-width: 250px;
  }
  .service h3 {
    font-size: 1.5rem;
  }

  #area p, #area ul li {
    font-size: 1rem;
  }

  .info a {
    font-size: 1.2rem;
    padding: 15px 20px;
    width: 80%;
    margin: 5px 0;
  }
}