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

:root {
  --nav-bg: rgba(10, 10, 10, 0.8);
  --gray-50: #111827;
  --gray-600: #d1d5db;
  --gray-200: #374151;
  --gray-default: #030712;
  --gray-900: #f9fafb;
  --gray-100: #1f2937;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.container {
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.tag-title {
  text-align: center;
  border-radius: 20rem;
  width: fit-content;
  padding: 0.5rem;
  background-color: var(--gray-200);
  color: var(--gray-600);
  margin: 2rem 0;
}

p {
  text-align: justify;
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--nav-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-color);
}

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

.coming-soon {
  color: var(--gray-900);
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 3px auto;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

.container:nth-child(odd) {
  background-color: var(--gray-default);
}

.container:nth-child(even) {
  background-color: var(--gray-50);
}

.hero {
  color: var(--gray-600);
  text-align: start;
}

.profile-img-container {
  position: relative;
  padding: 0.5rem;
  margin-bottom: 2rem;
}

.profile-img-container::before {
  content: "";
  position: absolute;
  background-color: var(--gray-200);
  width: 280px;
  height: 250px;
  top: 37.5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.profile-img {
  display: block;
  width: 280px;
  height: 280px;
  position: relative;
  padding: 5px;
  padding: 1rem;
  z-index: 2;
}

.about-me-img-container {
  position: relative;
  padding: 0.5rem;
}

.about-me-img-container::before {
  content: "";
  position: absolute;
  background-color: var(--gray-200);
  width: 340px;
  height: 380px;
  top: 37.5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.about-me-img {
  position: relative;
  padding: 1rem;
  min-width: 20rem;
  min-height: 25rem;
  object-fit: cover;
  z-index: 2;
}

.hero h2 {
  text-align: left;
  margin: 0.5rem 0;
}

.hero > div > p {
  display: block;
  margin-bottom: 2rem;
}

.green-dot {
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 100%;
}

.location {
  margin: 0.5rem 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}

.location-icon {
  width: 20px;
  height: 20px;
}

.about-me-title {
  color: var(--gray-900);
}

.about-me-text {
  color: var(--gray-600);
}

.container-dev {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* padding: 3rem 0; */
}

.container-dev img {
  width: 15rem;
  height: 15rem;
}

.container-dev h4 {
  font-size: 2rem;
}

.container-dev p {
  font-size: 16px;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.skill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  color: var(--gray-900);
}

.skill img {
  width: 64px;
  height: 64px;
}

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

.touch-content > p {
  color: var(--gray-600);
}

.touch-text {
  text-align: center;
}

.touch a {
  color: var(--gray-600);
  text-decoration: none;
}

.social-media {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: var(--gray-600);
  gap: 0.5rem;
}

.projects-container {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, 1fr);
}

.project-card {
  background-color: var(--gray-100);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 5px;
}

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.project-card h3 {
  color: var(--gray-900);
}

.project-card:not(h3),
a {
  color: var(--gray-600);
  text-decoration: none;
  display: block;
}

.social-media-icon {
  width: 32px;
  height: 32px;
  fill: var(--gray-600);
  color: var(--gray-600);
}

.ig {
  background-color: var(--gray-600);
  border-radius: 30%;
}

@media (min-width: 480px) {
  .container {
    padding: 2rem 30rem;
  }

  .skills-container {
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(4, 1fr);
  }

  .projects-container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    display: flex;
    flex-direction: row-reverse;
    justify-items: center;
    align-items: center;
    gap: 2rem;
  }
}

@media (min-width: 1110px) {
  .skills-container {
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(8, 1fr);
  }

  .projects-container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
  }
}
