/* custom.css */

/* 1. Custom fonts */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Poppins:wght@600;700&display=swap");

:root {
  --bg-color: #2a1f44;           /* keep your deep purple */
  --text-color: #e0e0e0;         /* light gray for body text */
  --heading-color: #ffffff;      /* white for all headings */
  --accent-color: #94d2bd;       /* your mint/pink accent */
  --link-color: #ffffff;         /* white links/nav text */
  --link-hover: #94d2bd;         /* same accent on hover */
  --heading-font: "Poppins", sans-serif;
  --body-font: "Open Sans", sans-serif;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: var(--body-font);
}

/* 2. Headings everywhere */
h1, h2, h3, h4 {
  font-family: var(--heading-font);
  color: var(--heading-color);
}

/* 3. Sidebar nav links */
#sidebar nav ul li a {
  color: var(--link-color);
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
#sidebar nav ul li a:hover,
#sidebar nav ul li a.active {
  opacity: 1;
  color: var(--link-hover);
}
#sidebar a.active:after,
#sidebar a:hover:after {
  background: var(--accent-color);
}

/* 4. Intro overrides (white + text shadow) */
section#intro .inner h1 {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
section#intro .inner p {
  color: #f0f0f0;
  font-size: 1.25rem;
  margin-top: 0.5em;
}

/* 5. Header gradient (if you ever re-enable #header) */
#header {
  background: linear-gradient(135deg, var(--accent-color), #0a9396);
}

/* 6. Tech‑Grid styling */
#tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.tech-item {
  text-align: center;
}
.tech-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
}
.tech-item h4 {
  color: var(--heading-color);
  margin-top: 0.25rem;
}

/* 7. Button accents */
.button.primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #2a1f44;
}
.button.primary:hover {
  background-color: var(--link-hover);
  border-color: var(--link-hover);
  color: #2a1f44;
}

/* 8. Projects & Experience text */
.wrapper.style5 h2.major,
.wrapper.style6 h2.major {
  margin-bottom: 1.5rem;
}
.wrapper.style5 .content p,
.wrapper.style6 .content p {
  color: var(--text-color);
  line-height: 1.6;
}
.wrapper.style5 .content h3,
.wrapper.style6 .inner h3 {
  color: var(--heading-color);
}

/* 9. Resume embed — fill viewport, hide PDF scrollbars */
.resume-embed {
  height: calc(100vh - 220px);
  overflow: hidden;
}
.resume-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;
}

/* 10. Global adjustments */
a {
  color: var(--accent-color);
}
a:hover {
  color: var(--link-hover);
}

/* Footer social‑icon tweaks */
ul.menu.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;   /* or flex-start, as you prefer */
  padding: 1.5rem 0;
  margin: 0;
}

ul.menu.social-icons li {
  list-style: none;
}

ul.menu.social-icons li a.icon {
  /* ensure the font‑awesome icon font is inherited */
  font-family: "Font Awesome 5 Free";  
  font-weight: 900;                /* for solid/brand icons */
  font-size: 1.25rem;
  color: var(--text-color);
  transition: color 0.2s;
}

ul.menu.social-icons li a.icon:hover {
  color: var(--accent-color);
}

/* hide the screen‑reader label text */
ul.menu.social-icons li .label {
  display: none;
}

/* desktop: two columns, image on the right */
@media (min-width: 768px) {
  #intro .inner.intro-container {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 200px;
    align-items: center;
    column-gap: 2rem;
  }
}

/* fallback on narrow screens: stack vertically */
@media (max-width: 767px) {
  #intro .inner.intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;  /* center your text if you like */
  }
  #intro .intro-image {
    margin-top: 1.5rem;
  }
}

/* profile‐circle styling */
/* profile‑circle styling */
#intro .intro-image {
  width: 350px;
  height: 350px;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  /* ← new rules ↓ */
  position: relative;
  left: -200px;    /* adjust “-20px” until it’s in the perfect spot */
}


#intro .intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* tweak this to center your face: */
  object-position: 50% 30%;
}

