/* =============================================
   BASE & VARIABLES
   ============================================= */
:root {
  --navy:    #0d1b2a;
  --navy-mid:#16213e;
  --cyan:    #00d4ff;
  --cyan-dim: #00a8cc;
  --text-dark: #1a1a2a;
  --text-muted: #6c7a8d;
  --card-border: #e8ecf0;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: #fff;
  margin: 0;
}

/* =============================================
   NAVIGATION
   ============================================= */
#main-nav {
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(8px);
  transition: background 0.3s, box-shadow 0.3s;
  z-index: 1000;
}

#main-nav.scrolled {
  background: rgba(13, 27, 42, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.brand-text {
  font-family: 'Courier New', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 0.02em;
}

.brand-text::before {
  content: '> ';
  color: var(--cyan);
}

#main-nav .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}

#main-nav .nav-link:hover,
#main-nav .nav-link.active {
  color: var(--cyan) !important;
}

#main-nav .dropdown-menu {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.4rem;
  margin-top: 0.5rem;
}

#main-nav .dropdown-item {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
}

#main-nav .dropdown-item:hover,
#main-nav .dropdown-item:focus {
  background: rgba(0,212,255,0.12);
  color: var(--cyan);
}

/* =============================================
   HERO
   ============================================= */
#hero {
  min-height: 100vh;
  background: var(--navy) url('assets/img/computer-code.jpg') center / cover no-repeat fixed;
  position: relative;
}

.hero-overlay {
  min-height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(13,27,42,0.82) 0%,
    rgba(13,27,42,0.70) 60%,
    rgba(13,27,42,0.92) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.terminal-tag {
  display: inline-block;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 6px;
  padding: 0.3rem 0.9rem;
}

.terminal-prompt {
  font-family: 'Courier New', monospace;
  color: var(--cyan);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.hero-name {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.3rem;
}

.hero-title {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 400;
  color: var(--cyan);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.hero-lead {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 580px;
}

.btn-outline-cyan {
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  background: transparent;
  border-radius: 6px;
  padding: 0.5rem 1.3rem;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-cyan:hover {
  background: var(--cyan);
  color: var(--navy);
}

.scroll-hint {
  color: rgba(255,255,255,0.35);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* =============================================
   SECTION SHELLS
   ============================================= */
.section-light {
  padding: 5rem 0;
  background: #f8f9fc;
}

.section-dark {
  padding: 5rem 0;
  background: var(--navy-mid);
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.section-title.text-light {
  color: #fff !important;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.text-muted-light {
  color: rgba(255,255,255,0.5) !important;
}

/* =============================================
   PARALLAX BANDS
   ============================================= */
.parallax-band {
  height: 380px;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
}

.parallax-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.45);
}

/* =============================================
   SKILL CARDS
   ============================================= */
.skill-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.8rem 1.6rem;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.25s;
}

.skill-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.skill-icon {
  font-size: 2rem;
  color: var(--cyan-dim);
  margin-bottom: 0.8rem;
  display: block;
}

.skill-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.skill-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* =============================================
   PROJECT CARDS
   ============================================= */
.project-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.6rem;
  height: 100%;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.project-card:hover {
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 4px 24px rgba(0,212,255,0.08);
}

.project-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0.8rem 0 0.5rem;
}

.project-card p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0 0 1rem;
}

.project-card code {
  background: rgba(0,212,255,0.12);
  color: var(--cyan);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  font-size: 0.85em;
}

.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2em 0.7em;
  border-radius: 4px;
}

.tag-powershell { background: rgba(0,122,204,0.25); color: #60b0ff; }
.tag-apple      { background: rgba(255,255,255,0.1); color: #ccc; }
.tag-linux      { background: rgba(255,183,0,0.15);  color: #ffd566; }
.tag-node       { background: rgba(76,175,80,0.2);   color: #81c784; }
.tag-react      { background: rgba(0,188,212,0.2);   color: #4dd0e1; }
.tag-js         { background: rgba(255,214,0,0.15);  color: #ffe57f; }
.tag-bash       { background: rgba(150,100,255,0.2); color: #ce93d8; }
.tag-intune     { background: rgba(84,110,255,0.2);  color: #9fa8ff; }
.tag-teams      { background: rgba(98,100,167,0.28); color: #b3b5e6; }
.tag-ringcentral { background: rgba(255,122,0,0.18); color: #ffb066; }
.tag-virtualization { background: rgba(0,150,136,0.2); color: #4fd1c5; }

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-tech span {
  font-size: 0.73rem;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.15em 0.6em;
  border-radius: 20px;
}

/* =============================================
   ABOUT
   ============================================= */
.about-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-dark);
  font-weight: 400;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.about-stat {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1.1rem 0.5rem;
  text-align: center;
  transition: box-shadow 0.2s;
}

.about-stat:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.about-stat i {
  font-size: 1.5rem;
  color: var(--cyan-dim);
  display: block;
  margin-bottom: 0.4rem;
}

.about-stat span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* =============================================
   CONTACT
   ============================================= */
.btn-contact {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 8px;
  padding: 0.7rem 1.6rem;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-contact:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
}

/* =============================================
   LOCATION
   ============================================= */
.location-city {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.location-detail {
  font-size: 1rem;
  color: var(--text-muted);
}

.location-map {
  max-width: 100%;
  width: 420px;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy);
  padding: 1.8rem 0;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.site-footer a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

/* =============================================
   RESPONSIVE TWEAKS
   ============================================= */
@media (max-width: 768px) {
  .parallax-band { background-attachment: scroll; }
  .about-stat-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .about-stat { padding: 0.8rem 0.3rem; }
  .about-stat i { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .about-stat-grid { grid-template-columns: repeat(3, 1fr); }
}
