/* CSS Variables */
:root {
  --primary-font: 'Montserrat', sans-serif;
  --script-font: 'Pinyon Script', cursive;
  --text-color: #ffffff;
  --dark-text: #333333;
  --overlay-color: rgba(0, 0, 0, 0.4);
  --transition-speed: 0.3s;
  --button-hover-bg: #ffffff;
  --button-hover-text: #000000;
  --card-bg: #f8f8f8;
  --accent-color: #000000;
  --section-padding: 80px 0;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: var(--primary-font);
  color: var(--dark-text);
  overflow-x: hidden;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navegación */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  z-index: 1000;
  transition: background-color 0.3s ease;
  background-color: rgba(0, 0, 0, 0.9);
}

.logo a {
  font-family: var(--script-font);
  font-size: 1.8rem;
  color: var(--text-color);
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-icon {
  position: relative;
  width: 30px;
  height: 2px;
  background-color: var(--text-color);
  display: block;
}

.menu-icon:before,
.menu-icon:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

.menu-icon:before {
  top: -8px;
}

.menu-icon:after {
  top: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--text-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.7;
}

/* Sección de Film */
.film-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 80px;
}

.film-project {
  margin-bottom: 100px;
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.film-project:last-child {
  margin-bottom: 0;
}

.film-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
}

.video-container {
  flex: 1;
  position: relative;
  padding-bottom: 40%; /* Más horizontal (era 56.25%) */
  height: 0;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-description {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-title {
  font-size: 2rem;
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
  color: var(--dark-text);
}

.project-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--accent-color);
}

.project-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #666;
}

.project-text strong {
  font-weight: 600;
  color: #444;
}

/* Footer */
.footer {
  background-color: #111;
  color: #666;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
  margin-top: 0;
}

/* Animación de Fade In */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Media Queries */
@media (max-width: 992px) {
  .film-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .video-container, 
  .project-description {
    width: 100%;
  }
  
  .video-container {
    padding-bottom: 50%; /* Ajuste para pantallas medianas */
  }
  
  .project-description {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    padding: 15px 20px;
  }
  
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: height 0.5s ease;
  }
  
  .nav-links.active {
    height: calc(100vh - 70px);
    padding: 30px 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .nav-links a {
    font-size: 1.0rem;
  }
  
  .film-container {
    padding-top: 100px;
  }
  
  .film-project {
    margin-bottom: 60px;
  }
  
  .video-container {
    padding-bottom: 56.25%; /* Volver a ratio 16:9 para móviles */
  }
  
  .project-title {
    font-size: 1.8rem;
  }
  
  .project-text p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .film-container {
    padding: 90px 15px 60px;
  }
  
  .film-project {
    margin-bottom: 50px;
  }
  
  .project-title {
    font-size: 1.5rem;
  }
  
  .project-text p {
    font-size: 0.95rem;
  }
} 