/*
Theme Name: Lalita Verma Portfolio
Theme URI: https://lalitaverma.com
Author: Julius John / Black Eagle Films
Author URI: https://blackeaglefilms.com
Description: A clean light portfolio theme for actress and producer Lalita Verma — colors drawn from her portrait.
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lalita-verma
Tags: portfolio, entertainment, light, cinematic, one-page
*/

/* =============================================
   DESIGN TOKENS — Photo-matched light palette
   Lavender-grey bg · Royal Blue accent · Crimson lips
   ============================================= */
:root {
  --bg:          #e8eaf2;          /* photo backdrop lavender-grey */
  --bg-alt:      #f2f3f8;          /* slightly lighter section alt */
  --bg-card:     #ffffff;          /* pure white cards */
  --blue:        #2563eb;          /* royal blue — her shirt */
  --blue-light:  #1d4ed8;          /* deeper blue for text */
  --blue-pale:   #dbeafe;          /* pale blue tint */
  --crimson:     #c0203a;          /* her lipstick — signature accent */
  --crimson-light:#e8324f;
  --dark:        #0f172a;          /* near-black for headings */
  --body:        #334155;          /* dark slate body text */
  --muted:       #64748b;          /* muted text */
  --divider:     #cbd5e1;          /* light divider */
  --white:       #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Raleway', 'Helvetica Neue', sans-serif;

  --max-w: 1180px;
  --blue-line: 1px solid var(--divider);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a  { color: var(--blue); text-decoration: none; transition: color .25s; }
a:hover { color: var(--crimson); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
}

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: .5rem; }
.gold-rule {
  width: 60px; height: 2px;
  background: linear-gradient(to right, var(--blue), var(--crimson));
  margin: 1rem auto 0;
}

/* =============================================
   NAVIGATION
   ============================================= */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, padding .4s, box-shadow .4s;
}
#site-nav.scrolled {
  background: rgba(232,234,242,.96);
  backdrop-filter: blur(16px);
  padding: .8rem 2rem;
  box-shadow: 0 1px 0 var(--divider);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: .04em;
}
.nav-logo span { color: var(--crimson); }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); transition: color .25s;
}
.nav-links a:hover { color: var(--blue); }
.nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--dark); transition: .3s; }

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background: var(--bg);
}

/* Subtle blue radial behind text */
.hero-bg-accent {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 25% 60%, rgba(37,99,235,.08) 0%, transparent 60%);
}

.hero-text {
  position: relative;
  z-index: 2;
  padding: 120px 4rem 80px 4rem;
}
.hero-text .eyebrow { margin-bottom: 1.5rem; }
.hero-name {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.05;
  color: var(--dark);
}
.hero-name em { font-style: normal; color: var(--blue); }
.hero-tagline {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 420px;
}
.hero-cta { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  padding: .85rem 2rem;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  border: 2px solid var(--blue);
  transition: background .25s, border-color .25s, color .25s;
}
.btn-primary:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #fff;
}
.btn-ghost {
  display: inline-block;
  padding: .85rem 2rem;
  background: transparent;
  color: var(--body);
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--divider);
  transition: border-color .25s, color .25s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* Hero image */
.hero-image-wrap {
  position: relative;
  z-index: 2;
  height: 100vh;
  overflow: hidden;
}
.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Blue frame */
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(37,99,235,.25);
  z-index: 3;
  pointer-events: none;
}
/* Fade left edge into bg */
.hero-image-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 140px;
  background: linear-gradient(to right, var(--bg), transparent);
  z-index: 4;
}
.hero-photo-bar {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  height: 3px;
  background: linear-gradient(to right, var(--crimson), var(--blue), transparent);
  z-index: 5;
}

/* =============================================
   ABOUT
   ============================================= */
#about {
  background: var(--white);
  border-top: var(--blue-line);
  border-bottom: var(--blue-line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.about-stat-col { border-right: var(--blue-line); padding-right: 4rem; }
.stat-block { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--divider); }
.stat-block:last-child { border-bottom: none; margin-bottom: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 900;
  color: var(--blue); line-height: 1;
}
.stat-label {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-top: .4rem;
}
.about-bio h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin: .5rem 0 1.5rem; }
.about-bio p { color: var(--body); font-size: 1rem; line-height: 1.85; margin-bottom: 1.2rem; }
.about-bio p strong { color: var(--dark); font-weight: 600; }

/* =============================================
   CREDITS
   ============================================= */
#credits { background: var(--bg-alt); }
.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5px;
  background: var(--divider);
  border: 1.5px solid var(--divider);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.credit-card {
  background: var(--white);
  padding: 2.5rem;
  position: relative;
  transition: background .3s, box-shadow .3s;
}
.credit-card:hover { background: #fafbff; box-shadow: 0 8px 32px rgba(37,99,235,.08); }
.credit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(to bottom, var(--blue), var(--crimson));
  transition: height .4s ease;
}
.credit-card:hover::before { height: 100%; }
.credit-type {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .8rem;
}
.credit-title {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--dark); margin-bottom: .5rem;
}
.credit-role { font-size: .85rem; color: var(--blue); font-weight: 600; margin-bottom: .8rem; }
.credit-desc { font-size: .9rem; color: var(--body); line-height: 1.7; }
.credit-year {
  display: inline-block; margin-top: 1.2rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  color: #fff; background: var(--crimson); padding: .25rem .7rem;
}

/* =============================================
   SKILLS
   ============================================= */
#skills { background: var(--white); border-top: var(--blue-line); }
.skills-flex { display: flex; gap: 0; flex-wrap: wrap; border: var(--blue-line); }
.skill-item {
  flex: 1 1 220px; padding: 2.5rem;
  border-right: var(--blue-line); border-bottom: var(--blue-line);
  transition: background .3s;
}
.skill-item:hover { background: var(--blue-pale); }
.skill-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.skill-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--dark); }
.skill-item p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* =============================================
   CONTACT
   ============================================= */
#contact {
  background: var(--bg);
  border-top: var(--blue-line);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,.07) 0%, transparent 70%);
  pointer-events: none;
}
#contact h2 { font-size: clamp(2rem, 5vw, 4rem); margin: .5rem 0 1rem; position: relative; }
#contact p { color: var(--muted); max-width: 520px; margin: 0 auto 2.5rem; font-size: 1rem; position: relative; }
.contact-email {
  font-family: var(--font-display);
  font-size: 1.4rem; color: var(--blue);
  display: block; margin-bottom: 3rem;
  transition: color .25s; position: relative;
}
.contact-email:hover { color: var(--crimson); }
.contact-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--dark);
  border-top: var(--blue-line);
  padding: 2rem; text-align: center;
}
#site-footer p { font-size: .75rem; color: #64748b; letter-spacing: .08em; }
#site-footer span { color: var(--crimson); }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 140px 2rem 3rem; text-align: center; }
  .hero-tagline { max-width: 100%; margin: 1rem auto 0; }
  .hero-cta { justify-content: center; }
  .hero-image-wrap { height: 70vw; max-height: 520px; }
  .hero-image-wrap::after { background: linear-gradient(to bottom, var(--bg), transparent); width: 100%; height: 60px; top: auto; bottom: 0; left: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-stat-col { border-right: none; padding-right: 0; border-bottom: var(--blue-line); padding-bottom: 2rem; display: flex; gap: 2rem; flex-wrap: wrap; }
  .stat-block { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0;
    background: rgba(232,234,242,.98);
    padding: 2rem; gap: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
