@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Fira+Code:wght@400;500&display=swap');

:root {
  /* Colors */
  --bg-color: #0d0e10;
  --panel-color: rgba(20, 22, 26, 0.7);
  --accent-primary: #ccff00; /* Cyber Lime */
  --accent-secondary: #00f5ff; /* Teal */
  --text-main: #e0e0e0;
  --text-muted: #888888;
  --border-glow: rgba(204, 255, 0, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  
  /* Layout */
  --container-width: 1200px;
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(204, 255, 0, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 245, 255, 0.05) 0%, transparent 40%);
  min-height: 100vh;
}

.mono {
  font-family: 'Fira Code', monospace;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Layout Components */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(13, 14, 16, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 1100;
}

.logo a {
  text-decoration: none !important;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent-primary);
  cursor: pointer;
  transition: var(--transition);
}

.logo-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  position: relative;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 400;
  transition: var(--transition);
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

/* Button Terminal */
.btn-terminal {
  background: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-terminal:hover {
  background: rgba(204, 255, 0, 0.1);
  box-shadow: 0 0 15px var(--border-glow);
  transform: translateY(-2px);
}

/* Button LinkedIn */
.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 14, 16, 0.6);
  border: 1px solid var(--accent-secondary);
  color: var(--accent-secondary);
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  margin: 2rem auto 0;
  letter-spacing: 0.5px;
}

.btn-linkedin svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-linkedin:hover {
  background: var(--accent-secondary);
  color: var(--bg-color);
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.4);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.form-group input, 
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus, 
.form-group textarea:focus {
  border-color: var(--accent-secondary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

.captcha-container {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 8px;
  border: 1px dashed rgba(0, 245, 255, 0.3);
}

.captcha-input-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.captcha-input-wrapper input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--accent-secondary) !important;
  font-family: 'Fira Code', monospace !important;
}

/* Mobile Menu Toggle - Hidden by default on modern mobile header */
.menu-toggle {
  display: none !important;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

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

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(13, 14, 16, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    gap: 2rem;
    transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border-right: 1px solid var(--glass-border);
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
  }

  .nav-links.active {
    left: 0;
  }

  /* Logo Hamburger Transformation */
  .logo-symbol {
    font-size: 0; /* Hide the '>' text */
    background: var(--accent-primary);
    width: 22px;
    height: 2px;
  }

  .logo-symbol::before,
  .logo-symbol::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition);
    left: 0;
  }

  .logo-symbol::before { top: -8px; }
  .logo-symbol::after { top: 8px; }

  /* Active State (X-Transformation) */
  header.menu-open .logo-symbol {
    background: transparent;
  }

  header.menu-open .logo-symbol::before {
    top: 0;
    transform: rotate(45deg);
  }

  header.menu-open .logo-symbol::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .nav-links a {
    font-size: 1.2rem;
    width: 100%;
    display: block;
    text-align: center;
  }

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

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Generic Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Section Spacing */
section {
  padding: 5rem 0;
}

/* Typography Helpers */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.accent {
  color: var(--accent-primary);
}

/* Footer */
footer {
  padding: 4rem 0 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 6rem;
}

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

@media (max-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }
  
  h1 { font-size: 2.5rem !important; }
  section { padding: 3rem 0; }
  .glass-card { padding: 1.5rem; }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
  animation: fadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
