/* Root variables */
:root {
  --bg: #0f0f13;
  --text: #eef2f7;
  --radius: 12px;
  --gap: 20px;
  --software: #ad6f0b;
  --hardware: #915109;
  --marketing: #6b3a04;
}

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Libre Baskerville', serif;
  background-image: url('../images/treasure_background.png');
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
  background-color: #000000;
  
  background-color: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}


/* Styling the header itself*/
.header {
  position: sticky;
  background-color: transparent;
  top: 0; /* Aligns to the top of the viewport */
  width: 100%; /* Full width */
  display: flex; /* Align items in a row */
  justify-content: space-around; /* Equal spacing between links */
  padding: 20px 0px 20px 0px; /* top right bottom left */
}
/* When scrolled, header background turns black */
.header.scrolled {
  background-color: rgba(0, 0, 0, 0.7);; /* or solid black */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
/* Styling the links */
.header a {
  color: white; /* White text */
  text-decoration: none; /* Remove underline */
  font-size: 16px; /* Adjust text size */
  font-weight: bold; /* Optional: Bold text */
  padding: 5px 10px; /* Add spacing inside the clickable area */
  border-radius: 4px; /* Optional: Rounded edges */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}
/* Hover effect for links */
.header a:hover {
  background-color: rgba(255, 255, 255, 0.2); /* Light background on hover */
  color: #f0f0f0; /* Optional: Slightly dim the text on hover */
}



/* Title Image */
.title-image {
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 50px;
  width: 50%;
  display: flex;
  justify-content: center;
}

.title-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

/* Each Team Member Card */
.team-member {
  background: rgba(0, 0, 0, 0.3); /* semi-transparent */
  border-radius: var(--radius);
  text-align: center;
  padding: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}

.team-member .name {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.team-member .role {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Hover effect */
.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .team-member img {
    width: 100px;
    height: 100px;
  }
}

/* Footer */