p {
  all: unset;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "nav" "main" "footer";
}

nav {
  grid-area: nav;
  background-color: rgb(115, 127, 237);
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.menu-logo {
  display: flex;
  align-items: center;
}

.menu-items {
  display: flex;
  gap: 1rem;
}

.menu-items li {
  list-style: none;
}

.menu-items a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  gap: 32px;
  background-color: #f7f6f6;
}

section {
  padding: 1rem;
  display: flex;
}

#home {
  height: 100vh;
  padding-top: 80px;
  gap: 2rem;
}

.home-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#slogan-phrase {
  margin-bottom: 1rem;
}

#slogan-phrase h1 {
  font-size: 5rem;
  font-weight: 700;
}

#slogan-phrase p {
  font-size: 2rem;
  font-weight: 700;
}

#cta-container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background-color: #4870c7;
  border: none;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-button:hover {
  background-color: #3e67c2;
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-item p {
  display: flex;
  justify-content: center;
  font-size: 2rem;
}

#about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

#owner-infos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

#owner-infos p {
  font-size: 1.2rem;
}

#services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s ease-in-out;
}

.carousel-track img {
  flex-shrink: 0;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#reviews {
  display: flex;
  flex-direction: column;
}

#reviews h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.card-reviews {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 300px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.card-header {
  padding: 16px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
  width: 100%;
  text-align: center;
}

.card-body {
  padding: 16px;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  flex-grow: 1;
}

.card-footer {
  padding: 16px;
  font-size: 12px;
  border-top: 1px solid #ddd;
  width: 100%;
  text-align: center;
}

.star-rating {
  display: inline-block;
  font-size: 0;
}

.star {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('images/star-sharp.svg') no-repeat;
  background-size: contain;
  cursor: pointer;
}

.star.half {
  background: url('images/star-half.svg') no-repeat;
  background-size: contain;
}

.star.filled {
  background: url('images/star.svg') no-repeat;
  background-size: contain;
}

footer {
  grid-area: footer;
  background-color: rgb(115, 127, 237);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.footer-infos {
  width: 100%;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.company-infos {
  display: flex;
  flex-direction: column;
}

.social-media a {
  text-decoration: none;
  color: white;
}

.footer-bottom {
  background-color: #f7f6f6;
  color: #333;
  width: 100%;
  display: flex;
  gap: 1rem;
  justify-content: center;
}