/*GLOBAL BOX-SIZING FOR CONSISTENCY*/
*, *::before, *::after {
  box-sizing: border-box;
}

/*PAGE HERO (STATIC – PROFILE PAGE)*/
.page-hero {
  position: relative;
  min-height: 30vh;
  margin-top: var(--nav-height, 100px);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  text-align: center;

  background-image: url("../assets/images/header-page.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* OVERLAY */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28, 62, 91, 0.85),
    rgba(28, 62, 91, 0.55)
  );
}

/* CONTENT */
.page-hero-content {
  position: relative;
  max-width: 720px;
  padding: 0 24px;

  animation: fadeUp 0.8s ease forwards;
}

.page-hero-content h1 {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 8px;
}

.page-hero-content p {
  font-size: 14px;
  opacity: 0.9;
}

.page-hero-content p a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

.page-hero-content p span {
  margin: 0 6px;
  opacity: 0.7;
}

/* HERO ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*PROFILE SECTION */
.profile-section {
  padding: 120px 6vw;
  background: #ffffff;
}

.profile-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

/*PROFILE TEXT*/
.profile-line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-color, #ff6b35);
  margin-bottom: 16px;
}

.profile-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-color, #1c3e5b);
}

.profile-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

/* OPTIONAL LIST (READY IF NEEDED) */
.profile-list {
  margin-top: 24px;
  list-style: none;
  padding: 0;
  columns: 2;
}

.profile-list li {
  font-size: 14px;
  margin-bottom: 10px;
  padding-left: 16px;
  color: #555;
  position: relative;
}

.profile-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent-color, #ff6b35);
}

/*PROFILE IMAGE (ANIMATION TARGET)*/
.profile-image {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.profile-image.active {
  opacity: 1;
  transform: translateY(0);
}

.profile-image img {
  width: min(100%, 420px);
  display: block;
  border-radius: 8px;
}

/* BADGE */
.experience-badge {
  position: absolute;
  left: -32px;
  bottom: 40px;

  background: var(--accent-color, #ff6b35);
  color: #ffffff;

  padding: 16px 12px;
  font-size: 13px;
  font-weight: 600;

  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* DOT DECORATION */
.dot-decoration {
  position: absolute;
  right: 50px;
  top: 20%;

  width: 90px;
  height: 90px;

  background-image: radial-gradient(
    rgba(0, 0, 0, 0.15) 1.5px,
    transparent 1.5px
  );
  background-size: 10px 10px;
}

/*RESPONSIVE*/
@media (max-width: 900px) {
  .profile-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .profile-image {
    order: -1;
  }

  .experience-badge {
    left: auto;
    right: 16px;
    bottom: 16px;

    writing-mode: horizontal-tb;
    transform: none;
  }

  .dot-decoration {
    display: none;
  }
}

@media (max-width: 600px) {
  .profile-section {
    padding: 80px 4vw;
  }

  .profile-container {
    gap: 40px;
  }

  .profile-text h2 {
    font-size: 28px;
  }

  .profile-text p {
    font-size: 14px;
  }

  .experience-badge {
    padding: 12px 10px;
    font-size: 12px;
  }

  .page-hero-content h1 {
    font-size: clamp(28px, 5vw, 36px);
  }
}