/* General Styles */
body {
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  padding: 0;
  background: #1a1a1a;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

/* Custom Cursor */
.cursor {
  width: 30px;
  height: 30px;
  border: 2px solid #ffa500;
  border-radius: 50%;
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
  z-index: 10000;
}

.cursor.hover {
  width: 50px;
  height: 50px;
  background: rgba(255, 165, 0, 0.2);
}

/* Particles.js Background */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

/* Header Styles */
header {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, padding 0.3s ease;
}

header.scrolled {
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.95);
}

header .logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

header .logo img {
  height: 40px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

header .logo:hover img {
  transform: rotate(15deg);
}

header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: #ffa500;
  text-shadow: 0 0 10px #ffa500, 0 0 20px #ffa500;
}

nav ul.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

nav ul.nav-links li {
  margin-left: 25px;
}

nav ul.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

nav ul.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #ffa500;
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

nav ul.nav-links li a:hover {
  color: #ffa500;
}

nav ul.nav-links li a:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Responsive Header */
@media (max-width: 768px) {
  header {
    padding: 10px 15px;
  }

  header .logo h1 {
    font-size: 20px;
  }

  .hamburger {
    display: flex;
  }

  nav ul.nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
    transition: right 0.3s ease;
  }

  nav ul.nav-links.active {
    right: 0;
  }

  nav ul.nav-links li {
    margin: 15px 0;
  }

  nav ul.nav-links li a {
    font-size: 18px;
  }

  .hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active .line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h2 {
  font-size: 4rem;
  margin: 0;
  font-weight: 700;
  color: #ffa500;
  text-shadow: 0 0 10px #ffa500, 0 0 20px #ffa500;
}

.hero-content p {
  font-size: 1.5rem;
  margin: 20px 0;
}

.btn-explore {
  background: #ffa500;
  color: #000;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-explore:hover {
  background: #ff8c00;
  transform: scale(1.1);
}

/* Projects Section */
.projects {
  padding: 100px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.projects h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
  color: #ffa500;
}

.project-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.project-card {
  background: rgba(255, 165, 0, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(255, 165, 0, 0.3);
}

.project-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffa500;
}

.project-card h3 {
  font-size: 1.5rem;
  margin: 0 0 10px;
  font-weight: 700;
  color: #ffa500;
}

.project-card p {
  font-size: 1rem;
  margin: 0 0 20px;
}

.btn {
  background: #ffa500;
  color: #000;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #ff8c00;
  transform: scale(1.1);
}

/* About Section */
.about {
  padding: 100px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffa500;
}

.about p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Contact Section */
.contact {
  padding: 100px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
  color: #ffa500;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input, .contact textarea {
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1rem;
}

.contact input::placeholder, .contact textarea::placeholder {
  color: #ccc;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 20px;
  margin-top: 100px;
}

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ffa500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .btn-explore {
    padding: 10px 20px;
    font-size: 14px;
  }

  .projects h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .project-grid {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    width: 90%;
    margin-bottom: 20px;
  }

  .about h2 {
    font-size: 2rem;
  }

  .about p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .contact h2 {
    font-size: 2rem;
  }

  .contact form {
    width: 90%;
  }

  .contact input, .contact textarea {
    font-size: 14px;
  }

  .contact button {
    font-size: 14px;
  }

  footer p {
    font-size: 14px;
  }

  .social-links a {
    font-size: 1.2rem;
  }
}