* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #252526;
  color: #ffffff;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
  line-height: 1.6;
}

/* Custom Cursor */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid #ff6b6b;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: all 0.1s ease;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background: #ff6b6b;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(15px);
  background: rgba(37, 37, 38, 0.9);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ff6b6b;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #ff6b6b;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff6b6b;
  transition: width 0.3s ease;
}

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

.nav-links a.active {
  color: #ff6b6b;
}

.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(37, 37, 38, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.mobile-nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  transition: all 0.3s ease;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: 8px;
}

.mobile-nav-links a:hover {
  color: #ff6b6b;
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  transform: scale(1.05);
}

.mobile-nav-links a.active {
  color: #ff6b6b;
  border-color: #ff6b6b;
}

/* Main Content */
.main-content {
  padding-top: 120px;
  min-height: 100vh;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(37, 37, 38, 0.9),
    rgba(60, 60, 62, 0.9),
    rgba(37, 37, 38, 0.9)
  );
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ffffff, #ff6b6b, #ffffff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero p {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  border: 2px solid #ff6b6b;
  color: #ff6b6b;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ff6b6b;
  transition: left 0.3s ease;
  z-index: -1;
}

.cta-button:hover::before {
  left: 0;
}

.cta-button:hover {
  color: #000000;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ff6b6b;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.floating-element:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 1s;
}
.floating-element:nth-child(3) {
  top: 30%;
  left: 70%;
  animation-delay: 2s;
}
.floating-element:nth-child(4) {
  top: 80%;
  left: 20%;
  animation-delay: 3s;
}
.floating-element:nth-child(5) {
  top: 10%;
  left: 60%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 1;
  }
}

/* About Section */
.about {
  padding: 100px 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 50px;
  text-align: center;
  color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.about-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 40px 30px;
  border-radius: 15px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.about-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.2);
}

.about-card h3 {
  color: #ff6b6b;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.about-card p {
  color: #cccccc;
  line-height: 1.6;
}

/* Projects Section */
.projects {
  padding: 100px 50px;
  background: linear-gradient(
    135deg,
    rgba(37, 37, 38, 0.5) 0%,
    rgba(60, 60, 62, 0.5) 50%,
    rgba(37, 37, 38, 0.5) 100%
  );
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.project-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
}

.project-card:hover {
  transform: scale(1.05);
  border-color: rgba(255, 107, 107, 0.3);
}

.project-image {
  height: 200px;
  background: linear-gradient(45deg, #ff6b6b, #ff8e53);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.project-content {
  padding: 30px;
}

.project-content h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.project-content p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-link {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 100px 50px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-item h4 {
  color: #ff6b6b;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.contact-item p {
  color: #cccccc;
}

/* Footer */
footer {
  padding: 40px 50px;
  text-align: center;
  border-top: 1px solid rgba(255, 107, 107, 0.2);
  color: #666666;
}

/* Contact Form Styles */
#contactForm {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

#contactForm label {
  display: block;
  color: #ff6b6b;
  font-weight: bold;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

#contactForm input,
#contactForm select,
#contactForm textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  margin-bottom: 25px;
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
  outline: none;
}

#contactForm option {
  background: #333;
  color: #fff;
}

#contactForm button {
  padding: 18px 50px;
  background: linear-gradient(45deg, #ff6b6b, #ff8e53);
  border: none;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  transition: all 0.3s ease;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

#contactForm button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 20px 20px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .about,
  .projects,
  .contact {
    padding: 60px 20px;
  }

  .contact-info {
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 8vw, 3rem);
  }

  .section-title {
    font-size: 2rem;
  }

  #contactForm {
    padding: 0 20px;
  }
}
