/* Edit here to change the color scheme */
:root {
  --primary-color: #4a90e2; /* Main color for buttons and links */
  --secondary-color: #333; /* Background color for navigation and footer */
  --background-color: #f4f4f4; /* Main background color */
  --text-color: #222; /* Default text color */
  --hover-color: #555; /* Hover effect color */
  --font-family: "Inter", sans-serif; /* Custom font */
}

/* General styling */
body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  color: var(--text-color);
}

/* Navigation Bar */
nav {
  display: flex;
  justify-content: flex-end;
  background-color: var(--secondary-color);
  padding: 10px 20px;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  display: inline;
  padding: 10px 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
}

nav ul li a:hover {
  background-color: var(--hover-color);
  border-radius: 5px;
}

.resume-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.resume-button:hover {
  background-color: var(--hover-color);
}

/* Sections */
section {
  padding: 50px;
  max-width: 900px;
  margin: auto;
}

/* Projects Section */
.project-container {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* Responsive grid */
  gap: 20px;
}

.project {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.project h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Work Experience Section */
.work-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.work-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.work-item h3 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.work-item p {
  margin: 5px 0;
}

/* Contact Section */
.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.contact-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
}

.contact-links img {
  width: 100%;
  height: auto;
  transition: transform 0.2s ease-in-out;
}

.contact-links img:hover {
  transform: scale(1.2);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: var(--secondary-color);
  color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  .project-container {
    grid-template-columns: 1fr;
  }
}
