/* Global Styles */
:root {
  --primary-color: #006171; /* Teal */
  --secondary-color: #ddbe68; /* Gold */
  --background-color: #f6f4ee; /* Cream background */
  --text-color: #333333;
  --light-color: #ffffff;
  --gray-color: #f0f0f0;
  --font-primary: "Montserrat", sans-serif;
  --font-heading: "Playfair Display", serif;

  textarea {
    min-height: 150px;
    resize: vertical;
  }

  /* Footer */
  .footer {
    padding: 50px 0;
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
  }

  .footer-branding h3 {
    font-size: 1.5rem;
    color: var(--light-color);
    margin-bottom: 10px;
    font-weight: 600;
  }

  .social-links {
    display: flex;
    justify-content: center;
    margin: 30px 0;
  }

  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--primary-color);
    margin: 0 10px;
    font-size: 1.2rem;
  }

  .social-link:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
  }

  .copyright {
    margin-top: 30px;
  }

  .footer-links {
    margin-top: 15px;
  }

  .footer-links a {
    color: var(--light-color);
    margin: 0 10px;
  }

  .footer-links a:hover {
    color: var(--secondary-color);
  }

  /* Responsive Styles */
  @media screen and (max-width: 992px) {
    .hero-text,
    .team-text {
      padding-right: 0;
      margin-bottom: 50px;
    }

    .contact-info {
      padding-right: 0;
      margin-bottom: 20px;
    }

    .hero-content,
    .team-content,
    .contact-content {
      flex-direction: column;
    }

    .section-title {
      font-size: 2rem;
    }
  }

  @media screen and (max-width: 768px) {
    .header-content {
      flex-direction: column;
    }

    .logo {
      margin-bottom: 20px;
    }

    .main-nav {
      width: 100%;
    }

    .main-nav ul {
      flex-direction: column;
      align-items: center;
    }

    .main-nav li {
      margin: 10px 0;
      margin-left: 0;
    }

    .mobile-nav-toggle {
      display: flex;
      position: absolute;
      top: 20px;
      right: 20px;
    }

    .main-nav {
      display: none;
    }

    .main-nav.active {
      display: block;
    }

    .hero,
    .about,
    .services,
    .team,
    .testimonials,
    .why-us,
    .news,
    .contact {
      padding: 70px 0;
    }

    .form-row {
      flex-direction: column;
      gap: 0;
    }

    .hero-text h2 {
      font-size: 1.8rem;
    }

    .services-grid,
    .features-grid,
    .news-grid {
      grid-template-columns: 1fr;
    }
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--background-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  margin-bottom: 20px;
  font-weight: 500;
}

p {
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  line-height: 1.2;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.9rem;
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--light-color);
  border: none;
}

.primary-btn:hover {
  background-color: #004a57;
}

.secondary-btn {
  background-color: var(--light-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

/* Header Styles */
.header {
  background-color: var(--background-color);
  margin: 20px 0;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: rgba(246, 244, 238, 0.95);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0;
  font-weight: 600;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  font-size: 0.9rem;
}

.main-nav a:hover {
  color: var(--primary-color);
}

.contact-btn {
  background-color: var(--primary-color);
  color: var(--light-color) !important;
  padding: 10px 20px;
  border-radius: 5px;
}

.contact-btn:hover {
  background-color: #004a57;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-nav-toggle span {
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 150px 0 50px;
  margin-bottom: 100px;
  background-color: var(--background-color);
}

.hero-content {
  margin: 50px 0 20px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding-right: 50px;
}

.welcome-text {
  color: var(--secondary-color);
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-image {
  flex: 1;
  min-width: 300px;
}

/* About Section */
.about {
  padding: 40px 0;
  background-color: var(--primary-color);
  color: var(--light-color);
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about h2 {
  color: var(--light-color);
  font-size: 2rem;
  font-weight: 600;
}

.about .subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  line-height: 1.3;
}

/* Services Section */
.services {
  padding: 100px 0;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: var(--light-color);
  padding: 40px 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-number {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  text-transform: uppercase;
  font-weight: 600;
}

/* Team Section */
.team {
  padding: 100px 0;
  background-color: var(--background-color);
}

.team-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.team-image {
  flex: 1;
  min-width: 300px;
  padding-right: 50px;
}

.team-text {
  flex: 1;
  min-width: 300px;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: var(--primary-color);
  color: var(--light-color);
  text-align: center;
}

.testimonials .section-title {
  color: var(--light-color);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  padding: 20px;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.testimonial-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.testimonial-author {
  font-style: italic;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.8);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.prev-btn,
.next-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--light-color);
  cursor: pointer;
  padding: 10px;
  margin: 0 15px;
  transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
  color: var(--secondary-color);
}

/* Features Grid */
.why-us {
  padding: 100px 0;
  background-color: var(--background-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.feature-card {
  background-color: var(--light-color);
  padding: 40px 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-number {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.feature-card h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  text-transform: uppercase;
  font-weight: 600;
}

/* News Section */
.news {
  padding: 100px 0;
  background-color: var(--background-color);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.news-card {
  background-color: var(--light-color);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

.news-card h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.news-content p {
  margin-bottom: auto;
}

.read-more {
  color: var(--secondary-color);
  font-weight: bold;
  display: inline-block;
  margin-top: 15px;
  align-self: flex-start;
}

.read-more:hover {
  color: var(--primary-color);
}

/* Contact Section */
.contact {
  padding: 40px 0;
  background-color: var(--primary-color);
  color: var(--light-color);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info .section-title {
  color: var(--light-color);
}

.contact-info ul {
  margin-bottom: 30px;
}

.contact-info li {
  margin-bottom: 15px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 10px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  width: 100%;
  margin-bottom: 20px;
}

input,
textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  background-color: #e5f7fb;
  font-family: var(--font-primary);
}

/* Style de la page */
body {
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
}



/* Conteneur de la carte */

#map {

  position: relative;

    width: 100%;

    padding-bottom: 56.25%; /* ratio 16:9 (tu peux mettre 75% pour un carré) */

    height: 0;

    overflow: hidden;

}



#map iframe {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* ratio 16:9 (16/9 = 0.5625) */
  overflow: hidden;
  border-radius: 12px; /* optionnel : coins arrondis */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* optionnel : petite ombre */

}



.video-container iframe,
.video-container video {

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;

}