/*!
            * KEDD KFT - KEDD Rajzfilmünnep Site v1.0.0 (http://www.rajzfilmunnep.hu/)
            * Copyright 2024-2025 Peter Nagy
            * Licensed under MIT (https://github.com/StartBootstrap/rajzfilmunnep-site-generator/blob/master/LICENSE)
            */
:root {
	--rajzfilmunnep-pink: #FF2D55;
	--rajzfilmunnep-lila: #59328E;
	--rajzfilmunnep-narancs: #DE9934;
	--bs-gray-rgb: rgb(95, 95, 95);
}

.bg-gray {
	--bs-bg-opacity: 1;
	background-color: #EEEEEE !important;
	border-bottom: 1px solid #FF2D55;
	/*background-image: url('../assets/img/abstract_bg_menu.webp');*/
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: contain;
	transition: background-image 1s ease;
}

.bg-lila {
	background-color: var(--rajzfilmunnep-lila);
}

.bg-green {
	background-color: #198754;
}

.bg-red {
	background-color: #dc3545;
}

html {
	scroll-padding-top: 140px;
	scroll-behavior: smooth;

}

body {
	font-family: "Open Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings:
		"wdth" 100;
	padding-top: 0px;
}

h1,
h2,
h3,
h4,
h5 {
	font-family: 'ClashDisplay-Variable', sans-serif;
	font-variation-settings: 'wght' 700.0;
	color: var(--rajzfilmunnep-lila);
	scroll-margin-top: 140px;
}

.display-5 {
	font-size: 3rem;
	/* Alapértelmezett méret nagy képernyőkön */
	font-weight: 300;
	line-height: 1.1;
}

.hidden {
	display: none;
}


/* Kisebb képernyők, pl. táblagépek */
@media (max-width: 992px) {
	.display-5 {
		font-size: 2.5rem;
		/* Kisebb méret közepes képernyőkön */
	}
}

/* Kisméretű eszközök, pl. mobiltelefonok */
@media (max-width: 576px) {
	.display-5 {
		font-size: 2rem;
		/* Még kisebb méret kisméretű képernyőkön */
	}
}

.section-bg {
	background-attachment: fixed;
	background-repeat: no-repeat;
	position: relative;
	background-position: center;
	background-size: cover;
	z-index: 1;
	/*background-size: auto 100%;*/
}

.section-1 {
	background-color: var(--bs-body-color);
	color: var(--bs-light) !important;
	background-image: url('../assets/img/abstract_bg_1.jpeg');
	/*background-image: url('../assets/img/abstract_bg_1.webp');*/
}

.section-2 {
	background-color: var(--bs-body-color);
	color: var(--bs-light) !important;
	background-image: url('../assets/img/abstract_bg_2.jpeg');
	/*background-image: url('../assets/img/abstract_bg_2.webp');*/
}

.section-3 {
	background-color: var(--bs-body-color);
	color: var(--bs-light) !important;
	background-image: url('../assets/img/abstract_bg_3.jpeg');
	/*background-image: url('../assets/img/abstract_bg_3.webp');*/
}

.page_section {
	background-color: #ffffff;
	color: #000000;
	background-image: url('../assets/img/abstract_bg_2.jpeg');
	/*background-image: url('../assets/img/abstract_bg_2.webp');*/
	background-attachment: fixed;
	background-repeat: no-repeat;
	position: relative;
	background-position: center;
	background-size: cover;
	z-index: 1;
}

header.navbar {
	background-color: transparent;
	transition: background-color 0.5s;
}

img.logo {
	max-height: 105px;
}

.voting-container {
	background-color: rgb(227 215 201);
	padding: 3rem;
	border: 0;
}

.no-border {
	border: 0;
}

.bold {
	font-weight: bold;
}

.text-link {
	text-decoration: none;

	&:hover {
		cursor: pointer;
	}
}

.font-weight-8 {
	font-weight: 800;
}

.location-item {
	background-color: rgb(227 215 201);
	border: 0;
}

/* Legacy movie item styles - keep for compatibility */
.movie-item {
	background-color: rgb(227 215 201);
	border: 0;
}

.movie-item-poster {
	height: auto;
	width: auto;
	max-height: 300px;
	max-width: inherit;
	overflow: hidden;
	border-radius: 5px;
}

/* Modern movie card styles */
.movie-card {
	transition: all 0.3s ease;
	border: none;
	border-radius: 12px;
	overflow: hidden;
}

.movie-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(89, 50, 142, 0.15) !important;
}

.movie-poster-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background-color: #f8f9fa;
}

.movie-poster {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
	display: block;
}

.movie-card:hover .movie-poster {
	transform: scale(1.05);
}

.movie-meta .text-muted {
	font-size: 0.85rem;
}

.movie-meta i {
	width: 14px;
	text-align: center;
}

.category-section {
	margin-bottom: 3rem;
}

.category-section h2 {
	color: var(--rajzfilmunnep-lila);
	font-family: 'ClashDisplay-Variable', sans-serif;
	font-variation-settings: 'wght' 600.0;
	margin-bottom: 1.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--rajzfilmunnep-pink);
	display: inline-block;
}

/* Filter controls styling */
.filter-actions {
	display: flex;
	gap: 0.5rem;
}

.movie-count span {
	font-weight: 500;
	color: var(--rajzfilmunnep-lila);
}

/* Badge styling for movie metadata */
.badge {
	font-size: 0.75rem;
	padding: 0.35em 0.65em;
}

.badge.bg-primary {
	background-color: var(--rajzfilmunnep-lila) !important;
}

.badge.bg-info {
	background-color: var(--rajzfilmunnep-narancs) !important;
	color: white !important;
}

.badge.bg-warning {
	background-color: var(--rajzfilmunnep-pink) !important;
	color: white !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
	.category-section h2 {
		font-size: 1.5rem;
	}
	
	.filter-actions {
		flex-direction: column;
		width: 100%;
	}
	
	.movie-card {
		margin-bottom: 1rem;
	}
}

@media (max-width: 576px) {
	.movie-meta {
		font-size: 0.8rem;
	}
	
	.category-section {
		margin-bottom: 2rem;
	}
}

/* Loading and no results styling */
#movies-loading {
	padding: 3rem 0;
}

#movies-loading .spinner-border {
	width: 3rem;
	height: 3rem;
}

#no-results .alert {
	border: none;
	background-color: #f8f9fa;
	border-left: 4px solid var(--rajzfilmunnep-pink);
}

/* Movie modal styling */
.movie-title-btn {
	border: none !important;
	background: none !important;
	box-shadow: none !important;
	font-family: inherit;
	width: 100%;
	text-align: left;
	cursor: pointer;
}

.movie-title-btn:hover {
	color: var(--rajzfilmunnep-lila) !important;
	text-decoration: underline !important;
}

.movie-title-btn:focus {
	box-shadow: none !important;
	outline: 2px solid var(--rajzfilmunnep-pink);
	outline-offset: 2px;
}

.modal-header {
	background-color: var(--rajzfilmunnep-lila);
	color: white;
}

.modal-header .btn-close {
	filter: invert(1);
}

.modal-footer .btn-primary {
	background-color: var(--rajzfilmunnep-pink);
	border-color: var(--rajzfilmunnep-pink);
}

.next-button-container {
	text-align: center;

	p {
		background-color: var(--rajzfilmunnep-lila);
		color: #FFFFFF;
		font-weight: bold;
	}
}

.text-justify {
	text-align: justify;
}

h1.display-1,
h1.display-2 {
	line-height: 0.9;
	font-family: 'ClashDisplay-Variable', sans-serif;
	font-variation-settings: 'wght' 700.0;
}

.forgotten-password {
	color: var(--rajzfilmunnep-pink);
	font-weight: bold;
}

.btn-form-submit {
	background-color: var(--rajzfilmunnep-pink);
	color: #FFFFFF;
	font-weight: bold;
}

.btn-eloreg {
	background-color: var(--rajzfilmunnep-pink);
	color: #FFFFFF;
	font-weight: bold;
}

.lila {
	color: var(--rajzfilmunnep-lila);
}

.number-2-1 {
	color: #E09835;
	/* Narancs szín */
}

.number-0 {
	color: #DC4358;
	/* Piros szín */
}

.number-2-2 {
	color: #E09835;
	/* fehér szín */
}

.number-4 {
	color: #62AAEA;
	/* Kék szín */
}

.number-2-1,
.number-0,
.number-2-2,
.number-4 {
	margin-right: -4px;
}

.navbar-gray {
	background-color: #ffffff;
	color: #000000;
}

.navbar-gray .navbar-brand,
.navbar-gray .navbar-nav .nav-link {
	color: #000000;
}

.navbar-gray .navbar-nav .nav-link:hover,
.navbar-gray .navbar-nav .nav-link:focus {
	color: #111111;
}

.navbar-gray .navbar-toggler {
	border-color: #000000;
}

.navbar-gray .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3CsvG%3E");
}

#navbarNav .navbar-nav .nav-item .nav-link {
	color: #000000;
}

.bold-orange {
	color: #E09835;
	font-weight: bold;
}

.black {
	color: #000000;
}

#topnav-profile {
	border: 3px solid #000000;
	border-radius: 100%;
	position: relative;
	min-width: 48px;
	text-align: center;
}

.rfu-dropdown-menu {
	display: none;
	position: absolute;
	background-color: #333;
	min-width: 10rem;
	z-index: 1;
	list-style: none;
	padding: 0;
	margin: 0;
	overflow: hidden;
	font-size: 1rem;
	border-radius: 1rem;
	right: 0;

	@media (max-width: 380px) {
		right: auto;
		left: 0;
	}

	@media (max-height: 762px) {
		overflow-y: auto;
		max-height: 200px;
	}
}

.rfu-dropdown-item a {
	color: white;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.rfu-dropdown-item a:hover {
	background-color: #575757;
}

.nav-item:hover .rfu-dropdown-menu {
	display: block;
}

.news-cover {
	height: 300px;
	object-fit: cover;
}

.box-shadow {
	box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.crop {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	line-clamp: 8;
	-webkit-line-clamp: 8;
}

.btn-circle {
	color: #ffffff;
	width: 36px;
	height: 36px;
	align-content: center;
	text-align: center;
	border-radius: 100%;
}

.btn-circle:hover {
	cursor: pointer;
}

.rounded-circle {
	margin-right: 15px;
}

.highlight td {
	background-color: #ffeeba !important;
	transition: background-color 0.3s ease-in-out;
}

@media (min-width: 1200px) {
	h1.display-1 {
		font-size: 6rem;
	}

	.number-2-1,
	.number-0,
	.number-2-2,
	.number-4 {
		margin-right: -8px;
	}
}


