/* ============================  UNIVERSAL  ========================================= */
body {
  margin: 0;
  padding: 0;
  background-color: #161616;
  color: white;
  overflow-x: hidden;

  font-family: "Jost", sans-serif;
  
  /* Sticky footer layout */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: flex;
  margin: 0 auto;
  padding: 0 1rem;
  justify-content: center;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===================================================================== */


/* ==============================  NAV  ================================ */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  
  max-width: 550px;
  border-radius: 60px;
  background-color: #252525;
  margin-top: 2rem;
  margin-bottom: 4rem;
  padding: 0 30px;
  border: 2px solid rgba(100, 100, 100, 0.3);
  position: relative;
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

nav a {
  padding: 24px;
  font-size: 18px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

nav a:active {
  transform: translateY(0);
  opacity: 0.5;
}

.hamburger {
  display: none !important;
}

@media (max-width: 768px) {
  nav {
    justify-content: flex-end;
    padding: 10px;
    max-width: 100%;
    margin-bottom: 2rem;
    width: 100%;
    border: none;
    background-color: transparent;
    padding: 0;
  }

  .hamburger {
    display: inline-block !important;
    z-index: 1000;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(22, 22, 22, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
  }

  nav a {
    font-size: 38px;
    padding: 20px;
  }
}

/* ===================================================================== */

/* ==============================LANDING PAGE=========================== */

.landing-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  box-sizing: border-box;
  padding: 0 10rem !important;
}

.landing-page-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.profile-name {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

.intro {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.welcome {
  display: inline;
  align-self: center;
  font-size: 32px;
  font-weight: 700;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #12CE34 0%, #A3F94A 50%, #D3C100 86%);
}



.box {
  border: 2px solid rgba(100, 100, 100, 0.3);
  background: #161616;
  border-radius: 10px;
  position: relative;
  padding: 1rem;
}

@property --angle{
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.box::after, .box::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -1;
  padding: 5px;
  border-radius: 10px;
  animation: 5s spin linear infinite;
}

@keyframes spin {
  from{
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

.box::before {
  filter: blur(1.5rem);
  opacity: 0.8;
}

.box.green::after, .box.green::before {
  background-image: conic-gradient(from var(--angle), transparent 85%, #1CBF0D, #2CC41E, #3CC92F, #5CD251, #7CDB73, #CBFAC6);
}

.box.blue::after, .box.blue::before {
  background-image: conic-gradient(from var(--angle), transparent 85%, #0069CC, #247DD1, #4791D6, #6BA5DB, #8EB9E0);
}

.box.blue > span, .box.green > span {
  display: inline;
  font-size: 24px;
  font-weight: 500;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.box.blue > span {
  background-image: linear-gradient(135deg, #0069CC 0%, #8EB9E0 100%);
}

.box.green > span {
  background-image: linear-gradient(135deg, #1CBF0D 0%, #9CE495 100%);
}

.arrow-wrapper {
  max-width: 80px;
  border-radius: 40px;
  background: linear-gradient(101.137deg, #FF7700 0%, #FFAE00 100%);

  display: flex;
  justify-content: center;
}

.arrow-wrapper svg {
  transform: rotate(90deg);
}

@media (max-width: 779px) {
  .landing-page {
    padding: 0 1rem !important;
  }

  .landing-page-content {
    flex-direction: column;
    gap: 1rem;
  }

  .titles {
    gap: 2rem;
  }
}

/* ===================================================================== */

/* =============================   PARRALAX   ========================== */

.parralax {
  min-height: 300px;
  background-color: #050505;
  border-radius: 40px;
  margin: 6rem 0;
}

.second {
  background: url("/images/parralax3.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  mix-blend-mode: color-dodge;
  opacity: 60%;
}

.first {
  background: url("/images/parralax2.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  mix-blend-mode: color-dodge;
}

@media (max-width: 779px) {
  .parralax {
    display: none;
  }
}


/* ================================================================ */

/* ================================ ABOUT  ======================== */

.design, .development {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

.design-header, .development-header {
  display: flex;
  gap: 4rem;
  align-items: flex-end;
}

.design-header h2, .development-header h2 {
  flex: 1;
  min-width: 0;
}

.development {
  margin-top: 6rem;
}

.design-header span {
  background-image: linear-gradient(135deg, #1CBF0D 0%, #9CE495 100%);
}

.design-boxes .mobile-only span {
  background-image: linear-gradient(135deg, #1CBF0D 0%, #9CE495 100%);
}

.development-header span {
  background-image: linear-gradient(135deg, #0069CC 0%, #8EB9E0 100%);
}

.development-boxes .mobile-only span {
  background-image: linear-gradient(135deg, #0069CC 0%, #8EB9E0 100%);
}

.design-header span, .development-header span, .mobile-only span {
  display: inline;
  font-size: 32px;
  font-weight: 500;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.design-dev-container {
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

.design-boxes, .development-boxes {
  display: flex;
  flex-direction: row;

  gap: 4rem;
}

.design-box::after, .design-box::before, .development-box::after, .development-box::before {
  animation: 8s spin linear infinite;
}

.design-box.green::after, .design-box.green::before {
  background-image: conic-gradient(from var(--angle), transparent 90%, #1CBF0D, #2CC41E, #3CC92F, #5CD251, #7CDB73, #CBFAC6);
}

.development-box.blue::after, .development-box.blue::before {
  background-image: conic-gradient(from var(--angle), transparent 90%, #0069CC, #247DD1, #4791D6, #6BA5DB, #8EB9E0);
}

.design-box, .development-box {
  padding: 1.5rem;
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .box::after,
  .design-box::after,
  .development-box::after {
    backface-visibility: hidden;
    perspective: 1000px;
    animation-duration: 8s;
  }
  
  .box::before,
  .design-box::before,
  .development-box::before {
    display: none;
  }

  .mobile-only {
    display: block;
    align-self: center;
    margin-top: 2rem;
  }

  .desktop-only {
    display: none;
  }

  .development-header, .design-header {
    align-self: center;
  }

  .design-boxes, .development-boxes {
    flex-direction: column;
    gap: 2rem;
  }

  .development {
    margin-top: 4rem;
  }

  .skills  {
    overflow: hidden;
  }
}

.skills {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.carousel-container {
  display: flex;
  flex-direction: column;
  width: 80px;
  height: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-wrap: wrap;
  font-size: 12px;
  font-weight: 500;
  gap: 0.75rem;
}

.carousel-container img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.carousel-track {
  display: inline-flex;
  align-items: baseline;
  gap: 2rem;
  animation: scroll 180s linear infinite;
  animation-play-state: running;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.icon-carousel {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  justify-content: center;
}

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

/* =============================== BREAK ================================ */

.break {
  position: relative;
  min-height: 200px;
  width: 100%;
  background: #1b1b1b;
  margin: 6rem 0;
  border-top: 2px solid rgba(100, 100, 100, 0.3);
  border-bottom: 2px solid rgba(100, 100, 100, 0.3);

  display: flex;
  justify-content: center;
  align-items: center;
}


.break span {
  display: inline;
  font-size: 32px;
  font-weight: 500;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #D9D9D9 0%, #4F4F4F 100%);
}

.break.mobile-only {
  display: none;
}

@media (max-width: 779px) {
  .break {
    margin: 4rem 0;
    min-height: 150px;
  }

  .break.mobile-only {
    display: flex;
    min-height: 75px;
    height: 75px;
  }
}
/* ===================================================================== */


/* =============================== PROJECTS ============================ */

#projects {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.projects-container {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.projects-title {
  display: inline;
  font-size: 32px;
  font-weight: 500;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(101.137deg, #FF7700 0%, #FFAE00 100%);
}
 
.project-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

  gap: 2rem;
  margin: 2rem 0;
}

.project-card {
  width: 330px;
  background: rgb(31, 31, 31);
  border: 2px solid rgba(100, 100, 100, 0.3);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.project-card.box {
  border-radius: 24px;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.project-card-image {
  width: 100%;
  height: 280px;
  background-color: rgb(255, 255, 255, 0.95); 
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 24px;
  padding: 1rem;
  box-sizing: border-box;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  border-radius: 16px;
}

.project-card-content {
  color: white;
  padding: 1rem;
}

.project-card-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: white;
}

.project-card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.project-tag {
  padding: 6px 12px;
  border: 2px solid rgba(100, 100, 100, 0.5);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-card-description {
  font-size: 16px;
  line-height: 1.6;
  color: white;
  margin: 0;
}


@media (max-width: 768px) {
  #projects {
    align-items: center;
    justify-content: center;
  }

  .project-cards {
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
  }
}

/* ===================================================================== */

/* ====================== PROJECT PAGE ============================== */

.project-container {
  display: flex;
  flex-direction: column;
}

.project-title {
  display: inline-block;
  font-size: 32px;
  font-weight: 500;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-title {
  margin-bottom: 1rem;
}

.project-container li {
  list-style: none;
}

.project-container ul {
  padding: 0;
}

.project-overview {
  display: flex;
  gap: 2rem;
}

.tags {
  display: flex;
  gap: 0.5rem;
}

.problem ul, .solution ul, .learnings ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.role-duration, .role-duration-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-link {
  margin-top: 2rem;
  align-self: center;
  min-height: 60px;
  display: flex;
}

.project-link.box {
  padding: 0;
}

.project-link.box::after, .project-link.box::before {
  background-image: conic-gradient(from var(--angle), var(--border-colors));
}

.project-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  font-weight: 500;
  color: #c4c4c4;
  text-decoration: none;
}

@media (max-width: 769px) {
  .project-link {
    margin-bottom: 2rem;
  }
}

/* ===================================================================== */

/* ======================= CONTACT ======================= */

.contact-container {
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  margin-bottom: 4rem;
}

#contact {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.contact-title {
  display: inline;
  font-size: 32px;
  font-weight: 500;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(99.308deg, #6c4cfa 0%, #A100FF 100%);
}

#contactForm {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-forms {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: clamp(350px, 85vw, 700px);

  color: rgba(250, 250, 250, 0.3);
}

input, textarea {
  font-family: "Jost", sans-serif;
  font-size: 14px;
  color: white;
}

.contact-name-email {
  display: flex;
  flex-direction: row;
  gap: clamp(1rem, 4vw, 4rem);
  width: 100%;
}

.name, .email {
  flex: 1;
  min-width: 0;
}

.body {
  width: 100%;
}

.submit-btn {
  margin-top: 2rem;
  padding: 0.5rem 1rem;
  font-family: "Jost", sans-serif;
  font-size: 20px;
  font-weight: 500;
  background: none;

  color: white;
  align-self: center;
}

.submit-btn:hover {
  border-color: white;
  cursor: pointer;
}

.submit-btn span {
  display: inline;
  font-size: 20px;
  font-weight: 700;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(99.308deg, #6c4cfa 0%, #A100FF 100%);
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-message.success {
  color: #4ade80;
  background-color: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  opacity: 1;
}

.form-message.error {
  color: #f87171;
  background-color: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  opacity: 1;
}

/* ======================= FOOTER ======================= */
footer {
  background-color: rgb(37, 37, 37);
  min-height: 250px;
  min-width: 100%;
  margin-top: auto;
  padding: 1.5rem;
  border-top: 2px solid rgba(100, 100, 100, 0.3);

  display: flex;
  align-items: center;
  box-sizing: border-box;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-titles {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

footer a {
  text-decoration: none;
  color: white;
  font-size: 24px;
  font-weight: 600;
}

footer a:hover {
  color: rgb(100, 100, 100);
}

.sign {
  display: inline;
  font-size: 14px;
  font-weight: 600;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #ffffff 0%, #818181 100%);
}

/* ======================= MEDIA QUERIES ======================= */

