/* Beeldbank Custom Styles */

/* ===== Bootstrap Theme Color Overrides ===== */
:root {
	--bs-primary: #323232;
	--bs-primary-rgb: 50, 50, 50;
	--bs-secondary: #999999;
	--bs-secondary-rgb: 153, 153, 153;
	--bs-success: #3c763d;
	--bs-success-rgb: 60, 118, 61;
	--bs-danger: #a94442;
	--bs-danger-rgb: 169, 68, 66;
	--bs-warning: #8a6d3b;
	--bs-warning-rgb: 138, 109, 59;
	--bs-info: #31708f;
	--bs-info-rgb: 49, 112, 143;
}

/* ===== Typography ===== */
body {
	font-family: 'Lato', sans-serif;
	font-weight: 500;
	color: #999999;
}

h1, h2, h3 {
	font-family: 'Playfair Display', serif;
}

h1 {
	color: #191919;
	font-size: 2.5rem;
}

h1 span:first-child {
	font-weight: 700;
}

h1 span:last-child {
	font-weight: 400;
}

h2 {
	font-weight: 500;
	color: #191919;
	font-size: 2rem;
}

h3 {
	font-weight: 500;
	color: #191919;
	font-size: 1.5rem;
}

/* ===== Button Styles ===== */

/* Primary Button */
.btn-primary {
	background-color: #323232;
	border: 3px solid #323232;
	color: white;
	font-weight: 500;
	transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background-color: transparent !important;
	border-color: #323232 !important;
	color: #323232 !important;
}

/* Secondary Button (inverse) */
.btn-secondary {
	background-color: transparent;
	border: 3px solid #323232;
	color: #323232;
	font-weight: 500;
	transition: all 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
	background-color: #323232 !important;
	border-color: #323232 !important;
	color: white !important;
}

/* ===== Alert/Status Messages ===== */
.alert-info {
	background-color: #d9edf7;
	color: #31708f;
	border-color: #bce8f1;
}

.alert-warning {
	background-color: #fcf8e3;
	color: #8a6d3b;
	border-color: #faebcc;
}

.alert-danger {
	background-color: #f2dede;
	color: #a94442;
	border-color: #ebccd1;
}

.alert-success {
	background-color: #dff0d8;
	color: #3c763d;
	border-color: #d6e9c6;
}

/* ===== Category Cards ===== */
.category-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.category-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.category-card .card-body {
	color: #191919;
}

/* ===== Asset Cards ===== */
.asset-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.asset-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

/* Portrait Image with Blur Background */
.portrait-container {
	position: relative;
	overflow: hidden;
	background: #f0f0f0;
}

.portrait-blur {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(20px);
	opacity: 0.6;
}

.portrait-main {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: contain;
	z-index: 1;
}

/* Video Overlay with Play Icon */
.video-overlay {
	pointer-events: none;
}

.play-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ===== Admin Styles ===== */
.admin-body {
	background-color: #f8f9fa;
}

.navbar-dark .navbar-brand {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
}

/* ===== Form Styles ===== */
.form-label {
	font-weight: 600;
	color: #191919;
}

.form-control:focus,
.form-select:focus {
	border-color: #323232;
	box-shadow: 0 0 0 0.25rem rgba(50, 50, 50, 0.25);
}

/* ===== Card Enhancements ===== */
.card {
	border: none;
	border-radius: 0.5rem;
}

.card-header {
	background-color: #f8f9fa;
	border-bottom: 2px solid #dee2e6;
	font-weight: 600;
}

/* ===== Utility Classes ===== */
.text-primary-custom {
	color: #323232 !important;
}

.bg-primary-custom {
	background-color: #323232 !important;
}

/* ===== Responsive Tweaks ===== */
@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
	}
	
	h2 {
		font-size: 1.5rem;
	}
	
	.category-card .card-img-top,
	.asset-card .card-img-top,
	.portrait-container {
		height: 180px !important;
	}
}

/* ===== Loading Spinner ===== */
.spinner-border-custom {
	border-color: #323232;
	border-right-color: transparent;
}

/* ===== DataTables Styling ===== */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
	color: #191919;
}

table.dataTable thead th {
	font-weight: 600;
	color: #191919;
	border-bottom: 2px solid #dee2e6;
}

/* ===== Smooth Transitions ===== */
* {
	transition: color 0.2s ease, background-color 0.2s ease;
}
