/* A more modern, clean design */

/* Google Font */
body {
  font-family: 'Lato', sans-serif;
}

:root {
  --primary-color: #6B8E23;
  --text-color: #212529;
  --background-color: #f8f9fa;
  --nav-background: #6B8E23;
  --nav-text-color: #f8f9fa;
  --footer-text-color: #6c757d;
  --container-bg: #ffffff;
  --hov-nav-text-color: #7CFC00;
}

/* Reset and base styles */
body {
  margin: 0;
  line-height: 1.6;
  background: var(--background-color);
  color: var(--text-color);
}

/* Navigation bar */
nav {
  background: var(--nav-background);
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav a {
  color: var(--nav-text-color);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.2s ease-in-out;
}

nav a:hover {
  color: var(--hov-nav-text-color);
  text-decoration: none; 
}

/* Main content container */
main.container {
  max-width: 800px;
  margin: 3em auto;
  padding: 2em;
  background: var(--container-bg);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5rem;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  margin: 3em 0;
  font-size: 0.9em;
  color: var(--footer-text-color);
}

/* Profile Section Layout */
.profile-section {
  display: flex;
  align-items: center;
  gap: 1em; /* Reduced from 2em to 1em */
  flex-direction: row-reverse;
}

.profile-image {
  flex-shrink: 0;
}

.profile-text {
  flex-grow: 1;
}

/* Profile Picture */
.profile-picture {
  display: block;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Social Icons */
.social-icons {
  margin-top: 1em;
}

.social-icons a {
  color: var(--text-color);
  margin-right: 1em;
  font-size: 1.5rem;
  transition: color 0.2s ease-in-out;
}

.social-icons a:hover {
  color: var(--primary-color);
}
