:root {
  --bg-color: #0d0d0d;
  --text-color: #ffffff;
  --accent-color: #00ffe0;
  --card-bg: #1a1a1a;
  --footer-color: #888;
}

body.light {
  --bg-color: #ffffff;
  --text-color: #0d0d0d;
  --accent-color: #0077ff;
  --card-bg: #f2f2f2;
  --footer-color: #555;
}

/* General */
* { box-sizing:border-box; margin:0; padding:0; font-family:'Inter',sans-serif; }
body { background:var(--bg-color); color:var(--text-color); line-height:1.6; transition:0.3s; }
.container { max-width:1000px; margin:0 auto; padding:2rem; }
header { display:flex; justify-content:space-between; align-items:center; padding:1rem 0; }
header h1 { font-weight:700; color:var(--accent-color); }
nav a { color:var(--text-color); margin-left:1.5rem; text-decoration:none; font-weight:600; }
nav a:hover { color:var(--accent-color); }
#theme-toggle { background:none; border:2px solid var(--accent-color); color:var(--accent-color); padding:0.3rem 0.6rem; border-radius:6px; cursor:pointer; font-size:1.2rem; }


/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  linear-gradient(rgba(0,0,0,5),rgba (0,0,0,5))
  linear-gradient   background: url("IMG-20250201-WA0083.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 255, 224, 0.15));
  backdrop-filter: blur(3px);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 255, 224, 0.25);
}

#hero h1 {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

#hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.btn {
  background: var(--accent-color);
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #00ffea;
  transform: translateY(-3px);
}

/* About Section */
#about {
  position: relative;
  background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80") no-repeat center center/cover;
  color: var(--text-color);
  padding: 6rem 2rem;
}
.about-overlay {
  background: rgba(0,0,0,0.6);
  padding: 4rem 2rem;
  border-radius: 15px;
}
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
#about h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}
#about p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Skills */
#skills .skill { margin-bottom:1rem; }
.skill-bar { background:#333; border-radius:10px; height:15px; width:100%; overflow:hidden; }
.skill-progress { height:100%; background:var(--accent-color); width:0; border-radius:10px; transition: width 1.5s ease-in-out; }

/* Projects */
.projects-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:2rem; }
.project-card { background:var(--card-bg); border-radius:15px; overflow:hidden; text-decoration:none; color:var(--text-color); position:relative; transition:0.3s; }
.project-card img { width:100%; height:200px; object-fit:cover; transition:0.5s; }
.project-card:hover img { transform:scale(1.08); }
.project-info { padding:1rem; background:var(--card-bg); transition:0.3s; }
.project-info h3 { margin-bottom:0.5rem; color:var(--accent-color); }
.project-info p { font-size:0.9rem; color:var(--text-color); }

/* Hover overlay */
.project-card .overlay { position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.6); display:flex; justify-content:center; align-items:center; opacity:0; transition:0.3s; }
.project-card:hover .overlay { opacity:1; }
.project-card .overlay span { color:#00ffe0; font-size:1.2rem; font-weight:700; padding:0.5rem 1rem; border:2px solid #00ffe0; border-radius:6px; }

/* Testimonials */
#testimonials .carousel { position:relative; overflow:hidden; }
.testimonial { display:none; text-align:center; padding:2rem; background:var(--card-bg); border-radius:10px; transition:opacity 0.5s; }
.testimonial.active { display:block; opacity:1; }

/* Back-to-top */
#back-to-top { position:fixed; bottom:30px; right:30px; background:var(--accent-color); color:var(--bg-color); border:none; padding:0.5rem 0.8rem; border-radius:50%; cursor:pointer; display:none; font-size:1.2rem; z-index:100; }

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

footer { text-align:center; padding:2rem; color:var(--footer-color); transition:0.3s; }
