@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
*,
*::before,
*::after {
	box-sizing: border-box;
}
*::before,
*::after {
	display: inline-block;
}
html,
body {
	height: 100%;
}
body {
	line-height: 1;
	scrollbar-gutter: stable;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Manrope", sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}

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

h1 {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.15rem;
  line-height: 1.1;
  text-align: center;
}

.hero,
.outro,
.about {
  position: relative;
  width: 100%;
  height: 100svh;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  gap: 2rem;
}

.hero-content {
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2rem;
  background: linear-gradient(to bottom, #fff, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-weight: 800;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #fff;
}

.hero-btn.primary {
  background: #fff;
  color: #000;
}

.hero-btn.secondary {
  background: transparent;
  color: #fff;
}

.hero-btn.primary:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-5px);
}

.hero-btn.secondary:hover {
  background: #fff;
  color: #000;
  transform: translateY(-5px);
}

.hero-img,
.outro-img {
  width: 300px;
  aspect-ratio: 5/7;
  overflow: hidden;
  border-radius: 20px;
  background: #1a1a1a;
  position: relative;
}

.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

.services {
  position: relative;
  width: 100%;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.services-header {
  position: relative;
  width: 100%;
  padding: 0 2rem;
  background-color: transparent;
  will-change: transform;
}

.services-header img {
  object-fit: contain;
}

.services-header:nth-child(1),
.services-header:nth-child(3) {
  transform: translateX(100%) translateY(0%);
}

.services-header:nth-child(2) {
  transform: translateX(-100%) translateY(0%);
  z-index: 2;
}

.services-copy {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10vh 2rem;
  text-align: center;
}

.typing-text {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 3rem;
  line-height: 1.4;
  font-weight: 800;
  color: #fff;
  text-align: center;
}

.typing-text .word {
  display: inline-block;
  white-space: nowrap;
  margin: 0 0.25rem;
}

.typing-text .char {
  opacity: 0.1;
  filter: blur(8px);
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.typing-text .char.active {
  opacity: 1;
  filter: blur(0);
}

/* Navbar Styling */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  color: #aaa;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  padding: 0.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: #fff;
  color: #000;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 30px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.animate-text {
  position: relative;
  width: 75%;
  margin: -5vh auto 0;
  color: rgba(255, 255, 255, 0.1);
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  --clip-value: 100%;
}

.animate-text::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  clip-path: inset(0 0 var(--clip-value) 0);
  will-change: clip-path;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Section Title Styling */
.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sticky-title {
  position: sticky;
  top: 5vh;
  z-index: 10;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* About Me Section */
.about-me {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10vh 0;
  background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #0a0a0a 100%);
}

.about-text {
  font-size: 1.5rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: #ccc;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.skill-tag {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: #007aff;
}

/* Project Stacks */
.project-stacks {
  position: relative;
  padding: 10vh 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10vh;
}

.stack-card {
  position: sticky;
  top: 15vh;
  width: 100%;
  max-width: 1100px;
  min-height: 60vh;
  background: rgba(25, 25, 25, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 4rem;
  margin-bottom: 10vh;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  transform-origin: top center;
  transition: transform 0.1s linear;
}

.card-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.card-text h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.card-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #aaa;
  margin-bottom: 2rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #007aff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: gap 0.3s ease;
}

.project-link:hover {
  gap: 1.2rem;
}

.card-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  aspect-ratio: 16/10;
  background: #1a1a1a;
  position: relative;
}

.card-image img {
  transition: transform 0.5s ease;
}

.stack-card:hover .card-image img {
  transform: scale(1.05);
}

/* Contact Section */
.contact {
  padding: 15vh 0;
  text-align: center;
  background: #0a0a0a;
}

.contact-cta {
  font-size: 1.8rem;
  color: #888;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.social-btn {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn i {
  font-size: 1.8rem;
  display: block;
}

.social-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-10px) rotate(8deg);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 3rem;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 800;
  border-radius: 50px;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  transition: all 0.3s ease;
  border: 1px solid #fff;
}

.footer-btn:hover {
  background: transparent;
  color: #fff;
  transform: scale(1.05);
}

.email-link {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.email-link:hover {
  color: #fff;
}

.site-footer {
  margin-top: 5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer p {
  font-size: 0.8rem;
  color: #444;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 1000px) {
  h1 {
    font-size: 2.5rem;
    letter-spacing: -0.05rem;
  }

  .nav-links, .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar.mobile-active .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: -1;
  }

  .navbar.mobile-active .nav-links a {
    font-size: 2rem;
  }

  .navbar.mobile-active .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .navbar.mobile-active .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .navbar.mobile-active .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .animate-text {
    width: 100%;
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .typing-text {
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .card-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stack-card {
    padding: 2.5rem 1.5rem;
    min-height: auto;
    top: 10vh;
  }

  .card-text h3 {
    font-size: 2rem;
  }

  .email-link {
    font-size: 1.5rem;
  }

  .services-header {
    padding: 0 1rem;
  }

  .about-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-img {
    width: 200px;
  }

  .section-title {
    font-size: 2rem;
  }
}
