/* Cabinet Header Styles */
.cabinet-header-wrapper {
  background-image: url('../images/backgroundoffice.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--black);
  margin-bottom: 5rem;
}

.cabinet-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 700px;
  position: relative;
  z-index: 2;
}

.cabinet-header h1 {
  font-weight: 600;
  font-size: 2.5rem;
  color: var(--black);
  text-align: center;
  position: relative;
  z-index: 2;
}

.cabinet-header h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--coral);
  margin: 10px auto 0;
  position: relative;
  z-index: 2;
}

.cabinet-header-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

/* Cabinet Section Styles - Matching React exactly */
.cabinet-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  gap: 6rem;
}

.cabinet-section h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1rem;
}

.cabinet-section h2 {
  font-size: 1.8rem;
  color: var(--black);
}

.cabinet-section h3 {
  font-size: 1.4rem;
  color: var(--black);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.cabinet-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--black);
  font-family: var(--font-primary);
  text-align: justify;
}

.cabinet-section strong {
  color: var(--blue);
}

.cabinet-section .valeurs ul {
  list-style: none;
  padding-left: 2rem;
  margin: 1rem 0;
}

.cabinet-section .valeurs li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.cabinet-section .valeurs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--coral);
}

.cabinet-section .rendez-vous-button {
  display: inline-block;
  padding: 1rem 2rem;
  margin-top: 2rem;
  background-color: transparent;
  border: 2px solid var(--coral);
  color: var(--coral);
  font-family: var(--font-primary, 'Montserrat');
  font-weight: 500;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cabinet-section .rendez-vous-button:hover {
  background-color: var(--coral);
  color: white;
  transform: translateY(-2px);
}

.cabinet-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--coral);
  margin: 10px 0 0;
  position: relative;
  left: 0px;
  z-index: 2;
}

.cabinet-section .cabinet-content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cabinet-section .formation,
.cabinet-section .experience,
.cabinet-section .localisation,
.cabinet-section .valeurs {
  width: 100%;
}

.cabinet-section-content {
  display: flex;
  flex-direction: row;
  gap: 6rem;
  max-width: 1150px;
}

/* Image and offset border */
.cabinet-section .offset-border {
  position: absolute;
  top: -2rem;
  left: 2rem;
  width: 100%;
  height: 100%;
  border: 2px solid var(--coral);
  border-radius: 15px;
  z-index: 1;
}

.cabinet-section .right-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.cabinet-section .profile-image-container {
  position: relative;
  display: inline-block;
  width: fit-content;
}

.cabinet-section .profile-image {
  border-radius: 10px;
  height: 100%;
  width: 400px;
  object-fit: cover;
  position: relative;
  z-index: 2;
}



.cabinet-section .contact {
  width: 80%;
}

/* Responsive Styles */

/* Medium Devices (Tablets and small desktops) */
@media (max-width: 1024px) {
  .cabinet-section-content {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
  }

  .cabinet-section .cabinet-content {
    max-width: 600px;
    text-align: left;
  }

  .cabinet-section .right-column {
    width: 100%;
    align-items: center;
  }

  .cabinet-section .profile-image {
    width: 300px;
  }

  .cabinet-section h1 {
    font-size: 2rem;
  }

  .cabinet-section h2 {
    font-size: 1.5rem;
  }

  .cabinet-section h3 {
    font-size: 1.3rem;
  }
}

/* Small Devices (Mobile screens) */
@media (max-width: 768px) {
  .cabinet-section {
    margin-top: 50px;
    gap: 4rem;
  }

  .cabinet-section-content {
    gap: 3rem;
    padding: 0 1.5rem;
  }

  .cabinet-section .cabinet-content {
    max-width: 100%;
  }

  .cabinet-section h1 {
    font-size: 2rem;
  }

  .cabinet-section h2 {
    font-size: 1.5rem;
  }

  .cabinet-section h3 {
    font-size: 1.3rem;
  }

  .cabinet-section .profile-image {
    width: 250px;
  }


}

/* Extra Small Devices (Very small mobile screens) */
@media (max-width: 480px) {
  .cabinet-section-content {
    gap: 2rem;
    padding: 0 1rem;
  }

  .cabinet-section h1 {
    font-size: 1.8rem;
  }

  .cabinet-section h2 {
    font-size: 1.3rem;
  }

  .cabinet-section .profile-image {
    width: 200px;
  }



  .cabinet-section .rendez-vous-button {
    width: 100%;
    text-align: center;
  }
}

/* Responsive styles for cabinet header */
@media (max-width: 768px) {
  .cabinet-header {
    height: 500px;
  }
  
  .cabinet-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .cabinet-header {
    height: 400px;
  }
  
  .cabinet-header h1 {
    font-size: 1.8rem;
  }
} 