/* CSS Variables for easy global changes */
:root {
  /* Color palette */
  --primary-bg: #c1c1c1;
  --primary-text: #180036;
  --accent-dark: #0a0a3c;
  --accent-purple: #20013f;
  --accent-hover: #4e4ea1;
  --header-bg: #a8a8a8;
  --border-color: #4e4ea1;
  
  /* Typography */
  --font-main: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  --font-size-base: 1.2em;
  --font-size-heading: 2em;
  --font-size-subheading: 1.5em;
  --font-size-logo: 1.5em;
  
  /* Spacing */
  --spacing-small: 20px;
  --spacing-medium: 40px;
  --spacing-large: 30px;
  
  /* Border */
  --border-width: 8px;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--primary-bg);
  color: var(--primary-text);
  border-left: var(--border-width) solid var(--border-color);
  border-right: var(--border-width) solid var(--border-color);
  min-height: 100vh;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-small) var(--spacing-medium);
  background-color: var(--header-bg);
}

.logo a {
  text-decoration: none;
  font-size: var(--font-size-logo);
  font-weight: bold;
  color: var(--accent-dark);
}

nav {
  flex: 0 0 15%; /* Quarter width of the top bar */
}

nav ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: var(--accent-purple);
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--accent-hover);
}

.content {
  padding: var(--spacing-medium);
  font-size: var(--font-size-base);
  display: flex;
  justify-content: center;
}

.content-section {
  max-width: 1000px;
  line-height: 1.6;
}

.content-section h1 {
  text-align: center;
  margin-bottom: var(--spacing-large);
  font-size: var(--font-size-heading);
}

.content-section h2 {
  margin-top: var(--spacing-medium);
  margin-bottom: var(--spacing-small);
  font-size: var(--font-size-subheading);
  color: var(--accent-dark);
}

.content-section p {
  margin-bottom: var(--spacing-small);
  text-align: justify;
}

/* Responsive Design - Tablet and smaller */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  
  nav {
    flex: 0 0 auto;
  }
  
  nav ul {
    gap: 15px;
  }
  
  .content {
    padding: 20px;
    font-size: 1em;
  }
  
  .content-section h1 {
    font-size: 1.5em;
  }
  
  .content-section h2 {
    font-size: 1.2em;
  }
  
  body {
    border-left-width: 4px;
    border-right-width: 4px;
  }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
  header {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  
  .logo a {
    font-size: 1.3em;
  }
  
  nav {
    width: 100%;
  }
  
  nav ul {
    justify-content: space-around;
    gap: 10px;
  }
  
  .content {
    padding: 15px;
  }
  
  body {
    border-left-width: 2px;
    border-right-width: 2px;
  }
}

.resume-page .content {
  max-width: 100%;
  padding: 20px;
}

.resume-page .content-section {
  max-width: none;
  width: 100%;
}

.profile-photo {
  display: block;
  margin: 0 auto 30px;
  width: 200px;
  height: 200px;
  border-radius: 50%; /* Makes it circular */
  object-fit: cover;
  border: 4px solid var(--border-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}