@import url('reset.css');
@import url('global.css');
@import url('components/_navigator.css');
@import url('components/_pills.css');
@import url('components/_link-button.css');
@import url('components/_gallery.css');

.s-wrapper {
  display: flex;
  height: 100vh;
  flex-flow: row nowrap; 
  background-color: rgb(0, 0, 0); 
}

.s-wrapper video{
  position: fixed;
  width: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.s-wrapper .s-left-column {
  width: 100px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  padding-right: 50px;
  left: 0;
  top: 0;
  z-index: 1;
}

#img-west {
  width: 450px;
  height: 180px;
}

.s-logo img{
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;  
  width: 500px;
  height: 120px;
  object-fit: fill;
}

.s-wrapper .s-main-content{
  height: 100%;
  width: 100%;
  padding-left: 130px;
  position: relative;
}

.s-wrapper .s-main-content__top {
  height: 80vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.s-wrapper .s-main-content__top .s-content-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: 40px;
}

.s-wrapper .s-main-content__top .s-content-right {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
}

.s-wrapper .s-main-content__bottom{
  height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.s-wrapper .s-main-content .s-logo img{
  margin-top: 50px;
  margin-left: 0;
  margin-bottom: 30px;
}

.s-wrapper .s-main-content__top .s-description{
  background-color: rgba(0,0,0,.7);
  max-width: 50%;
  padding: 20px;
  border-radius: 10px;
}

.s-wrapper .s-main-content__top .s-description .s-description__text p{
  color: white;
  line-height: 170%;
}

.s-wrapper .s-main-content__top .s-description .pills{
  margin-bottom: 20px;
}

.s-wrapper .s-main-content .s-links{
  padding: 20px;
  padding-left: 0;
}

.s-wrapper .s-main-content .s-links ul{
  display: flex;
  flex-direction: row;
}

/* ===== LAYOUT MOBILE PÁGINAS BATMAN ===== */
@media (max-width: 767px) {
  .s-wrapper {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
  
  /* Vídeo de fundo fixo - z-index ajustado */
  .s-wrapper video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 10;
  }
  
  /* Navigator horizontal no topo */
  .s-wrapper .s-left-column {
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    position: relative;
    background: rgba(0, 0, 0, 0.658);
    backdrop-filter: blur(0.9px);
    z-index: 20;
  }
  
  /* Conteúdo principal reorganizado */
  .s-wrapper .s-main-content {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
  }
  
  /* Seção superior - Gallery */
  .s-wrapper .s-main-content__top {
    height: auto;
    flex-direction: column;
    padding: 2rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1px);
    position: relative;
    z-index: 10;
    order: 1;
  }
  
  /* Gallery no topo */
  .s-wrapper .s-main-content__top .s-content-right {
    width: 100%;
    padding: 0;
    margin-bottom: 2rem;
    order: 1;
  }
  
  /* Conteúdo principal - Logo, descrição */
  .s-wrapper .s-main-content__top .s-content-left {
    width: 100%;
    padding: 0;
    order: 2;
  }
  
  /* Logo centralizado */
  .s-logo {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .s-logo img {
    width: 280px;
    height: auto;
    margin: 0;
    align-items: center;
    display: inline-block;
  }
  
  /* Descrição */
  .s-wrapper .s-main-content__top .s-description {
    max-width: 100%;
    margin-bottom: 2rem;
    background: rgba(0,0,0,0.8);
    border-radius: 12px;
    padding: 1.5rem;
  }
  
  /* Seção inferior - Trailer */
  .s-wrapper .s-main-content__bottom {
    height: auto;
    padding: 2rem 1rem;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    position: relative;
    z-index: 3;
    order: 3;
  }
  
  /* Links centralizados */
  .s-wrapper .s-main-content .s-links {
    padding: 0;
    text-align: center;
  }
  
  .s-wrapper .s-main-content .s-links ul {
    justify-content: center;
  }
}