
html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #f2f2f2;
  background: none;
}

body {
  min-height: 100vh;
}

main {
  flex: 1;
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}


.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    linear-gradient(
      to bottom right,
      rgba(25, 40, 65, 0.65),
      rgba(70, 100, 150, 0.4)
    ),
    url("/images/background.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}


nav,
footer {
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  color: #f2f2f2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin: 0.25rem;
  transition: all 0.2s ease-in-out;
}

nav a:hover {
  background-color: #fff;
  color: #000;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff5e57;
}


h1,
h2,
h3 {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

a {
  color: #8ab4ff;
  font-weight: 600;
}

p,
span,
label {
  color: #eaeaea;
}


.experience-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out;
}

.experience-card:hover {
  transform: translateY(-4px);
}

.experience-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.tag-row {
  margin: 0.5rem 0;
}

.tag {
  display: inline-block;
  background-color: #7ed957;
  color: #111;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  font-weight: 600;
}


button,
.cta-button {
  background-color: #ff5e57;
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
}

button:hover,
.cta-button:hover {
  background-color: #e04a44;
}


form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

form input,
form textarea,
form select {
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  color: #111;
}

form button {
  width: fit-content;
}

footer {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ccc;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}


.content-wrapper {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 1000px;
  margin: 2rem auto;
}

.homepage-hero {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  min-height: 80vh;
  padding: 6rem 2rem 2rem;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-content h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #eee;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.subheading {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #ccc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button {
  background-color: #ff5e57;
  color: white;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.cta-button:hover {
  background-color: #e04a44;
}

/* Responsive Styles */
@media (max-width: 768px) {
  nav,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .experience-grid {
    flex-direction: column;
  }

  .experience-card {
    padding: 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .tag {
    font-size: 0.75rem;
  }

  button,
  .cta-button {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  nav a {
    width: 100%;
    margin: 0.25rem 0;
  }

  main {
    padding: 2rem 1rem;
  }

  form input,
  form textarea,
  form select {
    font-size: 0.9rem;
  }

  .content-wrapper {
    padding: 1rem;
  }
}
