/* ============================================
   DIEGO TORRES KURI — ACTOR PORTFOLIO
   ============================================ */

:root {
  --color-bg: #0a0a0a;
  --color-bg-alt: #111111;
  --color-bg-card: #1a1a1a;
  --color-text: #f0f0f0;
  --color-text-muted: #888888;
  --color-accent: #c9a84c;
  --color-accent-hover: #dfc06a;
  --color-white: #ffffff;
  --color-border: #2a2a2a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --nav-height: 72px;
  --container-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
table { width: 100%; border-collapse: collapse; }

/* CONTAINER */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* SECTION TITLES */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: var(--color-white);
}
.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
  font-weight: 300;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-outline {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}
.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-white); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  color: var(--color-accent) !important;
  border: 1px solid var(--color-accent);
  padding: 8px 20px;
  border-radius: 2px;
}
.nav-cta:hover {
  background: var(--color-accent);
  color: var(--color-bg) !important;
}
.nav-cta::after { display: none !important; }

/* Language toggle */
.lang-toggle {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.lang-toggle span { transition: color var(--transition); cursor: pointer; }
.lang-toggle span.active { color: var(--color-accent); font-weight: 600; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--color-text);
  transition: var(--transition);
  border-radius: 1px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('images/hero-bg.jpg') center 23%/cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.5) 0%,
    rgba(10,10,10,0.7) 50%,
    rgba(10,10,10,0.95) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--color-white);
  margin-bottom: 8px;
  line-height: 1.1;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 28px;
}
.hero-credentials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}
.hero-sep {
  margin: 0 12px;
  opacity: 0.3;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 1.5px solid var(--color-text-muted);
  border-bottom: 1.5px solid var(--color-text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
  opacity: 0.5;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

/* ============================================
   DEMO REELS
   ============================================ */
#reels {
  padding: 120px 0;
  background: var(--color-bg);
}
#reels .section-title { text-align: center; margin-bottom: 48px; }
.reels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.reel-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--color-text-muted);
}
.video-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-bg-card);
}
.video-placeholder {
  position: relative;
  aspect-ratio: 16/9;
  cursor: pointer;
  overflow: hidden;
}
.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition);
}
.video-placeholder:hover img {
  transform: scale(1.03);
  filter: brightness(0.7);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.85;
}
.video-placeholder:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}
.video-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   ABOUT
   ============================================ */
#about {
  padding: 120px 0;
  background: var(--color-bg-alt);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.about-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  opacity: 0.2;
  pointer-events: none;
}
.about-text .section-title { margin-bottom: 24px; }
.bio p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 16px;
  font-weight: 300;
}
.bio strong { font-weight: 500; color: var(--color-white); }
.about-stats {
  display: flex;
  gap: 40px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-accent);
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  padding: 6px 16px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ============================================
   CREDITS
   ============================================ */
#credits {
  padding: 120px 0;
  background: var(--color-bg);
}
#credits .section-title { text-align: center; margin-bottom: 40px; }
.credits-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
}
.tab-btn {
  padding: 10px 28px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.tab-btn:hover { color: var(--color-white); border-color: var(--color-text-muted); }
.tab-btn.active {
  color: var(--color-bg);
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.credits-table {
  max-width: 900px;
  margin: 0 auto;
}
.credits-table th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  font-weight: 500;
}
.credits-table td {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text);
}
.credits-table strong { font-weight: 500; color: var(--color-white); }
.credits-table tr:hover td { background: rgba(201,168,76,0.03); }
.credits-cta {
  text-align: center;
  margin-top: 48px;
}
.credits-cta .btn { gap: 12px; }
.imdb-icon { flex-shrink: 0; }

/* ============================================
   GALLERY
   ============================================ */
#gallery {
  padding: 120px 0;
  background: var(--color-bg-alt);
}
#gallery .section-title { text-align: center; margin-bottom: 48px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 8px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease, filter var(--transition);
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.5rem;
  color: var(--color-white);
  transition: color var(--transition);
  line-height: 1;
}
.lightbox-close:hover { color: var(--color-accent); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: var(--color-white);
  padding: 20px;
  transition: color var(--transition);
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--color-accent); }

/* ============================================
   PRESS
   ============================================ */
#press {
  padding: 120px 0;
  background: var(--color-bg);
}
#press .section-title { text-align: center; }
#press .section-subtitle { text-align: center; }
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.press-card {
  padding: 40px 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.press-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}
.press-card a,
a.press-card {
  text-decoration: none;
  display: block;
}
.press-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 12px;
}
.press-title {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* ============================================
   CONTACT
   ============================================ */
#contact {
  padding: 120px 0;
  background: var(--color-bg-alt);
}
.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-content .section-title { margin-bottom: 12px; }
.contact-subtitle {
  color: var(--color-text-muted);
  font-weight: 300;
  margin-bottom: 40px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 300;
  transition: var(--transition);
}
.contact-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-item:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.contact-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 300;
}
.contact-location svg { width: 16px; height: 16px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-content p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 300;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-accent); }

/* ============================================
   ANIMATIONS (scroll reveal)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: right var(--transition);
    border-left: 1px solid var(--color-border);
  }
  .nav-links.open { right: 0; }
  .reels-grid { grid-template-columns: 1fr; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --nav-height: 60px; }
  section { padding-block: 80px; }
  #reels, #about, #credits, #gallery, #press, #contact { padding: 80px 0; }
  .hero-credentials { flex-direction: column; gap: 6px; }
  .hero-sep { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .about-stats { gap: 20px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .gallery-tall { grid-row: span 1; }
  .gallery-wide { grid-column: span 1; }
  .press-grid { grid-template-columns: 1fr; }
  .credits-tabs { flex-wrap: wrap; }
  .credits-table { font-size: 0.8rem; }
  .credits-table th, .credits-table td { padding: 10px 8px; }
  .footer-content { flex-direction: column; gap: 12px; text-align: center; }
}
