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

:root {
  --bg-primary: #050510;
  --bg-secondary: #0f1120;
  --accent: #56CCF2;
  --accent-glow: rgba(86, 204, 242, 0.4);
  --accent-red: #EB5757;
  --accent-red-glow: rgba(235, 87, 87, 0.35);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

/* Header Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

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

.nav-logo a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -1px;
}

.nav-links a {
  margin-left: 2rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

#drone-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 60vh;
  height: 60vh;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  z-index: -1;
  border-radius: 50%;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 10;
}

.greeting {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent);
  font-size: 1.2rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -2px;
}

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

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.btn:hover {
  color: var(--bg-primary);
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
  margin-left: 2rem;
}

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

.project-card {
  position: relative;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  cursor: default;
  transition: border-color 0.3s ease;
}

.project-card:hover {
  border-color: rgba(86, 204, 242, 0.3);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.folder-icon {
  font-size: 2.5rem;
  color: var(--accent);
}

.external-links a {
  color: var(--text-main);
  font-size: 1.2rem;
}

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

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

.project-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Experience */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--glass-border);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-date {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.timeline-company {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.timeline-content ul {
  list-style-type: none;
  color: var(--text-muted);
}

.timeline-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.timeline-content li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Skills */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-pill {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.skill-pill:hover {
  background: rgba(86, 204, 242, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* Extras / Hobbies Section */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.extra-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.extra-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.extra-list {
  list-style-type: none;
  color: var(--text-muted);
}

.extra-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.extra-list li::before {
  content: '•';
  color: var(--accent-glow);
}

.extra-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.contact-icon {
  font-size: 2rem;
  color: var(--accent);
}

.contact-details h4 {
  margin: 0 0 0.2rem 0;
  font-size: 1.1rem;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.contact-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--glass-border);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Initial States for Animation */
.animate-item {
  opacity: 0;
}
