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

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'SF Pro Display', sans-serif;
}




/* ----------------------------------------------------------------------------------------- */




/* CONSTANT STYLES----CONSTANT STYLES----CONSTANT STYLES----CONSTANT STYLES */

/* MAINS----MAINS----MAINS----MAINS----MAINS-----MAINS */


/* Ring Cursor */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 1.5px solid #FF2600;
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
  z-index: 10000; /* must be higher than .contact-overlay (z-index: 9999) */
  box-shadow: 0 0 6px rgba(98, 98, 98, 0.4);
  transform: translate(-50%, -50%);
  transition: 
    width 0.2s ease,
    height 0.2s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-ring.hovered-highlight {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 38, 0, 0.1);
  border-color: #FF2600;
  box-shadow: 0 0 10px rgba(300, 38, 0, 0.6);
  mix-blend-mode: normal; /* to make it clearly visible */
  transition: all 0.3s ease;
}



/* Enlarge on hover */
.cursor-ring.hovered {
  transform: translate(-50%, -50%) scale(1.5);
  border-color: white;
}

body {
  cursor: none;
}

@media (max-width: 600px) {
  .cursor-ring {
    display: none !important;
  }
}

/* Scroll Meter */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  width: 0%;
  background-color: #FF2600;
  border-radius: 24px;
  z-index: 9999;
  transition: width 0.2s ease-out;
}
/* Navbar */

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* optional subtle divider */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);         /* optional depth */
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, border-bottom 0.3s ease;  
  z-index: 1000;
  font-family: 'SF Pro Display', monospace;
  font-size: smaller;
  font-weight: 650;
}


.wave {
  font-size: 1.2rem;
}


.logo-link {
  color: #666;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.logo-link:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.logo-text {
  transition: color 0.25s ease;}

.logo-link:hover .logo-text {
  color: #FF2600;
}

/* Logo Animation*/
@keyframes wave {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.wave {
  display: inline-block;
  animation: wave 3s infinite;
  transform-origin: 79% 70%;
}


/* Wrap logo and breadcrumb together */
.logo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem; /* Adjust spacing between logo and breadcrumb */
}

/* Base breadcrumb style */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'SF Pro Display', monospace;
  font-weight: 500;
  font-size: 0.82rem;
  color: #666;
  opacity: 0.9;
}

.breadcrumb-nav:hover {
  color: #FF2600; 
}

.breadcrumb {
  transition: color 0.3s ease;
}

.breadcrumb-separator {
  color: #999;
  font-weight: 100;
}

/* Current page stands out slightly */
.breadcrumb.current {
  font-size: 0.82rem;
  font-weight: 500;
  color: #222;
}



@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem;
  }

  .nav-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    width: 100%;
  }

  .breadcrumb-nav {
    font-size: 0.68rem;
    flex-wrap: wrap;
    line-height: 1.2;
    gap: 0.3rem;
  }

  .logo-text {
    font-size: 1rem;
    line-height: 1.2;
  }

  .wave {
    font-size: 1rem;
  }
}







/* Logo Animation*/
/* Contact Button */
/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 2.2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: 'SF Pro Display', sans-serif;
  color: #0ac46f;
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* Hide on footer scroll */
.floating-contact.hide-contact {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.contact-button:hover {
  background-color: rgba(194, 252, 225, 0.85);
  transform: translateY(-1px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Reuse your existing glow-dot styles */
.glow-dot {
  width: 12px;
  height: 12px;
  background-color: #0ac46f;
  border-radius: 50%;
  box-shadow: 0 0 8px #0ac46f;
  animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 196, 111, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(10, 196, 111, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(10, 196, 111, 0);
  }
}

.status-text {
  white-space: nowrap;
  color: #0ac46f; 
  
}




/* Contact Card */ 
.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.contact-overlay.show {
  display: flex;
  animation: fadeIn 0.1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}

.contact-card {
  position: relative;
  z-index: 1000;
  width: 90%;
  max-width: 360px;
  padding: 3rem;
  text-align: center;
  font-family: 'SF Pro Display', sans-serif;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}


.contact-card h3 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #0ac46f;
}

.contact-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.contact-icons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  color: #666;
  font-family: monospace;
  transition: transform 0.2s ease;
}

.contact-icon:hover {
  transform: translateY(-1px);
     color: #0ac46f;
}

.contact-icon img {
  width: 22px;
  height: 22px;
  margin-right: 0.7rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.contact-icon:hover img {
  transform: scale(1.2);
}

.close-overlay {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: #0ac46f;
  cursor: pointer;
  transition: color 0.4s ease;
}

.close-overlay:hover {
  color: #FF2600;
    transform: translateY(-1px);
}

.extra-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 1.5rem;
}

.extra-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 500;
  color: #666;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.extra-link:hover {
  transform: translateY(-1px);
   color: #0ac46f;
}

.extra-link img {
  width: 22px;
  height: 22px;
  margin-right: 0.6rem;
  transition: transform 0.3s ease;
}

.extra-link:hover img {
  transform: scale(1.15);
 
}






.project-cover {
  position: relative;
  width: 100%;
  height: 45vh;
  max-height: 420px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: coverFade 1.2s ease forwards;
}

/* Image animation: blur to sharp, fade in */
@keyframes coverFade {
  0% {
    opacity: 0;
    filter: brightness(0.80) blur(6px);
  }
  100% {
    opacity: 1;
    filter: brightness(0.55) blur(0);
  }
}



.cover-overlay {
  position: absolute;
  padding-bottom: 20rem;
  left: 2rem;
  transform: translateY(-50%);
  color: #fff;
}

.cover-overlay h1 {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin: 5;
  color: white;
}

.cover-overlay p {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 1.3rem;
  margin-top: 0.8rem;

  color: #ffffff;
}

.covercaption {
  font-family: 'SF Pro Display', monospace;
  font-size: 0.8rem;
  margin-top: 1rem;
  color: white;
  text-decoration: none; /* Removes the underline */
}

@media (max-width: 800px) {
  .cover-overlay  {
    padding-bottom: 20rem;
  }
  
  
  .cover-overlay h1 {
    font-size: 4rem;
  }

  .cover-overlay p {
    font-size: 1rem;
  }

  .project-cover {
    height: 34vh;
  }
}

@media (max-width: 600px) {
  
  .cover-overlay  {
    padding-bottom: 25rem;
  }
  
  .cover-overlay h1 {
    font-size: 3.8rem;
  }

  .cover-overlay p {
    font-size: 1rem;
  }

  .project-cover {
    height: 70vh;
    padding-bottom: -3rem;
  }
}





.custom-link {
  color: #FF2600;
  text-decoration: underline;
}
  


.tags-container {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tag {
  background-color: #FF2600;
  color: white;
  font-family: 'SF Pro Display', monospace;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.4rem;
  border: 1px solid #ddd;
  display: inline-block;
  transition: background-color 0.3s ease;
}




/* MAINS----MAINS----MAINS----MAINS----MAINS-----MAINS */




/* ----------------------------------------------------------------------------------------- */




/* FOOTER----FOOTER----FOOTER----FOOTER----FOOTER */



.site-footer {
  background-color: #fff;
  color: #FF2600;
  padding: 1rem 2rem 2rem;
  font-family: 'SF Pro Display', sans-serif;
}

.footer-content-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #FF2600;
}


.footer-column p {
  font-size: 1rem;
  line-height: 1.5;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.6rem;
}

.footer-column ul a {
  color: #FF2600;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease-in-out;
}

.footer-column ul a:hover {
  color: #000; /* Optional: hover color contrast */
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-family: monospace;
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.6;
}

.footer-cv-button {
  display: inline-block;
  margin-top: 1rem;
  background-color: rgba(255, 38, 0, 0.11);
  color: #FF2600;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-cv-button:hover {
  background-color: #0ac46f;
  color: #fff;
}

.footer-contact {
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

.footer-contact a {
  color: #FF2600;
  text-decoration: none;
  font-weight: 500;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Hidden on initial load */
.hidden-on-load {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reveal when visible */
.hidden-on-load.visible {
  opacity: 1;
  transform: translateY(0);
}




/* FOOTER----FOOTER----FOOTER----FOOTER----FOOTER */




/* ----------------------------------------------------------------------------------------- */




/* CONSTANT STYLES----CONSTANT STYLES----CONSTANT STYLES----CONSTANT STYLES */





/* ---------------------------------------BREAK---------------------------------------------- */






/* ALL CONTENT----ALL CONTENT----ALL CONTENT----ALL CONTENT----ALL CONTENT */

/* Scroll Snapping*/

html,
body {
  height: 100%;
  scroll-behavior: smooth;
  overflow-y: scroll;
  scroll-snap-align: start;

}
main,

.hero-image {
  display: flex;
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  
}

.hero-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
}

.hero-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.81);

}


/*Divider */

.section-divider {
  border: none;
  border-top: 1px solid #e0e0e0;  /* Light grey line */
  margin: 4rem auto;              /* Space above and below */
  width: 80%;                     /* Line width */
  opacity: 0.6;
}
.hero-image {
  
  display: flex;
  margin-bottom: 0.5rem;
  
}

.hero-image img{
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.17);
  border: 2px solid #FF2600;
    
}








@keyframes shake {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1px, 1px); }
  50% { transform: translate(1px, -1px); }
  75% { transform: translate(-1px, 1px); }
  100% { transform: translate(0, 0); }
}


.content {
  max-width: 700px;
  padding: 1rem 2rem 4rem;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


@keyframes blinkCursor {
  0%, 100% { border-color: rgba(255, 38, 0, 0.35); }
  50%      { border-color: transparent; }
}

.definitions {
  font-size: 0.85rem;
  color: #999;
  font-family: monospace;
  margin-left: 1rem;
  transition: opacity 0.2s ease;
  opacity: 0.85;
}

.fade-group {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-group.visible {
  opacity: 1;
  transform: translateY(0);
}

.number {
  font-size: 1.4rem;
  font-family: SF Pro Display, monospace;
  color: #999;
  font-weight: 600;
}


.title {
  font-size: 4rem;
  color: #FF2600;
  font-weight: 600;
  line-height: 4rem;
}

@media (max-width: 650px){
  .title {
  line-height: 4rem;
}
 
.number {
  line-height: 2rem; 
}  
  
  
}


.mono { 
font-size: 0.7rem;
  color: #999;
  font-family: monospace;
  opacity: 0.85;

}

.description {
  font-size: 1rem;
  color: #666;
  max-width: 85%;
  line-height: 1.6;
  justify-content: center;
}



/* Base hidden state for all .nav-blocks children */
.nav-blocks.hidden-on-load .nav-block {
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* When parent .nav-blocks becomes .visible, animate children with staggered delay */
.nav-blocks.visible .nav-block:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}





/* Design Philosophy*/
 

.proper-block h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FF2600;
  margin-bottom: 0.3rem;
 
}

.proper-block  {
  font-size: 1rem;
  color: #666;
  justify-content: space-evenly;
  line-height: 1.6;
  max-width: 700px;
}

/* Read More */

.fika-read-more {
  margin-top: 2rem;
  margin-left: 1rem;
  font-size: 0.9rem;
  font-family: 'SF Pro Display', sans-serif;
  color: #444;
}

.fika-read-more a {
  color: #FF2600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.fika-read-more a:hover {
  color: #c41f00;
}

.fika-snippet {
  font-style: italic;
  display: block;
  margin-top: 0.3rem;
  color: #666;
}


/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .content {
    margin-top: 2rem;
  }

  .word {
    font-size: 2.2rem;
  }

  .pronunciation {
    font-size: 1rem;
  }

  .definitions {
    font-size: 0.95rem;
  }

  .description {
    font-size: 0.95rem;
  }
}




/* Responsive font size */
@media (max-width: 768px) {
  .typewriter {
    font-size: 2rem;
    min-height: 2.5rem;
  }
}


.tools-used h2 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-family: 'SF Pro Display', sans-serif;
  color: #222;
}

.tools-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tool-tag {
  display: inline-flex;
  align-items: center;
  background-color: #f3f3f3;
  border-radius: 0.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  font-family: 'SF Pro Display', sans-serif;
}

.tool-tag img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle
}

/* ALL CONTENT----ALL CONTENT----ALL CONTENT----ALL CONTENT----ALL CONTENT */


/* ---------------------------------------BREAK---------------------------------------------- */



