/* ===== FONTS ===== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap");

/* ===== CSS RESET & VARIABLES ===== */
:root {
  --clr-bg: #e8e8ec;
  --clr-card: #ffffff;
  --clr-text-primary: #2d2d3a;
  --clr-text-secondary: #6b6b7b;
  --clr-text-light: rgba(255, 255, 255, 0.9);
  --clr-text-white: #ffffff;
  --clr-border: #e2e2ea;
  --clr-accent: #c87b9a;
  --clr-gradient-start: #e8a87c;
  --clr-gradient-mid: #d4839a;
  --clr-gradient-end: #8b7fb8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.08);
  --shadow-btn: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: #ededed;
  color: var(--clr-text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== BACKGROUND PATTERN — User Custom ===== */
body::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background-attachment: scroll;
  background-image:
    url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512%22%20height%3D%22512%22%20preserveAspectRatio%3D%22none%22%3E%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20path%20%7B%20fill%3A%20none%3B%20stroke%3A%20rgba(255,255,255,0.231)%3B%20stroke-width%3A%202.01px%3B%20%7D%20%3C%2Fstyle%3E%20%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M111.2%2C81.7L-33.7%2C226.6c-13.9%2C13.9-36.5%2C13.9-50.5%2C0L-229.1%2C81.7%20c-22.5-22.5-6.6-60.9%2C25.2-60.9H86C117.7%2C20.7%2C133.7%2C59.2%2C111.2%2C81.7z%22%2F%3E%20%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M366.8%2C338.3L221.9%2C483.2c-13.9%2C13.9-36.5%2C13.9-50.5%2C0L26.6%2C338.3%20c-22.5-22.5-6.6-60.9%2C25.2-60.9h289.8C373.4%2C277.4%2C389.3%2C315.8%2C366.8%2C338.3z%22%2F%3E%20%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M40.6%2C423l-144.9-144.9c-13.9-13.9-13.9-36.5%2C0-50.5L40.6%2C82.8%20c22.5-22.5%2C60.9-6.6%2C60.9%2C25.2v289.8C101.5%2C429.6%2C63.1%2C445.5%2C40.6%2C423z%22%2F%3E%20%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M296.3%2C679.7L151.4%2C534.8c-13.9-13.9-13.9-36.5%2C0-50.5l144.9-144.9%20c22.5-22.5%2C60.9-6.6%2C60.9%2C25.2v289.8C357.2%2C686.3%2C318.8%2C702.2%2C296.3%2C679.7z%22%2F%3E%20%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M623.5%2C81.7L478.6%2C226.6c-13.9%2C13.9-36.5%2C13.9-50.5%2C0L283.2%2C81.7%20c-22.5-22.5-6.6-60.9%2C25.2-60.9h289.8C630%2C20.7%2C646%2C59.2%2C623.5%2C81.7z%22%2F%3E%20%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M296.3%2C166.4L151.4%2C21.5c-13.9-13.9-13.9-36.5%2C0-50.5l144.9-144.9%20c22.5-22.5%2C60.9-6.6%2C60.9%2C25.2v289.8C357.2%2C173%2C318.8%2C188.9%2C296.3%2C166.4z%22%2F%3E%20%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M552.9%2C423L408%2C278.2c-13.9-13.9-13.9-36.5%2C0-50.5L552.9%2C82.8%20c22.5-22.5%2C60.9-6.6%2C60.9%2C25.2v289.8C613.8%2C429.6%2C575.4%2C445.5%2C552.9%2C423z%22%2F%3E%3C/svg%3E"),
    linear-gradient(45deg, #16181a 0%, #1a1c1e 60%);
  background-size: 553px, auto;
  background-position:
    center,
    0% 0%;
  background-repeat: repeat, repeat;
}

/* ===== MAIN CARD ===== */
.bio-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  background: var(--clr-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  animation: cardFadeIn 0.8s ease-out;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== HEADER / HERO ===== */
.bio-header {
  position: relative;
  background: #000000;
  padding: 55px 100px 55px 120px;
  min-height: 220px;
  display: flex;
  align-items: center;
  gap: 36px;
  overflow: hidden;
}

/* ===== PROFILE IMAGE ===== */
.profile-image-wrapper {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.profile-image {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.8);
  object-fit: cover;
  display: block;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  align-self: center !important;
}

.profile-image:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 1);
}

/* ===== HEADER INFO ===== */
.header-info {
  position: relative;
  z-index: 3;
  flex: 1;
  padding-bottom: 8px;
}

.header-name-script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--clr-text-white);
  opacity: 0.9;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.header-name {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-text-white);
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.header-title {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--clr-text-light);
  line-height: 1.5;
  max-width: 300px;
}

.about-text {
  text-align: justify;
  line-height: 1;
}

/* ===== HEADER ACTIONS ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--clr-text-white);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-header:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-header svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--clr-text-white);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-header-icon:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-header-icon svg {
  width: 17px;
  height: 17px;
}

/* ===== BODY / CONTENT AREA ===== */
.bio-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.bio-section {
  padding: 28px 32px;
}

.bio-section:first-child {
  border-right: 1px solid var(--clr-border);
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}

/* ===== ABOUT SECTION ===== */
.about-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--clr-text-secondary);
  font-weight: 400;
}

/* ===== GET IN TOUCH SECTION ===== */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--clr-border);
  background: var(--clr-card);
  color: var(--clr-text-primary);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-contact:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.btn-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== SOCIAL ICONS ===== */
.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  background: var(--clr-card);
  color: var(--clr-text-primary);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.social-icon:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

/* ===== ANIMATIONS ===== */
.bio-section {
  animation: sectionSlideUp 0.6s ease-out both;
}

.bio-section:first-child {
  animation-delay: 0.2s;
}

.bio-section:last-child {
  animation-delay: 0.35s;
}

@keyframes sectionSlideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-contact,
.social-icon {
  animation: itemPop 0.4s ease-out both;
}

.btn-contact:nth-child(1) {
  animation-delay: 0.4s;
}
.btn-contact:nth-child(2) {
  animation-delay: 0.5s;
}
.btn-contact:nth-child(3) {
  animation-delay: 0.6s;
}

.social-icon:nth-child(1) {
  animation-delay: 0.5s;
}
.social-icon:nth-child(2) {
  animation-delay: 0.55s;
}
.social-icon:nth-child(3) {
  animation-delay: 0.6s;
}
.social-icon:nth-child(4) {
  animation-delay: 0.65s;
}
.social-icon:nth-child(5) {
  animation-delay: 0.7s;
}
.social-icon:nth-child(6) {
  animation-delay: 0.75s;
}

@keyframes itemPop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 580px) {
  body {
    padding: 20px 12px;
    align-items: flex-start;
  }

  .bio-card {
    border-radius: var(--radius-lg);
  }

  .bio-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px 32px 24px;
    min-height: auto;
  }

  .profile-image {
    width: 110px;
    height: 110px;
  }

  .header-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header-title {
    text-align: center;
  }

  .header-actions {
    justify-content: center;
  }

  .header-name {
    font-size: 1.45rem;
  }

  .bio-body {
    grid-template-columns: 1fr;
  }

  .bio-section:first-child {
    border-right: none;
    border-bottom: 1px solid var(--clr-border);
  }

  .bio-section {
    padding: 24px 24px;
  }
  .header-name-script {
    font-size: 1.7rem;
  }

  .header-name {
    font-size: 1.3rem;
  }
}

@media (max-width: 380px) {
  .header-name {
    font-size: 1.3rem;
  }

  .btn-header {
    padding: 8px 16px;
    font-size: 0.78rem;
  }

  .btn-contact {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
}
