

:root {
    /* Light Mode Colors (Default) */
    --background-color: #FFFFFF;
    --bg-secondary: #f9f9f9; /* ✅ Added */
    --text-color: #1a1a1a;
    --border-color: #e0e0e0;
    --link-color: #0077cc;
    --secondary-text: #666666;
    
    /* Navigation Pill Colors - Light Mode */
    --nav-bg: #3a3a3a;
    --nav-text: #ffffff;
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #121212;
        --bg-secondary: #1C1E1F; /* ✅ Added */
        --text-color: #f0f0f0;
        --border-color: #333333;
        --link-color: #88c0ff;
        --secondary-text: #aaaaaa;
        
        /* Navigation Pill Colors - Dark Mode */
        --nav-bg: #222222; 
        --nav-text: #f0f0f0;
    }
}

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

body {
    font-family: 'Poppins', sans-serif; 
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    padding: 20px;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 100px; 
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--text-color);
}


.site-header-fixed {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000; 
}

.pill-nav {
    display: flex;
    width: fit-content;
    gap: 8px;
    background: var(--bg-primary); 
    padding: 1px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-item {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 8px;
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 10px; 
    white-space: nowrap; 
    transition: all 0.3s ease-out; 
}

.nav-icon {
    font-size: 1.5em; 
    padding: 0 4px; 
}

/* Hide the text by default */
.nav-text {
    opacity: 0;
    width: 0; /* Collapse the text element */
    overflow: hidden;
    padding: 0; 
    transition: all 0.3s ease-out; 
}

/* REVEAL EFFECT ON HOVER */
.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1); 
    gap: 8px; /* Create space between icon and text */
}

.nav-item:hover .nav-text {
    opacity: 1;
    width: auto; /* Reveal the text */
    padding-right: 4px; 
}

/* ==================================
   3. HERO / PROFILE SECTION
   ================================== */


.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    height: 80vh;
}


.left {
    display: flex;
    width: 400px;
    padding: 0;
    flex-direction: column;
    align-items: center; 
    gap: 24px;
    flex: 0 0 auto;
}

.about-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* ===== Flip Card Animation ===== */

.flip-card {
  position: relative;
  width: 220px;
  height: 220px;
  perspective: 1000px;
  border-radius: 50%;
  margin-left: 10px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 1s ease;
  transform-style: preserve-3d;
  border-radius: 50%;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Both sides of the card */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  backface-visibility: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--border-color);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 3px 8px;
}

/* Back side */
.flip-card-back {
  transform: rotateY(180deg);
  position: relative;
  overflow: visible; /* let the note extend outside */
}

/* Back circular image */
.big-back {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.big-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--border-color);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 3px 8px;
}

/* The small note (initially hidden) */
.small-back .note {
  width: 95px;
  height: 65px;
  position: absolute;
  top: -20px;
  right: -80px;
  z-index: 2;
  opacity: 1; /* hidden initially */
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}


.note {
  content: url("assets/main picture/note.png");
}

@media (prefers-color-scheme: dark) {
  .note {
    content: url("assets/main picture/notewhite.png");
  }
}

/* Show note when flipped */
.flip-card:hover .small-back .note {
  opacity: 1;
}




.about-me-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

h1 {
    color: var(--text-color);
    font-family: 'NEXO', serif; 
    font-size: 3rem; 
    font-weight: 700;
    text-wrap: nowrap;
    text-align: center;
}

.on{
    font-size: 10px;
    text-align: center;
}

.about {
    display: flex;
    justify-content: center; 
    align-items: center;
    max-width: fit-content;
    gap: 1rem;
    flex-wrap: wrap;
}

h6 {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    margin: 0;
}

.chip {
    color: #73db67;
    background-color: #73db6722;
    box-shadow: inset;
    display: flex; 
    align-items: center; 
    gap: 6px; 
    border-radius: 12px; 
    padding: 4px 10px;
    font-size: 0.9rem;
}


.dot{
    background-color: #73db67; 
    border-radius: 50%;
    width: 6px; 
    height: 6px;
}

.bio {
    color: var(--text-color);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

.right {
    display: flex;
    max-width: 90dvw;
    padding: 64px;
    margin-right: -40px;
    margin-left: 90px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
    border-radius: 12px;

    /* ✅ FIX 1: remove hardcoded dark fallback */
    background: var(--bg-secondary); /* remove , #1C1E1F */

    perspective: 1000px;
    transform-style: preserve-3d;

    border: 1px solid;
    border-color: var(--border-color);

    box-shadow: rgba(0, 0, 0, 0.2) 0px 0.6px 0.6px -1.25px,
                rgba(0, 0, 0, 0.16) 0px 2.4px 2.4px -2.5px,
                rgba(0, 0, 0, 0.06) 0px 10px 10px -4px;

    /* ✅ FIX 2: ensure text inside stays visible */
    color: var(--text-primary);
}


h2{
    margin-bottom: 8px;
    margin-left: 0px;
    font-size: 1.8rem;

}

* {
    margin: 0;
    font-family: 'Satoshi', sans-serif;
    box-sizing: border-box;
}

/* ================================
   CURRENT ACTIVITIES — FIXED
   ================================ */
.activity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  position: relative;
  cursor: pointer;
}

.activity-modal {
  position: absolute;
  top: 50%;
  right: -40px;
  width: 120px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(20px);
  transition: opacity 0.1s ease;
  z-index: 999;
}

.activity-modal img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 5px 15px;
}

/* 👇 Only trigger when the name text is hovered */
.activity-name:hover + .activity-modal,
.activity-name:focus + .activity-modal {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

/* Optional – highlight the name when hovered */
.activity-name:hover {
  color: var(--accent-color);
  font-weight: 600;
}

.marginbottom {
    color: var(--text-primary);
    font-family: 'Neco', serif;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.4rem;
}

.activity p {
    position: relative;
    display: inline-block;
}


.bold {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.font .activity-name{
    font-weight: 50;
}


.font .activity-name {
  display: inline-block;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.font .activity-name:hover {
  background: rgba(255, 255, 255, 0.05);
}





.secondary-photo {
    position: absolute;
    width: 30%;
    border-radius: 50%;
    bottom: -20px;
    right: 0;
    border: 3px solid var(--background-color);
}

.profile-text h1 {
   display: flex;
    flex-direction: column;
    align-items: center;


}

.profile-text h6 {
    font-size: 1.2em;
    font-weight: 400;
    color: var(--secondary-text);
    margin-bottom: 20px;
}

.status {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--link-color);
    color: var(--background-color);
    font-weight: bold;
    font-size: 0.9em;
    border-radius: 4px;
    margin-bottom: 20px;
}

.bio-summary {
    font-size: 1.1em;
    line-height: 1.7;
}

/* ==================================
   4. CURRENT ACTIVITIES (The Boxes)
   ================================== */

.current-activities {
    padding: 40px 0;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.activity-box {
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
}

.activity-box h3 {
    font-size: 1em;
    color: var(--secondary-text);
    margin-bottom: 10px;
}

.activity-item {
    font-weight: bold;
    margin-bottom: 10px;
}

.activity-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: 10px;
}

/* ==================================
   5. MAIN CONTENT & FOOTER
   ================================== */



.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 6px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;;
  font-size: 0.75rem;
  z-index: 9999;
  color: var(--text-color);
}

/* Left: location */
.footer-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-left p {
  margin: 0;
  font-size: 0.68rem; 
  color: rgba(255, 255, 255, 0.45); 
}


.footer-left img {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}


.footer-center {
  text-align: center;
  line-height: 1.3;
}

.footer-center p {
  margin: 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45); 
}

.footer-center .subtext {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Right: social icons */
.footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-right img {
  width: 32px;
  height: 32px;
  opacity: 0.6;               /* default transparency */
  transition: all 0.25s ease; /* smooth animation for opacity + scale */
  transform: scale(1);
  cursor: pointer;
}

.footer-right img:hover {
  opacity: 1;                 /* full visibility on hover */
  transform: scale(1.15);     /* slightly larger on hover */
}


/* Links */
.footer a {
  text-decoration: none;
}

@media (prefers-color-scheme: light) {
  .footer-left p,
  .footer-center p,
  .footer-center .subtext {
    color: rgba(0, 0, 0, 0.55); /* soft dark gray for light mode */
  }
  .footer-left img { 
    opacity: 1;
    filter: brightness(0.3);
  }
  .footer-right img {
    opacity: 1;
    filter: brightness(0.3); /* darken icons slightly for light bg */
  }

  .footer-right img:hover {
    filter: brightness(0); /* turn darker on hover for contrast */
  }
}

/* ==================================
   🔧 RESPONSIVE LAYOUT REFINEMENTS
   ================================== */

/* Tablets (portrait) */
@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 40px 20px;
  }

  .left, .right {
    width: 100%;
    margin: 0;
    padding: 32px;
  }

  .flip-card {
    width: 180px;
    height: 180px;
  }
}

/* Mobile landscape & below */
@media (max-width: 768px) {
  main {
    padding-top: 60px;
  }

  .container {
    gap: 24px;
  }

  .left {
    width: 100%;
    align-items: center;
  }

  .right {
    width: 100%;
    padding: 24px;
    margin: 0;
  }

  .about {
    text-align: center;
  }

  .activity-modal {
    right: 0;
    left: 50%;
    transform: translate(-50%, -10p)
  }

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;700&display=swap');
}