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

body, html {
  width: 100%;
  height: 100%;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  overflow: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 100;
}  

.logo a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
}

.menu a {
  text-decoration: none;
  color: black;
  margin-left: 20px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
}

.container {
  display: flex;
  transition: transform 0.6s ease;
  width: 300%; /* 3 pages: home, projects, about */
}

.page {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  overflow-y: auto;
  background-color: #f5f5f5;
}



/*Hide scrollbars*/

/* For all scrollable elements */
html, body, .page, .container {
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE 10+ */
  overflow-y: scroll;            /* Still allow scroll */
}

/* For WebKit browsers */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.page::-webkit-scrollbar,
.container::-webkit-scrollbar {
  display: none;                 /* Chrome, Safari, Opera */
}



/* Home scrolls vertically with thumbnail grid */
#home {
  background: #fdfdfd;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  height: 100vh;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
}

.project-thumb {
  height: 80vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-top: 40px;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-thumb:hover {
  transform: scale(1.01);
}

.project-thumb img {
  width: auto;
  max-width: 100%;
  object-fit: cover;
}

.project-thumb h2 {
  margin-top: 20px;
  font-size: 2rem;
  text-align: left;
}  

.project-card {
  display: flex;
  flex-direction: row;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  max-width: 1000px;
  width: 100%;
  height: 90%;
}

.thumb-image {
  flex: 1;
  overflow: hidden;
}

.thumb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fefefe;
}

.thumb-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.thumb-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #444;
}

.thumb-inner {
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thumb-inner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.thumb-inner p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #444;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.tag {
  background-color: #eee;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: #333;
}

.open-icon {
  font-size: 1.5rem;
  align-self: flex-start;
  color: #805343;
  transition: transform 0.2s ease;
}

.project-thumb:hover .open-icon {
  transform: translateX(5px);
}


/*cards follow cursor*/

.project-thumb {
  perspective: 1000px;
}

.project-card {
  transition: transform 0.1s ease;
  will-change: transform;
}

.project-thumb:hover .project-card {
  transition: none;
}


@media (max-width: 768px) {
  .project-card {
    flex-direction: column; /* Stack image above content */
    height: auto; /* Allow height to expand naturally */
  }

  .projects-grid {
    padding-left: 10px;
    padding-right: 10px;
  }

  .project-thumb {
    margin-left: 0;
    margin-right: 0;
  }


  .thumb-image,
  .thumb-content {
    width: 100%;
    height: auto;
  }

  .thumb-image img {
    height: auto;
    object-fit: contain;
  }

  .thumb-inner {
    padding: 20px;
  }
}



#projects {
  background: #eaeaea;
  overflow-y: auto;
  height: 100vh;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.project-full{
  position:relative;
  min-height:200vh;
  scroll-snap-align:start;
}

.project-thumb-full{
  position:sticky;
  top:0;
  height:100vh;
  width:100%;
  display:flex;
  z-index:0;
  transition:transform .4s ease-out;   /* smooth move */
}

.project-thumb-image {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.project-thumb-image img {
  max-height: 70vh;
  max-width: 90%;
  object-fit: contain;
  border-radius: 12px;
}

.project-thumb-text {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 40px;
}

.project-thumb-text h1 {
  font-size: 3rem;
  text-align: left;
  line-height: 1.2;
}


.project-details{
  position:relative;
  min-height:100vh;                    /* exactly one screen */
  padding:160px 40px;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(3px);
  z-index:2;                       /* above thumbnail */
  overflow:auto;
}

/* optional parallax – thumbnail moves opposite  */

.project-full.is-visible .project-thumb-image{
  transform:translateX(-30px);
  transition:transform .6s ease;
}
.project-full.is-visible .project-thumb-text{
  transform:translateX(30px);
  transition:transform .6s ease;
}
.project-full:not(.is-visible) .project-thumb-image,
.project-full:not(.is-visible) .project-thumb-text{
  transform:translateX(0);
}



.project-info {
  max-width: 800px;
  margin: 0 auto;
}

.project-section {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.project-motto {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #111;
}

.project-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 2.5rem;
}


.project-image {
  margin: 2rem auto; /* space above and below */
  width: 150%; /* slightly wider than the text container */
  max-width: 1000px; /* but not TOO huge */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Wider two-column split section */
.project-split {
  position: relative;
  left: 40%;
  transform: translateX(-40%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  width: 130%;         /* really wide */
  max-width: 1400px;   /* but not too much */
  margin: 6rem 0;      /* space around */
  padding: 0 20px;
}

.split-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.split-number-1 {
  font-size: 1.5rem;
  background: #d4c1bb;
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
}

.split-number-2 {
  font-size: 1.5rem;
  background: #eb4373;
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
}

.split-number-3 {
  font-size: 1.5rem;
  background: rgb(59, 31, 201);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
}

.split-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.project-split-text {
  flex: 1;
  min-width: 300px;
}

.project-split-image {
  flex: 2;
  min-width: 300px;
}

.project-split-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.split-image-row {
  display: flex;
  gap: 20px;
}

.split-image-row img {
  flex: 1;
  width: 100%;
  height: auto;
  border-radius: 26px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}


.project-meta {
  margin-bottom: 5rem;
  display: flex; 
  gap: 40px;
  flex-wrap: nowrap;
}

.project-meta div {
  display: flex;
  flex-direction: column;
  max-width: 300px;              /* 🛠 minimum width so it doesn't get too tiny */
}

.meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.meta-value {
  font-size: 1rem;
  font-weight: 400;
  color: #222;
  overflow-wrap: break-word;
  word-break: break-word;
}

.project-bullets {
  margin: 2rem 0;
  padding-left: 1.5rem;
  list-style: none;
}

.project-bullets li {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 1.2rem;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.project-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #d4c1bb; /* or any accent color */
  font-size: 1.2rem;
  line-height: 1.6;
}

.project-videos {
  position: relative;
  left: 40%;
  transform: translateX(-40%);
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 130%;
  max-width: 1400px;
  margin: 6rem 0;
  flex-wrap: wrap;
  padding: 0 20px;
}

.image-wrapper {
  border-radius: 12px;
  position: relative;
  display: block;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  transition: filter 0.3s ease;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(59, 31, 201, 0.5);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 1rem;
}

.image-wrapper:hover img {
  filter: blur(3px);
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}



.figma-prototype-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #1e1e1e;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  margin-bottom: 3rem;
}

.figma-prototype-btn:hover {
  background-color: #444;
}

.figma-icon {
  width: auto;
  height: 20px;
}





/* blank 100 vh panel */
.next-page{
  min-height:100vh;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  scroll-snap-align:start;   /* keeps snap flow */
}

.next-button {
  background: rgba(150, 150, 150, 0.0);
  color: #d4c1bb;
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  animation: pulseOutline 2s infinite;
  box-shadow: 0 0 0 0 rgba(59, 39, 34, 0.1);
}

.next-button:hover {
  background: rgb(238, 234, 233);
  color: #fff;
}

/* 🔁 Keyframes for the pulse effect */
@keyframes pulseOutline {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.12);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}


/*project backgrounds*/

.bg-project1 {
  background-color: #F7F4F2; /* Soft yellow */
}

.bg-project2 {
  background-color: #FFD8DF; /* Soft blue */
}

.bg-project3 {
  background-color: #A492FF; /* Soft pink-purple */
}

.bg-project4 {
  background-color: #c6e0a3; /* Soft pink-purple */
}

@media (max-width: 768px) {
  /* Stack image and text vertically in split sections */
  .project-split {
    flex-direction: column;
    width: 100%;
    left: 0;
    transform: none;
    padding: 0 20px;
  }

  .project-split-text,
  .project-split-image {
    width: 100%;
    min-width: unset;
  }

  .project-split-image img {
    width: 100%;
  }

  /* Adjust thumbnail section */
  .project-thumb-full {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .project-thumb-image,
  .project-thumb-text {
    padding: 20px;
    flex: unset;
    width: 100%;
  }

  .project-thumb-text h1 {
    font-size: 2rem;
    text-align: center;
  }

  /* Adjust meta section to wrap cleanly */
  .project-meta {
    flex-direction: column;
    gap: 20px;
  }

  .project-meta div {
    max-width: 100%;
  }

  /* Reduce padding in details */
  .project-details {
    padding: 80px 20px;
  }

  /* Typography scale down */
  .project-motto {
    font-size: 1.75rem;
  }

  .split-title {
    font-size: 1.5rem;
  }

  .split-description {
    font-size: 1rem;
  }

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

  .next-button {
    font-size: 1rem;
    padding: 0.6rem 2rem;
  }

  .project-image {
    padding: 0 16px;
    margin: 1rem auto;
    width: 100%;
  }

  .project-image img {
    border-radius: 10px;
  }

}




/*About page*/

.about-section {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.scroll-to-portfolio {
  display: inline-flex;
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #f3e5c6;
  color: #000;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 3px 9px rgba(133, 74, 25, 0.15);
  transition: background-color 0.3s ease;
}

.scroll-to-portfolio:hover {
  background-color: #f1bf33;
}


.about-hero {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 160px;
}

.hero-left {
  flex: 1;
  min-width: 280px;
}

.hero-right {
  flex: 1;
  min-width: 300px;
}

.about-photo {
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.hero-right h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #222;
}

.hero-right p {
  font-size: 1.2rem;
  color: #444;
  line-height: 1.6;
}

.about-block {
  margin-bottom: 160px;
}


.about-education {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-education li {
  font-size: 1rem;
  color: #333;
  line-height: 1.4;
}


.about-block h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.about-block h2 {
  margin-bottom: 1rem;
}


.about-block p {
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
}

.software-icons {
  display: flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.software-icons img {
  height: 82px;
  width: auto;
  border-radius: 12px;
}

.experience-block {
  display: flex;
  align-items: stretch; /* Stretch children to match height*/
  gap: 20px;
}

.experience-entry {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.experience-image-card {
  position: relative;
  width: 160px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.experience-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  display: block;
  border-radius: 12px;
}

.experience-image-card .hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.experience-image-card:hover .hover-img {
  opacity: 1;
}

.experience-image-card:hover .default-img {
  opacity: 0;
}

.experience-paragraph {
  flex: 1;
  display: flex;
  align-items: center;
}

.hobby-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hobby-card {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.hobby-card:hover {
  transform: scale(1.02);
}

.hobby-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0); /* no overlay initially */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  text-align: center;
  padding: 10px;
}

.hobby-card:hover .hobby-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* black overlay on hover */
}

/*
.about-hobbies {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 1rem;
}

.about-hobbies li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #444;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.about-hobbies img {
  height: 42px;
  width: 42px;
  object-fit: contain;
}

*/

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.client-card {
  background: #545454;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  flex: 1 1 120px;
}

.client-card img.horizontal {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}

.client-card img.vertical {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 600px) {
  .client-card {
    flex: 0 0 calc(50% - 12px); /* 2 cards per row, accounting for 24px gap */
  }
}


/*Portfolio*/

.pdf-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  margin: 0;
  overflow: hidden;
}


.pdf-intro-text {
  font-size: 1rem;
  color: #421818;
  margin: 0;
}

.pdf-image {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  object-position: left center;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.pdf-image:hover {
  transform: scale(1.02);
}



/*Contact form*/

.contact-form {
  margin-top: 2rem;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 400px;
}

.contact-form h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #222;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form button {
  background-color: #222;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #444;
}
