/* ============================================
   EdIT Solutions Design System
   ============================================ */

:root {
	--edit-dark: #1a1a2e;
	--edit-dark-mid: #16213e;
	--edit-primary: #e63946;
	--edit-primary-dark: #c1121f;
	--edit-primary-light: #fde8e8;
	--edit-accent: #ff6b6b;
	--edit-gray-50: #f8f9fa;
	--edit-gray-100: #f1f3f5;
	--edit-gray-200: #e9ecef;
	--edit-gray-500: #6c757d;
	--edit-gray-700: #495057;
	--edit-gray-900: #212529;

	--gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #1a1a2e 100%);
	--gradient-cta: linear-gradient(135deg, #e63946 0%, #c1121f 100%);

	--shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
	--shadow: 0 4px 16px rgba(0,0,0,0.08);
	--shadow-md: 0 8px 30px rgba(0,0,0,0.10);

	--radius-sm: 8px;
	--radius: 12px;
	--radius-md: 16px;
	--radius-lg: 20px;

	--transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Typography --- */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* --- Navbar --- */
.navbar-edit {
	background: var(--gradient-hero) !important;
	box-shadow: 0 4px 24px rgba(0,0,0,0.3);
	border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.navbar-edit .navbar-brand img {
	transition: var(--transition);
}

.navbar-edit .navbar-brand:hover img {
	filter: brightness(1.15);
}

.navbar-edit .nav-link {
	font-weight: 500;
	letter-spacing: 0.02em;
	padding: 0.5rem 1rem !important;
	border-radius: var(--radius-sm);
	transition: var(--transition);
}

.navbar-edit .nav-link:hover {
	background: rgba(255,255,255,0.1);
}

/* --- Hero --- */
.hero-edit {
	background:
		linear-gradient(135deg, rgba(26,26,46,0.88) 0%, rgba(22,33,62,0.82) 40%, rgba(15,52,96,0.78) 100%),
		url('../img/hero_team.jpg');
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
}

.hero-edit.hero-career {
	background-image:
		linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(22,33,62,0.80) 40%, rgba(15,52,96,0.75) 100%),
		url('../img/hero_career.jpg');
	background-position: center 25%;
}

.hero-edit.hero-contact {
	background-image:
		linear-gradient(135deg, rgba(26,26,46,0.86) 0%, rgba(22,33,62,0.82) 40%, rgba(15,52,96,0.76) 100%),
		url('../img/hero_contact.jpg');
}

.hero-edit > * {
	position: relative;
	z-index: 1;
}

.text-accent {
	color: var(--edit-accent);
}

/* --- Buttons --- */
.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--edit-primary);
	--bs-btn-border-color: var(--edit-primary);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--edit-primary-dark);
	--bs-btn-hover-border-color: var(--edit-primary-dark);
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #a1111a;
	--bs-btn-active-border-color: #a1111a;
	border-radius: var(--radius-sm);
	font-weight: 500;
	transition: var(--transition);
}

.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(230,57,70,0.3);
}

.btn-outline-light {
	border-radius: var(--radius-sm);
	font-weight: 500;
	transition: var(--transition);
}

.btn-outline-light:hover {
	transform: translateY(-1px);
}

.btn-light {
	border-radius: var(--radius-sm);
	font-weight: 500;
	transition: var(--transition);
}

.btn-light:hover {
	transform: translateY(-1px);
}

.btn-lg {
	border-radius: var(--radius);
	padding: 0.75rem 2rem;
}

/* --- Cards --- */
.card {
	border-radius: var(--radius-md) !important;
	transition: var(--transition);
}

.card.shadow-sm {
	box-shadow: var(--shadow) !important;
}

.card:hover {
	box-shadow: var(--shadow-md) !important;
}

/* --- Icon box --- */
.icon-box {
	width: 64px;
	height: 64px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gradient-hero);
	border-radius: var(--radius-md);
	color: #fff;
	font-size: 1.5rem;
	margin-bottom: 1rem;
	box-shadow: 0 4px 12px rgba(26,26,46,0.25);
}

/* --- Industry icons --- */
.industry-icon {
	width: 80px;
	height: 80px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--edit-gray-100);
	border-radius: 50%;
	color: var(--edit-dark);
	font-size: 2rem;
	transition: var(--transition);
}

.industry-icon:hover {
	background: var(--gradient-hero);
	color: #fff;
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(26,26,46,0.25);
}

/* --- Value cards --- */
.value-card {
	background: var(--edit-gray-50);
	border-radius: var(--radius-md);
	transition: var(--transition);
	border: 1px solid var(--edit-gray-200);
}

.value-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

/* --- Section styling --- */
.section-subtle {
	background: linear-gradient(180deg, var(--edit-gray-50) 0%, #fff 100%);
}

/* --- CTA --- */
.cta-edit {
	background: var(--gradient-hero);
}

/* --- Footer --- */
footer {
	border-top: 1px solid var(--edit-gray-200);
}

footer h6 {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--edit-gray-500);
	font-weight: 600;
}

footer a.link-secondary {
	transition: var(--transition);
	font-size: 0.9rem;
}

footer a.link-secondary:hover {
	color: var(--edit-primary) !important;
}

footer li {
	margin-bottom: 0.35rem;
	font-size: 0.9rem;
}

/* --- Page entrance animation --- */
main {
	animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* --- Smooth scroll --- */
html {
	scroll-behavior: smooth;
}

/* --- Custom scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--edit-gray-100); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--edit-primary); }

/* --- Text color for primary --- */
.text-primary {
	color: var(--edit-primary) !important;
}

/* --- Cookie consent banner --- */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background: var(--edit-dark);
	border-top: 1px solid rgba(255,255,255,0.1);
	box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
	padding: 1rem 0;
	animation: slideUp 0.4s ease-out;
}

.cookie-banner-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.cookie-banner-text {
	color: rgba(255,255,255,0.85);
	font-size: 0.9rem;
	line-height: 1.5;
}

.cookie-banner-actions {
	display: flex;
	gap: 0.5rem;
	flex-shrink: 0;
}

.cookie-banner .btn-outline-secondary {
	color: rgba(255,255,255,0.7);
	border-color: rgba(255,255,255,0.25);
	font-weight: 500;
}

.cookie-banner .btn-outline-secondary:hover {
	color: #fff;
	background: rgba(255,255,255,0.1);
	border-color: rgba(255,255,255,0.4);
}

@keyframes slideUp {
	from { transform: translateY(100%); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 768px) {
	.hero-edit::before,
	.hero-edit::after { display: none; }
	.btn-lg { padding: 0.65rem 1.5rem; }

	.cookie-banner-inner {
		flex-direction: column;
		text-align: center;
	}
}
