/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* Navigation */
.navbar {
  background-color: white;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2d3436;
}

.nav-links a {
  color: #2d3436;
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0984e3;
}

/* Hero section */
.hero {
  padding: 8rem 5% 4rem;
  text-align: center;
  background: linear-gradient(135deg, #6c5ce7, #a8e6cf);
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Projects section */
.projects {
  padding: 4rem 5%;
}

.projects h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #2d3436;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2d3436;
}

.project-content p {
  color: #636e72;
  margin-bottom: 1rem;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #0984e3;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #0061a8;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #2d3436;
  color: white;
}

/* Flask App Section */
.flask-app-section {
  padding: 8rem 5% 4rem;
}

.flask-app-section h1 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #2d3436;
}

.app-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.app-description {
  padding: 1rem;
}

.app-description p {
  margin-bottom: 2rem;
  color: #636e72;
}

.tech-stack h3 {
  color: #2d3436;
  margin-bottom: 1rem;
}

.tech-stack ul {
  list-style: none;
}

.tech-stack li {
  padding: 0.5rem 0;
  color: #636e72;
  position: relative;
  padding-left: 1.5rem;
}

.tech-stack li:before {
  content: "•";
  color: #0984e3;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.app-frame {
  background: #f8f9fa;
  border-radius: 5px;
  padding: 1rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#flask-app-placeholder {
  text-align: center;
  color: #636e72;
}

/* Responsive design */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links a {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .hero {
    padding: 6rem 1rem 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .projects {
    padding: 2rem 1rem;
  }
  
  .app-container {
    grid-template-columns: 1fr;
  }
  
  .app-frame {
    min-height: 300px;
  }
}

