/* Cyber-Security Themed Personal Website - rh7.ninja */
:root {
  --primary: #00ff9d;
  --secondary: #0a192f;
  --dark: #020c1b;
  --light: #ccd6f6;
  --accent: #64ffda;
  --text: #8892b0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent);
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(2, 12, 27, 0.95);
  padding: 1rem 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 255, 157, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  font-family: monospace;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--light);
  font-size: 0.9rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 50px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 255, 157, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  z-index: 1;
}

.hero-subtitle {
  color: var(--primary);
  font-family: monospace;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  color: var(--light);
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero p {
  max-width: 540px;
  color: var(--text);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 4px;
  font-family: monospace;
  transition: all 0.3s;
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: rgba(0, 255, 157, 0.1);
  color: var(--primary);
}

/* Skills Section */
.skills {
  padding: 100px 0;
  background: var(--secondary);
}

.section-title {
  font-size: 2rem;
  color: var(--light);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-title::before {
  content: '//';
  color: var(--primary);
  font-family: monospace;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: var(--dark);
  border: 1px solid rgba(0, 255, 157, 0.1);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s;
}

.skill-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.skill-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.skill-card h3 {
  color: var(--light);
  margin-bottom: 0.5rem;
}

.skill-card p {
  color: var(--text);
  font-size: 0.9rem;
}

/* Skill Progress Bar */
.skill-progress {
  margin-top: 1rem;
  height: 6px;
  background: rgba(0, 255, 157, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 1.5s ease-out;
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
}

/* About Page */
.page-section {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--light);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text);
  margin-bottom: 1rem;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.placeholder-avatar {
  width: 250px;
  height: 250px;
  border-radius: 8px;
  border: 2px solid var(--primary);
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact Page */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-content h2 {
  font-size: 2rem;
  color: var(--light);
  margin-bottom: 1rem;
}

.contact-content p {
  color: var(--text);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--secondary);
  border: 1px solid rgba(0, 255, 157, 0.2);
  border-radius: 4px;
  color: var(--light);
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 50%;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--dark);
}

/* Footer */
.footer {
  background: var(--dark);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(0, 255, 157, 0.1);
}

.footer p {
  color: var(--text);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s;
  }

  .nav-links.active {
    transform: translateX(0);
  }

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

  .about-image {
    order: -1;
  }

  .placeholder-avatar {
    width: 180px;
    height: 180px;
  }

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

  .hero h2 {
    font-size: 1.3rem;
  }
}
