/* ==========================================================================
   Samrat Portfolio - Master Design System & Stylesheet
   Theme: Modern Dark Artisan (Warm Roasted Amber, Espresso Slate, Creamy Latte)
   ========================================================================== */

:root {
  /* Core Color Palette */
  --bg-primary: #0a0c10;
  --bg-secondary: #10141d;
  --bg-card: rgba(22, 27, 38, 0.7);
  --bg-card-hover: rgba(30, 37, 52, 0.85);
  --bg-glass: rgba(16, 20, 29, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(245, 158, 11, 0.28);
  --border-accent-strong: rgba(245, 158, 11, 0.6);

  /* Brand Accents */
  --amber-primary: #f59e0b;
  --amber-dark: #d97706;
  --amber-light: #fbbf24;
  --amber-glow: rgba(245, 158, 11, 0.25);
  --cream-primary: #fdf8f0;
  --cream-muted: #dcd3c4;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Domain Color Accents */
  --accent-design: #fb7185;
  --accent-marketing: #38bdf8;
  --accent-barista: #f59e0b;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.2);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1200px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* ---------------------------------------------------------
   Reset & Baseline
   --------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--cream-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-heading);
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #1c1917 0%, #0a0c10 40%, #08090c 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Subtle background glowing orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.35;
}
.glow-amber {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 450px;
  background: radial-gradient(circle, #f59e0b 0%, rgba(217, 119, 6, 0.1) 70%, transparent 100%);
}
.glow-cyan {
  bottom: 20%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
}
.glow-espresso {
  top: 45%;
  left: -150px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, transparent 70%);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* ---------------------------------------------------------
   Navigation Bar (Floating Glassmorphic)
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cream-primary);
}

.brand-logo .logo-dot {
  color: var(--amber-primary);
  font-size: 1.8rem;
  line-height: 1;
}

.brand-logo .logo-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--amber-light);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream-muted);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--amber-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-primary), var(--amber-light));
  transition: transform var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--amber-primary), var(--amber-dark));
  color: #0d0f12;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  filter: brightness(1.08);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--cream-primary);
  font-size: 1.4rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

/* ---------------------------------------------------------
   HERO SECTION (Centered Avatar -> Introduction -> CTA)
   --------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 2.5rem) 0 4rem;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

/* Status Pill */
.hero-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--amber-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

/* 1. CENTERED AVATAR (Prominently Centered as Requested) */
.hero-avatar-wrapper {
  position: relative;
  margin-bottom: 2rem;
  width: 200px;
  height: 200px;
}

.hero-avatar-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--amber-primary), #fb7185, var(--amber-light), #38bdf8, var(--amber-primary));
  opacity: 0.8;
  filter: blur(6px);
  animation: rotateGlow 8s linear infinite;
}

.hero-avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.6), rgba(255, 255, 255, 0.2));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(245, 158, 11, 0.2);
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid #0a0c10;
  transition: transform 0.5s ease;
}

.hero-avatar-wrapper:hover .hero-avatar-img {
  transform: scale(1.04);
}

.craft-pill-tag {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #12151c;
  border: 1px solid var(--border-accent);
  color: var(--amber-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* 2. INTRODUCTION TEXT (Right below Centered Avatar) */
.hero-greeting {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--amber-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title .highlight-gradient {
  background: linear-gradient(135deg, #fdf8f0 0%, #fbbf24 60%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-intro-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--cream-muted);
  max-width: 720px;
  margin: 0 auto 2.25rem;
}

.hero-intro-text strong {
  color: var(--cream-primary);
  font-weight: 600;
}

/* 3. "VIEW MY WORK" & ACTION BUTTONS (Right below Introduction) */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary-work {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--amber-primary), var(--amber-dark));
  color: #0b0d11;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn-primary-work:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.5);
  color: #000;
}

.btn-primary-work i {
  transition: transform var(--transition-fast);
}

.btn-primary-work:hover i {
  transform: translateY(3px);
}

.btn-secondary-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(37, 211, 102, 0.12);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.35);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.btn-secondary-whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: #25d366;
  color: #86efac;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

/* 4. Three Craft Chips Underneath */
.hero-craft-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.craft-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream-muted);
  transition: var(--transition-smooth);
}

.craft-pill i {
  font-size: 1.05rem;
}

.craft-pill.pill-design i { color: #fb7185; }
.craft-pill.pill-marketing i { color: #38bdf8; }
.craft-pill.pill-bakery i { color: #f59e0b; }

.craft-pill:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  color: var(--cream-primary);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   Section Headers (Common)
   --------------------------------------------------------- */
.section {
  padding: 6.5rem 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-light);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   ABOUT & THE THREE WORLDS PHILOSOPHY
   --------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-card-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
}

.about-card-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-card-visual:hover img {
  transform: scale(1.03);
}

.about-badge-floating {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(16, 20, 29, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--amber-primary), var(--amber-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0d11;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.about-badge-text h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.about-badge-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.about-content-details h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.about-content-details p {
  color: var(--cream-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-fast);
}

.stat-box:hover {
  border-color: var(--border-accent);
  background: rgba(245, 158, 11, 0.05);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

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

/* ---------------------------------------------------------
   SKILLS & CRAFTS MATRIX (3 Core Pillars)
   --------------------------------------------------------- */
.skills-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--amber-primary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent-border, var(--border-accent));
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  background: var(--bg-card-hover);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-design {
  --card-accent: #fb7185;
  --card-accent-border: rgba(251, 113, 133, 0.4);
}

.pillar-marketing {
  --card-accent: #38bdf8;
  --card-accent-border: rgba(56, 189, 248, 0.4);
}

.pillar-barista {
  --card-accent: #f59e0b;
  --card-accent-border: rgba(245, 158, 11, 0.4);
}

.pillar-icon-header {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.pillar-design .pillar-icon-header {
  background: rgba(251, 113, 133, 0.12);
  color: #fb7185;
  border: 1px solid rgba(251, 113, 133, 0.3);
}

.pillar-marketing .pillar-icon-header {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.pillar-barista .pillar-icon-header {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pillar-title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.pillar-skill-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.pillar-skill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--cream-muted);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pillar-skill-item i {
  color: var(--amber-light);
  margin-right: 0.5rem;
}

.skill-tag-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.pillar-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.tool-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  color: var(--cream-muted);
}

/* ---------------------------------------------------------
   PORTFOLIO SHOWCASE SECTION
   --------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--cream-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background: var(--bg-card-hover);
  color: var(--cream-primary);
  border-color: var(--border-accent);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--amber-primary), var(--amber-dark));
  color: #0b0d11;
  border-color: var(--amber-light);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.portfolio-img-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #141720;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img-wrap img {
  transform: scale(1.08);
}

.portfolio-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.badge-design {
  background: rgba(251, 113, 133, 0.85);
  color: #fff;
}

.badge-marketing {
  background: rgba(56, 189, 248, 0.85);
  color: #0b0d11;
}

.badge-barista {
  background: rgba(245, 158, 11, 0.9);
  color: #0b0d11;
}

.portfolio-overlay-action {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.portfolio-card:hover .portfolio-overlay-action {
  opacity: 1;
}

.view-project-btn {
  background: var(--cream-primary);
  color: #0b0d11;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transform: translateY(10px);
  transition: transform var(--transition-smooth);
}

.portfolio-card:hover .view-project-btn {
  transform: translateY(0);
}

.portfolio-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--cream-primary);
}

.portfolio-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--amber-light);
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.85rem;
}

/* ---------------------------------------------------------
   JOURNEY & EXPERIENCE TIMELINE
   --------------------------------------------------------- */
.timeline-wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--border-accent) 15%, var(--border-accent) 85%, transparent 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amber-primary);
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.2);
  z-index: 3;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition-fast);
}

.timeline-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber-light);
  margin-bottom: 0.4rem;
  display: block;
}

.timeline-role {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--cream-primary);
}

.timeline-company {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.timeline-details {
  font-size: 0.9rem;
  color: var(--cream-muted);
  line-height: 1.6;
}

/* ---------------------------------------------------------
   CONTACT & FOOTER SECTION
   --------------------------------------------------------- */
.contact-section {
  padding: 6rem 0 3rem;
  background: linear-gradient(180deg, transparent 0%, #07080b 100%);
  border-top: 1px solid var(--border-subtle);
}

.contact-layout {
  max-width: 720px;
  margin: 0 auto 5rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: var(--cream-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* Contact Channels */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.contact-channel-item:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: var(--border-accent);
  transform: translateX(4px);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.icon-phone {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-light);
}

.icon-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80;
}

.icon-email {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.icon-location {
  background: rgba(251, 113, 133, 0.15);
  color: #fb7185;
}

.channel-details {
  flex-grow: 1;
}

.channel-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.channel-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream-primary);
}

.channel-action-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream-muted);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.channel-action-btn:hover {
  background: var(--amber-primary);
  color: #0b0d11;
}

/* Social Media Hub (Footer / Contact) */
.social-hub {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.social-hub-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-light);
  margin-bottom: 1rem;
}

.social-links-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.social-btn.btn-wa {
  color: #4ade80;
  border-color: rgba(37, 211, 102, 0.3);
}
.social-btn.btn-wa:hover {
  background: #25d366;
  color: #0b0d11;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.social-btn.btn-insta {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.3);
}
.social-btn.btn-insta:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.35);
}

.social-btn.btn-fb {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
}
.social-btn.btn-fb:hover {
  background: #1877f2;
  color: #fff;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.35);
}

/* Contact Interactive Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(10, 12, 16, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--cream-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--amber-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
  background: rgba(10, 12, 16, 0.9);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-row {
  display: flex;
  gap: 1rem;
}

.btn-submit {
  flex-grow: 1;
  background: linear-gradient(135deg, var(--amber-primary), var(--amber-dark));
  color: #0b0d11;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.form-alert {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: 0.88rem;
  display: none;
}
.form-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  display: block;
}

/* ---------------------------------------------------------
   FOOTER BOTTOM
   --------------------------------------------------------- */
.site-footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy strong {
  color: var(--cream-muted);
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--amber-light);
  font-weight: 600;
  cursor: pointer;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.back-to-top:hover {
  background: var(--amber-primary);
  color: #0b0d11;
}

/* ---------------------------------------------------------
   MODAL LIGHTBOX FOR PROJECTS
   --------------------------------------------------------- */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 7, 10, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.project-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal.active .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--cream-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--amber-primary);
  color: #0b0d11;
}

.modal-img-wrap {
  width: 100%;
  height: 380px;
  background: #12151c;
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 2.25rem;
}

.modal-category {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 0.5rem;
}

.modal-title {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.modal-description {
  color: var(--cream-muted);
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.modal-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.modal-tag {
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--cream-primary);
}

/* Toast notification */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid var(--border-accent);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   RESPONSIVE DESIGN / MEDIA QUERIES
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-card-visual img {
    height: 380px;
  }
  .skills-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-layout {
    margin-bottom: 3.5rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 12, 16, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-cta {
    display: none;
  }
  .hero-avatar-wrapper {
    width: 170px;
    height: 170px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-intro-text {
    font-size: 1rem;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .timeline-wrap::before {
    left: 1.25rem;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 3.5rem !important;
    padding-right: 0 !important;
    text-align: left !important;
    margin-bottom: 2.5rem;
  }
  .timeline-dot {
    left: 5px !important;
    right: auto !important;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .contact-info-card, .contact-form-card {
    padding: 1.75rem;
  }
  .site-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
