* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: #333; overflow-x: hidden; }

/* Header */
header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 1rem 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
nav { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; }
.logo { font-size: 1.5rem; font-weight: 800; }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: white; text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: #ff6b6b; }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 4px; }
.hamburger span { width: 25px; height: 3px; background: white; transition: 0.3s; }

/* Hero */
.hero { background: linear-gradient(rgba(102,126,234,0.9), rgba(118,75,162,0.9)), url('../../assets/images/bg.jpg'); background-size: cover; background-position: center; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.hero-content h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 800; margin-bottom: 1rem; }
.hero-content p { font-size: 1.3rem; max-width: 600px; margin: 0 auto 2rem; }
.cta { display: inline-block; background: #ff6b6b; color: white; padding: 1rem 2.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s; box-shadow: 0 10px 30px rgba(255,107,107,0.4); }
.cta:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(255,107,107,0.6); }

/* Sections */
.section { padding: 6rem 0; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 3.5rem; text-align: center; margin-bottom: 4rem; color: #2c3e50; position: relative; }
.section-title::after { content: ''; position: absolute; bottom: -1rem; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: #ff6b6b; }

/* Project Pages */
.project-hero { min-height: 70vh; display: flex; align-items: center; text-align: center; color: white; position: relative; }
.project-tech { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.tech-tag { background: rgba(255,255,255,0.2); padding: 0.5rem 1rem; border-radius: 25px; backdrop-filter: blur(10px); }

/* Grids */
.about-grid, .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.project-card, .skill-item, .section-card { background: white; border-radius: 20px; padding: 2rem; box-shadow: 0 10px 40px rgba(0,0,0,0.1); transition: all 0.4s; }
.project-card:hover, .skill-item:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.project-image { height: 200px; display: flex; align-items: center; justify-content: center; color: white; font-size: 4rem; border-radius: 15px; margin-bottom: 1rem; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.fade-in.appear { opacity: 1; transform: translateY(0); }

.sidenav { height: 100%; width: 0; position: fixed; z-index: 1; top: 0; left: 0; background: rgba(102,126,234,0.95); overflow-x: hidden; transition: 0.5s; }
.sidenav a { padding: 1rem 2rem; text-decoration: none; font-size: 1.2rem; color: white; display: block; transition: 0.3s; }
.sidenav a:hover { background: rgba(255,107,107,0.3); }

/* Mobile */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
}
