/* CSS Variables */
:root {
  --background: #fafafa;
  --foreground: #1a1a1a;
  --muted: #737373;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transform: scale(1.1);
  filter: grayscale(100%);
  transition: transform 0.1s ease-out, filter 0.4s ease-out;
}

.hero:hover .hero-image {
  filter: grayscale(0%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1;
  color: white;
  margin-bottom: 2rem;
}

.about-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.about-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: white;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Section Headers */
.section-header {
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1;
}

/* Posters Section */
.posters-section {
  padding-top: 6rem;
  padding-bottom: 0;
  background: var(--background);
}

.posters-section .section-header {
  padding: 0 2rem;
  margin-bottom: 2rem;
}

.posters-carousel {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  opacity: 1;
}

.carousel-arrow-left {
  left: 1rem;
}

.carousel-arrow-right {
  right: 1rem;
}

.posters-scroll-wrapper {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4rem 0;
  flex: 1;
  scroll-behavior: smooth;
}

.posters-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.posters-track {
  display: flex;
  gap: 3rem;
  padding: 0 4rem;
  will-change: transform;
}

.poster-card {
  flex-shrink: 0;
  width: 450px;
  cursor: pointer;
  transform-origin: center center;
  opacity: 0.4;
  transform: scale(0.75);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.poster-card img {
  filter: grayscale(100%);
  transition: filter 0.4s ease-out;
}

.poster-card.active {
  opacity: 1;
  transform: scale(1.3);
  z-index: 10;
}

.poster-card:hover img {
  filter: grayscale(0%);
}

.poster-image-wrapper {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #e5e5e5;
}

.poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.poster-card:hover .poster-image {
  transform: scale(1.05);
}

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

.poster-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.poster-description {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Videos Section */
.videos-section {
  padding: 6rem 0;
  background: var(--foreground);
  color: var(--background);
  min-height: 100vh;
}

.videos-section .section-subtitle {
  color: rgba(255,255,255,0.5);
}

.videos-section .section-title {
  color: white;
}

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

@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #2a2a2a;
  cursor: pointer;
}

.video-card.large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

@media (max-width: 768px) {
  .video-card.large {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: grayscale(100%);
  transition: opacity 0.5s ease, transform 0.7s ease, filter 0.4s ease-out;
}

.video-card:hover .video-thumbnail {
  opacity: 1;
  transform: scale(1.05);
  filter: grayscale(0%);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  transition: background 0.5s ease;
}

.video-card:hover .video-overlay {
  background: transparent;
}

.video-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.video-play-btn {
  align-self: flex-end;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.video-play-btn svg {
  color: white;
  margin-left: 2px;
  transition: color 0.3s ease;
}

.video-card:hover .video-play-btn {
  background: white;
  border-color: white;
}

.video-card:hover .video-play-btn svg {
  color: black;
}

.video-info {
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.video-card:hover .video-info {
  transform: translateY(0);
}

.video-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: 0.5rem;
}

.video-description {
  color: rgba(255,255,255,0.7);
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.video-card:hover .video-description {
  opacity: 1;
}

/* Footer */
.footer {
  padding: 4rem 0;
  background: var(--foreground);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-text {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  text-transform: none;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer-cta {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: white;
  text-transform: uppercase;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

/* About Overlay */
.about-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.about-overlay.active {
  transform: translateX(0);
}

.about-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: white;
  border: none;
  color: black;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: opacity 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 4px;
}

.about-close:hover {
  opacity: 0.8;
}

.about-content {
  position: relative;
  max-width: 700px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 2.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-content::-webkit-scrollbar {
  width: 6px;
}

.about-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.about-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.about-content p {
  margin-bottom: 1.25rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.overlay-header {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.about-content p:first-of-type {
  font-size: 1.1rem;
  color: white;
  font-weight: 500;
}

.contact-content {
  text-align: center;
  padding-top: 4rem;
  overflow: visible;
}

.contact-content .about-close {
  right: -4rem;
}

.contact-content p:last-child {
  margin-bottom: 0;
}

.contact-content .contact-name {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-content .contact-company {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.contact-email {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s ease;
}

.contact-email:hover {
  border-color: white;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: white;
  border: none;
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.modal-close:hover {
  opacity: 0.8;
}

.modal-video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  background: black;
}

.modal-video-wrapper iframe {
  width: 100%;
  height: 100%;
}

.modal-info {
  margin-top: 1.5rem;
  color: white;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-description {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    padding: 2rem;
  }
  
  .poster-card {
    width: 330px;
  }
  
  .video-content {
    padding: 1rem;
  }
  
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-right {
    align-items: center;
  }
}
