/* KURUMSAL YÖNETİM */
.personal-section {
  display: flex;
  gap: 5%;
  flex-wrap: wrap;
}

.personal {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  width: fit-content;
  text-align: center;
  align-items: center;
  width: 25%;
  padding: 1rem;
  margin-bottom: 3rem;
  background-color: var(--gray-light);
  box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2);
}

.personal p {
  padding: 0;
  margin: 0;
  color: var(--primary-dark);
  font-size: var(--font-size-regular); /* Adjust font size */
  font-weight: var(--typo-regular);
  text-align: center;
}

.personal h2 {
  padding: 0;
  margin: 0;
  color: var(--primary-dark);
  font-size: var(--font-size-medium); /* Adjust font size */
  font-weight: var(--typo-medium);
}

.person-img-container {
  width: 85%;
  height: 200px;
  background-color: var(--white);
  overflow: hidden;

  img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
  }
}

/* KURUMSAL YÖNETİM MODAL */
.modal {
  position: fixed;
  top: 0;
  right: -100%; /* Start outside the screen */
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay color */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: right 0.3s ease; /* Smooth slide-in effect */
  z-index: 1000;
}

.modal-content {
  background-color: var(--white);
  color: var(--primary-dark);
  padding: 20px;
  width: 60vh;
  height: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  position: relative; /* Ensure close button is positioned relative to this */
}

#modal-image {
  width: 200px;
  height: 250px;
  object-fit: cover;
  object-position: top;
}

#modal-name {
  font-size: var(--font-size-subtitle);
  font-weight: var(--typo-regular);
  margin: 0;
  margin: 10px 0 15px 0;
}

#modal-details {
  font-size: var(--font-size-regular);
  font-weight: var(--typo-regular);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px; /* Top-left position */
  font-size: 40px;
  cursor: pointer;
  color: var(--primary-dark);
  z-index: 10;
}

.modal.active {
  right: 0; /* Slide the modal into view */
}

/* SECOND BODY-SECTION */
.menu-content-container {
  padding: 0;
  display: flex;
  width: 100%;
  gap: 50px;
}

.left-menu {
  flex: 25%;
  background-color: var(--gray-light);
  min-height: 80vh;
  padding-left: 8%;
  padding-top: 25px;
  box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2);
}

.left-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  width: auto;
  padding: 0rem 0rem 0rem 0rem;
}

.left-menu-list a {
  display: block;
  height: 100%;
  width: auto;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0.75rem 1rem 0.75rem 1rem;
  font-size: var(--font-size-regular);
}

.left-menu-selected {
  background-color: var(--gold);
  color: var(--white);
  font-weight: var(--typo-medium);
}

.left-menu-nonselected {
  color: var(--primary-dark);
  font-weight: var(--typo-regular);
}

.left-menu-nonselected:hover {
  background-color: var(--white);
}

.right-content {
  padding-top: 25px;
  padding-bottom: 25px;
  flex: 75%;
  padding-right: 8%;
  color: var(--primary-dark);
}

.right-content h3 {
  margin: 1rem 0rem 1rem 0rem;
  font-weight: 400;
  font-size: var(--font-size-medium);
  font-weight: var(--typo-medium);
}

.right-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.right-content h5 {
  font-size: var(--font-size-medium);
  font-weight: var(--typo-medium);
}

.right-content p {
  font-size: var(--font-size-regular);
  font-weight: var(--typo-regular);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;

  img {
    height: 30px;
  }
}

/* Initial hidden state */
.hidden {
  opacity: 0;
  transform: translateX(100px); /* Adjust for slide-in effect */
  transition: opacity 1s ease, transform 1s ease;
}

/* Visible state with animation */
.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Container styles */
.image-container {
  position: relative; /* Establishes a positioning context */
  width: 100%; /* Set the desired width */
  height: 30vh; /* Set the desired height */
  overflow: hidden; /* Ensures content stays within the bounds */
}

/* Image styles */
.image-container img {
  width: 100%; /* Make the image fit the container */
  height: 100%; /* Adjust as needed for aspect ratio */
  object-fit: cover; /* Keeps image proportions */
}

.image-container .overlay {
  position: absolute; /* Positioned relative to the container */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
}

/* Text overlay */
.overlay-text {
  position: absolute;
  top: 30%;
  left: 8%;
  right: 8%;
  color: var(--gray-light); /* Text color */

  text-align: left; /* Center-align text */
}

.page-title {
  font-size: var(--font-size-regular);
  font-weight: 400;
  margin: 0;
}

.page-sub-title {
  font-size: var(--font-size-title); /* Adjust font size */
  font-weight: 400;
  margin: 0;
}

.report-card {
  display: flex;
  justify-content: space-between;
  background-color: var(--gray-light);
  align-items: center;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2);

  p {
    font-size: var(--font-size-regular);
    font-weight: var(--typo-regular);
    width: fit-content;
    text-align: left;
  }

  a {
    text-decoration: none;
  }
}

.button-classic {
  font-family: var(--font);
  border: 0.5px solid var(--gold);
  background-color: var(--gray-light);
  padding: 8px 25px 8px 25px;
  cursor: pointer;
  color: var(--gold);
  border-radius: var(--button-radius);
  align-items: center;
  position: relative;
  display: flex;
  gap: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.4s ease;
  z-index: 1;
}

.button-classic::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--gold); /* fill color */
  z-index: 0;
  transition: width 0.4s ease;
}

.button-classic span {
  position: relative;
  z-index: 1;
  font-size: var(--font-size-regular); /* Adjust font size */
  font-weight: var(--typo-medium);
  margin: 0;
}

.button-classic:not(:disabled):hover::before {
  width: 100%;
}

.button-classic:not(:disabled):hover {
  color: var(--white);
}

@media (max-width: 1200px) {
  .button-classic {
  padding: 5px 20px 5px 20px;
}
  .button-classic span {
  font-size: var(--font-size-small); /* Adjust font size */
}

.button-classic:not(:disabled):hover::before {
  width: 0%;
}

.button-classic:not(:disabled):hover {
  color: var(--gold);
}

  .right-content {
    padding-left: 8%;
  }

  .personal {
    width: 35%;

    p {
      font-size: var(--font-size-small);
    }

    h2 {
      font-size: var(--font-size-regular);
    }
  }

  .personal-section {
    flex-wrap: wrap;
    justify-content: center;
  }

  .person-img-container {
    height: 150px;
  }

  .page-sub-title {
    font-size: var(--font-size-subtitle); /* Adjust font size */
  }

  /* Container styles */
  .image-container {
    height: 20vh; /* Set the desired height */
  }
}

@media (max-width: 768px) {
  .page-sub-title {
    font-size: 25px; /* Adjust font size */
  }

    .report-card {
    gap: 1rem;

    p {
      width: 60%;
      font-size: var(--font-size-small);
    }

  }

}