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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* Color Palette Variables */
:root {
  --primary: #2b5a8e;
  --secondary: #495057;
  --accent: #fd7e14;
  --light: #ffffff;
  --dark: #212529;
  --gray-light: #e9ecef;
  --gray-dark: #343a40;
}

/* Header & Navigation */
header {
  background-color: var(--primary);
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--accent);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

nav ul li a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  opacity: 0.8;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Home Page Styles */
.home {
  text-align: center;
}

.profile img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary);
}

.profile h1 {
  color: var(--primary);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.profile p {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.intro p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.interests {
  margin: 2rem 0;
}

.interests h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.interests ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.interests li {
  background-color: var(--light);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  border: 2px solid var(--primary);
  font-weight: 500;
}

.links {
  margin: 2rem 0;
}

.links .btn {
  margin: 0.5rem;
}

.contact {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--secondary);
}

.contact a {
  color: var(--primary);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--light);
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
  background-color: #1a406b;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--light);
}

/* Resume Page */
.resume-section {
  margin: 2rem 0;
}

.resume-section h2 {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.resume-item h3 {
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.resume-date {
  color: var(--secondary);
  font-style: italic;
  margin-bottom: 1rem;
}

.skills-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skills-list li {
  background-color: var(--light);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 1px solid var(--secondary);
}

/* Contact Page */
.contact-page h1 {
  color: var(--primary);
}

.contact-info {
  margin: 2rem 0;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
}

.social-links {
  margin: 2rem 0;
}

.contact-form {
  margin-top: 2rem;
  background-color: var(--light);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--secondary);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--secondary);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: #adb5bd;
  text-align: center;
  padding: 0.75rem 0;
  margin-top: 2rem;
}

footer p {
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
}

.social-footer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  fill: #fd7e14;
}

/* About Page */
.about {
  text-align: center;
}

.bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
}

.bio p {
  max-width: 800px;
  margin: 1rem auto;
}

.bio-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary);
}

.interests-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.interests-list li {
  background-color: var(--light);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  border: 2px solid var(--primary);
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile h1 {
    font-size: 2rem;
  }

  .profile img {
    width: 150px;
    height: 150px;
  }

  nav ul {
    gap: 1rem;
  }

  main {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .profile h1 {
    font-size: 1.5rem;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}
