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

body {
  font-family: 'Fira Mono', monospace, 'Courier New', Courier, monospace;
  background-color: #121212; /* deep almost black */
  color: #eae6f2; /* light lavender-ish */
  line-height: 1.6;
  padding: 20px;
  background-image: url('../../images/mountains.jpeg'); 
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: -200px;
}

/* Accent lavender color */
:root {
  --lavender: #b497bd;
  --lavender-light: #d4c1ec;
  --gray-dark: #222;
  --gray-medium: #555;
  --gray-light: #ccc;
  --white: #fff;
}

/* Sections */
.section {
  max-width: 960px;
  margin: 3rem auto;
  padding: 1rem 2rem;
  background-color: var(--gray-dark);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(180, 140, 200, 0.4);
}

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-text {
  flex: 3;
}
.hero-photo {
  flex: 2;
  max-width: 300px;
}
.hero-photo img {
  width: 100%;
  border-radius: 50%;
  border: 3px solid var(--lavender);
}

/* Headings */
h1, h2, h3 {
  font-family: 'Fira Mono', monospace, 'Courier New', Courier, monospace;
  color: var(--lavender);
  margin-bottom: 0.5rem;
}

/* Tagline */
.tagline {
  font-style: italic;
  color: var(--lavender-light);
  margin-bottom: 1rem;
}

/* Intro paragraph */
.intro {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Services list */
.services ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  color: var(--gray-light);
}

/* Projects */
.project-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.project-text {
  flex: 3;
}
.project-icon {
  flex: 1;
  max-width: 80px;
}
.project-icon img {
  width: 100%;
  filter: drop-shadow(0 0 1px var(--lavender));
}

/* Photo break */
.photo-break img {
  width: 100%;
  border-radius: 10px;
  margin: 3rem 0;
  box-shadow: 0 0 15px rgba(180, 140, 200, 0.5);
}

/* Contact */
.contact p {
  margin: 0.5rem 0;
}
.contact a {
  color: var(--lavender-light);
  text-decoration: none;
}
.contact a:hover,
.contact a:focus {
  text-decoration: underline;
}

/* Footer */
.footer {
  text-align: center;
  margin: 4rem 0 2rem 0;
  color: var(--white);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    background-position-x: -200px;
    background-position-y: 0px;
  }
  .hero-content, .project-content {
    flex-direction: column;
  }
  .hero-photo, .project-icon {
    max-width: 100%;
  }
}

.upwork-badges {
  margin-top: 1rem;
}

.upwork-badges img {
  max-width: 250px;  /* scale down if screenshot is large */
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.upwork-badges .badge-caption {
  margin-bottom: 0.5rem;
  font-size: 0.6rem;
  color: #e4e4e4;
  font-style: italic;
}
