/**
 * assets/css/pages/home.css
 * Page-specific styles for index.html (Home) only.
 * Load AFTER assets/css/main.css.
 * ----------------------------------------------------------------- */

/* ============ Hero section (legacy layout, style.css) ============ */
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/photo1.jpg") top right;
  background-size: cover;
}

#hero .container {
  padding-top: 70px;
  position: relative;
}

@media (max-width: 992px) {
  #hero .container {
    padding-top: 58px;
  }

  #hero h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    color: #0d0d0e;
    text-align: center; /* Center align on mobile */
  }

  #hero h2 {
    color: #0d0d0e;
    margin: 10px 0 0 0;
    font-size: 18px;
    line-height: 24px;
    text-align: center; /* Center align on mobile */
  }

  #hero .btn-about {
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    transition: 0.5s;
    margin-top: 30px;
    color: #fff;
    background: #34b7a7;
    text-align: center; /* Center align on mobile */
  }
}

@media (min-width: 992px) {
  #hero {
    background-attachment: fixed;
    padding-left: 0px; /* Add padding on the left for desktop */
    padding-right: 980px; /* Add padding on the right for desktop */
  }

  #hero .container {
    padding-top: 70px; /* Maintain padding-top for desktop */
  }

  #hero h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: #f8f8f8;
    text-align: left; /* Align left on desktop */
  }

  #hero h2 {
    color: #f8f8f8;
    margin: 10px 0 0 0;
    font-size: 22px;
    line-height: 28px; /* Adjust line height for desktop */
    text-align: left; /* Align left on desktop */
  }

  #hero .btn-about {
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    transition: 0.5s;
    margin-top: 30px;
    color: #fff;
    background: #34b7a7;
    text-align: left; /* Align left on desktop */
  }
}


/* ============ Hero + terminal signature element (theme.css) ============ */
/* -----------------------------------------------------------------
   Hero + Terminal signature element (home page only)
   ----------------------------------------------------------------- */

#hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 20px 80px;
  /* Overrides the legacy background: url("../img/photo1.jpg") from style.css
     so the fixed particle network canvas shows through instead. */
  background: transparent !important;
  background-attachment: initial !important;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-inner .eyebrow {
  margin-bottom: 20px;
}

/* Terminal card */
.terminal-card {
  width: 100%;
  max-width: 640px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.terminal-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.terminal-title {
  margin-left: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--text-faint);
}

.terminal-body {
  padding: 26px 28px 30px;
  font-family: "JetBrains Mono", monospace;
}

.terminal-body .term-line {
  color: var(--text-faint);
  font-size: 14px;
  margin: 0 0 6px;
}

.terminal-body .term-line .prompt {
  color: var(--accent);
  margin-right: 8px;
}

.terminal-body .term-output {
  margin: 0 0 20px;
  font-family: "Space Grotesk", sans-serif;
}

.terminal-body .name-output {
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
}

.terminal-body .role-output {
  font-size: 17px;
  font-weight: 500;
  color: var(--accent-bright);
  font-family: "JetBrains Mono", monospace;
  min-height: 22px;
}

.terminal-body .bio-output {
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0;
}

.typed-cursor {
  color: var(--accent);
  animation: term-blink 1s step-end infinite;
}

@keyframes term-blink {
  50% { opacity: 0; }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.badge-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 7px 16px;
  border-radius: 50px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-strong);
  border-radius: 20px;
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-cue-move 1.8s ease infinite;
}

@keyframes scroll-cue-move {
  0% { opacity: 1; top: 7px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 7px; }
}

/* ============ Homepage highlight strip ============ */
/* -----------------------------------------------------------------
   Homepage highlight strip
   ----------------------------------------------------------------- */

.highlight-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 50px 20px;
}

.highlight-strip .row {
  max-width: 980px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 18px 10px;
  text-decoration: none;
  display: block;
}

.stat-card .stat-icon {
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-card .stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.stat-card .stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}


/* ============ Responsive (home page) ============ */
/* -----------------------------------------------------------------
   Responsive (home page)
   ----------------------------------------------------------------- */

@media (max-width: 992px) {
  #hero {
    padding: 120px 16px 70px;
  }

  .terminal-body {
    padding: 20px 18px 24px;
  }

  .terminal-body .name-output {
    font-size: 21px;
  }
}

@media (max-width: 576px) {
  .terminal-bar .terminal-title {
    display: none;
  }
}
