/* ==========================================================================
   Yogi Ramesh Pandey - Official Film & Acting Portfolio Design System
   ========================================================================== */

:root {
  --bg-dark: #09090b;
  --bg-card: #121014;
  --bg-card-hover: #1c1820;
  --gold-primary: #f59e0b;
  --gold-dark: #b45309;
  --gold-light: #fef3c7;
  --text-main: #f5f5f4;
  --text-muted: #a8a29e;
  --border-gold: rgba(245, 158, 11, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Typography */
.font-display {
  font-family: var(--font-serif);
}

.text-gold {
  color: var(--gold-primary);
}

.text-gold-light {
  color: var(--gold-light);
}

.text-muted {
  color: var(--text-muted);
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  text-decoration: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: -0.02em;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-link {
  font-family: var(--font-sans);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--gold-primary);
}

.btn-gold {
  font-family: var(--font-sans);
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Badges */
.sag-aftra-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #d97706 0%, #78350f 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  border: 1px solid rgba(254, 243, 199, 0.3);
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.08;
  font-weight: 700;
  color: #ffffff;
  margin-top: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  line-height: 1.7;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.2s ease;
}

.stat-card:hover {
  border-color: var(--border-gold);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  object-position: top center;
  display: block;
}

/* Sections */
.section-padding {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
}

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

.section-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  font-weight: 700;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.5rem;
}

/* Celebrity Gallery Grid */
.celebrity-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.celebrity-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.celebrity-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.celebrity-card:hover img {
  transform: scale(1.06);
}

.celebrity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.35) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.celebrity-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}

.celebrity-card-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Resume Tabs & Tables */
.resume-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.resume-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.resume-tab-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold-primary);
}

.resume-tab-btn.active {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.table-responsive {
  overflow-x: auto;
  border-radius: 1.25rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.resume-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.resume-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.resume-table td {
  padding: 1.1rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
}

.resume-table tr:last-child td {
  border-bottom: none;
}

.resume-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.role-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.role-pill.lead {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  border: none;
}

/* Specs & Representation Grid */
.specs-rep-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.spec-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0.85rem;
  padding: 1rem;
  text-align: center;
}

.spec-key {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.spec-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 0.2rem;
}

.rep-card {
  background: linear-gradient(145deg, #141118 0%, #0d0b0f 100%);
  border: 1px solid var(--border-gold);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.rep-group {
  margin-bottom: 1.5rem;
}

.rep-group:last-child {
  margin-bottom: 0;
}

.rep-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  font-weight: 700;
}

.rep-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.2rem;
}

.rep-detail {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Lightbox Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 1.5rem;
  max-width: 780px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-img-container {
  background: #000000;
  text-align: center;
}

.modal-img-container img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.modal-body {
  padding: 1.75rem;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--gold-primary);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid,
  .specs-rep-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  .main-navigation.open {
    display: flex;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}
