/* Base styles with background image */

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  
  /* Background image */
  background-image: url('background.jpg'); /* Replace with your image file */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  /* Slight fade effect */
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3); /* White overlay with opacity */
  z-index: -1;
}


body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;

  /* Background image settings */
  background-image: url('background.jpg'); /* Replace with your file name */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  position: relative;
}

/* Faded overlay for readability */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7); /* Light fade over image */
  z-index: -1;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0056b3;
}

.nav-links a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #0056b3;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #003d80;
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: #003d80;
}

.hero-content h2 {
  font-size: 1.25rem;
  margin-top: 1rem;
  color: #444;
}

.hero-content p {
  margin-top: 1rem;
  line-height: 1.6;
  color: #555;
}

.resume-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #0056b3;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.resume-button:hover {
  background-color: #003d80;
}

.social-icons {
  margin-top: 1.5rem;
}

.social-icons a {
  margin-right: 1rem;
  font-size: 1.2rem;
  color: #0056b3;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #003d80;
}

/* Hero Image */
.hero-image img {
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Main content box styling */
main {
  background: rgba(255, 255, 255, 0.9); /* Slight transparency so background image shows through */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

main h2 {
  color: #003d80;
}

main h3 {
  color: #444;
  margin-top: 1.5rem;
}

ul {
  margin-left: 1.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1em;
  /*background-color: rgba(244, 247, 250, 0.8); /* Slight transparency */
  color: #555;
  margin-top: 3em;
}
