/* ================================================
   Kevin Dean Williams - Actor Portfolio
   Clean, minimal, image-focused design
   ================================================ */

:root {
  --black: #1a1a1a;
  --dark: #333333;
  --gray: #666666;
  --light-gray: #999999;
  --border: #e5e5e5;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}

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

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

body {
  font-family: var(--sans);
  color: var(--black);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ================================================
   HEADER
   ================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.title-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--black);
}

.title-union {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--light-gray);
  margin-top: 0.15rem;
}

/* Navigation */
.nav {
  display: flex;
  gap: 2.5rem;
}

.nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gray);
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}

.nav a:hover {
  color: var(--black);
}

.nav a.active {
  color: var(--black);
  border-bottom: 1px solid var(--black);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gray);
  transition: all 0.2s ease;
}

.social-links a:hover {
  color: var(--black);
  border-color: var(--black);
}

.social-links svg {
  width: 16px;
  height: 16px;
}

.social-links i {
  font-size: 16px;
}

.social-links .fa-imdb {
  font-size: 20px;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================
   HERO (HOME PAGE)
   ================================================ */

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 2rem 2rem;
  min-height: 100vh;
}

.hero-image {
  position: relative;
  max-width: 600px;
  width: 100%;
}

.hero-image img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.photo-credit {
  position: absolute;
  bottom: -2rem;
  right: 0;
  font-size: 0.7rem;
  color: var(--light-gray);
  letter-spacing: 0.1em;
}

/* ================================================
   PAGE CONTENT
   ================================================ */

.page-content {
  flex: 1;
  padding: 120px 2rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.page-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
  text-align: center;
}

/* ================================================
   HEADSHOTS PAGE
   ================================================ */

.headshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.headshot-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}

.headshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* ================================================
   VIDEOS PAGE
   ================================================ */

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.video-card {
  background: var(--bg);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: var(--black);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 1rem 0;
}

.video-network {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--light-gray);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.video-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--black);
}

/* ================================================
   REPRESENTATION PAGE
   ================================================ */

.rep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.rep-card {
  text-align: center;
}

.rep-type {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--light-gray);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.rep-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.rep-company {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.rep-contact {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 2;
}

.rep-contact a {
  color: var(--black);
  transition: opacity 0.2s;
}

.rep-contact a:hover {
  opacity: 0.6;
}

/* ================================================
   LIGHTBOX
   ================================================ */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  padding: 1rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gray);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  color: var(--black);
  border-color: var(--black);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-social i {
  font-size: 16px;
}

.footer-social .fa-imdb {
  font-size: 20px;
}

.footer p {
  font-size: 0.75rem;
  color: var(--light-gray);
  letter-spacing: 0.1em;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1024px) {
  .headshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 1rem 1.5rem;
  }

  .title-name {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    font-size: 1rem;
    letter-spacing: 0.2em;
  }

  .social-links {
    display: none;
  }

  .hero {
    padding: 100px 1.5rem 2rem;
  }

  .hero-image {
    max-width: 100%;
  }

  .page-content {
    padding: 100px 1.5rem 3rem;
  }

  .page-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .headshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .rep-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .lightbox-nav {
    font-size: 2rem;
    padding: 0.5rem;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .title-name {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }

  .title-union {
    font-size: 0.6rem;
  }

  .headshots-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .page-title {
    font-size: 1.25rem;
  }
}
