/* =========================
   NXT — Global CSS
   Common for all pages
   ========================= */

/* Reset & box model */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; }

/* Theme variables */
:root {
  --bg: #f6f9fb;
  --surface: #ffffff;
  --muted: #6b7280;
  --text: #0b1220;
  --accent: #2b6ef6;
  --accent-2: #8b5cf6;
  --radius: 14px;
  --container: 1100px;
  --shadow-1: 0 6px 20px rgba(15,23,42,0.08);
  --shadow-2: 0 12px 36px rgba(15,23,42,0.06);
}

/* Body */
body { background: var(--bg); color: var(--text); line-height: 1.6; }

/* Prevent scrolling when menu is open */
body.menu-open { overflow: hidden; }

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 2rem; }

/* Header */
.site-header { background: transparent; position: sticky; top: 0; z-index: 60; backdrop-filter: blur(6px); }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:0.6rem 0; }
.logo img { width: 60px; height: auto; }

/* Navigation */
.nav-list { list-style:none; display:flex; gap:1.25rem; align-items:center; }
.nav-list a { text-decoration:none; color:var(--muted); font-weight:600; padding:0.45rem 0.65rem; border-radius:8px; transition: all .18s ease; }
.nav-list a:hover { color: var(--text); transform: translateY(-2px); }
.nav-list a.active { color:var(--text); background: linear-gradient(90deg, rgba(43,110,246,0.08), rgba(139,92,246,0.06)); border-radius:10px; padding:0.5rem 0.75rem; }

/* Hamburger for mobile */
.hamburger { 
  display:none; 
  background: var(--surface); 
  border: 1px solid rgba(11,18,32,0.08);
  font-size: 1.4rem; 
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  color: var(--text);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
  z-index: 100;
  position: relative;
}
.hamburger:hover {
  background: rgba(43,110,246,0.05);
  transform: scale(1.05);
}

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:0.5rem; padding:0.55rem 0.9rem; border-radius:12px; text-decoration:none; font-weight:700; letter-spacing:0.1px; transition: transform .16s ease, box-shadow .16s ease; border:1px solid transparent; }
.btn.primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color:white; box-shadow: 0 8px 24px rgba(43,110,246,0.15); }
.btn.ghost { background: transparent; border: 1px solid rgba(11,18,32,0.06); color: var(--accent); }
.btn:hover { transform: translateY(-4px); }

/* Footer */
.site-footer { padding:2rem 0; margin-top:2rem; }
.footer-inner { display:flex; justify-content:space-between; align-items:center; gap:1rem; color:var(--muted); }

/* Utility classes */
.muted { color:var(--muted); }
.intro { color:var(--muted); margin-top:0.6rem; margin-bottom:1rem; }

/* Responsive */
@media (max-width: 880px) {
  .hamburger { display:block; }
  
  /* Fullscreen menu */
  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 90;
    overflow: hidden;
    display: flex;
  }
  
  /* Show menu when open */
  .nav-list.open {
    transform: translateX(0);
  }
  
  /* Menu items */
  .nav-list a {
    width: 100%;
    max-width: 400px;
    padding: 1.5rem 2rem;
    border-radius: 14px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    color: var(--text);
    display: block;
    background: rgba(43,110,246,0.04);
  }
  
  .nav-list a:hover {
    background: rgba(43,110,246,0.12);
    transform: scale(1.05);
  }
  
  .nav-list a.active {
    background: linear-gradient(90deg, rgba(43,110,246,0.15), rgba(139,92,246,0.12));
    color: var(--accent);
    box-shadow: 0 4px 16px rgba(43,110,246,0.2);
  }
  
  .container { padding:1.6rem; }
}

/* Phone */
/* =========================
   MOBILE RESPONSIVE SECTION
   ========================= */

   

/* Responsive */
@media (max-width: 880px) {
  .hamburger { 
    display: block;
    position: absolute;
    left: 2rem;
  }
  
  .header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .logo {
    margin: 0 auto;
  }
  
  .linkedin-mobile {
    display: block;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .linkedin-mobile img {
    width: 32px;
    height: auto;
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: 33.33vw;
    height: 100vh;
    background: rgba(246, 249, 251, 0.96);
    backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 2rem;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
    z-index: 90;
    overflow: hidden;
    display: flex;
  }
  
  .nav-list.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list a {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    color: var(--text);
    display: block;
    background: rgba(43,110,246,0.03);
  }
  
  .nav-list a:hover {
    background: rgba(43,110,246,0.1);
    transform: scale(1.05);
  }
  
  .nav-list a.active {
    background: linear-gradient(90deg, rgba(43,110,246,0.12), rgba(139,92,246,0.1));
    color: var(--accent);
    box-shadow: 0 4px 16px rgba(43,110,246,0.15);
  }
  
  .container { padding: 1.6rem; }
}

/* Phone - 600px and below */
@media (max-width: 600px) {
  .logo img { height: 40px; }
  h1 { font-size: 1.4rem; }
  p, .intro { font-size: 0.95rem; }
  
  .nav-list {
    width: 38vw;
  }
  
  .nav-list a {
    padding: 1.1rem 1.2rem;
    font-size: 1rem;
  }
}