/* =========================================
   PARUSHA SINDHU — PORTFOLIO
   Professional · Elegant · Recruiter-Optimized
   ========================================= */

/* === DESIGN TOKENS === */
:root {
  --navy-dark:     #1F1F1F;   /* main text */
  --navy:          #6D2E2E;   /* maroon accent */
  --navy-mid:      #A26769;   /* soft maroon */
  --navy-light:    #BFA6A0;
  --slate:         #64748b;
  --slate-light:   #94a3b8;
  
  --gold: #A67C52;
  --gold-dark: #8B5E3C;
  --gold-light: #CBB3A6;
  
  --ivory: #F4EFEA;
  --white: #FFFFFF;
  --off-white: #EEE6DC;
  --border:        #e2e8f0;
  --border-light:  #f1f5f9;
  
  --text-primary:  #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', -apple-system, system-ui, sans-serif;

  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     24px;

  --shadow-sm:     0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow:        0 4px 16px rgba(15, 23, 42, 0.10);
  --shadow-lg:     0 8px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl:     0 16px 48px rgba(15, 23, 42, 0.15);

  --transition:    all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === CONTAINER === */
.container {
  width: min(1180px, 100% - 3rem);
  margin: 0 auto;
}

/* ==================== NAVIGATION ==================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: min(1180px, 100% - 3rem);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--navy-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--navy-dark);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  background: var(--gold);
  color: var(--navy-dark) !important;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  transition: var(--transition);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--navy-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--navy-dark);
  border: 2px solid var(--navy-dark);
}

.btn-secondary:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==================== TYPOGRAPHY ==================== */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #1F1F1F;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header-center .section-subtitle {
  margin: 0 auto;
}

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #F4EFEA 0%, #EEE6DC 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.hero-content {
  padding-left: calc((100vw - 1180px) / 2 + 1.5rem);
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-dark);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero-subtitle span {
  color: var(--gold-dark);
  font-weight: 600;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-tertiary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  padding-right: calc((100vw - 1180px) / 2 + 1.5rem);
  display: flex;
  align-items: center;
}

.code-window {
  background: #2B2B2B; /* softer, not harsh black */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 540px;
}

.window-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.window-dots span:nth-child(1) { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.window-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--slate-light);
  font-weight: 500;
}

.window-code {
  padding: 1.5rem;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #e2e8f0;
}

.window-code code {
  display: block;
}

.code-comment { color: #64748b; }
.code-keyword { color: #d4af37; font-weight: 600; }
.code-string { color: #6daa82; }

/* ==================== ABOUT / VALUE PROP ==================== */
.about {
  padding: 6rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-content .section-title {
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--navy-mid);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.lead em {
  color: var(--gold-dark);
  font-style: normal;
  font-weight: 600;
}

.about-content > p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.value-props {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-prop {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.vp-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.vp-text h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.4rem;
}

.vp-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.metric-header {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 1.25rem;
}

.metrics-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.metric-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.metric-bar-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.metric-bar-bg {
  flex: 1;
  height: 8px;
  background: var(--border-light);
  border-radius: 100px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-dark);
  min-width: 48px;
  text-align: right;
}

.metric-footer {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.tech-stack-preview {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.tsp-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 0.75rem;
}

.tsp-icons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tsp-icon {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-mid);
}

/* ==================== PROJECTS ==================== */
.projects {
  padding: 6rem 0;
  background: var(--off-white);
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.project-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 3rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.project-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.project-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  padding-top: 0.25rem;
}

.project-header {
  margin-bottom: 1.25rem;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-tags span {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-dark);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.project-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.project-description em {
  color: var(--navy-dark);
  font-style: italic;
  font-weight: 500;
}

.project-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.highlight-item {
  display: flex;
  gap: 0.75rem;
  align-items: start;
}

.hi-icon {
  width: 36px;
  height: 36px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.hi-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-top: 0.4rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-dark);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: var(--transition);
}

.project-link:hover {
  color: var(--gold-dark);
  gap: 0.75rem;
}

/* ==================== SKILLS ==================== */
.skills {
  padding: 6rem 0;
  background: var(--white);
}

.skills-grid-pro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
  margin-bottom: 4rem;
}

.skill-category {
}

.skill-cat-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-item-pro {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.skill-bar-bg {
  height: 6px;
  background: var(--border-light);
  border-radius: 100px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy-dark), var(--navy-mid));
  border-radius: 100px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.leadership-section {
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.leadership-card {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: start;
  box-shadow: var(--shadow-lg);
}

.lead-icon {
  width: 72px;
  height: 72px;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.lead-content {
}

.lead-content h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.lead-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.lead-content p:last-child {
  margin-bottom: 0;
}

.lead-content strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* ==================== CONTACT ==================== */
.contact {
  padding: 6rem 0;
  background: #F4EFEA;
}

.contact-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-content {
  margin-bottom: 3rem;
}

.contact-message {
  font-size: 1.05rem;
  color: #6F625C;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-align: left;
  overflow: hidden;
}

.contact-method:hover {
  border-color: #6D2E2E;
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  overflow: hidden;
}

.cm-icon {
  width: 56px;
  height: 56px;
  background: rgba(109, 46, 46, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6D2E2E;
  flex-shrink: 0;
}

.cm-info {
  flex: 1;
  min-width: 0;
}

.cm-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 0.25rem;
}

.cm-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2B2B2B;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.cm-value a {
  color: #2B2B2B;
  text-decoration: none;
  transition: 0.2s;
}

.cm-value a:hover {
  color: #6D2E2E;
}

/* ==================== FOOTER ==================== */
.footer {
  padding: 2rem 0;
  background: var(--navy-dark);
}

.footer-content {
  text-align: center;
}

.footer-content p {
  color: var(--slate-light);
  font-size: 0.85rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 6rem;
  }

  .hero-content {
    padding-left: 1.5rem;
    max-width: 100%;
  }

  .hero-visual {
    padding-right: 1.5rem;
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-number {
    font-size: 2rem;
  }

  .skills-grid-pro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
    z-index: 99;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat {
    text-align: left;
  }

  .project-highlights-grid {
    grid-template-columns: 1fr;
  }

  .leadership-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.card img,
.project-item img,
.about img {
  width: 100%;
  border-radius: 12px;
}


/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
