:root {
  --primary-color: #2C3E50;
  --accent-color: #2980B9;
  --light-bg: grey;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --highlight-color: #5A4FCF; /* Bluebonnet-inspired violet-blue */
  --soft-accent: #C4D8E2;     /* Light pastel blue */
  --gold-accent: #F4D35E;     /* Complementary yellow accent */
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 0;
  border-bottom: 4px solid var(--highlight-color);
  position: sticky;         /* <--- makes it stick */
  top: 0;                   /* sticks to the top of the viewport */
  z-index: 1000;            /* ensures it stays above other elements */
}



.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*max-width: 1200px;*/
  flex-wrap:wrap;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-light);
  text-decoration: none;
}

.logo:hover {
  opacity: 0.9;
}

.logo-image {
  height: 40px;
  width: auto;
}
/* Make sure it doesn't disappear */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 10px;
  }

  .logo {
    margin-bottom: 10px;
  }
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--highlight-color);
}

.hero {
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('rc_images/bluebonnet_1200x799.jpg') no-repeat center center/cover;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 100px 20px;
  border-bottom: 6px solid var(--gold-accent);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--gold-accent);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.button {
  background-color: var(--accent-color);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: var(--highlight-color);
  transform: scale(1.05);
}

.button.secondary {
  background-color: var(--soft-accent);
  color: var(--primary-color);
}

main {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.card {
  background-color: white;
  border-left: 5px solid var(--highlight-color);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 30px;
  margin-bottom: 30px;
}

.profile {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.profile-img img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  border: 4px solid var(--soft-accent);
}

.profile-text {
  flex: 1;
}

footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 4px solid var(--highlight-color);
}

footer a {
  color: var(--gold-accent);
  text-decoration: none;
}

@media (max-width: 768px) {
  .profile {
    flex-direction: column;
    text-align: center;
  }
}
