/* styleindex.css — extrait minimal depuis styles.css (uniquement pour index.htm) */

html, body {
  overflow: visible;
  margin: 0px;
  padding: 0px;

}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-image:url(../pics/pagebook.jpg);
}
/*page pc*/
#global {
  margin: -275px -540px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1024px;
  height: 540px;
}

/*menu vignette cinema pc*/
a:link {
  color: #000000;
}

a:visited {
  color: #000000;
}

a:hover {
  color: #999999;
  text-decoration: none;
}

/*affichage vignette cinema pc*/
.menupc {
  width: 1024px;
  height: 540px;
  border-collapse: separate;
  border-spacing: 5px;   /* = cellspacing */
  border: 0;
}


#hamburger, #mobileMenu {
  display: none;
}







/*-----------------------------------------------*/
/*-----------------MODE MOBIL--------------------*/
/*-----------------------------------------------*/
@media screen and (max-width: 915px) {

  html, body {
    width: 100%;
    height: 100%;
  }

body {
  background-image: url(../pics/pagebook.jpg);
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}


  #global {
    display: none;
  }

#hamburger{
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 52px;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
}

/* icône */
#hamburger span,
#hamburger span:before,
#hamburger span:after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:28px;
  height:3px;
  background:white;
  transform:translate(-50%,-50%);
}
#hamburger span:before{ transform:translate(-50%,-50%) translateY(-8px); }
#hamburger span:after { transform:translate(-50%,-50%) translateY( 8px); }
#mobileHero{
  position: fixed;
  top: 52px;
  left: 0;
  width: 100%;
  height: calc(100dvh - 52px);
  background-image: url("../sommairemobil.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000; /* pour éviter zones blanches */
  background-color: transparent; /* ← IMPORTANT */
}


/* menu */
#mobileMenu{
  display:none;
  position:fixed;
  top:52px;
  left:0;
  width:100%;
  background:rgba(0,0,0,0.85);
  z-index:9998;
}

#mobileMenu a{
  display:block;
  padding:14px;
  color:white;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,0.2);
  text-align:center;
  font-size:18px;  
}

