<template>
  <LayoutContainer>
    <v-row>
        <v-col cols="12" class="title">
          <h1 class="text-center">Qui sommes nous ?</h1>
        </v-col>
    </v-row>

    <v-row>
      <v-col cols="12">
        <div class="banner-container">
          <img
            src="/images/solutions/school.jpg"
            alt="line"
            class="cover-image"
          />
  

        </div>
      </v-col>
    </v-row>

    <v-row>
      <v-col cols="12" class="menu-container">
        <div v-for="menu in menus" :key="menu.label">
          <v-chip v-if="state.activeMenu === menu.label" class="active-menu">{{ menu.label }}</v-chip>
          <span v-else>{{ menu.label }}</span>
        </div>
      </v-col>
    </v-row>
  </LayoutContainer>
</template>

<script setup>
const state = ref({
  activeMenu: "Qui sommes-nous",
})

const menus = [
  { label: 'Qui sommes-nous' },
  { label: 'nos logiciels' },
  { label: 'l\’agenda opentalent' },
  { label: 'notre histoire' },
  { label: 'notre équipe' }
];
</script>


<style scoped>

.title{
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-family: 'Barlow';
font-style: normal;
font-weight: 600;
font-size: 3rem;
line-height: 85px;
}

.container-title {
  display: flex;
  justify-content: space-around;
  font-family: "Barlow";
  line-height: 16px;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.18em;
  border-bottom: 0.1rem solid #eaeaea;
}

.text-left {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-size: 3rem;
  line-height: 85px;
  color: #000000;
  opacity: 0.1;
  margin-top: 2rem;
  margin-left: 5rem;
}

.logiciel {
  font-family: "Barlow";
  font-style: normal;
  font-size: 3rem;
  line-height: 85px;
  text-align: center;
  color: #000000;
  margin-left: 6rem;
  margin-right: 4rem;
}

.text-right {
  margin-top: 2rem;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-size: 3rem;
  line-height: 85px;
  text-align: center;
  color: #000000;
  text-align: right;
  opacity: 0.1;
  margin-right: 5rem;
}

.menu-container {
  display: flex;
  justify-content: space-around;
  padding: 1rem 10rem;
  background: white;
  color: #bbb8b8;
  font-family: "Barlow";
  font-size: 12px;
  line-height: 16px;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 0.1rem solid #eaeaea;
}

.v-chip.active-menu {
  background: black;
  color: white;
}

.black-square {
  position: absolute;
  bottom: 0.4rem;
  right: 0;
  width: 13rem;
  height: 10rem;
  background-color: black;
  background: #9edbdd;
}

.blue-square {
  position: absolute;
  bottom: 0.5rem;
  right: 12rem;
  width: 13rem;
  height: 10rem;
  background: #0e2d32;
}

.description-square {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 300;
  font-size: 0.8rem;
  text-align: center;
  color: #091d20;
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 0.5rem;
  margin-left: 2rem;
  margin-right: 2rem;
  margin-bottom: 1rem;
}

.content-row {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

.icon {
  margin-left: 2rem;
  margin-right: 2rem;
}

.logo-image {
  width: 90%;
  height: auto;
  margin-top: 1.5rem;
  margin-left: 0.5rem;
}

.banner-container {
  position: relative;
  overflow: hidden;
}

.cover-image {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  transition: transform 0.2s;
  margin: 0 auto;
  transform: scaleX(-1);
}
</style>
