/* ===== style.css - Premium Home Page styling ===== */

body {
  background: url('bghome/1.jpg') no-repeat center center / cover;
  background-attachment: fixed;
  position: relative;
}

/* Background darken overlay */
.background-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(9, 10, 15, 0.6) 0%, rgba(9, 10, 15, 0.88) 100%);
  z-index: -1;
}

/* Hero container layout centering */
.hero-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 5vw;
  min-height: calc(100vh - 80px);
}

/* Split-layout for home page */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  width: 100%;
  max-width: 1400px;
  align-items: center;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Left side profile card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.profile-card.premium-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  border-radius: 30px;
  overflow: visible; /* to allow floating badges to pop out */
}

/* Profile image styling with neon ring */
.profile-photo-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--accent), rgba(255, 255, 255, 0.3));
  box-shadow: 0 15px 35px rgba(185, 219, 107, 0.25);
  transition: var(--transition);
}

.profile-photo-wrapper:hover {
  transform: rotate(3deg) scale(1.05);
  box-shadow: 0 20px 45px rgba(185, 219, 107, 0.4);
}

.profile-photo-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-bg);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(15, 17, 26, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 1.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  z-index: 5;
}

.floating-badge:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 15px 30px rgba(185, 219, 107, 0.2);
}

.badge-icon {
  font-size: 1.2rem;
}

.badge-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
  white-space: nowrap;
}

/* Specific Badge Positions */
.badge-gpa {
  top: 10%;
  left: -15%;
}

.badge-grad {
  bottom: 15%;
  right: -15%;
}

.badge-edu {
  bottom: -5%;
  left: 10%;
}

/* Right side content wrapper */
.hero-content.premium-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.25rem;
  padding: 3rem;
  border-radius: 30px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.hero-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.5px;
}

.intro-text {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Subtitle flex container for tags */
.hero-content .subtitle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  margin-top: 0.25rem;
}

.role-tag {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  background: rgba(185, 219, 107, 0.04);
  border: 1px solid rgba(185, 219, 107, 0.2);
  padding: 0.45rem 1rem;
  border-radius: 30px;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.role-tag:hover {
  background: var(--accent);
  color: #090a0f;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

/* Stats Dashboard Container */
.stats-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin: 1rem 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 1.5rem 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.3;
}

/* Call-to-action buttons container */
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Responsive configurations */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    margin-top: 2rem;
  }

  .profile-card.premium-card {
    max-width: 340px;
  }

  .profile-photo-wrapper {
    width: 180px;
    height: 180px;
  }

  .badge-gpa {
    top: 5%;
    left: -8%;
  }

  .badge-grad {
    bottom: 15%;
    right: -8%;
  }

  .badge-edu {
    bottom: -5%;
    left: 5%;
  }

  .hero-content.premium-card {
    align-items: center;
    text-align: center;
    padding: 2.5rem;
  }

  .stats-dashboard {
    justify-items: center;
  }

  .cta-buttons {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .floating-badge {
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
  }
  
  .badge-text {
    font-size: 0.75rem;
  }

  .badge-gpa {
    top: 5%;
    left: 2%;
  }

  .badge-grad {
    bottom: 15%;
    right: 2%;
  }

  .badge-edu {
    bottom: -5%;
    left: 5%;
  }

  .profile-photo-wrapper {
    width: 140px;
    height: 140px;
  }

  .stats-dashboard {
    gap: 0.5rem;
    padding: 1rem 0;
  }

  .stat-num {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}
