/* DRASTICALLY REDESIGNED MODERN PORTFOLIO */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap");

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

:root {
  --primary: #00d4ff;
  --primary-dark: #00a8cc;
  --secondary: #ff006e;
  --accent: #ffbe0b;
  --dark: #0a0e27;
  --darker: #050811;
  --light: #f0f3ff;
  --border: #1a2038;
  --text-primary: #ffffff;
  --text-secondary: #b4b9c8;
  --gradient-1: linear-gradient(135deg, #00d4ff 0%, #ff006e 100%);
  --gradient-2: linear-gradient(135deg, #ffbe0b 0%, #ff006e 100%);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, var(--darker) 0%, #1a1f3a 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-padding-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ANIMATED BACKGROUND */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(135deg, var(--darker) 0%, #1a1f3a 100%);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--gradient-1);
  top: -200px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--gradient-2);
  bottom: -100px;
  left: -50px;
  animation-delay: 2s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #00d4ff 0%, #00a8cc 100%);
  top: 50%;
  left: 25%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -40px) scale(1.1);
  }
}

/* NAVIGATION */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 8, 17, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 8, 17, 0.95);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 900;
  cursor: pointer;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.logo-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  position: relative;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

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

.menu-toggle {
  display: none;
}
.hamburger {
  display: none;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 20px 50px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  animation: slideInDown 0.8s ease;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease forwards;
}

.hero-title span:nth-child(2) {
  animation-delay: 0.1s;
}
.hero-title span:nth-child(3) {
  animation-delay: 0.2s;
}
.hero-title span:nth-child(4) {
  animation-delay: 0.3s;
}
.hero-title span:nth-child(5) {
  animation-delay: 0.4s;
}
.hero-title span:nth-child(6) {
  animation-delay: 0.5s;
}
.hero-title span:nth-child(7) {
  animation-delay: 0.6s;
}
.hero-title span:nth-child(8) {
  animation-delay: 0.7s;
}
.hero-title span:nth-child(9) {
  animation-delay: 0.8s;
}
.hero-title span:nth-child(10) {
  animation-delay: 0.9s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.btn-primary {
  background: var(--gradient-1);
  color: var(--dark);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-3px);
}

.glow-btn {
  position: relative;
  overflow: hidden;
}

.glow-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  animation: glow 3s ease infinite;
}

@keyframes glow {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -10px);
  }
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 0.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  font-size: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* ABOUT SECTION */
.about {
  padding: 120px 20px;
  background: rgba(10, 14, 39, 0.5);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.about-photo {
  flex-shrink: 0;
}

.about-photo img {
  width: 200px;
  height: auto;
  max-height: 280px;
  border-radius: 16px;
  object-fit: contain;
  object-position: center;
  border: 2px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
  transition: var(--transition);
}

.about-photo img:hover {
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.25);
  transform: scale(1.05);
}

.about-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.skills-preview h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.tech-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tech-item {
  padding: 1rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1) 0%,
    rgba(255, 0, 110, 0.1) 100%
  );
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
  text-align: center;
}

.tech-item:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.2) 0%,
    rgba(255, 0, 110, 0.2) 100%
  );
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* PROJECTS SECTION */
.projects {
  padding: 120px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header.center {
  text-align: center;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

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

.project-card {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.05) 0%,
    rgba(255, 0, 110, 0.05) 100%
  );
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.project-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.1);
}

.project-card.premium {
  grid-column: 1 / 2;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.15) 0%,
    rgba(255, 0, 110, 0.1) 100%
  );
  border: 2px solid rgba(0, 212, 255, 0.2);
}

.project-status {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid var(--primary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-icon-large {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.project-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  padding: 0.4rem 0.8rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.project-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-btn {
  flex: 1;
  min-width: 150px;
  padding: 0.8rem 1.2rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.action-btn:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--primary);
}

.action-btn.primary {
  background: var(--gradient-1);
  color: var(--dark);
  border: none;
}

.action-btn.primary:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

/* CONTACT SECTION */
.contact {
  padding: 120px 20px;
  background: rgba(10, 14, 39, 0.8);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.05) 0%,
    rgba(255, 0, 110, 0.05) 100%
  );
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.contact-icon {
  font-size: 2.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* FOOTER */
.footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  color: var(--text-secondary);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-photo img {
    width: 150px;
    height: auto;
    max-height: 220px;
  }

  .about-text h2 {
    font-size: 2rem;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card.premium {
    grid-column: 1;
  }

  .action-btn {
    min-width: auto;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 0.8rem 0;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .hero {
    padding: 80px 20px 40px;
  }

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

  .hero-title br {
    display: none;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .about {
    padding: 60px 20px;
  }

  .about-text h2 {
    font-size: 1.5rem;
  }

  .skills-preview h3 {
    font-size: 1.1rem;
  }

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

  .project-card {
    padding: 1.5rem;
  }

  .contact {
    padding: 60px 20px;
  }
}
