/* ==========================================================================
   HarSar Harsha Portfolio — Executive Dark Navy & Monochrome Architecture
   Palette: White, Black, Grey, and Dark Navy Blue
   ========================================================================== */

:root {
  /* Dark Navy Blue Shades */
  --bg-navy: #040914;
  --bg-dark: #060c18;
  --navy-surface: #0a1324;
  --navy-elevated: #0f1c32;
  --navy-card: rgba(8, 16, 32, 0.78);
  --navy-glow: rgba(30, 58, 138, 0.35);
  
  /* Glassmorphism Borders */
  --glass-border: rgba(148, 163, 184, 0.22);
  --glass-border-hover: rgba(248, 250, 252, 0.5);
  
  /* Pure White & Glows */
  --white: #ffffff;
  --white-glow: rgba(255, 255, 255, 0.3);
  --white-dim: rgba(255, 255, 255, 0.1);
  
  /* Greys (Cool Silver / Slate) */
  --grey-50: #f8fafc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-300: #cbd5e1;
  --grey-400: #94a3b8;
  --grey-500: #64748b;
  --grey-600: #475569;
  --grey-700: #334155;
  --grey-800: #1e293b;
  --grey-900: #0f172a;
  
  /* Deep Black */
  --black: #000000;
  --black-elevated: #02050b;
  
  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

html {
  color-scheme: dark;
  overflow-x: hidden;
}

body {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  background-color: var(--bg-navy);
  font-family: var(--font-body);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow-x: hidden;
}

/* ==========================================================================
   Background Video & Contrast Layer
   ========================================================================== */
.video-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.back-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 70% 30%, rgba(6, 14, 28, 0.45) 0%, rgba(4, 9, 20, 0.9) 75%, #040914 100%),
    linear-gradient(180deg, rgba(4, 9, 20, 0.55) 0%, rgba(4, 9, 20, 0.92) 100%);
  pointer-events: none;
}

/* ==========================================================================
   Main Glass Container — Strict Square Corners
   ========================================================================== */
.main-section {
  position: relative;
  width: 100%;
  max-width: 1240px;
  min-height: calc(100dvh - 48px);
  background: var(--navy-card);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  
  /* Square corners */
  border-radius: 4px;
  border: 1px solid var(--glass-border);
  
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.85),
    0 0 35px -5px rgba(15, 28, 50, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Futuristic White & Silver HUD Corner Brackets */
.hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 5;
}

.hud-tl {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
}

.hud-tr {
  top: -1px;
  right: -1px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
}

.hud-bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid var(--white);
  border-left: 2px solid var(--white);
}

.hud-br {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--white);
  border-right: 2px solid var(--white);
}

/* ==========================================================================
   Top Navigation
   ========================================================================== */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 36px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(4, 9, 20, 0.45);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-wrap {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.brand-badge:hover .brand-logo-wrap {
  border-color: var(--white);
  box-shadow: 0 0 14px var(--white-glow);
}

.brand-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hh-accent {
  color: var(--white);
}

.hh-num {
  color: var(--grey-400);
}

/* Nav Links & CTA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 22px;
}

.nav-links a {
  color: var(--grey-400);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.nav-cta-btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 0 0 16px var(--white-glow);
}

/* ==========================================================================
   Hero Content Layout (2-Column Desktop Grid)
   ========================================================================== */
.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 48px 52px;
  flex: 1;
}

/* Left Content Column */
.hero-content {
  display: flex;
  flex-direction: column;
  max-width: 660px;
}

/* Main Heading */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.hero-name {
  color: #ffffff;
  position: relative;
  white-space: nowrap;
}

/* Subtitle with Sleek Silver/White Gradient */
.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #ffffff 0%, #94a3b8 35%, #e2e8f0 70%, #ffffff 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3.5s linear infinite;
  width: fit-content;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

/* Vision Statement Card (Square Corner) */
.statement-card {
  position: relative;
  background: rgba(15, 28, 50, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 2px;
  padding: 18px 22px 18px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.quote-bar {
  width: 3px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(148, 163, 184, 0.15) 100%);
  flex-shrink: 0;
  border-radius: 1px;
}

.statement-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--grey-300);
  font-weight: 400;
}

/* Domain Badges (Square Corner) */
.domain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.square-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(10, 18, 32, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-200);
  letter-spacing: 0.3px;
  transition: var(--transition-smooth);
}

.square-pill i {
  color: #ffffff;
  font-size: 14px;
}

.square-pill:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Call to Action Buttons (Square Corner) */
.cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.square-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: #ffffff;
  color: var(--black);
  border: 2px solid #ffffff;
  box-shadow: 0 0 25px -4px rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  background: transparent;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 2px solid rgba(148, 163, 184, 0.35);
}

.btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

/* Social Icons Bar (Square Corner Icons) */
.social-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.square-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}

.square-social-icons li {
  position: relative;
}

.square-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(10, 18, 32, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 2px;
  color: #ffffff;
  font-size: 19px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.square-social-icons a:hover {
  background: #ffffff;
  color: var(--black);
  border-color: #ffffff;
  box-shadow: 0 0 18px var(--white-glow);
  transform: translateY(-2px);
}

.dv-svg-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition-smooth);
}

.square-social-icons a:hover .dv-svg-icon {
  filter: brightness(0);
}

/* Tooltip on Icon Hover */
.icon-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 4px 8px;
  background: #02050b;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 10;
}

.square-social-icons li:hover .icon-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Right Column: Square Portrait Card with HUD Corners
   ========================================================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.portrait-card {
  position: relative;
  width: 100%;
  max-width: 410px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, rgba(20, 35, 60, 0.45) 0%, rgba(4, 9, 18, 0.9) 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 4px;
  padding: 12px;
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.85),
    0 0 30px -5px rgba(20, 35, 65, 0.4);
  transition: var(--transition-smooth);
}

.portrait-card:hover {
  border-color: #ffffff;
  box-shadow: 
    0 25px 55px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(255, 255, 255, 0.15);
}

/* Corner HUD Brackets for Portrait */
.card-bracket {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 4;
}

.bracket-tl {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
}

.bracket-tr {
  top: -1px;
  right: -1px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
}

.bracket-bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid var(--white);
  border-left: 2px solid var(--white);
}

.bracket-br {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--white);
  border-right: 2px solid var(--white);
}

/* Portrait Inner Image Box */
.portrait-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: radial-gradient(circle at center, rgba(20, 35, 65, 0.3) 0%, rgba(2, 6, 14, 0.98) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  mix-blend-mode: lighten;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-card:hover .portrait-photo {
  transform: scale(1.03);
}

.portrait-ambient-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(3, 7, 18, 0.7) 100%);
  pointer-events: none;
}

/* Floating Glass Nameplate at Bottom of Portrait */
.portrait-nameplate {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(4, 9, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 2px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  z-index: 5;
}

.nameplate-indicator {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--white);
}

.nameplate-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-left: 12px;
}

.nameplate-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.nameplate-tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Laptop / Smaller Desktops */
@media (max-width: 1080px) {
  .hero-layout {
    gap: 32px;
    padding: 36px 36px;
  }

  .portrait-card {
    max-width: 360px;
  }
}

/* Tablets / Medium Screens: Stack Layout */
@media (max-width: 900px) {
  body {
    padding: 16px;
    height: auto;
    min-height: 100dvh;
  }

  .main-section {
    min-height: unset;
  }

  .top-nav {
    padding: 16px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-links {
    display: none;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    box-sizing: border-box;
    gap: 22px;
    padding: 24px 24px 32px 24px;
    text-align: left;
  }

  .hero-content {
    max-width: 100%;
    min-width: 0;
  }

  .hero-visual {
    order: -1;
    justify-content: center;
    width: 100%;
  }

  .portrait-card {
    max-width: 250px;
    margin: 0 auto;
  }

  .statement-card {
    padding: 14px 18px;
    margin-bottom: 18px;
  }

  .domain-pills {
    margin-bottom: 20px;
  }

  .cta-group {
    margin-bottom: 22px;
  }
}

/* Mobile Devices */
@media (max-width: 520px) {
  body {
    padding: 8px 6px;
    min-height: 100dvh;
    display: block;
  }

  .main-section {
    width: 100%;
    margin: 0 auto;
    border-radius: 4px;
  }

  .top-nav {
    padding: 12px 14px;
    gap: 10px;
  }

  .brand-text {
    font-size: 18px;
  }

  .brand-logo-wrap {
    width: 32px;
    height: 32px;
  }

  .brand-logo-img {
    width: 20px;
    height: 20px;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-cta-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .hero-layout {
    padding: 24px 16px 36px 16px;
    gap: 24px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.18;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-name {
    display: block;
    margin-top: 4px;
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 16px;
  }

  .statement-card {
    padding: 14px 16px;
    margin-bottom: 18px;
  }

  .statement-text {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .domain-pills {
    gap: 8px;
    margin-bottom: 22px;
  }

  .square-pill {
    font-size: 11px;
    padding: 5px 10px;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 24px;
  }

  .square-btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 14px;
  }

  .portrait-card {
    max-width: 280px;
    margin: 0 auto;
  }

  .portrait-nameplate {
    bottom: 14px;
    left: 14px;
    right: 14px;
    padding: 8px 12px;
  }

  .nameplate-title {
    font-size: 12px;
  }

  .social-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .square-social-icons {
    gap: 10px;
  }

  .square-social-icons a {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }
}


