/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* RESET & BASE STYLES */
/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background: var(--geist-background);
  color: var(--geist-foreground);
  transition: background-color 0.3s, color 0.3s;
}

/* CSS VARIABLES & THEME */
:root {
  --geist-background: #000000;
  --geist-foreground: #ffffff;
  --geist-primary: #ffffff;
  --geist-secondary: #aaaaaa;
}

@media (prefers-color-scheme: light) {
  :root {
    --geist-background: #ffffff;
    --geist-foreground: #000000;
    --geist-primary: #0070f3;
    --geist-secondary: #666666;
  }
}


@media (prefers-color-scheme: dark) {
  :root {
    --geist-background: #000000;
    --geist-foreground: #ffffff;
    --geist-card-bg: #111111;
    --geist-card-border: #333333;
  }
}


/* FADE-IN ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* NAVIGATION */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: var(--geist-background);
  border-bottom: 1px solid var(--geist-card-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--geist-foreground);
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--geist-foreground);
  text-decoration: none;
  transition: color var(--transition-speed);
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a:focus {
  color: var(--geist-primary);
}

/* HAMBURGER MENU */
#hamburger-nav {
  display: none;
}
.hamburger-menu {
  position: relative;
  display: none;
}
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}
.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: var(--geist-foreground);
  transition: all var(--transition-speed);
}
.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--geist-background);
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease-in-out;
}
.menu-links.open {
  max-height: 300px;
}
.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: var(--geist-foreground);
  text-decoration: none;
  transition: all var(--transition-speed);
}

/* SECTIONS */
section {
  padding: 4rem 5%;
}

/* PROFILE / HERO SECTION */
#profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}
#profile h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}
#profile p {
  font-size: 1.2rem;
  max-width: 600px;
  color: var(--geist-secondary);
}

/* PROJECTS SECTION */
#projects h2,
.section__text__p2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* PROJECT CARD STYLES */
.project-card {
  background: var(--geist-card-bg);
  border: 1px solid var(--geist-card-border);
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.project-image-container {
  overflow: hidden;
  position: relative;
  padding-top: 56.25%;
}
.project-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-content {
  padding: 1.5rem;
}
.project-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.project-content p {
  font-size: 1rem;
  color: var(--geist-secondary);
  margin-bottom: 1rem;
}
.tech-stack {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.tech-stack span {
  background: var(--geist-highlight);
  color: var(--geist-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}
.project-link {
  color: var(--geist-primary);
  text-decoration: none;
  font-weight: 500;
}

/* CONTACT SECTION */
#contact {
  text-align: center;
}
#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}
#contact p {
  font-size: 1.2rem;
  color: var(--geist-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}
#contact a {
  color: var(--geist-primary);
  text-decoration: none;
  font-weight: 500;
}

/* FOOTER */
footer {
  padding: 2rem 5%;
  text-align: center;
  background: var(--geist-background);
  border-top: 1px solid var(--geist-card-border);
  font-size: 0.9rem;
  color: var(--geist-secondary);
}

/* BUTTON STYLES */
.btn {
  background-color: var(--geist-primary);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn:hover {
  background-color: #0056b3;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  #hamburger-nav {
    display: block;
  }
  .hamburger-menu {
    display: block;
  }
  #profile h1 {
    font-size: 2.5rem;
  }
  #projects h2,
  .section__text__p2 {
    font-size: 2rem;
  }
}