/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

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

html, body {
  height: 100%;
  background: white;
  color: #111;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
  cursor: none;
}


/* Fixed Navbar */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(128, 128, 128, 0.40); /* semi-transparent grey */
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 40px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Logo Style */
.logo {
  background: black;
  color: white;
  font-family: 'Space Mono', monospace;
  font-size: 20px;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: bold;
}

/* Navbar Links */
.nav-content a {
  color: white;
  text-decoration: none;
  font-size: 25px;
  transition: color 0.3s ease;
}

.nav-content {
  display: flex;
  gap: 24px;  
}


.nav-content a:hover {
  color: black;
}


/*Navbar-idea 2
.navbar {
  background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364);
  background-size: 400% 400%;
  animation: aurora 15s ease infinite;
  border-radius: 20px;
  color: white;
}

@keyframes aurora {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}*/
.nav-content {
  display: flex;
  gap: 24px;
  position: relative;
}

.nav-item {
  position: relative;
}

.preview {
  position: absolute;
  top: 130%; /* Push below nav item */
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 170px;
  display: none;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 0px;
  z-index: 99;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
}

.nav-item:hover .preview {
  display: block;
}



.preview {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 250px;
  display: none;
  border-radius: 0px; /* ensure no rounding */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border: none; 
  background: #000; 
  padding: 0;
  margin: 0;
  z-index: 99;
  overflow: hidden; 
}

.preview * {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  line-height: 1 !important;
}



/*.nav-content {
  display: flex;
  gap: 24px;
  position: relative;
}

.nav-item {
  position: relative;
}

.preview {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  display: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  padding: 0px;
  z-index: 99;
  border-radius: 0; 
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; 
}

.nav-item:hover .preview {
  display: block;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.2s ease, transform 0.2s ease;
}

.custom-cursor.hover {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
}

.custom-cursor.clicked {
  transform: translate(-50%, -50%) scale(0.7);
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.scroll-text-wrapper {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 200%;
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}

.scroll-text {
  display: inline-block;
  font-size: 40vw;
  font-weight: 700;
  color: #000;
  opacity: 0.25;
  animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.avatar-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
  pointer-events: none;
}

.avatar-container img.avatar {
  display: block;
  height: 90vh;
  margin-top: 20px;
}

.avatar-container.scrolled {
  opacity: 0;
  transform: scale(0.85) translateY(60px);
  filter: blur(6px);
}

/* ABOUT SECTION */
.about-section {
  padding: 160px 30px 120px;
  text-align: center;
  background-color: #000;
}

.about-section h2 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.text-block {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-size: clamp(16px, 4vw, 40px);
  color: #eee;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  word-break: break-word;
}

/* Greeting Animation */
.greeting-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#greeting-text {
  transition: opacity 0.4s ease;
  opacity: 1;
}

#greeting-text.fade-out {
  opacity: 0;
}

/* PROJECT SECTION */
.project-section {
  background: #0d0d0d;
  padding: 120px 30px 20px;
  text-align: center;
  color: #fff;
}

.project-section h2 {
  font-size: 6rem;
  margin-bottom: 80px;
  font-family: 'Poppins', sans-serif;
}

/* Project Card */
.project-card {
  position: relative;
  width: 1200px;
  max-width: 90%;
  aspect-ratio: 16 / 9;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: 20px;
  background-color: #1a1a1a;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.project-card:hover {
  transform: scale(1.03);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.6);
}

/*Project preview image*/
.image-link {
  display: inline-block;
  position: relative;
}

.project-preview-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  max-width: 1200px;
  margin: 0 auto 40px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.project-preview-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.3s ease;
}

/* Dark overlay on hover */
.project-preview-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  border-radius: 12px;
  z-index: 1;
}

.project-preview-img:hover::after {
  background-color: rgba(0, 0, 0, 0.4);
}

/* Centered arrow button */
.project-link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  transition: 0.3s ease;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 14px 16px;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  backdrop-filter: blur(4px);
}

/* Show button on hover */
.project-preview-img:hover .project-link {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.arrow-icon {
  font-size: 22px;
  line-height: 1;
}

/* Title + Description Block */
.project-title-block {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 40px;
}

.project-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

.project-title-block h3 {
  font-size: 4vw; 
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  margin-bottom: 0px;
  color: #fff;
  text-align: center;
}

.project-title-block p.project-description {
  font-size: 1rem;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Space Mono', monospace;
  line-height: 1.6;
  text-align: center;
}

/*.project-title-block hr {
  border: none;
  border-top: 1px solid #666;  
  width: 40%;
  margin: 24px auto 40px; 
}*/

/* TOP LINE (above project title) */
.project-title-block hr {
  border: none;
  border-top: 1px solid #222;
  margin: 0 auto 10px;
  width: 60%;
  opacity: 0.3;
}

/* BOTTOM LINE (after project ends)*/
.project-divider {
  border: none;
  border-top: 1px solid #aaa;
  margin: 60px;
  width: 80%;
  opacity: 1;
}


/* Gallery Container */
.multi-image-scroll {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
  background: #1a1a1a;
}

.image-wrapper {
  display: flex;
  gap: 20px;
  padding: 20px;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.image-wrapper::-webkit-scrollbar {
  display: none;
}

.image-wrapper img {
  max-height: 400px;
  flex-shrink: 0;
  border-radius: 16px;
  user-select: none;
  pointer-events: none;
  object-fit: cover;
}

/* Arrow styles */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.15);
  padding: 10px;
  border-radius: 50%;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.multi-image-scroll:hover .scroll-arrow {
  opacity: 1;
  pointer-events: all;
  cursor: pointer;
}

.scroll-arrow:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}


/* Hover Button */
.hover-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: #00e676;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
  opacity: 0;
}

.project-card:hover .hover-button {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.arrow-icon {
  pointer-events: none;
}

/* Title + Description Block */
.project-title-block {
  width: 100%;
  text-align: center;
  margin: 0 auto 40px;
  display: block;
}

.project-title {
  display: inline-block; /* Helps avoid text alignment bugs */
}

/* The THICK SHORT line under title */
.title-underline {
  height: 10px; /* thickness */
  background-color: #eedfcc; 
  margin: 0 auto;
  border-radius: 2px; 
}

.underline-pack {
  width: 490px;
}

.underline-flight {
  width: 860px;
}

.underline-house {
  width: 900px;
}

.underline-truthlens {
  width: 350px;
}

.project-preview-img img{
  max-width: 1000px;
  margin: 0 auto 40px; /* Bottom spacing to title */
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.project-preview-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


.project-title-block h3 {
  font-size: 5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  margin-bottom: 10px ;
  color: #fff;
}

.project-title-block p.project-description {
  font-size: 1rem;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Space Mono', monospace;
}

.project-title-block hr {
  border: none;
  border-top: 1px solid #444;
  width: 60%;
  margin: 4px auto 0 ;
}

/* Responsive */
@media (max-width: 768px) {
  .project-card {
    width: 100%;
  }

  .project-title-block hr {
    width: 80%;
  }

  .text-block {
    font-size: 18px;
    padding: 0 10px;
  }

  .greeting-title {
    font-size: 36px;
  }

  .scroll-text {
    font-size: 28vw;
  }
}


/* Clipping Text Scroll Effect */
.clipping-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.clipping-text {
  font-size: 6vw;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  width: 100%;
  color: rgba(182, 182, 182, 0.2);
  background: linear-gradient(to right, #b6b6b6, #b6b6b6) no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 0%;
  transition: background-size cubic-bezier(.1, .5, .5, 1) 0.5s;
  border-bottom: 1px solid #2F2B28;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.clipping-text span {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #00e676;
  color: #0D0D0D;
  clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
  transform-origin: center;
  transition: all cubic-bezier(.1, .5, .5, 1) 0.4s;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
  font-size: 0.5em;
}

.clipping-text:hover > span {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.clipping-text a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}

/* Dropdown */
.dropdown-wrapper {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* Toggle Heading styled like other clipping-texts */
.dropdown-toggle {
  font-size: 6vw;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: rgba(182, 182, 182, 0.2);
  background: linear-gradient(to right, #b6b6b6, #b6b6b6) no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 0%;
  border-bottom: 1px solid #2F2B28;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background-size 0.4s ease;
}

.dropdown-toggle:hover {
  background-size: 100%;
}

.dropdown-toggle span {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #00e676;
  color: #0D0D0D;
  clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
  transform-origin: center;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
  font-size: 0.5em;
}

.dropdown-toggle:hover span {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* Dropdown Content */
.dropdown-content {
  max-height: 0;
  overflow: hidden;
  background: #1a1a1a;
  color: #eee;
  font-family: 'Space Mono', monospace;
  padding: 0 32px;
  margin-top: 20px;
  border-radius: 12px;
  transition: max-height 0.5s ease;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  line-height: 1.7;
}

/* Expanded State */
.dropdown-wrapper.open .dropdown-content {
  max-height: 800px; 
}

/* List Reset + Styling */
.dropdown-content ul {
  padding-left: 0;
  list-style: none;
}

.dropdown-content li {
  margin-bottom: 16px;
  text-align: left;
}

/* Title within list */
.dropdown-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #00e676;
  margin-bottom: 14px;
}

/*scroll animate*/
.scroll-pair {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  margin-bottom: 100px;
}

.scroll-text, .scroll-image {
  flex: 1;
  transition: transform 0.5s ease;
  will-change: transform;
}

.scroll-text {
  text-align: left;
  padding-right: 40px;
}

.scroll-image {
  text-align: right;
  padding-left: 40px;
}

.scroll-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

/*Section divider*/
/*.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #555, #333); 
  opacity: 0.3;
  margin: 80px 0;
}*/

/*Section divider*/
.section-divider {
  position: relative;
  height: 100px;
  background-color: #ffffff;
  overflow: hidden;
  z-index: 1;
}

/* Tech Stack inside Divider */
.tech-stack-scroll {
  position: absolute;
  width: 200%;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.scroll-tech-wrapper {
  width: 100%;
}

.scroll-tech {
  display: inline-block;
  animation: scrollText 35s linear infinite;
  font-size: 4vw;
  font-weight: 700;
  color: #111;
  opacity: 0.5;
}

.scroll-tech span {
  margin: 0 60px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Same scroll animation */
@keyframes scrollText {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Experience Section*/
.experience-section {
  padding: 100px 30px;
  text-align: center;
  background: #0d0d0d;
  color: #fff;
}

.section-title {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 50px;
}

.experience-card {
  max-width: 1300px;
  margin: 0 auto;
  background-color: #121212;
  padding: 30px 35px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  text-align: left;
}

.experience-role {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.company {
  text-decoration: none;   
  font-weight: 400;        
  color: #ccc;             
  cursor: pointer;         
}

.company:hover {
  color: #0077ff;          /* subtle hover effect*/
}


.experience-time {
  font-size: 1.5rem;
  color: #888;
  margin-bottom: 15px;
  font-family: monospace;
}

.experience-desc {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.experience-tasks {
  font-size: 1.5rem;           
  line-height: 1.6;
  color: #e0e0e0;              
  padding-left: 1.5rem;        /* Indent bullets */
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.experience-tasks li {
  margin-bottom: 0.75rem;      /* Add space between bullets */
}

.experience-mockup {
  margin-top: 2rem;
  text-align: center;
}

.experience-mockup img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #333;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}



/* CONTACT SECTION */
.contact-section {
  background-color: #fdf4e3;
  padding: 120px 30px 0px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.social-icons a {
  color: #000;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #007aff;
  transform: scale(1.2);
}

.cv-button {
  display: inline-block;
  margin-bottom: 100px;
  padding: 12px 24px;
  font-size: 1.1rem;
  background-color: #000;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cv-button:hover {
  background-color: #333;
}

.contact-line {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #444;
}

.copyright {
  font-size: 1rem;
  color: #777;
}

.footer-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px 0;
  font-size: 1.7rem;
  color: #555;
  flex-wrap: wrap;
  /*border-top: 1px solid #eee; /* for subtle separation */
}


.made-with {
  text-align: center; 
}

.copyright-text {
  text-align: right;
}


@media (max-width: 600px) {
  .footer-end {
    flex-direction: column;
    gap: 8px;
    padding: 20px 20px 0;
  }

  .made-with,
  .copyright-text {
    text-align: center;
  }
}

