/* =========================================================
   GOLD PRODUCTION CSS
   - Restores original rich visuals (header texture, accent bar, micro-interactions)
   - Clean, structured, and commented
   - No render-blocking rules (NO html{display:none}/visibility:hidden)
   - Comprehensive responsive support (4K → mobile)
   ========================================================= */


/* =========================================================
   1. DESIGN TOKENS (GLOBAL VARIABLES)
   ========================================================= */
:root {
  --color-primary: #22D3EE;
  --color-primary-dark: #0891B2;
  --color-background: #0F172A;
  --color-surface: #1E293B;
  --color-surface-light: #334155;
  --color-text: #F1F5F9;
  --color-text-secondary: #94A3B8;
  --color-accent: #06B6D4;
  --color-border: rgba(148, 163, 184, 0.2);

  --shadow-glow: 0 0 20px rgba(34, 211, 238, 0.18);
  --shadow-card: 0 8px 28px rgba(0, 0, 0, 0.35);

  --radius-card: 16px;
  --radius-chip: 25px;

  --space-1: 0.5rem;
  --space-2: 0.8rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
}


/* =========================================================
   2. RESET
   ========================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* =========================================================
   3. BASE / BODY
   ========================================================= */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, var(--color-background) 0%, #1a2942 100%);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
}

/* Ambient background glow (non-blocking) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(34,211,238,0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6,182,212,0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}


/* =========================================================
   4. HEADER
   ========================================================= */
header {
  position: relative;
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  background: linear-gradient(135deg, #0b3954 0%, #1e6091 50%, #0d4f6e 100%);
  color: #fff;
  border-bottom: 3px solid var(--color-primary);
  box-shadow: 0 10px 32px rgba(0,0,0,0.35);
  overflow: hidden;
}

/* Subtle grid/texture overlay (restored) */
header::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.35;
  pointer-events: none;
}

header h1 {
  position: relative;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

header p {
  position: relative;
  margin-top: 0.5rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* Credential badges */
.credentials {
  position: relative;
  display: inline-flex;
  gap: 1rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.credential-badge {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-chip);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.credential-badge:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}


/* =========================================================
   5. LAYOUT
   ========================================================= */
main {
  position: relative;
  max-width: 1100px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
  z-index: 1;
}


/* =========================================================
   6. SECTION (CARD SYSTEM)
   ========================================================= */
section {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  margin-bottom: 1.8rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Left accent bar (signature visual) */
section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
}

section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  border-color: rgba(34,211,238,0.4);
}


/* =========================================================
   7. TYPOGRAPHY
   ========================================================= */
h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--color-surface-light);
}

/* Glowing dot marker */
h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}

h3 {
  color: var(--color-primary);
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}

p {
  margin: 0.8rem 0;
  color: var(--color-text-secondary);
  line-height: 1.65;
}


/* =========================================================
   8. LIST SYSTEM (ARROW BULLETS)
   ========================================================= */
ul {
  list-style: none;
  margin: 1rem 0;
}

ul li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
}

ul li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

ul li:hover {
  padding-left: 2.5rem;
  color: var(--color-text);
}

ul li:hover::before {
  transform: translateX(5px);
}


/* =========================================================
   9. SKILLS GRID
   ========================================================= */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.skill-item {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
}

.skill-item:hover {
  transform: scale(1.05);
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(34,211,238,0.2);
}


/* =========================================================
   10. EXPERIENCE
   ========================================================= */
.exp-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.exp-block {
  border-left: 3px solid var(--color-primary);
  padding-left: 1rem;
}


/* =========================================================
   11. CONTACT
   ========================================================= */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-radius: 12px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(8px);
  border-color: var(--color-primary);
  background: var(--color-surface-light);
  box-shadow: 0 4px 12px rgba(34,211,238,0.2);
}

.contact-icon {
  color: var(--color-primary);
  font-size: 1.4rem;
}


/* =========================================================
   12. FOOTER
   ========================================================= */
footer {
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}


/* =========================================================
   13. ANIMATION
   ========================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

section {
  animation: fadeInUp 0.6s ease-out;
}


/* =========================================================
   14. RESPONSIVE (GLOBAL COVERAGE)
   ========================================================= */

/* Ultra-wide (4K+) */
@media (min-width: 2560px) {
  main { max-width: 1600px; }
  header h1 { font-size: 4rem; }
  p, li { font-size: 1.1rem; }
}

/* Large desktop */
@media (min-width: 1920px) and (max-width: 2559px) {
  main { max-width: 1400px; }
  header h1 { font-size: 3.5rem; }
}

/* Standard desktop */
@media (min-width: 1440px) and (max-width: 1919px) {
  main { max-width: 1200px; }
}

/* Laptops */
@media (min-width: 1024px) and (max-width: 1439px) {
  main { max-width: 1000px; }
}

/* Tablets */
@media (max-width: 1023px) {
  .exp-columns { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 599px) {
  header h1 { font-size: 1.75rem; }
  section { padding: 1.2rem; }
}

/* Small mobile */
@media (max-width: 390px) {
  header h1 { font-size: 1.5rem; }
}


/* =========================================================
   15. PIXEL PERFECT (SPACING ONLY - NO LAYOUT CHANGE)
   ========================================================= */

p {
  margin: 0.8rem 0;
}

ul li::before {
  top: 2px;
}

/* =========================================================
   16. GLOBAL RESPONSIVE (ADDED - SAFE)
   ========================================================= */

/* Ultra-wide (4K+) */
@media (min-width: 2560px) {
  main { max-width: 1600px; }
  header h1 { font-size: 4rem; }
  p, li { font-size: 1.1rem; }
}

/* Large desktop */
@media (min-width: 1920px) and (max-width: 2559px) {
  main { max-width: 1400px; }
}

/* Laptop 1440 */
@media (min-width: 1440px) and (max-width: 1919px) {
  main { max-width: 1200px; }
}

/* Tablet refinement */
@media (max-width: 820px) {
  header h1 { font-size: 2rem; }
}

/* Small mobile */
@media (max-width: 390px) {
  p, li { font-size: 0.85rem; }
}
