/* styles.css */
/* Global Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'DotGothic16', sans-serif;
}

body {
    line-height: 1.7;
    font-family: Consolas, 'Courier New', monospace;
    background: #000;
    color: #00FF00;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

@font-face {
  font-family: 'DotFont'; 
  src: url('fonts/LED Dot-Matrix 400.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


/* Loader overlay ---------------------------------------------------------*/
.no-scroll        { overflow: hidden; }
.hidden           { display: none; }

.loader {
  position: fixed;
  inset: 0;                     /* top, right, bottom, left = 0 */
  background: #000;             /* full‑black backdrop */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;                /* over everything */
}

.loader pre {
  font-family: 'DotFont', monospace;
  font-size: 2.5rem;
  letter-spacing: 2px;
  font-weight: bold;
  color: #00FF00;               /* matrix green */
}

/* 3 blinking dots */
@keyframes blink {
  0%, 20%, 100% { opacity: 1; }
  30%, 70%      { opacity: 0; }
}
.dot           { animation: blink 1s infinite; }
.dot2          { animation-delay: .2s; }
.dot3          { animation-delay: .4s; }

/* Fade‑out once the page is loaded */
.loader.fade-out {
  opacity: 0;
  transition: opacity 4.6s ease-out;
}


/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 6px rgba(17, 17, 17, 0.1);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

  
  /* Center links: dark grey background with off-white links */
  .nav-center .center-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    background: #000000;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
  }
  .nav-center .center-links li a {
    background: transparent;
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
  }
  .nav-center .center-links li a:hover {
    text-decoration: underline;
  }
  
  /* Mobile: hide center & contact, show toggle */
  .nav-right .nav-toggle {
    display: none;
    background: #000;
    color: #f0f0f0;
    border: 1px solid #f0f0f0;
    border-radius: 0.5rem;
    padding: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
  }

  .nav-right .nav-toggle:hover {
    border-color: #00FF00;
  }


  .nav-center .center-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  background: #000000;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}
.nav-center .center-links li a {
  background: transparent;
  color: #f0f0f0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
}
.nav-center .center-links li a:hover {
  text-decoration: underline;
}

/* —— Brand (logo + name) —— */
/* —— Brand (logo + name) —— */
.prompt-logo {
  display: flex;
  align-items: center;
  max-height: 60px;
  gap: 0.75rem;               /* space between your logo and name */
}

.logo_new{
  width:150px;height:150px;flex-shrink:0;
  overflow:hidden; display:inline-block;
}
.logo_new img{ width:100%;height:100%;object-fit:contain; }

.logo {
  width: 40px;                /* adjust to your logo’s ideal size */
  height: auto;
}
.logo-text {
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
}

.resume-header-button {
  padding: 0.5rem 1rem;
  border: 1px solid #fff;
  border-radius: 0.25rem;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background 0.3s;
}
.resume-header-button:hover {
  background: rgba(255,255,255,0.1);
}

/* —— Ensure nav stays centered —— */
.header {
  justify-content: space-between;
}
.nav {
  flex-shrink: 0;            /* prevents nav links from compressing */
}


  
  /* Mobile Menu Styles */
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #000000;
    padding: 1rem 2rem;
    display: none;
    z-index: 1000;
  }
  .mobile-menu.hidden {
    display: none;
  }
  .mobile-menu:not(.hidden) {
    display: block;
  }
  .mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .mobile-menu ul li a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1rem;
  }
  .mobile-menu ul li a:hover {
    text-decoration: underline;
  }

  @media (max-width: 768px) {

      .logo {
        width: 40px;                /* adjust to your logo’s ideal size */
        height: auto;
      }
      .logo-text {
        color: #fff;
        font-size: 1rem;
        font-weight: bold;
      }
      .nav {
        display: none;
        position: fixed;           /* Change to fixed so it covers full screen */
        top: 0;                    /* Start at top */
        left: 0;                   /* Start at left */
        width: 100vw;              /* Full viewport width */
        height: 100vh;             /* Full viewport height */
        background-color: #000000;    /* Optional: darker background for fullscreen */
        z-index: 9999;             /* Stay on top of other elements */
        text-align: center;
        padding-top: 100px;       
      }

      .nav.active {
        display: block;
      }

      .nav ul {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0;
      }

      .nav ul li a {
        font-size: 1.5rem;
      }

    .nav-center,
    .nav-right .contact-btn {
      display: none;
    }
    .nav-right .nav-toggle {
      display: inline;
    }
    .terminal-nav {
      padding: 1rem;
      /* allow nav to wrap so menu drops below */
      flex-wrap: wrap;
    }
  
      /* Stack nav items vertically */
      .terminal-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
      }
  
    /* Make the mobile menu full width and force it below the bar */
    .mobile-menu {
      width: 100%;
      box-sizing: border-box;
      margin-top: 0.5rem;
    }
  
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
}
.nav ul {
    display: flex;
    gap: 1.5rem;
}
.nav ul li a {
    color: #fff;
    transition: color 0.3s;
}
.nav ul li a:hover {
    color: #00FF00;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 6px rgba(0, 0, 0, 0.8);
}
.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: #fff;
}

/* Landing Section */
.landing {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #333, #111);
    color: #fff;
    text-align: center;
}
.landing h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.landing p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #00FF00
}

.scroll-btn {
    padding: 0.7rem 1.5rem;
    background-color: #00FF00;
    color: #fff;
    border-radius: 5px;
    transition: background 0.3s;
}
.scroll-btn:hover {
    background-color: #00FF00;
}

.logo-container {
    margin: 50px 0; 
}

.circular-logo {
    width: 300px; 
    height: 300px; 
    border-radius: 50%; 
    background-color: black; 
    padding: 10px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circular-logo:hover {
    transform: scale(1); 
    box-shadow: 0 0 20px 5px rgba(0, 132, 184, 0.7); 
}

/* About Section */
.projects, .contact {
    padding: 15rem 2rem;
    text-align: center;
}

/* ── Projects section — headings ─────────────────────────── */
.section-title{
  text-align:center;
  margin-bottom:4rem;
  font-size:1.75rem;
  color:#fff;
}
.section-number{
  color:#00FFCC;
  font-weight:700;
}

/* ── Project rows ───────────────────────────────────────── */

/* Center the whole section and stop runaway gaps */
.projects{
  max-width:1100px;
  margin:0 auto;          /* horizontally centred */
}

/* Make sure each column can shrink / grow safely */
.project{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:2rem 4rem;          /* row gap, column gap */
}

/* Always give images a real height so the cell isn't '0px' when a file is missing */
.project-image{
  width:100%;
  aspect-ratio:16/9;      /* reserve space even before load */
  overflow:hidden;
}
.project-image img{
  width:100%;
  height:100%;
  object-fit:cover;       /* fills the frame, crops if needed */
  display:block;
}

.project-content{ max-width:520px; }
.project-label{
  font-size:.8rem; font-weight:600; letter-spacing:.05em;
  color:#00FFCC; margin-bottom:.4rem;
}
.project-title{
  font-size:1.6rem; color:#fff; margin-bottom:.8rem;
}
.project-desc{
  background:#111; color:#bbb; font-size:.95rem;
  padding:1rem; border-radius:4px;
  box-shadow:0 5px 10px -5px rgba(0,0,0,.5);
  margin-bottom:1rem;
}
.project-tech{
  list-style:none; display:flex; flex-wrap:wrap; gap:.6rem 1.2rem;
  font-size:.8rem; color:#bbb; margin-bottom:1rem;
}
.project-links a{
  font-size:1.25rem; color:#fff; margin-right:1rem;
  transition:color .25s;
}
.project-links a:hover{ color:#00FFCC; }

/* ── Mobile: one clean column, text over image ──────────── */
@media (max-width: 768px){

  /* Use flex‑column so order is easy and gaps disappear */
  .project{
    display: flex;
    flex-direction: column;
    margin-bottom: 3.5rem;          /* tighter between projects */
  }

  /* ensure content is first, image second – no matter 'reverse' */
  .project-content{ order: 1; }
  .project-image  { order: 2; margin-top: 1.5rem; }

  /* and force the reverse variant to respect that order */
  .project.reverse .project-content{ order: 1 !important; text-align: left; }
  .project.reverse .project-image { order: 2 !important; }

  /* screenshot styling */
  .project-image{
    width: 100%;
    aspect-ratio: 16/9;             /* space reserved before load */
    overflow: hidden;
    border-radius: 6px;
  }
  .project-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(3px) brightness(.65);
  }
}


/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.social-links a img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s;
}
.social-links a img:hover {
    transform: scale(1.2);
}

/* Portfolio Section */
.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; 
    margin-top: 40px;
    border: none !important;
    border-radius: 0 !important;
}

.resume-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-top: 1.5rem; /* Added padding to push button lower */
}

.resume-button {
  padding: 1rem 2rem;
  font-size: 1rem;
  color: #fff;
  background: transparent;
  border: 1px solid #ffffff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
  display: inline-block;
}

.resume-button:hover {
  background: #ffffff10;
}

.logo {
    width: 60px; 
    height: auto;
    transition: transform 0.4s ease-in-out;
}

.logo:hover {
    transform: scale(1.2); 
}

#contact {
    padding-top: 10rem;
    padding-bottom: 5rem;
    margin-bottom: 3rem;  
}

#contact h2 {
  text-align:center; margin-bottom:4rem;
  font-size:1.75rem;
  font-weight: bold;
  font-family: 'DotFont', monospace;
}

#contact h3 {
  text-align: center;
  color: #bbb;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
} 

/* Footer */
/* —— Footer —— */
.footer {
  background: #111;
  color: #ccc;
  padding: 3rem 2rem 1rem;
  font-size: 0.9rem;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.footer-col p {
  line-height: 1.5;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: #fff;
}

/* Resume button in footer */
.footer-resume-button {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.footer-resume-button:hover {
  background: rgba(255,255,255,0.1);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: #666;
}


/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #000;
        width: 100%;
        text-align: center;
    }
    .nav.active {
        display: block;
    }
    .nav ul {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    .nav ul li {
        margin: 0.1;
    }
    .nav ul li a {
        font-family: 'DotFont';
        font-size: 2.5rem;
        font-weight: 600;
        font-style: normal;
    }
    .nav ul li a:hover {
        color: #00FF00;
    }
    .project {
                padding: 15px;
            }
}

/* Hero */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
  }
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
  }
  .hero-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 50%;
  }
  .hero-text h2 { font-size: clamp(1.25rem, 4vw, 2rem); margin-bottom: 0.5rem; }
  .hero-text h1 { font-size: clamp(2rem, 6vw, 4rem); }
  .hero-text .highlight { color: #00FF00; font-family: 'DotFont', monospace; }
  .hero-text .subtext { font-size: clamp(2rem, 4vw, 2.25rem); color: #ccc; margin-top: 0.5rem; }

  @media (max-width: 768px) {
    .hero-text h2 { font-size: clamp(0.75rem,3.25vw, 1.25rem); margin-bottom: 0.5rem; }
    .hero-text .subtext { font-size: clamp(1.25rem, 3.25vw, 1.75rem); color: #ccc; margin-top: 0.5rem; }
  } 

/* ───────────────── Experience / Timeline ───────────────── */
.experience { 
  padding-top: 15rem; 
  background:#000; 
}

.experience h1{
  text-align:center; margin-bottom:4rem;
  font-size:1.75rem;
  font-weight: bold;
  font-family: 'DotFont', monospace;
}

.timeline-tabs {
  display:flex; gap:0; max-width:750px; margin:0 auto 1rem;
  border-radius:8px; overflow:hidden;
  border:2px solid #646b7a20;            /* faint outline */
}
.tab{
  flex:1; padding:.75rem 0; cursor:pointer;
  font-weight:600; font-size:1rem; text-align:center;
  background:#333;   color:#fff;          /* inactive */
  transition:background .25s;
}

.tab.active{ 
  background:#111; 
}          /* active = pure black */

.timeline-box{
  max-width:750px; margin:0 auto;
  padding:2rem 2rem 1rem; 
  border:1px solid #fff; border-radius:8px;
  background:#111;                       /* faint contrast to body */
}

.timeline-list{ position:relative; margin:0 0 0 60px; }
.timeline-list::before{
  content:""; position:absolute; left:-30px; top:0;
  width:2px; height:100%; background:#fff;
}

.timeline-item{ display:flex; gap:1rem; margin-bottom:2rem; }
.logo{
  width:100px;height:100px;border-radius:50%;flex-shrink:0;
  overflow:hidden; display:inline-block;
}
.logo img{ width:100%;height:100%;object-fit:contain; }

.logo-con{
  width:55px;height:55px;border-radius:50%;flex-shrink:0;
  overflow:hidden; display:inline-block; border:1.5px solid #fff;
}
.logo-con img{ width:100%;height:100%;object-fit:contain; }

.details h4{ font-size:.85rem; color:#bbb; margin-bottom:.15rem; }
.details h3{ font-size:1.1rem; color:#fff; margin-bottom:.25rem; }
.details p { font-size:.95rem; color:#bbb; }

/* ── Experience timeline: phone tweaks ───────────────────── */
@media (max-width: 640px){

  /* 1️⃣  give the content more room */
  .timeline-list{
    margin-left: 45px;        /* was 60px */
  }
  .timeline-list::before{
    left: -22px;              /* was -30px (moves the line left) */
  }

  /* 2️⃣  tighten each entry */
  .timeline-item{
    gap: .8rem;               /* narrower gap between logo & text */
  }
  .logo{
    width: 80px;
    height: 80px;             /* slightly smaller circle */
  }

  /*  responsive typography so long names wrap nicely */
  .details h4{ font-size: .8rem; }   /* date line */
  .details h3{ font-size: 1.05rem; } /* company / school */
  .details p { font-size: .9rem; }   /* role / degree text */
}



/* ─── Scroll‑reveal animation ───────────────── */
.scroll-reveal{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .6s ease-out, transform .6s ease-out;
}
.scroll-reveal.show{
  opacity:1;
  transform:translateY(0);
}


/* utility helpers already in the sheet */
.hidden{ display:none !important; }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .hero-section { height: 60vh; }
    .hero-text { max-width: 60%; left: 5%; }
  }
  @media (max-width: 768px) {
    .nav-center,
    .nav-right .contact-btn {
        display: none;
    }
    .nav-right .nav-toggle {
        display: inline;
    }
    .hero-section { height: 50vh; }
    .hero-text { top: 40%; max-width: 80%; }
  }

  label {
		color: #ffffff;
		display: block;
		font-size: 0.8rem;
		font-weight: 300;
		letter-spacing: 0.2rem;
		line-height: 1.5;
		margin: 0 0 1rem 0;
		text-transform: uppercase;
	}

  .about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-color: #111;
    color: #ddd;
  }
  
  .section-title-section {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    color: #00FF00;
    margin-bottom: 2rem;
    font-family: 'DotFont', monospace;
  }
  
  .about-content {
    flex: 1 1 500px;
    max-width: 600px;
    padding: 1rem;
    line-height: 1.7;
    font-size: 1.05rem;
  }
  
  .about-content p {
    margin-bottom: 1.5rem;
  }
  
  .about-image {
    flex: 1 1 300px;
    max-width: 400px;
    padding: 1rem;
    text-align: center;
  }
  
  .about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 1rem;
  }
  


/* Final unified project layout */
.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 6rem;
  position: relative;
}

.project.reverse .project-image {
  order: 2;
}

.project.reverse .project-content {
  order: 1;
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.7);
}

.project-content {
  max-width: 520px;
  z-index: 1;
  text-align: center;
  margin: 0 auto;
}

.project-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #00FFCC;
  margin-bottom: 0.4rem;
}

.project-title {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.project-desc {
  background: #111;
  color: #bbb;
  font-size: 0.95rem;
  padding: 1rem;
  border-radius: 4px;
  box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.project-tech {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  font-size: 0.8rem;
  color: #bbb;
  justify-content: center;
  margin-bottom: 1rem;
}

.project-links a {
  font-size: 1.25rem;
  color: #fff;
  margin-right: 1rem;
  transition: color 0.25s;
}

.project-links a:hover {
  color: #00FFCC;
}

/* Mobile overlay layout */
@media (max-width: 768px) {
  .project {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 3.5rem;
    height: 400px;
    padding: 1rem;
  }

  .project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    border-radius: 8px;
  }

  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px) brightness(0.5);
  }

  .project-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 8px;
    text-align: center;
    max-width: 700px;
  }

  .project.reverse .project-content {
    text-align: center;
  }

  .project-tech {
    justify-content: center;
  }
}

