/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonts & Colors */
body {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top, #0d0d0d, #000);
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Smooth transitions globally */
a, .btn, .project-card, .contact-links a {
  transition: all 0.35s ease;
}

/* Neon glow utility */
.neon {
  text-shadow: 0 0 10px #ff4757, 0 0 20px #ff4757, 0 0 40px #ff4757;
}

/* Header */
header {
  background: rgba(15, 15, 15, 0.85);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #ff4757;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 5px #ff4757, 0 0 10px #ff6b81;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
}
.nav-links a:hover {
  color: #ff4757;
  transform: scale(1.12);
  text-shadow: 0 0 10px #ff4757, 0 0 20px #ff6b81;
}

/* Hero */
.hero {
  background: url("assets/hero.jpg") center/cover no-repeat;
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.85));
}
.hero-text {
  position: relative;
  z-index: 2;
  animation: glowIn 2s ease forwards;
}
.hero-text h2 {
  font-family: "Poppins", sans-serif;
  font-size: 4.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ff4757, #ff6b81, #ff4757);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(0,0,0,0.7);
}
.hero-text p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  background: linear-gradient(90deg, #ffffff, #ff6b81, #ff4757);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0,0,0,0.85);
}

/* Buttons */
.btn {
  background: #ff4757;
  padding: 1rem 2.5rem;
  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 0 15px #ff4757;
}
.btn:hover {
  background: #e84118;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px #ff4757, 0 0 35px #ff6b81;
}

/* Sections */
.about, .projects, .contact {
  padding: 6rem 2rem;
  text-align: center;
}
.about p {
  max-width: 800px;
  margin: auto;
  font-size: 1.2rem;
  color: #ccc;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.project-card {
  border-radius: 18px;
  overflow: hidden;
  transform: translateY(0);
  position: relative;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.05);
}
.project-card img, 
.project-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.project-info {
  padding: 1.8rem;
}
.project-info h3 {
  color: #ff4757;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  text-shadow: 0 0 10px #ff4757, 0 0 20px #ff6b81;
}
.project-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 25px rgba(255,71,87,0.7), 0 0 45px rgba(255,107,129,0.5);
}

/* Contact */
.contact-links {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.contact-links a {
  color: #fff;
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  padding: 0.9rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  box-shadow: 0 0 12px #ff4757, 0 0 20px #ff6b81;
}
.contact-links a:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 0 25px #ff4757, 0 0 35px #ff6b81;
}

/* Footer */
footer {
  background: #111;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 0.5px;
}

/* Animations */
.fade-in {
  animation: fadeIn 1.2s ease forwards;
}
.slide-up {
  animation: slideUp 1.2s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glowIn {
  from { opacity: 0; text-shadow: none; }
  to { opacity: 1; text-shadow: 0 0 20px #ff4757, 0 0 40px #ff6b81; }
}
