/*
Theme Name: Shanta Devi Portfolio
Theme URI: https://shantadevi.com
Author: Portfolio Theme
Description: Ultra-premium executive portfolio theme for Shanta Devi — Procurement & Supply Chain Leader. All content, images, and colors are editable via WordPress Customizer (Appearance > Customize).
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: shanta-devi-portfolio
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --bg:        #081120;
  --bg-card:   #0d1a2e;
  --emerald:   #0B5D51;
  --gold:      #C9A84C;
  --platinum:  #D9D9D9;
  --charcoal:  #1A1A1A;
  --white:     #ffffff;
  --text-dim:  rgba(217,217,217,0.65);
  --glass-bg:  rgba(13,26,46,0.7);
  --glass-border: rgba(255,255,255,0.08);
  --radius: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--platinum);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--white); }

a { color: inherit; text-decoration: none; }

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

/* Scroll progress bar */
#scroll-progress {
  position: fixed; top: 0; left: 0; width: 0%; height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  z-index: 9999; transition: width 0.1s linear;
}

/* Glass panel */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

/* ─── NAVIGATION ─── */
#site-nav {
  position: fixed; top: 2px; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(8,17,32,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--white);
}
.nav-brand span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500;
  color: rgba(217,217,217,0.7);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-resume {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 0.85rem; font-weight: 500;
  transition: background 0.2s, color 0.2s;
  display: flex; align-items: center; gap: 0.4rem;
}
.nav-resume:hover { background: var(--gold); color: var(--bg) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--platinum); padding: 0.25rem;
}
.nav-hamburger svg { width: 26px; height: 26px; }

#mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 62px; left: 0; right: 0; z-index: 990;
  background: rgba(8,17,32,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 2rem 1.5rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  padding: 0.85rem 0;
  font-size: 1rem; font-weight: 500;
  color: rgba(217,217,217,0.8);
  border-bottom: 1px solid var(--glass-border);
  transition: color 0.2s;
}
#mobile-menu a:last-of-type { border-bottom: none; }
#mobile-menu a:hover { color: var(--gold); }
.mobile-resume {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--gold); color: var(--gold);
  text-align: center; font-size: 0.9rem; display: block;
}

@media (max-width: 768px) {
  #site-nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
}

/* ─── HERO ─── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-start;
  padding: 8rem 5rem 4rem;
  overflow: hidden;
}

#hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
#hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 65% 20%;
  opacity: 0.38; filter: grayscale(1);
}
#hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 45%, rgba(8,17,32,0.55) 75%, rgba(8,17,32,0.2));
}
#hero-bg-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px; z-index: 1;
  background: linear-gradient(to top, var(--bg), transparent);
}

#particle-canvas {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}

.hero-content {
  position: relative; z-index: 10; max-width: 680px;
}

.hero-label {
  font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(217,217,217,0.4);
  font-family: 'Inter', sans-serif; font-weight: 300;
  margin-bottom: 0.25rem;
}

.hero-name {
  font-size: 2rem; font-family: 'Playfair Display', serif;
  font-weight: 700; color: var(--white); letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}
.hero-name span { color: var(--gold); }

.hero-badge {
  display: inline-flex; padding: 0.35rem 0.85rem;
  border: 1px solid rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.08);
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.1; color: var(--white);
  margin-bottom: 1rem;
}
.hero-headline .gold-text {
  background: linear-gradient(90deg, var(--gold), #e8c96a, var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 0.95rem; line-height: 1.7;
  color: var(--text-dim); max-width: 520px;
  margin-bottom: 1.75rem; font-style: italic;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn-primary {
  padding: 0.75rem 1.75rem;
  background: var(--gold); color: var(--bg);
  font-size: 0.85rem; font-weight: 600;
  transition: background 0.2s, color 0.2s;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.btn-primary:hover { background: var(--white); color: var(--bg); }

.btn-outline {
  padding: 0.75rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); font-size: 0.85rem; font-weight: 500;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

@media (max-width: 768px) {
  #hero { padding: 7rem 1.5rem 3rem; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
}

/* ─── SECTION COMMONS ─── */
section { padding: 6rem 5rem; }
@media (max-width: 768px) { section { padding: 4rem 1.5rem; } }

.section-label {
  font-size: 0.65rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(217,217,217,0.4);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white); margin-bottom: 1.25rem;
}
.section-center { text-align: center; }

/* Fade-in animation */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ─── PROFILE ─── */
#profile { background: rgba(13,26,46,0.45); }

.profile-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; margin-bottom: 3.5rem;
}
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }

.profile-roles { margin: 1.5rem 0 2rem; }
.profile-role {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.4rem 0; color: rgba(217,217,217,0.85);
  font-size: 0.95rem;
}
.role-dot { width: 7px; height: 7px; background: var(--gold); flex-shrink: 0; }

.profile-photo-wrap { position: relative; }
.profile-photo-wrap::before {
  content: '';
  position: absolute; inset: 12px -12px -12px 12px;
  background: rgba(11,93,81,0.25); z-index: 0;
}
.profile-photo-wrap img {
  position: relative; z-index: 1;
  width: 100%; object-fit: cover;
  filter: grayscale(0.3);
  border: 1px solid var(--glass-border);
  transition: filter 0.6s;
}
.profile-photo-wrap img:hover { filter: grayscale(0); }

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-card {
  padding: 2rem; text-align: center;
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s;
}
.stat-card:hover { border-color: rgba(201,168,76,0.4); }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; color: var(--gold); display: block;
}
.stat-label {
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(217,217,217,0.5);
  margin-top: 0.4rem;
}

/* ─── ACHIEVEMENTS ─── */
#achievements {
  background: var(--bg);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative; overflow: hidden;
}
#achievements::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 700px; height: 700px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(11,93,81,0.07), transparent 70%);
  pointer-events: none;
}

.achievements-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
@media (max-width: 900px) { .achievements-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .achievements-grid { grid-template-columns: 1fr; } }

.achievement-card {
  padding: 2rem;
  border-top: 2px solid rgba(201,168,76,0.4);
  border-left: 1px solid var(--glass-border);
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  transition: border-top-color 0.3s;
}
.achievement-card:hover { border-top-color: var(--gold); }
.achievement-card.emerald-top { border-top-color: rgba(11,93,81,0.5); }
.achievement-card.emerald-top:hover { border-top-color: var(--emerald); }
.achievement-card.wide { grid-column: span 2; }
@media (max-width: 600px) { .achievement-card.wide { grid-column: span 1; } }

.achievement-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; color: var(--white);
  margin-bottom: 0.6rem; line-height: 1.1;
}
.achievement-title { color: var(--gold); font-weight: 600; margin-bottom: 0.5rem; }
.achievement-card.emerald-top .achievement-title { color: var(--emerald); filter: brightness(1.5); }
.achievement-desc { font-size: 0.85rem; color: rgba(217,217,217,0.5); line-height: 1.6; }

/* ─── COMMAND CENTER ─── */
#command { background: rgba(13,26,46,0.3); }

.command-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-bottom: 4rem;
}
@media (max-width: 900px) { .command-grid { grid-template-columns: repeat(2,1fr); } }

.command-card {
  padding: 2rem 1.5rem; text-align: center;
  border: 1px solid var(--glass-border);
  border-left: 2px solid transparent;
  background: var(--glass-bg);
  transition: border-left-color 0.3s, background 0.3s;
  cursor: default;
}
.command-card:hover { border-left-color: var(--gold); background: rgba(13,26,46,0.9); }

.command-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.85rem;
  transition: background 0.3s;
}
.command-card:hover .command-icon { background: rgba(201,168,76,0.15); }
.command-icon svg { width: 20px; height: 20px; color: var(--gold); }

.command-name { font-size: 0.9rem; color: rgba(217,217,217,0.9); font-weight: 500; }

/* Skills */
.skills-title { font-size: 1.4rem; text-align: center; margin-bottom: 1.5rem; }
.skills-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.skill-tag {
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  font-size: 0.82rem; color: rgba(217,217,217,0.8);
  transition: border-color 0.2s, color 0.2s;
  cursor: default;
}
.skill-tag:hover { border-color: rgba(201,168,76,0.5); color: var(--white); }

/* ─── CAREER JOURNEY ─── */
#journey { background: var(--bg); border-top: 1px solid var(--glass-border); }

.journey-layout { display: flex; gap: 4rem; }
.journey-sidebar { width: 240px; flex-shrink: 0; }
.journey-sticky { position: sticky; top: 100px; }

.timeline { flex: 1; padding-left: 2rem; border-left: 1px solid var(--glass-border); }

.timeline-item { margin-bottom: 3.5rem; position: relative; padding-left: 2rem; }
.timeline-dot {
  position: absolute; left: -2.56rem; top: 6px;
  width: 14px; height: 14px;
  background: var(--bg); border: 2px solid var(--gold); border-radius: 50%;
}
.timeline-company { font-size: 1.5rem; color: var(--white); margin-bottom: 0.3rem; }
.timeline-role { color: var(--gold); font-weight: 500; margin-bottom: 1rem; font-family: 'Inter', sans-serif; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.timeline-tag {
  font-size: 0.75rem; padding: 0.3rem 0.8rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  color: rgba(217,217,217,0.7);
}

@media (max-width: 768px) {
  .journey-layout { flex-direction: column; gap: 2rem; }
  .journey-sidebar { width: 100%; }
  .journey-sticky { position: static; }
  .timeline { padding-left: 1.5rem; }
}

/* ─── PHILOSOPHY ─── */
#philosophy { background: rgba(13,26,46,0.45); }

.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .philosophy-grid { grid-template-columns: 1fr; } }

.philosophy-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.philosophy-photos img {
  width: 100%; height: 220px; object-fit: cover;
  filter: grayscale(0.5);
  border: 1px solid var(--glass-border);
  transition: filter 0.5s;
}
.philosophy-photos img:hover { filter: grayscale(0); }
.philosophy-photos img:last-child { grid-column: span 2; height: 200px; }

.philosophy-body p { color: var(--text-dim); line-height: 1.8; margin-bottom: 2rem; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.value-item { display: flex; align-items: center; gap: 1rem; font-weight: 500; color: rgba(217,217,217,0.9); }
.value-line { width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }

/* ─── EDUCATION ─── */
#education { background: var(--bg); border-top: 1px solid var(--glass-border); }

.education-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 768px) { .education-grid { grid-template-columns: 1fr; } }

.edu-card {
  padding: 2.5rem; text-align: center;
  border: 1px solid var(--glass-border);
  background: rgba(13,26,46,0.5);
  transition: background 0.3s;
}
.edu-card:hover { background: rgba(13,26,46,0.8); }
.edu-icon { font-size: 1.8rem; margin-bottom: 1.25rem; }
.edu-degree { font-size: 1.1rem; margin-bottom: 0.5rem; }
.edu-inst {
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(217,217,217,0.5);
}

/* ─── CONTACT ─── */
#contact { background: rgba(13,26,46,0.4); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.consulting-badge {
  display: inline-block; padding: 0.3rem 0.85rem; margin-bottom: 1.25rem;
  border: 1px solid rgba(201,168,76,0.25); background: rgba(201,168,76,0.07);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.contact-desc { color: var(--text-dim); line-height: 1.8; margin-bottom: 2rem; }

.contact-link {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}
.contact-link:hover { border-color: rgba(201,168,76,0.4); }
.contact-link-icon { color: var(--gold); flex-shrink: 0; }
.contact-link-icon svg { width: 20px; height: 20px; }
.contact-link-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(217,217,217,0.4); display: block; margin-bottom: 0.2rem; }
.contact-link-value { color: var(--white); font-size: 0.95rem; }

/* Contact form */
.contact-form { border: 1px solid var(--glass-border); background: var(--glass-bg); padding: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(217,217,217,0.4); margin-bottom: 0.5rem; }
.form-input, .form-textarea {
  width: 100%; padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border); color: var(--white);
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-submit {
  width: 100%; padding: 0.9rem;
  background: var(--gold); color: var(--bg);
  font-weight: 600; font-size: 0.9rem; font-family: 'Inter', sans-serif;
  border: none; cursor: pointer; transition: background 0.2s;
}
.form-submit:hover { background: var(--white); }

/* ─── FOOTER ─── */
#site-footer {
  padding: 2rem 5rem;
  border-top: 1px solid var(--glass-border);
  background: var(--bg);
  text-align: center;
  font-size: 0.8rem; color: rgba(217,217,217,0.35);
}
