body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
}

body {
  font-family: sans-serif;
  background: linear-gradient(135deg, #000000, #0a0a0a, #0f1922);
  min-height: 100vh;
  color: white;
}

.navbar {
  background-color: rgba(10, 10, 10, 0.8);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid #a020f0;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding-bottom: 4px;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 50%, #a020f0 100%);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  width: 100%;
}

.resume-button {
  background-color: white;
  color: #a020f0;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid #a020f0;
  transition: all 0.3s ease;
}

.resume-button:hover {
  background-color: #8010d0;
  color: white;
  border-color: #8010d0;
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 5rem 2rem 2rem 2rem;
  gap: 2rem;
}

.photo-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.photo-name img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgb(0, 0, 0);
  margin-bottom: 1.5rem;
}

.photo-name h1 {
  color: white;
  font-size: 30px;
  text-align: center;
  margin: 0;
}

.form {
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.form:hover {
  border-color: #a020f0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form h1 {
  color: #fff;
  font-size: 36px;
  margin: 0 0 20px 0;
  font-weight: 600;
}

.form-row {
  display: flex;
  gap: 48px;
}

.form-field {
  flex: 1;
  text-align: left;
}

.form-field label {
  display: block;
  color: #fff;
  margin-bottom: 8px;
  font-size: 16px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px;
  background: #1a1a1a;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.form-field textarea {
  height: 200px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  background: #252525;
  border-color: #a020f0;
}

.submit-button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 50%, #a020f0 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.social-link {
  color: #fff;
  font-size: 24px;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 0.8;
}

.social-link img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

@media (max-width: 768px) {
  .form {
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .contact-form {
    gap: 16px;
  }

  .contact-form h1 {
    font-size: 28px;
  }
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.field-error {
  border-color: #dc3545 !important;
}

.footer {
  width: 100%;
  padding: 2rem 0;
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  padding-top: 2rem;
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.built-with {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}
