/* css/index.css */
/* Hero Section Layout */
.hero.cosmic-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  position: relative;
  z-index: 2;
  padding: 1rem 1rem 2rem 1rem;
  background: transparent;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 0 auto;
}

.hero-text {
  flex: 1 1 340px;
  color: #ffffff;
  text-shadow: 0 2px 16px #1a1a2e88;
}

.glow-text {
  font-size: 2.5rem;
  font-family: "Orbitron", "Montserrat", sans-serif;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 0 3px #ffffff, 0 0 12px #423552;
  margin-bottom: 1.2rem;
  animation: glow 0.5s ease-in-out reverse alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 4px #ffffff, 0 0 8px #2e1a47;
  }
  to {
    text-shadow: 0 0 12px #b8b8ff, 0 0 18px #5a3ea1;
  }
}

.intro-card {
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.tagline {
  font-size: 1.3rem;
  font-style: italic;
  color: #d0ccff;
  margin-bottom: 1rem;
  text-shadow: 0 1px 12px #2e1a47aa;
}

.intro-short {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #b8b8ff;
}

.btn.cosmic-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.7em 2em;
  background: linear-gradient(90deg, #7f7fff 0%, #5a3ea1 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-family: inherit;
  letter-spacing: 1px;
  box-shadow: 0 4px 24px #2e1a4780;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.btn.cosmic-btn:hover {
  background: linear-gradient(90deg, #5a3ea1 0%, #7f7fff 100%);
  transform: translateY(-2px) scale(1.04);
}

/* Photo & Animation */
.hero-photo.cosmic-photo {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-frame {
  position: relative;
  width: 220px; /* Increased from 180px */
  height: 220px; /* Increased from 180px */
  border-radius: 50%;
  overflow: hidden; /* Hide overflow for a clean circle */
  box-shadow: 0 0 24px #2e1a4780;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 18, 48, 0.5); /* subtle background */
}

.profile-pic {
  width: 200px; /* Increased from 160px */
  height: 200px; /* Increased from 160px */
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #7f7fff;
  box-shadow: 0 0 16px #2e1a4780;
  position: relative;
  z-index: 2;
}

/* Remove or comment out these for a cleaner look: */
.photo-glow,
.orbit-anim {
  display: none !important;
}

/* Responsive */
@media (max-width: 800px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .hero-photo.cosmic-photo {
    margin-top: 2rem;
  }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #ffffff;
}

/* Buttons */
.btn,
.btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  margin: 0.5rem;
  border-radius: 8px;
  background: #00ffff;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.btn-secondary {
  background: white;
  color: #111;
}

/* Project Grid */
.project-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-card {
  background: rgba(255, 255, 255, 0.07);
  padding: 1rem;
  border-radius: 10px;
  width: 30%;
  box-shadow: 0 0 15px #00ffff55;
}

.typewriter {
  display: inline-block;
  border-right: 2px solid #00ffff;
  white-space: nowrap;
  overflow: hidden;
  animation: blink-cursor 0.8s steps(1) infinite;
}

@keyframes blink-cursor {
  0%,
  100% {
    border-color: #00ffff;
  }
  50% {
    border-color: transparent;
  }
}

.card.cosmic-card {
  background: linear-gradient(
    135deg,
    rgba(20, 20, 28, 0.92) 60%,
    rgba(40, 40, 50, 0.78) 100%
  );
  border-radius: 24px;
  box-shadow: 0 2px 12px 0 #00ffff22, 0 1.5px 6px #0a0a1f44;
  padding: 2.5rem 2rem;
  max-width: 900px;
  margin: 2rem auto;
  backdrop-filter: blur(14px) saturate(120%);
  border: 1.5px solid rgba(0, 255, 255, 0.08);
  transition: box-shadow 0.3s, background 0.3s;
}

.card.cosmic-card:hover {
  box-shadow: 0 4px 24px 0 #00ffff33, 0 2px 8px #0a0a1f66;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.82) 60%,
    rgba(30, 30, 40, 0.68) 100%
  );
}
