/*
Theme Name: Ravindra Udgiri Executive One-Pager
Theme URI: https://www.linkedin.com/in/ravindra-udgiri
Author: Ravindra Avadhut Udgiri
Description: Custom responsive, WCAG 2.1 Level A accessible one-page executive portfolio WordPress theme for Ravindra Avadhut Udgiri — Technical Lead | SAP Commerce (Hybris) | AWS Certified Developer – Associate.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ravindra-portfolio
Tags: one-column, custom-colors, custom-menu, accessibility-ready, portfolio
*/

:root {
  --navy-900: #0f1b2d;
  --navy-800: #16263b;
  --navy-700: #1f3552;
  --teal-600: #007382;
  --teal-500: #0092a6;
  --aws-amber: #d97706;
  --aws-gold: #fbbf24;
  --aws-bg: #fffbeb;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --white: #ffffff;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 27, 45, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 27, 45, 0.14);
}

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

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--slate-700);
  background-color: var(--slate-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility Skip Link (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--aws-gold);
  color: var(--navy-900);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--navy-900);
}

:focus-visible {
  outline: 3px solid var(--aws-amber);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 27, 45, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(251, 191, 36, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--aws-amber), var(--aws-gold));
  color: var(--navy-900);
  font-weight: 900;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  display: inline-block;
  color: var(--slate-200);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--aws-gold);
  background: rgba(255, 255, 255, 0.08);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at top right, #1f3959 0%, var(--navy-800) 48%, var(--navy-900) 100%);
  color: var(--white);
  padding: 72px 0 64px;
  border-bottom: 4px solid var(--aws-amber);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--aws-gold);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.95rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: #93e1ea;
  margin: 0 0 18px;
}

.hero-lead {
  color: var(--slate-200);
  font-size: 1rem;
  margin: 0 0 26px;
  max-width: 660px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 28px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--aws-amber), #f59e0b);
  color: var(--navy-900);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.hero-card h2 {
  margin: 0 0 16px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--aws-gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 10px;
}

.credential-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.credential-list li {
  background: rgba(15, 27, 45, 0.55);
  border-left: 3px solid var(--teal-500);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
}

.credential-list li.aws-highlight {
  border-left-color: var(--aws-gold);
}

.credential-list strong {
  display: block;
  color: var(--white);
  font-size: 0.92rem;
}

.credential-list span {
  color: #cbd5e1;
  font-size: 0.82rem;
}

/* Impact Metrics Bar */
.metrics-section {
  margin-top: -32px;
  position: relative;
  z-index: 10;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--navy-800);
}

.metric-card.accent {
  border-top-color: var(--aws-amber);
}

.metric-value {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.2;
  margin-bottom: 6px;
}

.metric-card.accent .metric-value {
  color: var(--aws-amber);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--slate-600);
  font-weight: 600;
}

/* Generic Sections */
.section {
  padding: 68px 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-header {
  margin-bottom: 36px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-600);
  margin-bottom: 6px;
}

.section-title {
  margin: 0 0 10px;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.015em;
}

.section-desc {
  margin: 0;
  color: var(--slate-600);
  max-width: 720px;
}

/* Summary Pillars */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.summary-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--teal-600);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.summary-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--navy-900);
}

.summary-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-600);
}

/* Technical Matrix */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tech-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px;
}

.tech-card.aws-card {
  background: var(--aws-bg);
  border-color: #fde68a;
}

.tech-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-card.aws-card h3 {
  color: #92400e;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
}

.aws-card .tag {
  border-color: #fcd34d;
  color: #78350f;
}

/* AWS Sandbox & POC Box */
.sandbox-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  border-left: 5px solid var(--aws-gold);
}

.sandbox-banner h3 {
  margin: 0 0 12px;
  color: var(--aws-gold);
  font-size: 1.12rem;
}

.sandbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sandbox-box {
  background: rgba(255, 255, 255, 0.07);
  padding: 16px 18px;
  border-radius: 8px;
}

.sandbox-box strong {
  display: block;
  color: #93e1ea;
  margin-bottom: 6px;
  font-size: 0.94rem;
}

.sandbox-box p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate-200);
}

/* Project Filter & Cards */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

.projects-stack {
  display: grid;
  gap: 26px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.project-card.hidden {
  display: none;
}

.project-top {
  background: var(--slate-100);
  padding: 20px 26px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.project-top h3 {
  margin: 0 0 4px;
  font-size: 1.22rem;
  color: var(--navy-900);
}

.project-role {
  font-weight: 700;
  color: var(--teal-600);
  font-size: 0.92rem;
}

.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-800);
}

.project-body {
  padding: 24px 26px;
}

.project-overview {
  margin: 0 0 18px;
  font-size: 0.94rem;
  color: var(--slate-700);
}

.resp-list {
  margin: 0 0 18px;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.resp-list li {
  font-size: 0.91rem;
  color: var(--slate-600);
}

.resp-list strong {
  color: var(--navy-900);
}

/* Career Timeline */
.timeline {
  position: relative;
  padding-left: 28px;
  border-left: 3px solid var(--teal-600);
  display: grid;
  gap: 22px;
}

.timeline-item {
  position: relative;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 22px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--aws-amber);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal-600);
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.timeline-head h3 {
  margin: 0;
  font-size: 1.06rem;
  color: var(--navy-900);
}

.timeline-date {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--teal-600);
}

.timeline-role {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-700);
  margin: 0 0 6px;
}

.timeline-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate-600);
}

/* Awards & Education 2-Col */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  margin: 0 0 18px;
  font-size: 1.15rem;
  color: var(--navy-900);
  border-bottom: 2px solid var(--slate-100);
  padding-bottom: 10px;
}

.clean-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.clean-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.91rem;
}

.clean-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.clean-list strong {
  display: block;
  color: var(--navy-900);
  margin-bottom: 2px;
}

/* Footer / Contact */
.site-footer {
  background: var(--navy-900);
  color: var(--slate-200);
  padding: 56px 0 36px;
  border-top: 4px solid var(--aws-amber);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1.65rem;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-links a {
  color: #93e1ea;
  text-decoration: none;
  font-weight: 600;
}

.contact-links a:hover {
  text-decoration: underline;
}

.contact-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 24px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--white);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 27, 45, 0.8);
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #94a3b8;
}

@media (max-width: 960px) {
  .hero-grid,
  .metrics-grid,
  .summary-grid,
  .tech-grid,
  .sandbox-grid,
  .dual-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    padding: 16px 24px;
    border-bottom: 2px solid var(--aws-amber);
  }

  .primary-nav.open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media print {
  .site-header, .filter-bar, .contact-box, .btn {
    display: none !important;
  }
  .hero {
    background: #16263b !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    padding: 24px 0;
  }
  .section {
    padding: 24px 0;
  }
}
