/*
Theme Name: Galepro Child / Movie Clean
Description: Curățat pentru site de filme
*/

html {
	font-size: 10px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #0a0a0a;
	color: #f5f1e8;
	font-family: 'Poppins', sans-serif;
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
	transition: .25s ease;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

button,
input,
select,
textarea {
	font: inherit;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
	background: #141414;
	color: #fff;
	border: 1px solid rgba(212,168,79,.18);
	border-radius: 12px;
	outline: none;
	padding: 10px 14px;
}

input[type="search"]:focus,
input[type="text"]:focus,
textarea:focus,
select:focus {
	border-color: rgba(240,200,121,.55);
	box-shadow: 0 0 0 3px rgba(212,168,79,.10);
}

button,
input[type="submit"],
input[type="button"],
input[type="reset"],
a.button {
	border: none;
	cursor: pointer;
	border-radius: 999px;
	padding: 10px 18px;
	background: linear-gradient(135deg, #c99735, #f0c879);
	color: #171717;
	font-weight: 700;
	transition: .25s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
a.button:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(212,168,79,.16);
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: 10px;
	font-weight: 700;
	line-height: 1.15;
	color: #fff7e8;
}

p {
	margin: 0 0 15px;
}

#site-container,
#footer-container {
	background: transparent;
}

.container {
	width: min(1240px, calc(100% - 40px));
	margin: 0 auto;
	padding-left: 0;
	padding-right: 0;
}

.row,
.grid-container {
	margin: 0;
}

.clearfix::before,
.clearfix::after,
.container::before,
.container::after {
	content: "";
	display: table;
}

.clearfix::after,
.container::after {
	clear: both;
}

/* =========================
   HEADER / NAV CLEAN
========================= */

.gmr-headwrapper {
	margin: 0;
	padding: 16px 0;
	background: #0f0f0f;
	border-bottom: 1px solid rgba(212,168,79,.10);
}

.gmr-logo {
	float: left;
}

.gmr-logo img {
	max-height: 44px;
	width: auto;
}

.site-title {
	font-size: 26px;
	margin: 0;
	color: #fff7e8;
}

.site-description {
	display: none;
}

.gmr-mainmenu,
.gmr-secondmenu {
	margin: 0;
	padding: 0;
}

.gmr-mainmenu ul,
.gmr-secondmenu ul,
#primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

#primary-menu > li {
	display: inline-block;
	position: relative;
}

#primary-menu > li > a {
	display: block;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #f3eadb;
}

#primary-menu > li > a:hover {
	color: #f0c879;
}

#primary-menu .sub-menu,
#primary-menu .children {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 8px 0;
	background: #151515;
	border: 1px solid rgba(212,168,79,.14);
	border-radius: 14px;
	z-index: 9999;
}

#primary-menu li:hover > .sub-menu,
#primary-menu li:hover > .children {
	display: block;
}

#primary-menu .sub-menu li,
#primary-menu .children li {
	display: block;
}

#primary-menu .sub-menu a,
#primary-menu .children a {
	display: block;
	padding: 10px 14px;
	font-size: 13px;
	color: #eadfc8;
}

#primary-menu .sub-menu a:hover,
#primary-menu .children a:hover {
	background: rgba(212,168,79,.08);
	color: #f0c879;
}

#gmr-responsive-menu {
	display: none;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

@media (max-width: 992px) {
	.gmr-mainmenu,
	.gmr-secondmenu {
		display: none;
	}

	#gmr-responsive-menu {
		display: block;
		float: right;
		padding: 10px 0;
	}
}

/* =========================
   TOP SEARCH
========================= */

.gmr-top-search {
	float: right;
	max-width: 360px;
	width: 100%;
}

.gmr-search {
	padding: 0;
}

.gmr-search form {
	display: flex;
	gap: 10px;
	align-items: center;
}

.gmr-search input[type="text"],
.gmr-search input[type="search"] {
	width: 100%;
	height: 42px;
	background: #141414;
	color: #fff;
	border: 1px solid rgba(212,168,79,.18);
	border-radius: 999px;
	padding: 0 16px;
}

.gmr-search button {
	width: 42px;
	height: 42px;
	padding: 0;
	border-radius: 50%;
}

@media (max-width: 1200px) {
	.gmr-logo,
	.gmr-top-search {
		float: none;
		text-align: center;
		max-width: 100%;
		width: 100%;
	}

	.gmr-search form {
		justify-content: center;
	}
}

/* =========================
   FOOTER
========================= */

.widget-footer {
	padding: 0;
}

.site-footer {
	text-align: center;
	padding: 24px 0;
	color: #b8ab8f;
	background: transparent;
	border-top: 1px solid rgba(212,168,79,.08);
}

/* =========================
   HOME MOVIES
========================= */

.fp-home {
	background:
		radial-gradient(circle at top center, rgba(212,168,79,.08), transparent 35%),
		linear-gradient(to bottom, #0a0a0a, #070707);
	color: #f5f1e8;
}

/* SEARCH HERO */
.fp-search {
	padding: 60px 0 30px;
	text-align: center;
	background:
		linear-gradient(to bottom, rgba(0,0,0,.88), rgba(0,0,0,.52)),
		radial-gradient(circle at top, rgba(212,168,79,.10), transparent 45%);
}

.fp-search h1 {
	margin: 0 0 20px;
	font-size: clamp(30px, 4vw, 52px);
	color: #fff7e8;
	letter-spacing: .4px;
}

.fp-search form {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.fp-search input[type="search"] {
	width: min(460px, 88vw);
	height: 52px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid rgba(212,168,79,.28);
	background: #141414;
	color: #fff;
}

.fp-search button {
	height: 52px;
	padding: 0 22px;
}

/* SLIDER */
.fp-slider {
	position: relative;
	width: min(1240px, calc(100% - 40px));
	margin: 10px auto 40px;
	border-radius: 22px;
	overflow: hidden;
	background: #111;
	border: 1px solid rgba(212,168,79,.12);
	box-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.fp-slide {
	position: relative;
	min-height: 520px;
	display: none;
}

.fp-slide.active {
	display: block;
}

.fp-slide-bg {
	position: absolute;
	inset: 0;
}

.fp-slide-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(.52) saturate(1.04);
}

.fp-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to right, rgba(7,7,7,.96) 18%, rgba(7,7,7,.72) 42%, rgba(7,7,7,.18) 72%, rgba(7,7,7,.08) 100%),
		linear-gradient(to top, rgba(7,7,7,.82), rgba(7,7,7,.12) 45%);
	z-index: 1;
}

.fp-slide-content {
	position: relative;
	z-index: 2;
	min-height: 520px;
	display: flex;
	align-items: center;
	gap: 38px;
	padding: 48px;
}

.fp-slide-poster {
	width: 220px;
	flex: 0 0 220px;
}

.fp-slide-poster img {
	width: 100%;
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

.fp-slide-info {
	max-width: 640px;
}

.fp-slide-info h2 {
	margin: 0 0 14px;
	font-size: clamp(30px, 4vw, 54px);
	color: #fff7e8;
}

.fp-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.badge {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(18,18,18,.72);
	border: 1px solid rgba(212,168,79,.18);
	color: #ecd6a4;
	font-size: 13px;
	font-weight: 600;
}

.badge.rating {
	background: rgba(212,168,79,.12);
	color: #f0c879;
}

.fp-desc {
	max-width: 580px;
	color: #d2c6af;
	line-height: 1.75;
	margin: 0 0 24px;
	font-size: 15px;
}

.fp-watch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, #c99735, #f0c879);
	color: #171717;
	font-weight: 700;
}

.fp-watch:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(212,168,79,.20);
}

.fp-prev,
.fp-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(240,200,121,.22);
	border-radius: 50%;
	background: rgba(10,10,10,.55);
	color: #f0c879;
	padding: 0;
}

.fp-prev { left: 16px; }
.fp-next { right: 16px; }

.fp-slider-dots {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 8px;
}

.fp-dot {
	width: 10px;
	height: 10px;
	border: none;
	border-radius: 50%;
	background: rgba(255,255,255,.35);
	padding: 0;
}

.fp-dot.active {
	width: 28px;
	border-radius: 999px;
	background: linear-gradient(90deg, #c99735, #f0c879);
}

/* SECTION TITLES */
.fp-title-section,
.fp-section-title,
.fp-page-header h1 {
	position: relative;
	margin: 46px 0 22px;
	padding-left: 18px;
	font-size: 26px;
	font-weight: 700;
	color: #fff5dc;
}

.fp-title-section::before,
.fp-section-title::before,
.fp-page-header h1::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	bottom: 3px;
	width: 4px;
	border-radius: 999px;
	background: linear-gradient(to bottom, #c99735, #f0c879);
}

/* GRID / CARDS */
.fp-grid,
.fp-movie-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 22px;
}

.fp-card,
.fp-movie-card {
	display: block;
	color: #f5f1e8;
	transition: transform .25s ease;
}

.fp-card:hover,
.fp-movie-card:hover {
	transform: translateY(-4px);
}

.fp-thumb,
.fp-card-thumb {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background: #111;
	border: 1px solid rgba(212,168,79,.10);
	box-shadow: 0 14px 34px rgba(0,0,0,.30);
}

.fp-thumb img,
.fp-card-thumb img {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	display: block;
	transition: transform .45s ease, filter .35s ease;
}

.fp-card:hover .fp-thumb img,
.fp-movie-card:hover .fp-card-thumb img {
	transform: scale(1.06);
	filter: brightness(.82);
}

.fp-hover {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.24));
	opacity: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity .30s ease;
}

.fp-card:hover .fp-hover {
	opacity: 1;
}

.fp-play {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(212,168,79,.92);
	color: #111;
	font-size: 24px;
	font-weight: 700;
}

.fp-rating,
.fp-quality,
.fp-year,
.fp-views,
.fp-rating-badge {
	position: absolute;
	z-index: 2;
	font-size: 12px;
	font-weight: 700;
	border-radius: 999px;
	padding: 6px 10px;
	backdrop-filter: blur(4px);
}

.fp-rating,
.fp-rating-badge {
	left: 10px;
	top: 10px;
	background: rgba(212,168,79,.14);
	color: #f0c879;
	border: 1px solid rgba(240,200,121,.25);
}

.fp-quality {
	right: 10px;
	top: 10px;
	background: rgba(15,15,15,.84);
	color: #f4e1b8;
	border: 1px solid rgba(212,168,79,.20);
}

.fp-year {
	left: 10px;
	bottom: 10px;
	background: rgba(15,15,15,.84);
	color: #ddd0b7;
}

.fp-views {
	right: 10px;
	bottom: 10px;
	background: rgba(15,15,15,.84);
	color: #ecd6a4;
}

.fp-movie-title,
.fp-card-title {
	padding: 12px 4px 0;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 600;
	color: #f3eadb;
}


/* FIX SINGLE MOVIE HEIGHT / CLIPPING */
.single .fp-single-movie,
.single .fp-container,
.single .fp-hero,
.single .fp-movie-main,
.single .movie-right,
.single .movie-meta-simple,
.single #primary,
.single #main,
.single .site-main,
.single .content-area,
.single .site-content,
.single article,
.single .post,
.single .entry-content,
.single .gmr-maincontent,
.single .gmr-box-content,
.single .gmr-content {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
}