
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg: #1E1E1E;
  --accent-start: #FE8F1F;
  --accent-end:   #DF3631;
  --gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  --white: #F5F5F5;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* FLOATING SHAPES */
.floating-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.shape {
  position: absolute;
  opacity: 0.08;
  background: var(--accent-start);
}
.shape1 {
  top: 20%;
  left: 10%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  animation: floatShape 8s ease-in-out infinite;
}
.shape2 {
  top: 60%;
  right: 10%;
  width: 80px;
  height: 80px;
  background: var(--accent-end);
  transform: rotate(45deg);
  animation: floatShape 6s ease-in-out infinite reverse;
}
.shape3 {
  bottom: 20%;
  left: 20%;
  width: 60px;
  height: 60px;
  background: var(--accent-start);
  clip-path: polygon(50% 0%,0% 100%,100%100%);
  animation: floatShape 10s ease-in-out infinite;
}
@keyframes floatShape {
  0%,100% { transform: translateY(0) rotate(0); }
  50%    { transform: translateY(-30px) rotate(180deg); }
}

/* GEARS */
.gear {
  position: fixed;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
  color: var(--white);
}
.gear1 { top: 20%; left: 5%; width: 80px; height: 80px; }
.gear2 { bottom: 30%; right: 5%; width: 120px; height: 120px; }
.gear3 { bottom: 5%; left: 5%; width: 200px; height: 200px; }

/* HEADER & NAV */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(30,30,30,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 1000;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--accent-start);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;  
  background: radial-gradient(circle at 30% 40%, var(--accent-start)22%, transparent 70%),
              radial-gradient(circle at 80% 80%, var(--accent-end)22%,   transparent 70%);
  opacity: 0.1;
  z-index: -1;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  font-size: 1.5rem;
  color: var(--accent-end);
  margin: 1rem 0;
  font-weight: 500;
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 2rem;
  max-width: 600px;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(254,143,31,0.4);
}
.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--white);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent-start);
}
.hero-image .profile-img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--gradient);
  padding: 4px;
  animation: float 6s ease-in-out infinite;
}
.profile-img-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%    { transform: translateY(-20px); }
}

/* SECTIONS */
.section {
  padding: 5rem 0;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 2rem;
}
.card {
  background: rgba(30,30,30,0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.card:hover {
  transform: translateY(-10px);
  background: rgba(30,30,30,0.7);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-end);
}

/* EXPERIENCE LIST */
#experience .card ul {
  list-style: disc inside;
  margin-top: 1rem;
}

/* SKILLS */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
}
.skill-category h4 {
  color: var(--accent-start);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.skill-list {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.skill-tag {
  background: rgba(254,143,31,0.2);
  color: var(--accent-start);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
}

/* CONTACT */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
  text-align: center;
}
.contact-item {
  background: rgba(30,30,30,0.5);
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.contact-item:hover {
  background: rgba(30,30,30,0.7);
  transform: translateY(-5px);
}
.contact-item a {
  color: var(--accent-end);
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .profile-img { width: 200px; height: 200px; }
  .nav-menu { gap: 1rem; }
  .cta-buttons { justify-content: center; }
}
