/*-----css movie site -----*/

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  transition:all .2s;
}


body{
  font-family: 'Roboto', sans-serif;
  overflow:hidden;
  overflow-y:scroll;
}


header{
  background:url('https://dalladafilms.com/images/pexels-linda-gschwentner-154780054-11718584.jpg');
  background-size:cover;
  background-position:center;
  width:100%;
  height:550px;
  position:relative;
  padding-top:80px;
}


header:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.75);
  box-shadow:inset 0 0 80px #000;
}


header nav{
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 100px;
  position:fixed;
  top:0;
  left:0;
  z-index:99;
  width:100%;
  
}


header nav .fa{
  cursor:pointer;
  display:none;
}


header nav .fa:hover{
  color:#DB0000;
}

.nav{
  background:#000;
  color:#fff;
  transition:background .5s;
  
}

.navBlack{
  background:#000;
  color:#fff;
  transition:background .5s;
  
}

/* Updated Logo Image Class */
.dalladalogo {
    width: auto !important;
    height: 30px !important; /* Matches the text height */
    object-fit: contain;
    border-radius: 50%; /* Keep it clean */
}

/* Ensure the p.logo container aligns items horizontally */
header nav .logo a {
    display: flex !important;
    align-items: center;
    gap: 12px; 
    white-space: nowrap;
    text-decoration: none !important;
    color: white !important;
}

/* Maintain your existing font styles */
header nav .logo {
    font-weight: 700;
    font-size: 1.5em;
    display: flex;
    align-items: center;
}

header nav .logo{
  font-weight:700;
  font-size:1.5em;
}

header nav .logo span{
  color:#DB0000;
}

header nav ul .marker{
  background:#DB0000;
  width:40px;
  height:2px;
  position:absolute;
  bottom:-5px;
  left:0;
  border-radius:20px;
}


header nav ul{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  text-transform:uppercase;
  list-style:none;
  position:relative;
}


header nav ul li{
  cursor:pointer;
}


header nav ul li span{
  display:flex;
  gap:8px;
  align-items:center;
}

header nav ul li img{
  width:35px;
  height:35px;
  border-radius:50%;
  object-fit:cover;
}


header .popular-movie-slider{
  color:#fff;
  display:flex;
  justify-content:center;
  align-items:start;
  gap:35px;
  padding:10px 100px;
  position:relative;
}

header .popular-movie-slider .poster{
  width:300px;
  height:400px;
  object-fit:cover;
  border-radius:10px;
}


header .popular-movie-slider .popular-movie-slider-content{
  line-height:25px;
}

header .popular-movie-slider .popular-movie-slider-content .movie-name{
  font-size:1.8em;
}


header .popular-movie-slider .popular-movie-slider-content .category{
  display:flex;
  gap:30px;
  text-transform:capitalize;
  margin:10px 0;
  list-style: none !important;
}

header .popular-movie-slider .popular-movie-slider-content .desc{
  font-size:.90em;
}

header .popular-movie-slider .popular-movie-slider-content .movie-info{
  display:flex;
  gap:30px;
  margin:25px 0;
}

header .popular-movie-slider .popular-movie-slider-content .movie-info .fa-circle{
  color:#DB0000; 
  font-size:.85em;
}

header .popular-movie-slider .popular-movie-slider-content .movie-info .fa span{
  font-family: 'Roboto', sans-serif;
  color:#fff;
  font-size:15px;
}


header .popular-movie-slider .popular-movie-slider-content .movie-btns{
  display:flex;
  gap:10px;
}


header .popular-movie-slider .popular-movie-slider-content .movie-btns button{
  width:200px;
  border:none;
  outline:none;
  padding:15px 0;
  border-radius:100px;
  font-size:1em;
  background:black;
  color:#fff;
  cursor:pointer;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:2px;
}

header .popular-movie-slider .popular-movie-slider-content .movie-btns button .fa{
  font-size:.65em;
  color:#fff;
}


header .popular-movie-slider .popular-movie-slider-content .movie-btns .read-more{
  background:none;
}

header .popular-movie-slider .popular-movie-slider-content .movie-btns .read-more:hover{
  background:#000;
}

header .popular-movie-slider .popular-movie-slider-content .movie-btns button:hover{
  background:#DB0000;
}


section .movie-ticket-book{
  background:#222;
  color:#fff;
  display:grid;
  grid-template-columns: auto auto auto;
  justify-content:space-between;
  align-items:center;
  padding:30px 100px;
}


section .movie-ticket-book .choose-date ,
section .movie-ticket-book .choose-time {
  position:relative
}

section .movie-ticket-book .choose-date .heading,
section .movie-ticket-book .choose-time .heading{
  text-transform:uppercase;
  font-weight:400;
}

section .movie-ticket-book .choose-date .wrapper,
section .movie-ticket-book .choose-time .wrapper{
  width: 300px;
}
section .movie-ticket-book .choose-date .carousel,
section .movie-ticket-book .choose-time .carousel{
  margin-top:15px;
  display:flex;
  justify-content:center;
  align-item:center;
  padding:10px 0;
}

section .movie-ticket-book .choose-date .carousel .owl-nav,
section .movie-ticket-book .choose-time .carousel
.owl-nav{
  color:#DB0000;
  position:absolute;
  width:99%;
  top:50%;
  left:-15px;
  transform:translate(0,-50%);
  font-size:1.5em;
  display:flex;
  justify-content:space-between;
}


section .movie-ticket-book .choose-date .carousel .card p:nth-child(1),
section .movie-ticket-book .choose-time .carousel .card p:nth-child(1){
  color:#888;
  font-size:.75em;
}


section .movie-ticket-book .choose-date .carousel .card p:nth-child(2),
section .movie-ticket-book .choose-time .carousel .card p:nth-child(2){
  color:#fff;
  font-size:1.2em;
  text-transform:uppercase;
}


section .movie-ticket-book .choose-date .wrapper .marker,
section .movie-ticket-book .choose-time .wrapper .marker{
  width:60px;
  height:2px;
  background:#DB0000;
  position:absolute;
  left:45%;
  transform:translate(-50%,0);
}



section .movie-ticket-book button{
  border:none;
  outline:none;
  height:50px;
  background:#DB0000;
  color:#fff;
  border-radius:50px;
  padding:10px 50px;
  cursor:pointer;
}

section .movie-ticket-book button:hover{
  background:#000;
}




section .filter-search-box{
  background:#111;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 100px;
  padding-top:50px;
  position:relative;
}


section .filter-search-box .filters-box{
  display:flex;
  gap:50px;
  color:#fff;
}



section .filter-search-box .filters-box .filters{
  cursor:pointer;
}


section .filter-search-box .search-bar{
  position:absolute;
  bottom:0;
  left:100px;
  width:83%;
  height:2px;
  background:#fff;
  border-radius:50px;
  overflow:hidden;
}

section .filter-search-box .search-bar .bar{
  width:10%;
  height:inherit;
  background:#DB0000;
}


section .filter-search-box .search-filters{
  color:#fff;
}

section .filter-search-box .search-filters input{
  border:none;
  outline:none;
  width:200px;
  padding:5px 10px;
  background:none;
  color:#fff;
  font-family: 'Roboto', sans-serif;
  font-size:1em;

}




section .movie-card-section{
  background:#111;
  padding:20px 100px;
  width:100%;
  display: grid;
  grid-template-columns:auto auto auto auto;
  gap:18px;
  padding-top:50px;
}


section .movie-card-section .card{
  margin-bottom:20px;
  color:#fff;
  text-transform:uppercase;
}

section .movie-card-section .card img{
  width:100%;
  height:350px;
  object-fit:cover;
  border-radius:10px;
  box-shadow:0 0 30px #000;
}


section .movie-card-section .card .card-content .movie-name{
  font-weight:700;
  margin-top:10px;
  padding: 5% !important;
}

section .movie-card-section .card .card-content .movie-info{
  font-size:.95em;
  margin-top:10px;
    padding: 5% !important;
}


section .movie-card-section .card .card-content .movie-info span{
  color:#666;
}

section .movie-card-section .card .card-content .movie-info .d3{
  background:#DB0000;
  border-radius:50%;
  font-size:.50em;
  color:#fff;
  padding:3px;
  margin-left:3px;
}


section .show{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  width:100%;
  background:#111;
  padding:10px 100px;
  padding-bottom:40px;
}


section .show .show-bar{
  background:#fff;
  width:100%;
  height:3px;
  border-radius:50px;
  overflow:hidden;
}

section .show .show-bar .bar{
  width:10%;
  height:inherit;
  background:#DB0000;
  border-radius:50px;
}


section  .show button{
  border:none;
  outline:none;
  width:250px;
  padding:15px 0;
  font-size:1em;
  border-radius:50px;
  background:#DB0000;
  color:#fff;
  cursor:pointer;
}


section  .show button:hover{
  background:#000;
}



/*---footer------*/
/* Corporate Footer Transformation */
.corporate-footer {
    background: #080808; /* Slightly lighter than pure black for depth */
    color: #fff;
    padding: 80px 0 0 0; /* More top padding for breathing room */
    border-top: 1px solid #1a1a1a;
    font-family: 'Roboto', sans-serif;
}

/* 1. Adjust the Main Footer Layout */
.footer-container {
    max-width: 1400px; /* Increased to allow 6 columns to breathe */
    margin: 0 auto;
    display: grid;
    /* Change 1fr 2fr to a ratio that favors the links, or use 'auto' */
    grid-template-columns: 250px 1fr; 
    gap: 40px;
    padding: 0 40px 60px 40px;
}

/* Brand Section Styles */
.footer-logo-large {
    width: 120px !important; /* Larger logo for Brand Feel */
    height: auto !important;
    margin-bottom: 25px;
    filter: brightness(1.1);
    border-radius: 50% !important;
}
/* Styling specifically for FA 4.7 icons in the footer */
.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    color: #fff !important;
    border-radius: 50%;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-size: 18px; /* Standard size for FA 4.7 */
}

/* VIP Column Specifics */
.vip-col p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
    margin-bottom: 20px;
}

.footer-vip-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(45deg, #DB0000, #990000); /* Rich red gradient */
    color: white !important;
    text-decoration: none !important;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(219, 0, 0, 0.2);
}

.footer-vip-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(219, 0, 0, 0.4);
    background: linear-gradient(45deg, #ff0000, #DB0000);
}

.newsletter-trigger-area {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

.newsletter-trigger-area small {
    color: #555;
    font-style: italic;
}

.text-link-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 0.8rem;
    padding: 0;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
    transition: 0.2s;
}

.text-link-btn:hover {
    color: #fff;
}

.social-icon:hover {
    background: #DB0000; /* Dallada Red */
    color: #fff !important;
    transform: translateY(-3px); /* Lifts the icon slightly on hover */
    box-shadow: 0 5px 15px rgba(219, 0, 0, 0.3);
}

/* Specific fix for the YouTube icon alignment in 4.7 */
.fa-youtube-play {
    padding-left: 1px; /* Centers the 'play' triangle visually */
}
.brand-mission {
    color: #888;
    line-height: 1.6;
    font-size: 0.95em;
    margin-bottom: 25px;
    max-width: 300px;
}

/* Links Grid Styles */
.footer-nav-grid {
    display: grid;
    /* This now fills the '1fr' space above */
    grid-template-columns: repeat(6, 1fr); 
    gap: 20px;
}

.footer-nav-col h4 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    position: relative;
}

/* Red underline accent for that Movie Brand feel */
.footer-nav-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 20px;
    height: 2px;
    background: #DB0000;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
}

.footer-nav-col ul li {
    margin-bottom: 12px;
}

.footer-nav-col ul li a {
    color: #aaa !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.footer-nav-col ul li a:hover {
    color: #DB0000 !important;
    transform: translateX(5px);
    display: inline-block;
}

/* Newsletter Input Styles */
.newsletter-col p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}

.footer-newsletter {
    display: flex;
    gap: 5px;
}

.footer-newsletter input {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 8px 12px;
    color: #fff;
    width: 100%;
    border-radius: 4px;
}

.footer-newsletter button {
    background: #DB0000;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* Bottom Bar */
.footer-bottom-bar {
    background: #000;
    padding: 25px 0;
    border-top: 1px solid #1a1a1a;
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Handling */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand-area {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-brand-area {
    min-width: 200px;
}
    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-nav-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .footer-nav-grid {
        grid-template-columns: 1fr;
    }
    .bottom-container {
        flex-direction: column;
        gap: 10px;
    }
}
/*--footer--*/




@media (min-width: 1024px) and (max-width: 1080px) {
  
  section .movie-card-section{
  grid-template-columns:auto auto auto;
  gap:15px;
}
  
  
}





@media (min-width: 720px) and (max-width: 1023px) {
  
  header nav ul{
    display:none;
    position:absolute;
    right:0;
    top:40px;
    color:#fff;
    background:#000;
    width:100%;
    height:100vh;
    padding:20px 30px;
  }
  
  header nav .fa{
  cursor:pointer;
  display:block;
}
  
  
header .popular-movie-slider{
  padding:10px 50px;
}

header .popular-movie-slider .poster{
  width:250px;
  height:300px;
}
  


section .movie-ticket-book{
  grid-template-columns: auto;
  justify-content:center;
  align-items:center;
  padding:30px 50px;
}
  
  

  
  
section .movie-ticket-book .choose-date .wrapper,
section .movie-ticket-book .choose-time .wrapper{
  width: 30%;
  position:relative;
  left:50%;
  transform:translate(-50%,0);
}
section .movie-ticket-book .choose-date .carousel,
section .movie-ticket-book .choose-time .carousel{
  margin-top:15px;
  display:flex;
  justify-content:center;
  align-item:center;
  padding:10px 0;
}

section .movie-ticket-book .choose-date .carousel .owl-nav,
section .movie-ticket-book .choose-time .carousel
.owl-nav{
  color:#DB0000;
  position:absolute;
  width:110%;
  top:50%;
  left:-50%;
  transform:translate(0%,-50%);
  font-size:1.5em;
  display:flex;
  justify-content:space-between;
}



section .movie-ticket-book .choose-date .wrapper .marker,
section .movie-ticket-book .choose-time .wrapper .marker{
  width:60px;
  height:2px;
  background:#DB0000;
  position:absolute;
  left:45%;
  transform:translate(-50%,0);
}



section .movie-ticket-book button{
  width:20%;
  margin-top:20px;
  position:relative;
  left:50%;
  transform:translate(-50%,0);
}

  
 section .filter-search-box{
  padding:20px 50px;
}


section .filter-search-box .filters-box{
  gap:10px;
}
  
  
  
 
section .filter-search-box .search-bar{
  left:50px;
  width:85%;
}

 
section .movie-card-section{
  padding:20px 50px;
  grid-template-columns:auto auto auto;
}
  

section .movie-card-section .card img{
  width:100%;
  height:300px;
}


 
section .show{
  padding:10px 50px;
  padding-bottom:40px;
}
  
  
  
footer{
   padding: 40px 20px;
    display: grid; /* make it a grid container */
    grid-template-columns: 1fr; /* single column by default */
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: .85em;
}
  
  
}



@media (min-width: 0px) and (max-width: 719px) {
  
  
  header {
    height:auto;
    padding-bottom:30px;
  }
  header nav{
    padding:10px 20px;  
  }
  
  
  header nav ul{
    display:none;
    position:absolute;
    right:0;
    top:40px;
    color:#fff;
    background:#000;
    width:100%;
    height:100vh;
    padding:20px 30px;
  }
  
  header nav .fa{
  cursor:pointer;
  display:block;
}
  
  
header .popular-movie-slider{
  padding:10px 20px;
  display:block;
}

/* --- START ADDED/MODIFIED STYLES FOR BUTTON STACKING --- */
  header .popular-movie-slider .popular-movie-slider-content .movie-btns{
    display: flex; /* Keep the existing display:flex */
    flex-direction: column; /* Force children to stack vertically */
    gap: 15px; /* Add space between stacked items */
  }
  
  /* Make the paragraph element full width */
  header .popular-movie-slider .popular-movie-slider-content .movie-btns p {
    width: 100%;
    margin: 0;
  }
  
  /* Make the button element full width */
  header .popular-movie-slider .popular-movie-slider-content .movie-btns button {
    width: 100%;
  }
  /* --- END ADDED/MODIFIED STYLES FOR BUTTON STACKING --- */

header .popular-movie-slider .poster{
  width:100%;
  height:300px;
  margin-bottom:20px;
}
  
/* --- START: NEW MOBILE DROPDOWN STYLES --- */
    
    /* Target the button group containing the dropdown */
    .movie-btns .btn-group {
        width: 100%; /* Make the button group full width to utilize the space */
        margin-left: 0 !important; /* Override ml-2 Bootstrap class */
    }

    /* Target the dropdown menu itself */
    .movie-btns .dropdown-menu {
        width: 100%; /* Force the dropdown to full width */
        min-width: 100%; /* Ensure it always takes the full width */
        
        /* Override default Bootstrap positioning for clean stack */
        transform: translate3d(0px, 45px, 0px) !important; /* Reset X position to 0 */
        left: 0 !important;
        right: auto !important; /* Ignore dropdown-menu-right alignment */
    }
    
    /* Ensure the individual link items are readable */
    .movie-btns .dropdown-item {
        white-space: normal; /* Allow article titles to wrap onto a new line */
    }
    /* --- END: NEW MOBILE DROPDOWN STYLES --- */

section .movie-ticket-book{
  grid-template-columns: auto;
  justify-content:center;
  align-items:center;
  padding:30px 20px;
}
  
 section .filter-search-box{
  padding:20px 20px;
}


section .filter-search-box .filters-box{
  gap:10px;
}
  
  
  
 
section .filter-search-box .search-bar{
  left:20px;
  width:90%;
}

 
section .movie-card-section{
  padding:20px 20px;
  grid-template-columns:auto auto;
}
  

section .movie-card-section .card img{
  width:100%;
  height:300px;
}


 
section .show{
  padding:10px 20px;
  padding-bottom:40px;
}
  
  
  
footer{
  /*padding:40px 20px;*/
  grid-template-columns:auto;
  justify-content:center;
  align-items:center;
  gap:30px;
  font-size:.85em;
}
  
  
 section .filter-search-box{
  gap:20px;
  overflow-x:scroll;
}
  
  
 section .filter-search-box::-webkit-scrollbar {
  display: none;
}
  
  
section .filter-search-box .search-filters input{
  width:100% !important;
  padding:5px 10px;
}

  
  section .movie-ticket-book{
    padding:30px 0px;
  }
  
section .movie-ticket-book button{
 margin-top:10px;
}
  
}

#soundtrackButton:hover{
text-decoration: underline !important;
color:white !important
}

.card-content{
background-color: #000;
}
.card{
border: 2px solid #000 !important;
background: #222;
}
.dalladalogo{
width : 65px !important;
height: auto !important;
}
.carouselAbout{
background: black !important;
}
.carousel-caption {
    top: auto;
    bottom: 50%;
}
.carouselBtn{
background: transparent !important;
border: 1px solid white !important;
}
.carouselBtn:hover{
background: black;
border: none !important;
}
.featurette {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cardBlack{
background: black !important;
}
.cardBlack {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  position: relative;
}

.cardBlack:hover {
  cursor: pointer;
  transform: scale(1.05); /* Slight zoom */
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
  z-index: 9999; /* Bring to front */
}
.contactWrap{
background: black !important;
color: whitesmoke;
}
.contactWrap ul li{
list-style: none !important;
}
/* Rotate */
.hvr-rotate {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-rotate:hover, .hvr-rotate:focus, .hvr-rotate:active {
  -webkit-transform: rotate(4deg);
  transform: rotate(4deg);
}
.featurette-image{
box-shadow: 0px 10px 15px -3px grey;
}
.featurette-image:hover{
cursor:pointer;
filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.read-article-btn:hover{
background: black !important;
border: none !important;

}

.article-news-dropdown:hover{
background: #555 !important;
}


/*new styles*/
/* --- CINEMATIC OVERRIDE (SAFE) --- */

/* 1. Make the header feel like a theater */
header {
    height: 650px !important;
    display: flex;
    align-items: center;
}

header:before {
    /* Enhanced vignette: dark on sides, clear in center */
    background: linear-gradient(to right, #000 5%, transparent 40%, transparent 60%, #000 95%),
                linear-gradient(to top, #000, transparent 50%) !important;
}

/* 2. Elevate the Featured Movie Title */
#slider-movie-name.movie-name {
    font-size: 4rem !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
    margin-top: 10px;
}

/* 3. Modernize the existing .filters without changing the ID */
.filters-box .filters {
    background: transparent !important; /* Removes the grey box */
    border-radius: 0 !important;
    font-size: 11px !important;
    letter-spacing: 4px !important;
    text-transform: uppercase;
    font-weight: 700;
    color: #666 !important;
    padding: 10px 0 !important;
    margin-right: 30px;
    border-bottom: 2px solid transparent;
}

.filters-box .filters:hover {
    color: #fff !important;
    border-bottom: 2px solid #DB0000;
}

/* 4. The Movie Grid: Keep the 'card' class but make it 'Studio' grade */
#movie-card-section .card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

#movie-card-section .card img {
    border-radius: 0px !important; /* Sharp corners = High-end film look */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#movie-card-section .card:hover img {
    transform: scale(1.03);
    box-shadow: 0 15px 50px rgba(0,0,0,0.8);
}

/* 5. Clean up the search bar while keeping the ID */
.search-filters {
    border-bottom: 1px solid #333 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

#search-input {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px !important;
}


/*movie poster overrides*/
/* --- PREMIUM CARD HARMONIZATION --- */

#movie-card-section {
    display: grid;
    /* Forces exactly 4 columns on desktop, scaling down on mobile */
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; 
    gap: 40px 25px !important; /* Vertical gap 40px, Horizontal gap 25px */
    background: #000 !important;
}

#movie-card-section .card {
    background: transparent !important;
    border: none !important;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures all containers are equal height */
}

/* THE FIX: Force the Image Container to a specific ratio */
#movie-card-section .card img {
    width: 100% !important;
    height: 400px !important; /* Set a fixed height that works for posters */
    object-fit: cover !important; /* This is the magic: it crops the image instead of stretching it */
    object-position: center top !important; /* Keeps the actors' faces in frame if cropped */
    border-radius: 2px !important;
    transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* --- THE HOVER ELEVATION --- */
#movie-card-section .card:hover img {
    transform: translateY(-10px); /* Lifts the poster up */
    box-shadow: 0 20px 40px rgba(219, 0, 0, 0.3); /* Adds a subtle red glow */
    filter: brightness(1.1);
}

/* --- TYPOGRAPHY HARMONY --- */
#movie-card-section .card .card-content .movie-name {
    font-size: 0.85rem !important;
    letter-spacing: 2px !important;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 15px !important;
    padding: 0 !important;
    color: #fff;
    white-space: nowrap; /* Keeps names on one line */
    overflow: hidden;
    text-overflow: ellipsis; /* Adds "..." if the title is too long */
}

#movie-card-section .card .card-content .movie-info {
    font-size: 0.7rem !important;
    letter-spacing: 1px !important;
    color: #666 !important;
    padding: 5px 0 0 0 !important;
}

header {
    background-attachment: fixed !important; /* The secret for instant depth */
    overflow: hidden;
}

header .popular-movie-slider {
    animation: fadeInSlide 1.2s ease-out;
}

@keyframes fadeInSlide {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/*movile responsiveness*/
@media (max-width: 719px) {
    /* 1. Scale the massive title so it doesn't push the internal layout wide */
    #slider-movie-name.movie-name {
        font-size: 2.2rem !important;
        white-space: normal !important;
        line-height: 1.1;
    }

    /* 2. Fix internal flex-gaps that push items off-screen */
    header .popular-movie-slider .popular-movie-slider-content .movie-info,
    header .popular-movie-slider .popular-movie-slider-content .category {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    /* 3. Fix the hardcoded 100px search bar alignment without shrinking the section */
    section .filter-search-box .search-bar {
        left: 20px !important;
        width: calc(100% - 40px) !important;
    }

    /* 4. Fix the movie button group from stacking weirdly inside the slider */
    header .popular-movie-slider .popular-movie-slider-content .movie-btns {
        flex-direction: column !important;
        width: 100% !important;
    }

    header .popular-movie-slider .popular-movie-slider-content .movie-btns button {
        width: 100% !important;
    }
}