@charset "utf-8";
/* CSS Document */

html {
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: grey #0e0e0e;
}

body {
	background-color: #0e0e0e;
	font-family: "Roboto Mono", monospace;
	color: #ffffff;
	font-weight: 300;
}

h1,h2,h3,h4,h5,h6 {
	font-family: "Instrument Serif", serif;
}

h1 {
	font-size: 50px;
}

/* navigation */

.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10;
	background: transparent;
	transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(6px);
}

.nav-link {
	font-weight: 500;
	color: #ffffff;
}

.navbar a:hover {
	color: #FEFEC8 !important;
}

.navbar-brand {
	transition: transform 0.2s ease;
}

.navbar-brand:hover {
	transform: scale(1.1);
}

.search-btn {
	border: none;
	background: none;
	padding: 0.3rem;
	color: #ffffff;
	font-size: 1.3rem;
	transition: color 0.2s ease;
}

.search-btn:hover {
	color: #FEFEC8;
}

.search-btn:focus {
	outline: none;
	box-shadow: none;
}

.search-input {
	width: 0;
	opacity: 0;
	padding: 0;
	margin-right: 0;
	transition: all 0.2s ease;
	border-radius: 5px;
}

.search-form.active .search-input {
	width: 250px;
	opacity: 1;
	padding: 0.3rem 0.7rem;
	margin-right: 0.5rem;
}

.btn-warning {
	font-size: 25px;
	background-color: #FEFEC8;
}

/* homepage */

.carousel-caption {
	text-align: left !important;
}

.carousel-text {
	font-size: 14px;
	color: #ffffff !important;
	max-width: 450px;
}

.slider {
	position: relative;
	display: flex;
	align-items: center;
}

.carousel-buttons {
	display: flex;
	align-items: center;
	gap: 12px;
}

.btn-view {
	background-color: #fefec8;
	color: #000;
	font-weight: 600;
	padding: 6px 18px;
	border-radius: 10px;
	text-decoration: none;
	font-size: 1.7rem;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-view:hover {
	background-color: #FF3D00;
	color: #ffffff;
}

.btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	border: none;
	background: transparent;
	color: #fefec8;
	transition: color 0.2s ease;
	padding: 0;
}

.btn-icon i {
	font-size: 1.7rem;
}

.btn-icon:hover, .btn-icon.heart.active i {
	color: #FF3D00;
}

.screencap {
	width: 320px;
	aspect-ratio: 16/9;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	transition: transform 0.25s ease;
	border: none;
	color: white;
}

.screencap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
		
}
.screencap:hover {
	transform: scale(1.05);
}

.screencap-overlay {
	background: linear-gradient(to top, rgba(0,0,0,0.8),rgba(0,0,0,0.2));
	opacity: 0;
	transition: opacity 0.25s ease;
}

.screencap:hover .screencap-overlay, .screencap:active .screencap-overlay {
	opacity: 1;
}

.scroll-row {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 10px 50px;
	scroll-behavior: smooth; 
	scrollbar-width: none !important;
}

.scroll-row::-webkit-scrollbar {
	height: 0 !important;      
}

.scroll-btn {
	background: transparent;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	color: white;
	font-size: 28px;
	width: 48px;
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
}

.scroll-btn.left {
 	left: 0;
}

.scroll-btn.right {
	right: 0;
}

.gradient-line {
	display: flex;
	align-items: center;
	gap: 2rem;
	color: #ffffff;
	width: 100%;
}


.gradient-line:after {
	content: "";
	flex-grow: 1;
	max-width: 450px;
	height: 1px;
	background: linear-gradient(to right, #FEFEC8, transparent);
}

/* list */

#movieIndexLabel {
	font-size: 4rem;
}

.list-page {
	margin-top: 6rem !important;
}

.index-text {
	margin-bottom: 0;
	font-family: "Roboto Mono", monospace;
}

.movies {
	font-family: "Instrument Serif", serif;
	color: #ffffff;
}

.movies:hover, .movies:focus {
	color: #FF3D00;
}

.poster {
	cursor: pointer;
	overflow: hidden;
}

.poster-text {
	font-weight: 300;
	color: #ffffff;
	transition: color 0.2s ease;
}

.poster:hover .poster-text {
	color: #FF3D00 !important;
}

.poster img {
	width: 100%;
    height: 350px;
    object-fit: contain;
	transition: transform 0.2s ease;
}

.poster img:hover {
	transform: translateY(5px);
}

.pagination {
	font-weight: 500;
}

.page-link {
	color: #ffffff;
	background-color: #0e0e0e;
	border: 0;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.page-link:hover {
	color: #000;
	background-color: #FEFEC8;
	border: 0;
}

.page-item.active .page-link {
	background-color: #FF3D00;
}

.page-link:focus {
	box-shadow: none;
	outline: none;
	background-color: #FEFEC8;
	color: #000;
}

/* content */

.hero {
	position: relative;
	overflow: hidden;
	margin-top: 5rem;
}

.carousel-control-next:hover,
.carousel-control-prev:hover {
	color: #ffffff;
}

.hero-counter {
	position: absolute;
	font-size: 0.8rem;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
}

.hero-actions {
	display: flex;
	position: absolute;
	align-items: center;
	gap: 16px;
	z-index: 2;
	bottom: 15px;
	right: 25px;
}

.hero-actions i {
	cursor: pointer;
	font-size: 1.5rem;
	color: #FEFEC8;
	transition: color 0.2s ease;
}

.hero-actions i:hover {
	color: #FF3D00;
}

.palette {
	display: flex;
	gap: 5px;
	margin-top: 1rem;
}

.palette span {
	width: 55px;
	height: 55px;
	border-radius: 4px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.palette span:hover {
	transform: scale(1.06);
	border-color: #ff8c00;
}

.mini-screencap {
	display: flex;
	gap: 12px;
}

.mini-screencap img {
	height: 100px;
	border-radius: 4px;
	transition: transform 0.2s ease;
}

.mini-screencap img:hover {
	transform: scale(1.05);
}

.tag {
	display: inline-block;
	border: 1px solid #FF3D00;
	border-radius: 5px;
	padding: 2px 8px;
	color: #FF3D00;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.tag:hover {
	background-color: rgba(255, 140, 0, 0.15);
}

.disclaimer {
	padding-top: 45px;
	font-size: 0.7rem;
}

/* color lab */

#colorlabLabel {
	font-size: 4rem;
	margin-bottom: 0;
}

.color-lab-page {
	margin-top: 6rem;
}

.color-grid {
	margin-bottom: 2rem;
	column-gap: 0.1rem;
}

.color-box {
	width: 120px;
	height: 120px;
	border-radius: 6px;
	transition: all 0.25s ease;
	cursor: pointer;
	border: 2px solid transparent;
}

.color-box:hover {
	transform: scale(1.06);
	border-color: #ff8c00;
}

.color-title {
	padding-top: 2rem;
	margin-bottom: 0.1rem;
}

.color-desc {
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}

.hex {
	text-align: center;
	font-size: 0.75rem;
	color: #ffffcc;
	margin-top: 0.4rem;
}

.color-meaning {
	padding-top: 3rem;
}

.gradient-line.below {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
}

.gradient-line.below::after {
	width: 260px;
	height: 1px;
	background: linear-gradient(to right, #FEFEC8, transparent);
}

.color-spectra-btn {
	display: inline-block;
	background: #FEFEC8;
	color: #000;
	font-family: "Roboto Mono", monospace;
	font-weight: 600;
	text-decoration: none;
	padding: 10px 18px;
	border-radius: 12px;
	transition: background 0.2s ease, color 0.2s ease;
}

.color-spectra-btn:hover {
	background: #FF3D00;
	color: #fff;
}

/* contact */

.contact {
	margin-top: 2.5rem;
}

.contact-form {
	max-width: 900px;
}

.form-label {
	font-family: "Instrument Serif", serif;
}

.submit-btn {
	background-color: #ffffcc;
	color: #000;
	padding: 10px 40px;
	border-radius: 5px;
	font-weight: bold;
	border: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.submit-btn:hover {
	background-color: #FF3D00;
	color: #ffffcc;
}

.social-icons {
	gap: 1rem;
}

.social-icons i {
	color: #ffffcc;
	font-size: 2rem;
	cursor: pointer;
	transition: color 0.2s ease;
}

.social-icons i:hover {
	color: #ffffcc;
}

/* footer */

.footer-logo {
	height: 100px;
}

.footer-link {
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.footer-link:hover {
	opacity: 0.6;
}

.footer-caption {
	font-size: 12px;
	max-width: 500px;
	margin: 0 auto;
}

/* mobile optimization */

@media (max-width: 768px) {
	
	#carouselExampleCaptions .carousel-item {
		height: 280px; 
	}

	#carouselExampleCaptions .carousel-item > img {
		height: 100%;
		width: 100%;
		object-fit: cover;
		object-position: center;
	}
	
	body {
		font-size: 15px;
	}
	
	h1 {
		font-size: 40px;
	}
	
	#movieIndexLabel, #colorlabLabel, #contactLabel {
    	font-size: 50px;
	}
	
	.screencap {
		width: 200px;
	}
	
	.screencap:hover {
		transform: none;
	}
	
	.scroll-row {
		padding: 8px 15px;
		gap: 10px;
	}
	
	.scroll-btn {
		display: none;
	}

	.hero-actions {
		right: 16px;
	}
	
	.btn-view {
		font-size: 1.1rem;
		padding: 5px 12px;
	}
	
	.btn-icon i {
		font-size: 1.2rem;
	}
	
	.carousel-caption p, .carousel-indicators {
		display: none !important;
	}
	
	.carousel-control-prev, .carousel-control-next {
		opacity: 0;
	}
	
	.carousel-buttons {
		margin-top: 0 !important;
	}
	
	.carousel-caption {
		left: 24px;
		right: 12px;
		bottom: 12px;
		padding: 10px !important; 
	}
	
	.poster img {
		height: 220px;
		object-fit: contain;
	}
	
	.color-spectra-btn{
		padding: 8px 14px;
		font-size: 0.95rem;
		border-radius: 10px;
		white-space: nowrap; 
  	}
	
	.color-box {
		width: 80px;
		height: 80px;
	}
	
	.color-caption {
		font-size: 12px;
	}
	
	.navbar .container { 
		position: relative; 
	}
	
	.hero-actions i {
		font-size: 1.2rem; 
	}
	
	.mini-screencap {
		flex-wrap: wrap;
	}
	
	.mini-screencap img {
		height: 80px;
	}
	
	.footer-logo {
		height: 90px;
	}
	
	#navMenu {
		position: absolute;
		top: 100%;
		right: 0;
		width: auto;
		margin-top: 10px;
		background: rgba(0,0,0,0.9);
		backdrop-filter: blur(8px);
		border-radius: 14px;
		padding: 14px;
	}

	#navMenu .navbar-nav {
		align-items: flex-end;
	}
	
	#navMenu .nav-link {
		text-align: right;
		padding: 8px 0;
	}

	#navMenu .form-control {
		width: 100%;
		max-width: 150px;
	}
	
	.copyright {
		font-size: 12px;
	}
}

/* 4K optimization */

@media (min-width: 1920px) {
	
	.container {
		max-width: 1800px;
	}
	
	.screencap {
		width: 420px;
	}
	
	h1 {
		font-size: 65px;
	}
	
	h3 {
		font-size: 2.5rem;
	}
	
	.carousel-text {
		font-size: 16px;
		max-width: 600px;
	}
	
	.btn-view {
		font-size: 2rem;
		padding: 8px 24px;
	}
	
	.btn-icon i {
		font-size: 2rem;
	}
	
	.poster img {
		height: 450px;
	}
	
	.color-box {
		width: 150px;
		height: 150px;
	}
	
	.footer-logo {
		height: 130px;
	}
	
	.scroll-row {
		padding: 10px 80px;
	}
	
	#carouselExampleCaptions .carousel-item {
		height: 70vh;
		max-height: 900px;
	}
	
	#carouselExampleCaptions .carousel-item img {
		height: 100%;
		object-fit: cover;
	}
	

	.container .row.g-4 > .col-lg-3 {
		flex: 0 0 auto;
		width: 15%;
	}
}