/*
Theme Name: Movie Template
Theme URI: https://justchill.com
Author: the WordPress team
Author URI: https://justchill.com
Description: Movie Template
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Movie Templat
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/


body {
    margin: 0;
    background: #171719;
    font-family: 'Work Sans', Arial, sans-serif;
    color: #fff;
  }
  
  .container {
    width: 95%;
    max-width: 1240px;
    margin: 0 auto;
  }
  
  .navbar {
    background: #18171b;
    padding: 0.5em 0;
    box-shadow: 0 2px 6px 0 #000a;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  
  .logo-badge {
    display: inline-block;
    padding: 0.3em 1em;
    background: #2e8fff;
    color: #fff;
    border-radius: 5px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.6em;
    letter-spacing: 2px;
    font-weight: 700;
  }
  
  .search-form input {
    background: #222025;
    border: none;
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 20px;
    outline: none;
    font-size: 1em;
    width: 100%;
  }
  
  .nav-links a {
    color: #fff;
    margin-left: 1em;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.2s;
    position: relative;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: #2e8fff;
  }
  
  .menu-toggle {
    display: none;
    background: transparent;
    border: none;
  }
  
  .menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background: #fff;
    border-radius: 2px;
  }
  
  span {
    text-align: center;
  }
  
  .hero {
    background: linear-gradient(90deg, #232027 60%, transparent), url('https://ext.same-assets.com/36216166/2075435078.jpeg') no-repeat center/cover;
    min-height: 470px;
    padding: 3rem 0 2rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-info {
    max-width: 500px;
    z-index: 1;
  }
  
  .hero-meta {
    margin-bottom: 0.7em;
  }
  
  .hero-tag {
    display: inline-block;
    padding: 0.23em 0.7em;
    font-size: 0.9em;
    margin-right: 0.35em;
    border-radius: 5px;
    background: #232027;
    color: #fff;
    font-weight: 500;
  }
  
  .hero-tag.hd { background: #2e8fff; }
  .hero-tag.rating { background: #333; color: #fdeae7; }
  .hero-tag.score { color: #51aeca; background: #23262e; font-weight: bold; }
  .hero-tag.genre { background: #312546; color: #57e3ff; }
  .hero-title {
    font-size: 2.2em;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    margin: 0 0 0.3em 0;
    line-height: 1.1;
    font-weight: 700;
  }
  
  .hero-desc {
    color: #bfb9ce;
    margin-bottom: 1.2em;
    font-size: 1.13em;
    margin-top: 0;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1em;
  }
  
  .btn {
    display: inline-block;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 1.12em;
    font-weight: bold;
    padding: 0.68em 2em;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: none;
    text-decoration: none;
    transition: background .16s, color .16s;
    border: 1.5px solid #2e8fff;
  }
  
  .btn.primary {
    background: #2e8fff;
    color: #fff;
    border: none;
  }
  
  .btn.primary:hover {
    background: #4fdce9;
  }
  
  .hero-art {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .hero-art img {
    max-width: 310px;
    border-radius: 1.2em;
    box-shadow: 0 6px 28px #000d;
  }
  
  .trending-wrap {
    margin-top: 2.5em;
    padding: 0.8em 0 0 0;
  }
  
  .trending-now {
    font-weight: bold;
    letter-spacing: 1px;
    margin-right: 1em;
    color: #d2c1b5;
  }
  
  .trending-list {
    display: flex;
    gap: 1.8em;
    margin-top: .7em;
  }
  
  .trending-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #232027;
    border-radius: 14px;
    padding: 0.6em;
    width: 126px;
    box-shadow: 0 2px 16px #0006;
    color: #fff;
    font-size: 1em;
    margin-bottom: 0.5rem;
    transition: transform 0.13s;
  }
  
  .trending-card:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 4px 24px #0008;
  }
  
  .trending-card img {
    width: 100px;
    border-radius: 9px;
    margin-bottom: 0.47em;
    box-shadow: 0 2px 8px #0008;
  }
  
  .trending-card span.genre {
    color: #51aeca;
    font-size: 0.86em;
  }
  
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2.6em 0 1em 0;
  }
  
  .section-head h2 {
    font-size: 1.4em;
    letter-spacing: 0.75px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
  }
  
  .section-icon {
    color: #2e8fff;
    font-size: 1.3em;
    margin-right: 0.5em;
  }
  
  .view-more {
    color: #b983be; 
    font-size: 1em;
    text-decoration: none;
    background: #232027;
    border-radius: 19px;
    padding: 0.24em 1.1em;
    letter-spacing: 0.2px;
  }
  
  .view-more:hover {
    color: #2e8fff;
  }
  
  .main-content {
    margin-top: 2.2em;
    margin-bottom: 2.8em;
  }
  
  
  .card-list {
    display: flex;
    gap: 1.7em;
    overflow-x: auto;
    padding-bottom: 0.2em;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 40px;
  }
  
  
  .movie-card {
    background: #232027;
    border-radius: 18px;
    box-shadow: 0 2px 18px #0007;
    width: 170px;
    flex: 0 0 170px;
    padding: 0.7em 0.7em;
    display: flex; 
    flex-direction: column;
    align-items: center;
    margin-bottom: 1em;
    transition: transform 0.16s;
  }
  
  .movie-card:hover {
    transform: translateY(-6px) scale(1.045);
    box-shadow: 0 4px 32px #2e8fff45, 0 2px 12px #000d;
    color: #2e8fff;
  }
  
  .movie-card img {
    width: 100%;
    border-radius: 9px;
    margin-bottom: 0.65em;
    box-shadow: 0 2px 10px #000a;
  }
  
  .movie-info h3 {
    margin: 0.35em 0 0.13em 0;
    font-size: 1em;
    font-weight: 700;
    color: #fff;
    text-align: center;
  }
  
  .movie-info .meta {
    color: #70b9fa;
    font-size: 0.91em;
    text-align: center;
  }
  
  .footer {
    margin-top: 2.7em;
    background: #232027 url('https://ext.same-assets.com/36216166/2164078115.jpeg') center/cover no-repeat;
    text-align: center;
    color: #fff;
    font-size: 0.97em;
    padding: 2.2em 0 1.25em 0;
    border-top: 2px solid #2e3c6a;
  }
  
  .footer-links {
    margin-bottom: 0.7em;
    color: #2e8fff;
    letter-spacing: 1px;
    font-weight: 700;
  }
  
  .footer-links a {
    color: #51aeca;
    margin: 0 0.4em;
    text-decoration: none;
  }
  
  .footer-links a:hover {
    color: #2e8fff;
  }
  
  .footer-text {
    color: #bbb;
    margin: 0.74em 0 0 0;
  }
  
  form.search-form {
    width: 100%;
    max-width: 600px;
  }
  
  
  @media (max-width: 900px) {
    .container {
      max-width: 98vw;
    }
  
    .hero-flex {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .hero-art img {
      max-width: 85vw;
      margin-top: 2em;
    }
  
    .card-list {
      gap: 0.9em;
    }
  
    .container {
      max-width: 98vw;
    }
  
  }
  
  @media (max-width: 600px) {
    .nav-flex {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 0.7em;
    }
    .hero-title {
      font-size: 1.3em;
    }
  
    .hero-info {
      max-width: 500px;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .hero-desc {
      color: #bfb9ce;
      margin-bottom: 1.2em;
      font-size: 1.13em;
      margin-top: 0;
      text-align: center;
    }
  
    form.search-form {
      width: 100%;
    }
  
    .search-form input {
      background: #222025;
      border: none;
      color: #fff;
      padding: 0.5em 1em;
      border-radius: 20px;
      outline: none;
      font-size: 1em;
      width: 100%;
      max-width: 440px;
    }
  
    .hero-flex {
      flex-direction: column;
      align-items: flex-start;
      align-items: center;
    }
  
  
  
    .footer {
      padding: 1.2em 0 0.75em 0;
    }
  }
  


span.movie-tag.tag-color {
    color: #2F8FFF;
}

a {
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    font-family: helvetica;
    font-weight: 500;
}

.movie-meta {
    text-align: center;
}

h3.movie-title {
    margin-bottom: 8px;
    text-align: center;
}


.search-results {
    position: absolute;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    width: 47%;
    z-index: 1000;
  }
  
  .result-item {
    padding: 8px 12px;
    color: black;
  }
  
  .result-item a {
    text-decoration: none;
    color: #333;
    display: block;
  }
  
  .result-item:hover {
    background: #f5f5f5;
  }
  

  iframe {
    position: relative;
    background-color: white;
    width: 95%;
    height: 346px;
    left: 25px;
}