/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

/* Base styles */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  color: #f0f0f0;
}

#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #0d0d0d;
}

header {
  background: rgba(51, 51, 51, 0.85);
  padding: 15px;
  text-align: center;
}

header h1 {
  margin: 0;
  color: #ff9800;
  font-size: clamp(1.5rem, 4vw, 2.5rem); /* scales text */
}

nav {
  margin-top: 10px;
}

nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
}

nav a:hover {
  color: #ff9800;
}

/* Profile image */
.profile-img {
  width: clamp(100px, 25vw, 180px);
  height: auto;
  border-radius: 50%;
  margin: 20px auto;
  display: block;
  border: 4px solid #ff9800;
  box-shadow: 0 0 20px rgba(255, 152, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 152, 0, 0.9);
}

/* Reactive buttons */
button {
  background: #ff9800;
  border: none;
  padding: 12px 24px;
  margin-top: 20px;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  cursor: pointer;
  border-radius: 8px;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.6);
}

button:hover {
  background: #e67e00;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 152, 0, 1);
}

button:active {
  transform: scale(0.95);
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.8) inset;
}

/* Footer */
footer {
  background: rgba(34, 34, 34, 0.85);
  color: #aaa;
  text-align: center;
  padding: 10px;
  margin-top: 40px;
  font-size: clamp(0.7rem, 2vw, 1rem);
}

/* Contact section */
.contact {
  background: rgba(51, 51, 51, 0.7);
  padding: 20px;
  border-radius: 12px;
  display: inline-block;
  max-width: 90%;
  margin: auto;
}

.contact ul {
  list-style: none;
  padding: 0;
}

.contact li {
  margin: 10px 0;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
}

.contact a {
  color: #ff9800;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* 📱 Mobile adjustments */
@media (max-width: 600px) {
  nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  button {
    width: 100%; /* full width on mobile */
  }

  .contact {
    width: 100%;
    padding: 15px;
  }
}
