/*
Theme Name: FilmySyncHub
Theme URI: https://filmysynchub.com
Author: FilmySyncHub,Devilkingpc 
Author URI: https://filmysynchub.com
Description: FilmySyncHub Movie Download WordPress Theme
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: filmysynchub
Tags: movies, entertainment, dark, download
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

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

body{
  background:#000;
  color:#fff;
  font-family:'Poppins',Arial,sans-serif;
}

a{color:#fff;text-decoration:none;}

/* ========== SECTION HEADER ========== */
.header2{
  background:rgb(30,30,30);
  box-shadow:rgba(0,0,0,0.3) 0px 3px 10px 0px;
  padding:10px 18px;
  margin:15px 0 12px 0;
  font-size:16px;
  font-weight:bold;
  text-transform:uppercase;
  letter-spacing:2px;
}

/* ========== CATEGORIES AUTO SIZE BUTTONS ========== */
.categories-container{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  padding:18px 15px;
}

.category-button{
  display:inline-block;
  background:#1f1f1f;
  color:#ddd;
  font-size:14px;
  font-family:'Poppins',sans-serif;
  padding:12px 22px;
  border:1px solid #333;
  border-radius:30px;
  text-transform:capitalize;
  white-space:nowrap;
  transition:0.25s ease;
}

.category-button:hover{
  background:#f1c40f;
  color:#000;
  border-color:#f1c40f;
  transform:translateY(-2px);
}

.category-button:active { transform: scale(0.95); }

/* ========== MOVIE THUMBS ========== */
.thumb-container{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:12px;
  padding:0 15px;
}

.thumb{
  width: calc(50% - 6px);
  transition:.3s;
}

@media (min-width:601px) and (max-width:1024px){
  .thumb{ width: calc(33.33% - 8px); }
}
@media (min-width:1025px){
  .thumb{ width: calc(25% - 9px); }
}

.thumb:hover{
  box-shadow:0 8px 20px rgba(0,0,0,.9);
  transform:translateY(-5px);
}

.thumb figure{
  border-radius:8px;
  border:2px solid rgb(50,50,50);
  overflow:hidden;
  position:relative;
}

.thumb img{
  width:100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display:block;
  transition:.3s;
}

.thumb:hover img{
  transform:scale(1.05) rotate(1deg);
}

.thumb figcaption{
  background:linear-gradient(to top,rgba(0,0,0,.97),rgba(0,0,0,.6),transparent);
  position:absolute;
  bottom:0;
  width:100%;
  min-height:70px;
  padding:10px 8px 8px;
  display:flex;
  align-items:flex-end;
}

.thumb figcaption p{
  font-size:12px;
  font-weight:600;
  line-height: 1.4;
  text-shadow:2px 2px 4px rgba(0,0,0,.9);
}

/* ===== Post text ===== */
.post-text{
  padding:10px 18px;
  line-height:1.7;
  color:#ccc;
  font-size:15px;
}

/* ========== FOOTER ========== */
.footer-wrapper{
  background:#0a0a0a;
  padding:25px 15px 20px;
  margin-top:30px;
  border-top:1px solid #222;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 5px;
  padding-bottom:15px;
}

.footer-links a{
  color:#ccc;
  font-size:13px;
  transition: color 0.2s;
}
.footer-links a:hover{color:#f1c40f;}
.separator{color:#444;}

.copyright{
  text-align:center;
  padding:15px 10px 10px;
  color:#666;
  font-size:13px;
  border-top:1px solid #1a1a1a;
}

.brand{color:#fff;font-weight:bold;}

/* breadcrumb */
.header2.small-breadcrumb{
  background:rgb(30,30,30);
  color:#fff;
  font-size:13px;
  letter-spacing:1px;
  padding:8px 14px;
}

.header2.small-breadcrumb a{
  color:#ccc;
  transition:0.2s;
}

.header2.small-breadcrumb a:hover{
  color:#f1c40f;
}

.header2.small-breadcrumb span{
  color:#fff;
}

/* ========== NAVBAR ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 18px;
  background: #111111;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav .logo {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 1px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav .nav-links {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100%;
  max-width: 270px;
  width: 100%;
  padding-top: 90px;
  padding-left: 25px;
  padding-right: 15px;
  row-gap: 28px;
  flex-direction: column;
  align-items: flex-start;
  background-color: #0d0d0d;
  box-shadow: 3px 0 20px rgba(0,0,0,0.8);
  transition: all 0.4s ease;
  z-index: 100;
  overflow-y: auto;
  display: flex;
  list-style: none;
}

.nav.openNav .nav-links {
  left: 0;
}

.nav .nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav .nav-links a:hover {
  color: #f1c40f;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99;
}
.nav-overlay.active {
  display: block;
}

.nav .navOpenBtn {
  color: #ccc;
  font-size: 24px;
  cursor: pointer;
  display: block;
}

.nav .navCloseBtn {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #ccc;
  font-size: 24px;
  cursor: pointer;
  display: block;
}

.nav .search-icon {
  color: #ccc;
  font-size: 22px;
  cursor: pointer;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.nav .search-icon:hover {
  color: #f1c40f;
}

.nav .search-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 520px;
  height: 42px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s linear;
  z-index: 9998;
}

.nav.openSearch .search-box {
  opacity: 1;
  pointer-events: auto;
}

.search-box .search-icon-inside {
  position: absolute;
  top: 50%;
  left: 13px;
  color: #f1c40f;
  transform: translateY(-50%);
  font-size: 18px;
}

.search-box input {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 6px;
  background-color: #222;
  color: #fff;
  padding: 0 15px 0 42px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.search-box input::placeholder {
  color: #888;
}

.dropdown-item {
  position: relative;
  list-style: none;
  width: 100%;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
  user-select: none;
  width: 100%;
}

.dropdown-toggle:hover {
  color: #f1c40f;
}

.drop-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 6px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.drop-arrow::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  transform: rotate(45deg);
  margin-top: -4px;
}

.dropdown-toggle.open .drop-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin-top: 15px;
  padding-left: 10px;
  list-style: none;
}

.dropdown-menu.open {
  display: flex;
}

.dropdown-menu li a {
  color: #aaa;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.dropdown-menu li a:hover {
  color: #f1c40f;
}

.navbar-spacer {
  height: 62px;
}

/* ========== 404 PAGE ========== */
.error-box{
  text-align:center;
  padding:60px 20px 70px;
}

.error-code{
  font-size:90px;
  font-weight:600;
  color:#f1c40f;
  margin-bottom:10px;
}

.error-text{
  font-size:20px;
  margin-bottom:15px;
}

.error-desc{
  color:#bbb;
  margin-bottom:30px;
  font-size:15px;
}

.home-btn{
  display:inline-block;
  background:#f1c40f;
  color:#000;
  padding:12px 22px;
  border-radius:6px;
  font-weight:600;
  transition:.25s;
}

.home-btn:hover{
  background:#ffd84d;
  transform:translateY(-2px);
}

/* ========== PREV / NEXT NAVIGATION BUTTONS ========== */
.fsh-nav-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  padding:22px 15px 10px;
  width:100%;
  text-align:center;
}

.fsh-nav-btn{
  display:inline-flex;
  justify-content:center;
}

.fsh-nav-btn a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  background:#1e1e1e;
  color:#fff;
  font-size:15px;
  font-family:'Poppins',sans-serif;
  font-weight:600;
  padding:11px 28px;
  border-radius:8px;
  border:1px solid #333;
  text-decoration:none;
  transition:0.2s ease;
  white-space:nowrap;
}

.fsh-nav-btn a:hover{
  background:#2a2a2a;
  border-color:#555;
  color:#fff;
}

.fsh-nav-arrow{
  font-size:18px;
  font-weight:700;
  line-height:1;
}

/* WordPress default alignment helpers */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.sticky { }
.gallery-caption { }
.bypostauthor { }