/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{

background:#0e0f1a;
font-family:system-ui;
color:white;

}



/* CONTAINER */

.container{

max-width:1400px;
margin:auto;
padding:0 20px;

}



/* HEADER */

.header{

background:#0b0c16;
border-bottom:1px solid rgba(255,255,255,0.05);

}

.nav-container{

display:flex;
align-items:center;
justify-content:space-between;
height:70px;

}

.logo img{

height:52px;

}

.logo-img{
display:block;
margin:0 auto;
width:150px;
max-width:80%;
height:auto;
}
.nav-links{

display:flex;
gap:30px;

}

.nav-links a{

text-decoration:none;
color:#ddd;
font-size:14px;

}

.nav-links a:hover{

color:#ff6a00;

}



/* DROPDOWN */

.dropdown{

position:relative;

}

.dropdown-menu{

display:none;
position:absolute;
background:#151726;
padding:10px;
top:30px;
border-radius:6px;

}

.dropdown-menu a{

display:block;
padding:6px 10px;

}

.dropdown:hover .dropdown-menu{

display:block;

}



/* HAMBURGER */

.hamburger{

display:none;

}

.hamburger img{

width:26px;

}



/* HERO */

.hero{

padding:60px 0;

background:linear-gradient(#1b0f0f,#0e0f1a);

text-align:center;

}

.hero h1{

font-size:22px;
margin-bottom:20px;

}



/* SEARCH */

.search-bar{

display:flex;
justify-content:center;

}

.search-bar input{

width:350px;
padding:12px;

border-radius:25px 0 0 25px;
border:none;

}

.search-bar button{

background:#ff6a00;
border:none;
padding:12px 16px;

border-radius:0 25px 25px 0;

}

.search-bar img{

width:18px;

}



/* MOVIE SECTIONS */

.movie-section{

margin-top:40px;

}

.section-header{

display:flex;
justify-content:space-between;
margin-bottom:15px;

}



/* MOVIE ROW */

.movies-row{

display:grid;

grid-template-columns:repeat(7,1fr);

gap:12px;

overflow-x:auto;

scrollbar-width:none;

}

.movies-row::-webkit-scrollbar{

display:none;

}



/* MOVIE CARD */

.movie-card{

background:#16182a;

border-radius:8px;

overflow:hidden;

transition:0.3s;

cursor:pointer;

}

.movie-card:hover{

transform:scale(1.06);

box-shadow:0 10px 25px rgba(0,0,0,0.5);

}

.movie-card img{

width:100%;
height:230px;
object-fit:cover;

}

.movie-title{

font-size:13px;

padding:8px;

color:#ddd;

}



/* MOBILE */

@media(max-width:768px){

.nav-links{

display:none;
position:absolute;
background:#0b0c16;
top:70px;
left:0;
width:100%;
flex-direction:column;
padding:20px;

}

.nav-links.show{

display:flex;

}

.hamburger{

display:block;

}

.movies-row{

grid-template-columns:repeat(3,1fr);

}

.search-bar input{

width:220px;

}

}

/* Search box */
.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 380px;
  margin: 0 auto;
}

.search-box input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 24px 0 0 24px;
  border: 1px solid rgba(255,255,255,0.15);
  outline: none;
  background: rgba(255,255,255,0.06);
  color: #fff;
  transition: border 0.2s, background 0.2s;
}

.search-box input:focus {
  border-color: #ff6b00;
  background: rgba(255,255,255,0.1);
}

.search-box button {
  padding: 10px 12px;
  border-radius: 0 24px 24px 0;
  background: #ff6b00;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.search-box button:hover {
  background: #ff8533;
}

.search-box button img {
  width: 18px;
  height: 18px;
}

/* Menu hover pour sous-menu */
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1b1d2a;
  padding: 10px;
  border-radius: 6px;
  min-width: 160px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: opacity 0.2s ease;
}

.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown-menu:hover {
  display: flex;
  flex-direction: column;
}

.nav-links .dropdown-menu a {
  display: block;
  padding: 8px 12px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.nav-links .dropdown-menu a:hover {
  background: rgba(255,107,0,0.1);
}

/* Movie cards hover */
.movies-grid .movie-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movies-grid .movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,107,0,0.35);
}

/* Movie title overlay */
.movie-title {
  transition: color 0.2s ease;
}

.movie-card:hover .movie-title {
  color: #ff6b00;
}

/* Footer hover links */
.footer a:hover {
  color: #ff6b00;
}

/* FOOTER */

.site-footer{
background:#0f1116;
padding:40px 20px;
margin-top:60px;
border-top:1px solid #1f222a;
}

.footer-container{
max-width:1100px;
margin:auto;
text-align:center;
}

/* FOOTER LOGO */

.footer-logo img{
width:140px;
margin-bottom:20px;
opacity:0.9;
}

/* DISCLAIMER */

.footer-disclaimer{
font-size:14px;
color:#9ca3af;
line-height:1.6;
max-width:700px;
margin:0 auto 20px auto;
}

/* COPYRIGHT */

.footer-copy{
font-size:13px;
color:#6b7280;
}

/* MOBILE */

@media (max-width:768px){

.footer-disclaimer{
font-size:13px;
padding:0 10px;
}

.footer-logo img{
width:120px;
}

}