
@import "minima";

/* Base Improvements */
html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  font-size: 16px;
}

.wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Header & Navigation */
.site-header {
  border-bottom: 1px solid #e8e8e8;
  padding: 20px 0;
  margin-bottom: 40px;
}

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

.nav-name {
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: #111;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.nav-links a:hover {
  color: #2a7ae2;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Homepage Hero */
.hero {
  margin: 80px 0 60px 0;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 0;
}

/* What I Do Section */
.what-i-do {
  margin: 80px 0;
}

.what-i-do h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 2rem;
}

.capability {
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.capability:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.capability h3 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.capability p {
  margin-bottom: 0;
  color: #555;
  line-height: 1.6;
}

/* Featured Work Section */
.featured-work {
  margin: 80px 0;
}

.featured-work h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.featured-projects-wrapper {
  position: relative;
}

.featured-projects {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 30px;
  padding: 0 10px 40px 10px;
  margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.featured-projects::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.featured-project {
  flex: 0 0 calc(33.333% - 20px);
  scroll-snap-align: start;
  min-width: 280px;
  padding: 30px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.featured-project:hover {
  border-color: #2a7ae2;
  box-shadow: 0 4px 12px rgba(42, 122, 226, 0.1);
}

.featured-project h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.featured-project h3 a {
  text-decoration: none;
  color: #111;
}

.featured-project h3 a:hover {
  color: #2a7ae2;
}

.featured-project .project-context {
  color: #666;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.featured-project p {
  color: #555;
  line-height: 1.6;
}

.project-link {
  color: #2a7ae2;
  text-decoration: none;
  font-weight: 500;
}

.project-link:hover {
  text-decoration: underline;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dots .carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dots .carousel-dot.active {
  background-color: #2a7ae2;
  transform: scale(1.3);
}

.carousel-dots .carousel-dot:hover {
  background-color: #999;
}

/* CTA Section */
.cta-section {
  margin: 80px 0 60px 0;
}

.cta-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 40px;
  border-radius: 12px;
  text-align: center;
}

.cta-box h2 {
  color: white;
  border: none;
  margin-top: 0;
  margin-bottom: 1rem;
}

.cta-question {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta-icons {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 2rem;
}

.icon-link {
  color: white;
  transition: all 0.3s ease;
  display: inline-block;
}

.icon-link:hover {
  transform: translateY(-5px);
  opacity: 0.8;
}

.icon-link svg {
  display: block;
}

.text-cta {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.text-cta::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

.text-cta:hover {
  transform: translateX(5px);
}

.text-cta:hover::after {
  width: 100%;
}

/* Lists */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid #2a7ae2;
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: #555;
  font-style: italic;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e8e8e8;
  margin-top: 60px;
  padding: 30px 0;
  color: #666;
  font-size: 0.9rem;
}

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

.footer-content p {
  margin: 0;
}

.github-icon {
  color: #666;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.github-icon:hover {
  color: #111;
  transform: translateY(-2px);
}

/* Projects */
.project-meta {
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 4px;
  margin: 20px 0;
  line-height: 1.8;
}

/* Project Navigation */
.project-navigation {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  max-width: 1400px;
  left: 50%;
  margin-left: -700px;
  pointer-events: none;
  z-index: 100;
  padding: 0 40px;
}

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

.project-navigation .nav-spacer {
  width: 50px;
  height: 50px;
  visibility: hidden;
}

.project-navigation a {
  pointer-events: auto;
  color: #2a7ae2;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #2a7ae2;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.7;
}

.project-navigation .nav-prev::before {
  content: "←";
}

.project-navigation .nav-next::before {
  content: "→";
}

.project-navigation a:hover {
  background-color: #2a7ae2;
  color: white;
  opacity: 1;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1400px) {
  .project-navigation {
    max-width: 100%;
    margin-left: 0;
    left: 0;
    padding: 0 20px;
  }
}

@media (max-width: 900px) {
  .capabilities {
    grid-template-columns: 1fr;
  }
  
  .featured-project {
    flex: 0 0 calc(50% - 15px);
    min-width: 250px;
  }
  
  .project-navigation {
    position: static;
    transform: none;
    margin-top: 40px;
    padding: 20px 0 0 0;
    border-top: 2px solid #e8e8e8;
  }
  
  .project-navigation a {
    font-size: 0.85rem;
    padding: 10px 15px;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .featured-project {
    flex: 0 0 calc(100% - 20px);
  }
  
  .cta-box {
    padding: 40px 20px;
  }
  
  .cta-icons {
    gap: 40px;
  }
}
