/* ===== GLOBAL ===== */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Poppins', sans-serif; background:#000; color:#fff; scroll-behavior:smooth; }

/* ===== HEADER ===== */
header {
  position:fixed;
  top:0;
  width:100%;
  height:70px;
  background:rgba(0,0,0,0.95);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 2rem;
  z-index:1000;
  border-bottom:2px solid #00bcd4;
}
header .logo {
  font-family:'Orbitron', sans-serif;
  font-size:1.5rem;
  color:#00bcd4;
  letter-spacing:2px;
  text-shadow:0 0 10px #00bcd4;
}
nav ul { display:flex; list-style:none; gap:1.5rem; }
nav ul li a {
  color:#fff;
  text-decoration:none;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:0.3rem;
  transition:0.3s;
}
nav ul li a:hover { color:#00bcd4; text-shadow:0 0 10px #00bcd4; }

/* ===== SECTIONS ===== */
section { padding:6rem 2rem 4rem 2rem; width:100%; }
h2 {
  font-size:2.5rem;
  color:#00bcd4;
  text-transform:uppercase;
  margin-bottom:2rem;
  text-shadow:0 0 15px #00bcd4;
  text-align:center;
}

/* ===== HOME ===== */
.home-layout {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  min-height:100vh;
  padding:0 5%;
}
.bio { flex:1 1 350px; max-width:500px; }
.bio h1 {
  font-family:'Orbitron', sans-serif;
  font-size:2.5rem;
  margin-bottom:1rem;
  text-shadow:0 0 15px #00bcd4;
}
.bio p { font-size:1.1rem; color:#ccc; margin-bottom:1.5rem; }
.socials a {
  font-size:1.8rem;
  margin:0 0.5rem;
  color:#00bcd4;
  transition:0.3s;
}
.socials a:hover { color:#fff; text-shadow:0 0 10px #00bcd4,0 0 20px #00bcd4; }

.animation {
  flex:1 1 300px;
  text-align:center;
  margin-top:2rem;
}
.spinning-wheel {
  width:120px;
  height:120px;
  border:5px solid #00bcd4;
  border-radius:50%;
  margin:0 auto 1rem auto;
  animation:spin 3s linear infinite;
}
.spinning-wheel:hover {
  animation-duration:0.7s;
  transform:scale(1.2);
  box-shadow:0 0 30px #00bcd4,0 0 60px #00bcd4 inset;
}
@keyframes spin { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }

.code-typing {
  background:rgba(0,0,0,0.2);
  color:#00bcd4;
  padding:10px;
  border-radius:10px;
  font-family:'Courier New', monospace;
  overflow-x:auto;
}

/* ===== EXPERIENCE ===== */
.experience-grid {
  display:grid;
  gap:1.5rem;
  max-width:1000px;
  margin:0 auto;
}
.experience-item {
  background:rgba(255,255,255,0.08);
  padding:1.5rem;
  border-radius:10px;
  transition:0.3s;
}
.experience-item:hover {
  transform:translateY(-5px);
  box-shadow:0 0 25px rgba(0,188,212,0.5);
}

/* ===== SKILLS ===== */
.skills-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:1.5rem;
  max-width:1000px;
  margin:0 auto;
}
.skill-card {
  background:rgba(255,255,255,0.08);
  padding:1rem;
  border-radius:12px;
  text-align:center;
  font-weight:600;
  transition:0.3s;
}
.skill-card:hover {
  background:rgba(0,188,212,0.2);
  transform:translateY(-5px);
  box-shadow:0 0 20px rgba(0,188,212,0.5);
}
.skill-card i { font-size:2rem; margin-bottom:0.5rem; }

/* ===== PROJECTS ===== */
.projects-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:2rem;
  max-width:1100px;
  margin:0 auto;
}
.project-card {
  background:rgba(255,255,255,0.08);
  padding:1.5rem;
  border-radius:10px;
  text-align:center;
  transition:0.3s;
}
.project-card:hover {
  transform:translateY(-5px);
  box-shadow:0 0 25px rgba(0,188,212,0.6);
}
.project-card img { width:100%; border-radius:8px; margin-bottom:1rem; }
.project-card a {
  display:inline-block;
  background:#00bcd4;
  color:#000;
  padding:0.5rem 1rem;
  margin:0.3rem;
  border-radius:5px;
  text-decoration:none;
  font-weight:bold;
  transition:0.3s;
}
.project-card a:hover {
  background:#fff;
  color:#00bcd4;
  box-shadow:0 0 15px #00bcd4;
}

/* ===== RESUME ===== */
#resume { text-align:center; margin-top:2rem; }
#resume .btn {
  background:#00bcd4;
  color:#000;
  padding:1rem 2rem;
  font-weight:bold;
  border-radius:30px;
  text-decoration:none;
  transition:0.4s ease;
  box-shadow:0 0 15px #00bcd4;
}
#resume .btn:hover {
  background:#fff;
  color:#00bcd4;
  box-shadow:0 0 25px #00bcd4;
  transform:scale(1.05);
}

/* ===== CONTACT ===== */
#contact { text-align:center; padding:5rem 2rem; }
#contact p { font-size:1.1rem; margin:0.5rem 0; color:#ccc; }
#contact a { color:#00bcd4; text-decoration:none; transition:0.3s; }
#contact a:hover { color:#fff; text-shadow:0 0 10px #00bcd4; }

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  .home-layout{flex-direction:column; text-align:center;}
  .animation{margin-top:2rem;}
}
