/* Reset and Basic Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', Courier, monospace;
  background-color: #1a1a1a;
  color: #00bfff; /* Neon Blue for text */
  overflow-x: hidden;
  line-height: 1.6;
  background: url('assets/background.jpg') no-repeat center center fixed;
  background-size: cover;
  height: 100%;
  position: relative;
}

/* Menu Icon Button */
#menu-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.3), rgba(0, 0, 0, 0.8)); /* Neon blue gradient */
  border: none;
  border-radius: 10px;
  color: #000; /* black text */
  font-size: 1.2rem;
  padding: 10px 20px;
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.6); /* Neon blue glow */
  cursor: pointer;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  text-decoration: none; /* Remove underline */
}

.menu-btn:hover {
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.5), rgba(0, 0, 0, 0.9)); /* Brighter on hover */
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
  transform: scale(1.05);
}

#menu.show {
  display: block;
}

#menu {
  list-style: none;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.3), rgba(0, 0, 0, 0.8)); /* Neon blue gradient */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 191, 255, 1); /* Neon blue glow */
  display: none;
  padding: 10px;
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 1000;
}

.menu.active {
  display: flex; /* Show menu when active */
}

/* Menu Links - Neon Blue with Glow */
.menu a {
  text-decoration: none;
  color: #00bfff; /* Pure Neon Blue color */
  font-size: 1.2rem;
  font-family: 'Courier New', Courier, monospace; /* Matches the rest of the website */
  font-weight: 600; /* Slightly bold font weight */
  text-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff, 0 0 30px #00bfff, 0 0 40px #00bfff; /* Strong glowing neon effect */
  padding: 10px;
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease; /* Smooth glow transition */
}

/* Menu Link Hover Effect */
.menu a:hover {
  color: #00bfff; /* Keep neon blue color */
  text-shadow: 0 0 15px #00bfff, 0 0 30px #00bfff, 0 0 60px #00bfff, 0 0 90px #00bfff; /* Intensified neon blue glow */
  transform: scale(1.1); /* Subtle zoom effect */
  background: rgba(0, 191, 255, 0.1); /* Subtle neon blue hover background */
}

/* Change the hamburger icon when the menu is open */
.menu-icon {
  cursor: pointer;
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bar {
  background-color: #00bfff;
  height: 4px;
  width: 30px;
  transition: all 0.3s ease;
}

.menu-icon.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-icon.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
header {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.overlay {
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  padding: 20px;
  border-radius: 10px;
}

h1 {
  font-size: 4rem;
  color: #00bfff; /* Neon Blue color for text */
  margin-bottom: 20px;
  text-transform: uppercase;
  animation: fadeIn 2s ease-in-out;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Text shadow for visibility */
}

p {
  color: #00bfff; /* Neon Blue color for text */
  margin-bottom: 30px;
  font-size: 1.2rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); /* Text shadow for visibility */
}

.cta-button {
  background: #00bfff;
  color: #000;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); /* Text shadow */
}

.cta-button:hover {
  background: #004d6b;
  color: #fff;
  transform: scale(1.1);
}

/* About Section */
section {
  padding: 80px 20px;  /* Increased padding for more space */
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  border-radius: 10px;
  margin-bottom: 60px; /* Added margin for space between sections */
}

section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #00bfff; /* Neon Blue color for text */
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

section p {
  font-size: 1.1rem;
  color: #00bfff; /* Neon Blue color for text */
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* My Projects Section */
#projects {
  padding: 80px 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  border-radius: 10px;
  margin-bottom: 60px;
}

.project-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 30px;
}

.project {
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.3), rgba(0, 0, 0, 0.8)); /* Neon blue gradient */
  padding: 20px;
  width: 30%;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out, background 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.6); /* Glowing neon blue shadow */
}

.project h3 {
  font-size: 1.5rem;
  color: #00bfff; /* Neon blue text */
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.project p {
  font-size: 1rem;
  color: #00bfff; /* Neon blue text */
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.project:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.5), rgba(0, 0, 0, 0.9)); /* Slightly brighter on hover */
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
  }

/* Contact Section */
#contact {
  padding: 80px 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  border-radius: 10px;
  margin-bottom: 60px;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

input, textarea {
  padding: 15px;
  margin: 10px 0;
  border: 2px solid #00bfff;
  border-radius: 5px;
  background: #1a1a1a;
  color: #00bfff;
  font-size: 1.1rem;
  transition: border 0.3s ease;
}

input:focus, textarea:focus {
  border: 2px solid #004d6b;
}

button {
  background-color: #00bfff;
  color: #000;
  padding: 15px;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #004d6b;
  color: #fff;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #00bfff; /* Neon Blue color */
  position: relative;
  width: 100%;
  display: block;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

footer p {
  font-size: 1rem;
  }

/* Mobile Styles */
@media (max-width: 768px) {
  .project-list {
    flex-direction: column;
    align-items: center;
  }

  .project {
    width: 80%;
    margin-bottom: 20px;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes glowing {
  0% {
    text-shadow: 0 0 5px #00bfff, 0 0 10px #00bfff, 0 0 20px #00bfff, 0 0 30px #00bfff;
  }
  50% {
    text-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff, 0 0 30px #00bfff, 0 0 40px #00bfff;
  }
  100% {
    text-shadow: 0 0 5px #00bfff, 0 0 10px #00bfff, 0 0 20px #00bfff, 0 0 30px #00bfff;
  }
}
