/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
  --bg-dark: #0a0a0a;
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --neon-blue: #00f3ff;
  --neon-purple: #bc13fe;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--neon-blue);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: radial-gradient(circle at top right, rgba(188, 19, 254, 0.1), transparent 40%);
}

.hero-copy {
  flex: 1;
  max-width: 600px;
}

.eyebrow {
  color: var(--neon-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--neon-purple);
  margin-bottom: 2.5rem;
  min-height: 30px; /* Prevents layout shift during typing */
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.button:not(.button-secondary) {
  background-color: var(--neon-blue);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.button:not(.button-secondary):hover {
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid var(--neon-purple);
  color: var(--neon-purple);
  background: transparent;
}

.button-secondary:hover {
  background: var(--neon-purple);
  color: #fff;
  transform: translateY(-2px);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.profile-img {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glass-border);
  box-shadow: 0 0 30px rgba(188, 19, 254, 0.2);
}

/* --- Sections --- */
.section {
  padding: 5rem 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header span {
  color: var(--neon-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-top: 0.5rem;
}

/* --- Grid & Cards --- */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.skill-card:hover {
  transform: translateY(-10px);
  border-color: var(--neon-blue);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}

.skill-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.skill-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
  margin-top: 4rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 3rem;
  }
  
  .profile-img {
    width: 250px;
    height: 250px;
  }
  
  .nav-links {
    display: none; /* Add a hamburger menu later for mobile */
  }
}
/* ================= CONTACT PAGE ================= */

.contact-grid {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.contact-card {
  flex: 1;
  min-width: 220px;
  padding: 1.5rem;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-main);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(188, 19, 254, 0.2);
}

/* ================= CONTACT FORM ================= */

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.02);
  color: white;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(0,243,255,0.2);
}

.contact-form button {
  padding: 0.9rem;
  border-radius: 50px;
  border: none;
  background: var(--neon-blue);
  color: black;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  box-shadow: 0 0 20px rgba(0,243,255,0.5);
  transform: translateY(-2px);
}

/* ================= PROJECT CARDS ================= */

.project-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: 0.4s;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--neon-blue);
  box-shadow: 0 10px 30px rgba(0,243,255,0.2);
}

.project-card h3 {
  margin-bottom: 0.5rem;
}

.project-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.project-card a {
  color: var(--neon-blue);
  text-decoration: none;
  font-weight: 600;
}

/* ================= ANIMATIONS ================= */

.fade-in {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ================= SCROLLBAR ================= */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--neon-blue), var(--neon-purple));
  border-radius: 10px;
}
