html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: #0f1115;
  color: #e0e0e0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #3b82f6;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

a {
  color: #3b82f6;
  text-decoration: none;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  background-color: #0b0d11;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid #1f2024;
}

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

.logo {
  font-weight: 800;
  font-size: 3.5rem;
  color: #fbbf24;
}

nav a {
  margin-left: 2rem;
  color: #fbbf24;
  font-weight: 600;
}

/* Hero Section */

.hero {
  height: 100vh;
  background: url('assets/hero-bg.png') no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 11, 17, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 700px;
  padding: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid #3b82f6;
  width: fit-content;
  animation: blink-caret 0.75s step-end infinite;
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    white-space: normal;
  }
  
  .logo {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .about h3 {
    font-size: 2rem;
  }
  
  .about p {
    font-size: 1rem;
  }
  
  .about-image img {
    max-width: 250px;
  }
  
  .project-info {
    padding: 1rem;
  }
  
  .project-info h4 {
    font-size: 1.2rem;
  }
  
  .project-info p {
    font-size: 1rem;
  }
  
  .tech-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #3b82f6; }
}

.btn {
  background-color: #3b82f6;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.projects {
  padding: 4rem 2rem;
  text-align: center;
}

.projects h3 {
  font-size: 2.5rem;
  color: #fbbf24;
  margin-bottom: 2rem;
}

.about {
  padding: 4rem 2rem;
}

.about {
  background-color: #0b0d11;
  border-top: 1px solid #1f2024;
  border-bottom: 1px solid #1f2024;
  margin-top: 5rem;
}

.about h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #fbbf24;
}

.about p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-link {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.about-image {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  opacity: 0.9;
}

/* Carousel */

.project-carousel {
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #2c2f36;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-container img {
  min-width: 100%;
  max-height: 500px;
  object-fit: contain;
  background-color: #000;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.carousel-controls button {
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  pointer-events: all;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.carousel-controls button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-controls button:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.project-info {
  margin-top: 2rem;
  text-align: center;
  padding: 2rem;
  background-color: rgba(11, 13, 17, 0.5);
  border-radius: 12px;
  border: 1px solid #2c2f36;
}

.project-info h4 {
  font-size: 1.5rem;
  color: #fbbf24;
  margin-bottom: 1rem;
  font-weight: 600;
}

.project-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #e0e0e0;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tech-badge {
  background-color: #3b82f6;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* MCP Project Section */

.mcp-project {
  background-color: #0b0d11;
  border-top: 1px solid #1f2024;
  border-bottom: 1px solid #1f2024;
  margin-top: 5rem;
  text-align: center;
}

.mcp-project h3 {
  font-size: 2.5rem;
  color: #fbbf24;
  margin-bottom: 0.5rem;
  text-align: center;
}

.project-subtitle {
  font-size: 1.3rem;
  color: #3b82f6;
  margin-bottom: 2rem;
  font-weight: 600;
  text-align: center;
}

.project-details {
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.detail-section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background-color: rgba(15, 17, 21, 0.6);
  border-radius: 8px;
  border: 1px solid #2c2f36;
  text-align: left;
}

.detail-section h4 {
  font-size: 1.5rem;
  color: #fbbf24;
  margin-bottom: 1rem;
}

.detail-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.detail-section ul,
.detail-section ol {
  margin-left: 1.5rem;
  line-height: 1.8;
}

.detail-section li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  color: #e0e0e0;
}

.project-status {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  border: 1px solid #3b82f6;
}

.project-status p {
  margin: 0;
  color: #3b82f6;
  font-size: 1rem;
}

/* Footer */

footer {
  background-color: #0b0d11;
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}
