@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
  --bg-color: #0a0a0a;
  --text-color: #e0e0e0;
  --silver: #c0c0c0;
  --blue-highlight: #0066ff;
  --dark-gray: #1a1a1a;
  --light-gray: #333333;
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 80px 0;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.logo span {
  color: var(--blue-highlight);
}

.logo:hover {
  color: var(--blue-highlight);
  transform: translateY(-3px);
  text-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a:hover {
  color: var(--blue-highlight);
}

/* Hero Section */
.hero {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.small-caps {
  color: var(--blue-highlight);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--silver);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.hero p {
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero .btn-container {
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.project-card {
  opacity: 0;
  animation: scaleIn 0.5s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }

.hero h1 span {
  display: block;
  color: var(--blue-highlight);
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  color: #888;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--blue-highlight);
  color: white;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

/* Projects Section */
.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--blue-highlight);
  padding-left: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: var(--dark-gray);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.project-card:hover {
  border-color: var(--blue-highlight);
  transform: translateY(-5px);
}

.project-img {
  width: 100%;
  height: 250px;
  background-color: #222;
  object-fit: cover;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.9rem;
  color: #aaa;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: #ccc;
}

.about-image {
  width: 100%;
  border-radius: 12px;
  filter: grayscale(100%);
  transition: var(--transition);
}

.about-image:hover {
  filter: grayscale(0%);
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-links {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.social-icon {
  font-size: 1.5rem;
  color: var(--silver);
}

.social-icon:hover {
  color: var(--blue-highlight);
}


/* Footer */
footer {
  padding: 4rem 0;
  border-top: 1px solid var(--light-gray);
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.resume-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--blue-highlight);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.resume-link:hover {
  border-bottom-color: var(--blue-highlight);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
}
