/*
Theme Name: CineMan Fabiancraft
Theme URI: https://cineman.in
Author: Fabiancraft
Author URI: https://fabiancraft.com
Description: A modern, premium, high-impact bento grid portfolio theme for film and commercial production houses. Built for speed, responsiveness, and premium aesthetics.
Version: 1.1.1
Text Domain: cineman-fabiancraft
*/

/* ========== CINEMAN — BOLD PRODUCTION SITE ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Bebas+Neue&family=Playfair+Display:wght@700;800;900&display=swap');

:root {
	--cm-black: #0a0a0a;
	--cm-dark: #111111;
	--cm-card: #1a1a1a;
	--cm-border: rgba(255, 255, 255, 0.08);
	--cm-text: #ffffff;
	--cm-text-dim: rgba(255, 255, 255, 0.55);
	--cm-text-muted: rgba(255, 255, 255, 0.35);
	--cm-orange: #FEDA01;
	--cm-orange-dark: #F7AD1F;
	--cm-white: #f5f5f0;
	--cm-white-pure: #ffffff;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	background: var(--cm-black);
	color: var(--cm-text);
	line-height: 1.5;
	overflow-x: hidden;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes marquee {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.animate-on-scroll {
	opacity: 0;
	transform: translateY(50px);
	transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
	opacity: 1;
	transform: translateY(0);
}

.delay-1 {
	transition-delay: 0.1s;
}

.delay-2 {
	transition-delay: 0.2s;
}

.delay-3 {
	transition-delay: 0.3s;
}

.delay-4 {
	transition-delay: 0.4s;
}

.delay-5 {
	transition-delay: 0.5s;
}

.delay-6 {
	transition-delay: 0.6s;
}

/* ========== HEADER ========== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: transparent;
	animation: slideDown 0.6s ease-out;
	transition: background 0.35s ease, box-shadow 0.35s ease;
}

.header-scrolled {
	background: rgba(10, 10, 10, 0.94);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 18px 48px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.logo-img {
	height: 44px;
	width: auto;
	filter: brightness(0) invert(1);
	transition: transform 0.3s ease;
}

.logo-img:hover {
	transform: scale(1.05);
}

.footer-logo-img {
	height: 36px;
	width: auto;
	filter: brightness(0) invert(1);
	margin-bottom: 20px;
}

.nav-menu {
	display: flex;
	gap: 4px;
	list-style: none;
	align-items: center;
}

.nav-menu li a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: all 0.25s ease;
}

.nav-menu li a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.nav-menu li a.active {
	color: var(--cm-orange);
	background: rgba(245, 166, 35, 0.1);
}

.dropdown-arrow {
	width: 14px;
	height: 14px;
	transition: transform 0.3s ease;
}

.has-dropdown {
	position: relative;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 270px;
	background: rgba(18, 18, 18, 0.97);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	padding: 8px 0;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
	margin-top: 4px;
}

.has-dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.has-dropdown:hover .dropdown-arrow {
	transform: rotate(180deg);
}

.dropdown-menu li a {
	display: block;
	padding: 11px 22px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	border-radius: 0;
}

.dropdown-menu li a:hover {
	background: rgba(245, 166, 35, 0.08);
	color: var(--cm-orange);
	padding-left: 26px;
}

/* ========== HERO ========== */
.hero {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.hero-video-area {
	width: 100%;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: flex-end;
	position: relative;
	overflow: hidden;
}

.hero-video-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.hero-video-bg iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-height: 100vh;
	min-width: 177.78vh;
	transform: translate(-50%, -50%);
	border: 0;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(10, 10, 10, 1) 100%);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 0 48px 80px;
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
}

.hero-label-text {
	font-family: 'Bebas Neue', 'Inter', sans-serif;
	font-size: 52px;
	line-height: 1.1;
	letter-spacing: 2px;
	color: #fff;
	margin-bottom: 28px;
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-tags {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.hero-tag {
	padding: 8px 20px;
	border-radius: 20px;
	background: hsl(51deg 99% 50% / 10%);
	border: 1px solid rgba(245, 166, 35, 0.3);
	color: var(--e-global-color-primary);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.hero-tag:hover {
	background: var(--e-global-color-primary);
	color: #000;
	border-color: var(--e-global-color-primary);
	transform: translateY(-2px);
}

/* ========== WORK SHOWCASE — BENTO GRID ========== */
.work-section {
	background: var(--cm-black);
	padding: 100px 0 80px;
}

.work-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 48px;
}

.work-heading {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 64px;
	line-height: 1.05;
	letter-spacing: 3px;
	color: #fff;
	margin-bottom: 50px;
}

/* Bento Grid */
.bento-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
}

/* Large items span 2 columns */
.bento-item.bento-large {
	grid-column: span 2;
}

.bento-item {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	cursor: pointer;
}

.bento-item:hover .bento-thumb {
	transform: scale(1.05);
}

.bento-thumb {
	width: 100%;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #1c1c2e 0%, #111118 40%, #1a1a2a 100%);
	position: relative;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item.bento-large .bento-thumb {
	aspect-ratio: 16 / 10;
}

.bento-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px 22px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
	display: flex;
	flex-direction: column;
	gap: 3px;
	z-index: 2;
}

.bento-tag {
	font-size: 11px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.6);
	letter-spacing: 0.5px;
}

.bento-brand {
	font-size: 18px;
	font-weight: 800;
	color: #fff;
}

.bento-item.bento-large .bento-brand {
	font-size: 22px;
}

/* ========== MILESTONE ========== */
.milestone-section {
	background: var(--cm-white);
	padding: 100px 48px;
}

.milestone-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.milestone-heading {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 42px;
	text-align: center;
	color: #111;
	letter-spacing: 4px;
	margin-bottom: 60px;
}

.milestone-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.milestone-card {
	text-align: center;
	padding: 20px;
}

.milestone-number {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 80px;
	color: var(--cm-orange);
	line-height: 1;
	margin-bottom: 10px;
	letter-spacing: 2px;
}

.milestone-label {
	font-size: 14px;
	font-weight: 500;
	color: #555;
	letter-spacing: 0.5px;
}

/* ========== BRANDS / PARTNERS ========== */
.brands-section {
	background: var(--cm-white);
	padding: 80px 48px;
	border-top: 1px solid #e0e0e0;
}

.brands-section.partners-bg {
	background: var(--cm-white);
}

.brands-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.brands-label {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 28px;
	text-align: center;
	letter-spacing: 4px;
	color: #111;
	padding: 10px 30px;
	border: 2px solid var(--cm-orange);
	border-radius: 30px;
	display: inline-block;
	margin: 0 auto 50px;
	width: fit-content;
}

/* Center the label */
.brands-inner {
	text-align: center;
}

.brands-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
	text-align: center;
}

.brand-logo {
	aspect-ratio: 3 / 2;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 600;
	color: #aaa;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.brand-logo:hover {
	border-color: var(--cm-orange);
	color: var(--cm-orange);
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(245, 166, 35, 0.1);
}

/* ========== CTA BANNER ========== */
.cta-section {
	background: var(--cm-black);
	padding: 120px 48px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-section::before {
	content: '';
	position: absolute;
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(245, 166, 35, 0.06) 0%, transparent 60%);
	pointer-events: none;
}

.cta-inner {
	position: relative;
	z-index: 1;
}

.cta-heading {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 72px;
	line-height: 1.05;
	letter-spacing: 4px;
	color: #fff;
	margin-bottom: 40px;
}

.cta-btn {
	display: inline-block;
	padding: 18px 52px;
	background: var(--cm-orange);
	color: #000;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	border-radius: 50px;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all 0.4s ease;
	box-shadow: 0 8px 30px rgba(245, 166, 35, 0.3);
}

.cta-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 40px rgba(245, 166, 35, 0.45);
	background: var(--cm-orange-dark);
}

/* ========== FOOTER ========== */
.footer {
	background: #000;
	color: rgba(255, 255, 255, 0.5);
	padding: 80px 48px 40px;
	border-top: 1px solid var(--cm-border);
}

.footer-inner {
	max-width: 1400px;
	margin: 0 auto;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 60px;
}

.footer-brand p {
	font-size: 14px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.4);
}

.footer-col h4 {
	font-size: 12px;
	font-weight: 700;
	color: var(--cm-orange);
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 2.5px;
}

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

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

.footer-col ul li a {
	color: rgba(255, 255, 255, 0.4);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
}

.footer-col ul li a:hover {
	color: var(--cm-orange);
	padding-left: 4px;
}

.footer-bottom {
	border-top: 1px solid var(--cm-border);
	padding-top: 28px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.3);
}

.footer-socials {
	display: flex;
	gap: 12px;
}

.footer-social-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--cm-border);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	cursor: pointer;
}

.footer-social-icon:hover {
	background: var(--cm-orange);
	border-color: var(--cm-orange);
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(245, 166, 35, 0.25);
}

.footer-social-icon svg {
	width: 16px;
	height: 16px;
	fill: rgba(255, 255, 255, 0.5);
}

.footer-social-icon:hover svg {
	fill: #000;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
	.bento-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.bento-item.bento-large {
		grid-column: span 2;
	}

	.work-heading {
		font-size: 48px;
	}

	.hero-label-text {
		font-size: 40px;
	}

	.cta-heading {
		font-size: 52px;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.brands-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.header-inner {
		padding: 14px 24px;
	}
}

@media (max-width: 768px) {
	.header-inner {
		padding: 12px 20px;
	}

	.nav-menu {
		gap: 2px;
	}

	.nav-menu li a {
		padding: 8px 12px;
		font-size: 13px;
	}

	.hero-label-text {
		font-size: 30px;
	}

	.hero-content {
		padding: 0 20px 60px;
	}

	.work-inner {
		padding: 0 20px;
	}

	.work-heading {
		font-size: 36px;
	}

	.bento-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 4px;
	}

	.bento-item.bento-large {
		grid-column: span 2;
	}

	.milestone-section {
		padding: 60px 20px;
	}

	.milestone-heading {
		font-size: 32px;
	}

	.milestone-number {
		font-size: 56px;
	}

	.milestone-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
	}

	.brands-section {
		padding: 60px 20px;
	}

	.brands-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.cta-section {
		padding: 80px 20px;
	}

	.cta-heading {
		font-size: 38px;
	}

	.footer {
		padding: 60px 20px 30px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}

	.dropdown-menu {
		position: fixed;
		left: 20px;
		right: 20px;
		min-width: auto;
	}
}

@media (max-width: 480px) {
	.hero-label-text {
		font-size: 24px;
	}

	.hero-tags {
		gap: 6px;
	}

	.hero-tag {
		padding: 6px 14px;
		font-size: 10px;
	}

	.work-heading {
		font-size: 28px;
	}

	.bento-grid {
		grid-template-columns: 1fr 1fr;
	}

	.bento-brand {
		font-size: 14px;
	}

	.milestone-grid {
		grid-template-columns: 1fr;
	}

	.brands-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.cta-heading {
		font-size: 30px;
	}
}