*{
margin:0;
padding:0;
box-sizing:border-box;
scrollbar-width:none;
}

html,body{
height:100%;
font-family:Gilroy;
background-color:#1e1e2a;
overflow-x:hidden;
}

:root{
--main-color:#ffb43a;
--hover-color:hsl(37,94%,57%);
--body-color:#1e1e2a;
--container-color:#2d2e37;
--text-color:#fcfeff;
}
a{
text-decoration:none;
color:inherit;
}

/* MAIN */
.main{
min-height:100vh;
width:100%;
display:flex;
flex-direction:column;
}

/* NAVBAR */
.navhor{
padding:2vh;
height:13vh;
width:100%;
position:fixed;
top:0;
left:0;
display:flex;
justify-content:space-between;
align-items:center;
background:var(--body-color);
z-index:1000;
}

/* SIDEBAR */
.navvar{
position:fixed;
left:0;
top:0;
width:11vh;
height:100vh;
background:var(--body-color);
display:flex;
justify-content:center;
align-items:center;
}

.parent-icons{
list-style:none;
}

/* LOGO */
.logo{
/* color:var(--text-color); */
color: #ffa500;
font-size:3rem;
font-weight:bold;
padding-left:7rem;
}

/* SEARCH */
.navleft{
display:flex;
gap:2rem;
}

.navleft .searchbox input{
border-radius:20px;
width:40vh;
height:5vh;
border:1px solid white;
background:transparent;
color:white;
padding-left:1rem;
}

/* USER ICON */
.user img{
height:5vh;
border-radius:50%;
}

/* SIDEBAR LINKS */
.nav-link{
display:flex;
flex-direction:column;
align-items:center;
margin-bottom:3rem;
color:var(--text-color);
}

.nav-link i{
font-size:4vh;
}

.nav-link:hover i{
color:red;
transform:scale(1.2);
}

/* HERO */
.hero{
width:calc(100% - 11vh);
height:70vh;
position:relative;
margin-left:11vh;
margin-top:13vh;
overflow:hidden;
}

.hero img{
width:100%;
height:100%;
object-fit:cover;
}

.herobox{
position:absolute;
inset:0;
background:black;
opacity:.4;
}

.herotext{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%, -50%);
text-align:center;
color:white;
max-width:900px;
padding:20px;
}

.herotext h1{
font-size:48px;
margin-bottom:15px;
}

.herotext h2{
font-size:24px;
color:var(--main-color);
margin-bottom:10px;
}

.herotext p{
font-size:16px;
margin-bottom:25px;
opacity:0.9;
}

.book{
font-size:20px;
color:var(--main-color);
cursor:pointer;
}

/* MOVIE SECTION */
.movieContainer{
margin-bottom:40px;
}

.movie-title{
color:white;
font-size:28px;
margin:20px 0;
}

.page2{
width:calc(100% - 11vh);
margin-left:11vh;
margin-top:40px;
padding:40px;
}

.page2 .title1{
font-size:6vh;
color:white;
text-align:center;
}

.movie-list-wrapper{
display:flex;
gap:40px;
overflow-x:auto;
padding:20px;
align-items:flex-start;
}

/* MOVIE CARD */
.movie-list-item{
min-width:260px;
max-width:260px;
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
color:white;
height:520px;
}

/* POSTER */
.movie-img-box{
width:220px;
height:320px;
border-radius:14px;
overflow:hidden;
}

.movie-list-img{
width:100%;
height:100%;
object-fit:cover;
}

.movie-list-img:hover{
transform:scale(1.05);
transition:.3s;
}

/* DESCRIPTION */
.movie-desc{
color:#ffb43a;
font-size:14px;
margin:10px 0;
height:110px;
overflow:hidden;
}

.movie-list-item-title{
color:white;
font-size:18px;
margin-top:10px;
}

/* BUTTON CONTAINER */
.movie-buttons{
display:flex;
justify-content:center;
align-items:center;
gap:10px;
margin-top:auto;
width:100%;
}

/* BUTTON STYLE */
.movie-list-item-button,
.trailer-link{
display:flex;
align-items:center;
justify-content:center;

width:110px;
height:38px;

border-radius:6px;
font-weight:bold;
font-size:14px;
cursor:pointer;
}

/* BOOK BUTTON */
.movie-list-item-button{
background:#ffb43a;
border:none;
color:white;
}

.movie-list-item-button:hover{
background:#ffa500;
}

/* TRAILER BUTTON */
.trailer-link{
background:#444;
color:white;
text-decoration:none;
}

.trailer-link:hover{
background:#666;
}

/* BOOKING PAGE */
.container2{
width:calc(100% - 11vh);
margin-left:11vh;
margin-top:40px;
padding:20px;
}

/* SEATS */
.seat-container{
display:grid;
grid-template-columns:repeat(10,50px);
gap:12px;
justify-content:center;
margin-top:20px;
}

.seat{
width:36px;
height:36px;
background:#444;
color:white;
display:flex;
align-items:center;
justify-content:center;
border-radius:6px;
cursor:pointer;
}

.seat:hover{
background:var(--main-color);
}

.seat.selected{
background:green;
}

.seat.booked{
background:red;
pointer-events:none;
}

/* SCREEN */
.screen{
width:60%;
height:25px;
background:linear-gradient(to right,#999,#fff,#999);
margin:30px auto;
border-radius:5px;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
color:black;
}

/* BOOKING */
.booking-layout{
display:flex;
gap:40px;
margin-top:40px;
}

.movie-side{
width:250px;
background:#2d2e37;
padding:20px;
border-radius:10px;
color:white;
}

.movie-item{
display:flex;
align-items:center;
gap:10px;
margin-bottom:15px;
cursor:pointer;
padding:6px;
border-radius:6px;
transition:0.2s;
}

.movie-item:hover{
background:#444;
}

.movie-item.active{
background:#ffb43a;
color:black;
}

.movie-item img{
width:50px;
height:70px;
object-fit:cover;
border-radius:5px;
}

.seat-side{
flex:1;
background:#2d2e37;
padding:20px;
border-radius:10px;
display:flex;
flex-direction:column;
align-items:center;
}

.booking-info{
color:white;
text-align:center;
margin-top:20px;
}

#confirmBtn{
margin-top:10px;
padding:10px 20px;
background:#ffb43a;
border:none;
border-radius:6px;
color:white;
cursor:pointer;
font-weight:bold;
}