/* ======================================================
  PERSONAL PAGE – ULTRA PRO EDITION
  Executive • Premium • Modern • Political Portfolio
  Author: Amit Ku Yadav
  Sections: hero | people | connect | utilities
====================================================== */


/* ======================================================
   GLOBAL PAGE
====================================================== */

.personal-page {
  position: relative;
  overflow-x: hidden;
}

/* Ambient glow */
.personal-page::before {
  content: "";
  position: fixed;
  top: -300px;
  left: -250px;
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    rgba(4,106,56,0.14),
    transparent 70%
  );
  z-index: -1;
  animation: floatGlow 16s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}


/* ======================================================
   MAIN CONTAINER
====================================================== */

.personal-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 160px 28px 80px;
}


/* ======================================================
   HEADER – EXECUTIVE STYLE
====================================================== */

.personal-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(24px);
  transition: 0.3s ease;
}

body.theme-dark .personal-header {
  background: rgba(0, 0, 0, 0.65);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

body.theme-light .personal-header {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.personal-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* ======================================================
   BRAND
====================================================== */

.personal-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.personal-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.personal-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.personal-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.personal-tagline {
  font-size: 0.75rem;
  opacity: 0.6;
}


/* ======================================================
   NAVIGATION
====================================================== */

.personal-nav {
  display: flex;
  gap: 26px;
}

.personal-nav a {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  text-transform: none;  /* keeps camelCase */
  font-weight: 500;
  text-decoration: none;
  opacity: 0.65;
  transition: 0.3s ease;
  color: inherit;
}

.personal-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-green);
  transition: 0.3s ease;
}

.personal-nav a:hover {
  opacity: 1;
}

.personal-nav a:hover::after {
  width: 100%;
}


/* ======================================================
   HERO SECTION
====================================================== */

.personal-section {
  margin-bottom: 120px;
}

.personal-section.glass {
  padding: 60px;
  border-radius: 30px;
  backdrop-filter: blur(28px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.4s ease;
}

.personal-section.glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(4,106,56,0.25);
}

/* Name */
.personal-section h1 {
  font-size: clamp(3rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.personal-section h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: var(--brand-green);
  margin-top: 16px;
  border-radius: 3px;
  opacity: 0.7;
}

/* Role */
.personal-role {
  font-size: 0.95rem;
  opacity: 0.65;
  margin-bottom: 26px;
}

/* Intro */
.personal-intro {
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 720px;
  opacity: 0.9;
}


/* ======================================================
   AVATAR
====================================================== */

.personal-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 30px;
  border: 3px solid rgba(4,106,56,0.4);
}


/* ======================================================
   ACTION BUTTONS
====================================================== */

.personal-actions {
  display: flex;
  gap: 22px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.personal-actions .life-card {
  padding: 16px 34px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(22px);
  border: 1px solid rgba(4,106,56,0.4);
  transition: 0.3s ease;
}

.personal-actions .life-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(4,106,56,0.35);
}


/* ======================================================
   PEOPLE SECTION
====================================================== */

.life-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
}

.personal-page .life-card {
  padding: 45px;
  border-radius: 26px;
  backdrop-filter: blur(24px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.4s ease;
}

.personal-page .life-card:hover {
  transform: translateY(-14px);
  border-color: rgba(4,106,56,0.6);
  box-shadow: 0 35px 80px rgba(4,106,56,0.25);
}

.life-actions {
  margin-top: 20px;
  display: flex;
  gap: 16px;
}

.life-action {
  font-size: 0.8rem;
  text-decoration: none;
  opacity: 0.75;
  transition: 0.3s ease;
}

.life-action:hover {
  opacity: 1;
}


/* ======================================================
   CONNECT SECTION
====================================================== */

#connect p {
  margin-bottom: 32px;
  line-height: 1.8;
  opacity: 0.85;
}


/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 768px) {

  .personal-main {
    padding: 130px 20px 60px;
  }

  .personal-section.glass {
    padding: 38px;
  }

  .personal-section {
    margin-bottom: 90px;
  }

  .personal-avatar {
    width: 95px;
    height: 95px;
  }

  .personal-section h1 {
    font-size: 2.3rem;
  }

  .personal-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .life-grid {
    gap: 28px;
  }

}
/* =========================================
   MOBILE HEADER FIX – PERSONAL PAGE
   Order: Logo → Name → Tagline → Nav
   (Matches Home Style)
========================================= */

@media (max-width: 768px) {

  .personal-header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  /* Brand stacked */
  .personal-brand {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Logo larger on mobile */
  .personal-logo {
    width: 58px;
    height: 58px;
  }

  /* Name + Tagline centered */
  .personal-brand-text {
    align-items: center;
  }

  .personal-name {
    font-size: 1.1rem;
  }

  .personal-tagline {
    font-size: 0.85rem;
    opacity: 0.7;
  }

  /* Navigation below brand */
  .personal-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
  }

  .personal-nav a {
    font-size: 0.85rem;
  }

}
/* Smooth header animation */
.personal-header {
  transition: transform 0.4s ease;
}
/* Mobile header hide animation */
@media (max-width: 768px) {
  .personal-header.hide,
  .site-header.hide {
    transform: translateY(-100%);
    transition: transform 0.4s ease;
  }

  .personal-header,
  .site-header {
    transition: transform 0.4s ease;
  }
}
