body {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", sans-serif;
  color: #fffdfd;
  background-color: #000000 !important;
  margin: 0;
  padding: 0;
}

#top {
  height: 100vh;
  z-index: 0;
}

/* Kahuna page-level overrides while shared components handle intro/final rendering. */
.navbar {
  background: rgba(0, 0, 0, 0.5) !important;
}

.pdf-canvas {
  transform: none !important;
}

.overview-section {
  flex-direction: column;
}

.kahuna-charts-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6rem;
  margin-top: 4rem;
}

.kahuna-chart-panel,
.kahuna-chart-anchor {
  max-width: 700px;
  width: 100%;
}

.kahuna-nl-apps {
  max-height: 500px;
}

.chart-note {
  color: #bbb;
}

.chart-note--top {
  margin-top: 1rem;
}

.stat-value {
  font-size: 4vh !important;
  text-align: center;
  display: block;
}

.accent-heading {
  color: #6E07F3 !important;
}

.prototype-frame {
  border: 1px solid rgba(0, 0, 0, 0.1);
}



#final-container.final-section {
  position: relative;
  gap: 4rem;
}

#final-container.final-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #6E07F3;
  transform: translateX(-50%);
}

#final-container .final-col--border {
  border-left: none;
  padding-left: 0;
}

#final-container {
  margin: 4vh auto 0 !important;
}

#final-container.reveal.active {
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  #final-container.final-section::before {
    display: none;
  }
}


/* Migrated from kahuna.html */
/* Standardized font size system */
    h1, h3, h3{
      font-size: 2rem !important;
      text-align: center;
    }


  /* Stats and charts flex */
  #survey, #nl-apps, #features-rank, #sports-depend { flex-direction: column; }
    .stats { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
    .stat { background: #111; color: #fff; padding: 1rem; border-radius: 8px; flex: 1; text-align: center; }
    .stat h4 { color: #6E07F3; margin-bottom: 0.5rem; }
    .charts { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
    .chart-container {padding: 1rem; border-radius: 8px; flex: 1;    margin-bottom: 2vh;  }
    .chart-container canvas { width: 100% !important; height: 300px !important; }


section h1 {
    font-size: 7vh;
    color: #6E07F3;
}
    h3 {
      text-align: left;
      color: #6E07F3 !important;
    }
    
    p, li, .pov-item p,.box li {
      margin: 0;
      padding: 0;
    }

  #high-fidelity {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 2rem;
  }
  
  #high-fidelity .media-column,
  #high-fidelity .text-column {
    width: auto !important;
    max-width: calc(50% - 1rem) !important;
    flex: 0 1 calc(50% - 1rem) !important;
    margin: 0;
  }

        .navbar-menu {
    display: flex;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0rem !important;
    align-items: center;
}
  
    .pov-item h4 {
      font-size: 1.2rem !important;
      color: #6E07F3;
    }
  
    h1 {
      text-align: center;
      font-size: 3em !important;
    }
    p{
      font-size: 1.125rem !important;
      line-height: 1.6;
      margin-bottom: 2rem;
    }
  
    /* Heading tweaks inside image wrappers */
    .wrapingimageleftt h1,
    .wrapingimagerightt h1 {
      text-align: left !important;
      color: #fff !important;
    }
    
    .wrapingimageleftt h3,
    .wrapingimagerightt h3 {
      font-size: 2rem !important;
    }
    
    .wrapingimagerightt p {
      color: #fff !important;
    }
  
    .skills-banner h3 {
      text-align: center;
      color: #000 !important;
    }
  

    section {
      margin-bottom: 10em;
      clear: both;
      overflow: hidden;
      font-size: 17px;
    }
  
    section p {
      font-size: 2vh !important;
    line-height: 1.5;
    margin-bottom: 1em;
    color: #fff;
  
    }
  
  /* PDF Viewer Container */
.pdf-container {
  max-height: 85vh;
    position: relative;
    overflow: hidden;
    aspect-ratio: 8 / 11;
    background: transparent;
    border-radius: 0;
}

/* PDF Canvas */
.pdf-canvas {
  display: block;
  width: 100%;
  height: 100%;
    object-fit: contain;

}


/* Purple Page Number Badge */
.pdf-page-indicator {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(110, 7, 243, 0.85); /* purple semi-transparent */
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Control Bar: Hidden by Default */
.pdf-controls {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 14px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  z-index: 20;
}

/* When Hovering: Hide Page Number, Show Controls */
.pdf-container:hover .pdf-page-indicator {
  opacity: 0;
}
.pdf-container:hover .pdf-controls {
  opacity: 1;
  bottom: 50px; /* lift it up a little */
}

/* Control Buttons */
.pdf-controls button {
  background: transparent;
  color: white;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 5px 8px;
  transition: color 0.2s;
}
.pdf-controls button:hover {
  color: #6E07F3;
}

/* Loading Message */
.pdf-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #6E07F3;
  font-weight: bold;
}

/* Mobile Tweaks */
@media(max-width: 768px) {
  .pdf-container {
    width: 100%;
    height: 70vh;
  }
  .pdf-page-indicator {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  .pdf-controls button {
    font-size: 0.8rem;
  }
}

#hmw-pov {
  max-width: 1200px;    /* 20% larger than your previous 1000px */
  margin: 0 auto;       /* horizontally center it */
  padding: 0 1rem;      /* keep a little side-padding on narrow viewports */
}

/* Restore left-alignment of headings, table cells and list items inside */
#hmw-pov h3,
#hmw-pov .pov-table th,
#hmw-pov .pov-table td,
#hmw-pov .pov-container li {
  text-align: left;
}
.pov-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.pov-table th,
.pov-table td {
  border: 1px solid #444;
  padding: 0.75rem;
  text-align: left;
  color: #fff;
}
.pov-table th {
  background: rgba(110,7,243,0.8);
}

    /* Figma frame */
    .figma-container {
      width: 100%;
      height: 500px;
      margin-bottom: 30px;
    }
    .figma-container iframe {
      width: 100%;
      height: 100%;
      border: 1px solid rgba(0,0,0,0.1);
    }
  
    /* Parallax background */
    .parallax-1 {
      background: url(../Images/Mockups/Kahuna/Mockuuups\ iPhone\ mockup\ on\ the\ surfboard.jpeg) center/cover fixed no-repeat;
    }
  
    /* GitHub corner */
    .github-corner {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
    }
    .github-corner svg {
      width: 60px;
      height: 60px;
      fill: #6E07F3;
      transition: transform 0.3s ease-in-out;
    }
    .github-corner:hover svg {
      transform: scale(1.1);
    }
  
    /* Final container boxes */
    #final-container {
      display: flex;
  justify-content: center; /* Center the boxes */
  gap: 20px;
  padding: 30px;
  max-width: 1200px; /* Optional: controls container width */
  margin: 4rem auto; /* Center the whole container */
  flex-wrap: wrap; /* make it wrap nicely on smaller screens */
    }
    #final-container .box {
      flex: 1;
      background: rgba(0,0,0,0.6);
      border-radius: 8px;
      padding: 20px;
    }
    #final-container .box h3 {
      margin-top: 0;
      margin-bottom: 1em;
      text-align: center;
      color: #fff;
    }
    #final-container .box ul {
      list-style: disc inside;
      margin: 0;
      padding: 0;
    }
    #final-container .box li {
      color: #fff;
      margin-bottom: 0.5em;
      line-height: 1.4;
    }
    @media(max-width:768px) {
      #final-container { flex-direction: column; }
    }
    .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

    
  .media-column,
    .text-column {
    /* flex: 0 0 50%; */
    /* max-width: 50%; */
    float: none;
    width: auto;
    max-width: 50%;
    flex: 1 1 45%;
    margin: 0;
    /* width: 100%; */
    padding: 2;
    margin: 10px;
    box-sizing: border-box;

    }
  
    @media(max-width:768px) {
      .reveal.active {
        display: block;
        padding: 0;
      }
      .reveal.active .media-column,
      .reveal.active .text-column {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        margin-bottom: 1.5rem;
      }
      
      #high-fidelity {
        flex-wrap: wrap;
      }
      
      #high-fidelity .media-column,
      #high-fidelity .text-column {
        max-width: 100%;
        flex: 1 1 100%;
      }
    }

      /* layout for PDF sections */
  .project-section {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  /* alternate even sections */
  .project-section:nth-of-type(even) {
    flex-direction: row-reverse;
  }
  
    /* Remove any residual gutter rule */
    /* (delete or override your old .media-column, .text-column padding:0 1rem) */
  
    /* Phone frame */
    .phone-frame {
      width: 360px;
      height: 800px;
      margin: 0 auto;
      overflow: hidden;
      border-radius: 40px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    }
    .phone-frame iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
    section ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    flex-direction: column;
}

.Overview{
    display: flex;
    justify-content: center;
    padding: 0 2rem;
    gap: 0;
    flex-direction: column;
    margin: 10vh;

}
.intro-summary-left{
  display: flex
;
    justify-content: center;
    padding: 0 2rem;
    gap: 0;
    flex-direction: column;
}

/* Loader Styles */
    #loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    .loading-text {
      color: #6E07F3;
      font-size: 1.5rem;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }

    .pov-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: #111;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pov-item {
  border-bottom: 1px solid #222;
  padding-bottom: 1rem;
}

.pov-item:last-child {
  border-bottom: none;
}

.pov-item h4 {
  color: #6E07F3;
  margin-bottom: 0.5rem;
}

.pov-item p {
  color: #fff;
  line-height: 1.5;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .pov-container {
    padding: 1rem;
  }
}
/* Prototype Buttons */
.prototype-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.5em;
  background: linear-gradient(45deg, #7f5af0, #6b3ff0);
  color: #fff;
  font-weight: bold;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 1rem;
}

.prototype-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* Standardized section headlines */
.project-section h3, 
.project-section h3 {
  font-size: 2rem !important;
  color: #6E07F3;
  margin-bottom: 1rem;
}
.snippet{
display: flex;
    flex-direction: column;
    gap: 2rem;
    background: #111;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.snippet h4 {
    color: #6E07F3;
    margin-bottom: 0.5rem;
}
/* Header main title */
header h1 {
  margin-top: 20%; 
  color: white !important;
  font-size: 2.5rem !important;
}

/* scroll-down indicator — purple + attention-grabbing */
.scroll-down{
  position:absolute;
  bottom:32px;
  left:50%;
  transform:translateX(-50%);
  font-size:3.25rem;           /* a bit larger */
  color:#b18bff;               /* lighter purple for contrast */
  cursor:pointer;
  text-decoration:none;
  z-index:5;

  /* glow */
  filter:drop-shadow(0 0 6px #7f5af0) drop-shadow(0 0 16px #7f5af0);

  /* bounce + pulse */
  animation:
    bounceDown 1.4s infinite ease-out,
    pulseGlow 2.4s infinite ease-in-out;
  transition:opacity .3s ease;
}

@keyframes bounceDown{
  0%,20%,50%,80%,100%{transform:translate(-50%,0);}
  40%{transform:translate(-50%,-12px) scale(1.1);}
  60%{transform:translate(-50%,-6px);}
}

@keyframes pulseGlow{
  0%,100%{filter:drop-shadow(0 0 6px #7f5af0) drop-shadow(0 0 16px #7f5af0);}
  50%     {filter:drop-shadow(0 0 12px #a78bff) drop-shadow(0 0 28px #a78bff);}
}

/* Final layout lock: prevent Kahuna footer drift from earlier duplicated rules */
html,
body {
  min-height: 100% !important;
  background: #000 !important;
}

body {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}

#final-container {
  margin-bottom: 0 !important;
}

footer {
  margin-top: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.footer-content {
  max-width: 1200px !important;
}

@media(max-width:480px){
  .scroll-down{font-size:2.5rem;}
}
li{
  margin: 0 1em;
}
