/* ============================================================
   Custom styles for bhargavamummadireddy.com
   ============================================================ */

/* ── Import modern Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
}

/* ── Hero Section ── */
.hero-overlay {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%) !important;
  position: relative;
  overflow: hidden;
}

/* Animated subtle grid overlay */
.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 179, 237, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 179, 237, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridshift 20s linear infinite;
  pointer-events: none;
}

/* Glowing orb top-right */
.hero-overlay::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 179, 237, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes gridshift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-overlay .container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.15 !important;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.hero-lead {
  font-size: clamp(1rem, 2.4vw, 1.25rem) !important;
  color: rgba(214, 234, 255, 0.88) !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  max-width: 700px;
  margin: 0 auto 2rem !important;
  letter-spacing: 0.01em;
}

/* Hugo markdownify wraps content in <p> tags that become siblings of .hero-lead,
   not nested inside it. Target those directly.
   All hero container paragraphs get light text; the .btn rule keeps button white. */
.hero-overlay .container > p {
  color: rgba(214, 234, 255, 0.88) !important;
  font-size: clamp(1rem, 2.4vw, 1.2rem) !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  max-width: 700px;
  margin: 0 auto 0.75rem !important;
  letter-spacing: 0.01em;
  text-align: center;
}

.hero-overlay .btn {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.35) !important;
  border-radius: 50px !important;
  padding: 0.65rem 2rem !important;
  font-size: 0.95rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.hero-overlay .btn:hover {
  background: rgba(99, 179, 237, 0.25) !important;
  border-color: rgba(99, 179, 237, 0.7) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 179, 237, 0.2);
}

/* ── Navbar: Make it translucent over hero ── */
.navbar-light {
  background: rgba(15, 12, 41, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(99, 179, 237, 0.12);
}

.navbar-light .navbar-brand,
.navbar-light .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link.active {
  color: #63b3ed !important;
}

/* ── Featurette (What I Do) ── */
#featurette {
  background: linear-gradient(180deg, #f8faff 0%, #eef3fb 100%);
}

.featurette {
  padding: 0.5rem 0;
}

.featurette .section-heading h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a4e;
  margin-bottom: 0.4rem;
}

.featurette .section-heading p {
  color: #6b7a99;
  font-size: 1.05rem;
}

.featurette-icon {
  font-size: 2.5rem;
  color: #3b82f6;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.featurette .col-12:hover .featurette-icon {
  transform: translateY(-4px);
}

.featurette h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a4e;
  margin-bottom: 0.6rem;
}

.featurette p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── About section enhancements ── */
#about {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.portrait-title h2 {
  font-weight: 700;
  color: #1a1a4e;
  font-size: 1.6rem;
}

.portrait-title p {
  color: #3b82f6;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Bold ✦ competency lines */
#about strong {
  color: #1a1a4e;
}

/* ── Social icons ── */
.big-icon .fas,
.big-icon .fab {
  transition: transform 0.2s, color 0.2s;
}

.big-icon a:hover .fas,
.big-icon a:hover .fab {
  transform: scale(1.2);
  color: #3b82f6 !important;
}

/* ── Smooth scroll ── */
html {
  scroll-behavior: smooth;
}

/* ── Hide Academic theme orphan section (renders "Homes" with blank content) ── */
section#section.home-section {
  display: none;
}
