/**
 * Custom CSS - Sistema de Gestão de Obras
 * Tema: Preto & Dourado
 */

/* ========================================
   GLOBAL STYLES
   ======================================== */

body {
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
	min-height: 100vh;
	position: relative;
	font-family: 'Roboto', sans-serif;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 20% 50%, rgba(218, 165, 32, 0.05) 0%, transparent 50%),
				radial-gradient(circle at 80% 80%, rgba(184, 134, 11, 0.05) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

.container-fluid {
	position: relative;
	z-index: 1;
	padding-top: 50px;
}

/* ========================================
   AUTHENTICATION PAGES
   ======================================== */

.authentication-header {
	text-align: center;
	margin-bottom: 40px;
}

.authentication-logo {
	display: inline-block;
}

.authentication-logo img {
	max-width: 300px;
	width: 100%;
	height: auto;
}

.authentication-content {
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(218, 165, 32, 0.2);
	border-radius: 8px;
	padding: 30px;
	margin-bottom: 30px;
}

.authentication-footer {
	color: #DAA520;
	text-align: center;
	margin-top: 20px;
}

/* ========================================
   FORM STYLES
   ======================================== */

.form-control:focus {
	border-color: #DAA520;
	box-shadow: 0 0 0 0.2rem rgba(218, 165, 32, 0.25);
}

.checkbox label {
	font-weight: normal;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-custom,
a.btn-custom {
	display: inline-block !important;
	padding: 0.8rem 2rem !important;
	background: #DAA520 !important;
	background-color: #DAA520 !important;
	border: 2px solid #DAA520 !important;
	color: #000 !important;
	font-weight: 600 !important;
	transition: all 0.3s ease !important;
	text-decoration: none !important;
	border-radius: 8px !important;
	line-height: 1.5 !important;
	cursor: pointer;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
a.btn-custom:hover,
a.btn-custom:focus,
a.btn-custom:active {
	background: #FFD700 !important;
	background-color: #FFD700 !important;
	border-color: #FFD700 !important;
	color: #000 !important;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4) !important;
	text-decoration: none !important;
}

.btn-custom.btn-block {
	width: 100% !important;
}

.btn-custom.btn-lg {
	padding: 12px 24px !important;
	font-size: 16px !important;
}

/* ========================================
   HOME PAGE
   ======================================== */

.site.index.content {
	padding: 2rem 1rem;
	position: relative;
	z-index: 1;
}

.logo-container {
	text-align: center;
	margin-bottom: 3rem;
	padding-top: 2rem;
}

.logo-container img {
	max-width: 400px;
	height: auto;
}

.hero-section {
	text-align: center;
	padding: 3rem 2rem;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	color: white;
	border-radius: 15px;
	margin: 2rem auto;
	max-width: 800px;
	border: 1px solid rgba(218, 165, 32, 0.3);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.hero-section h1 {
	font-size: 3rem;
	margin: 0 0 1rem 0;
	font-weight: 300;
}

.hero-section p {
	font-size: 1.3rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

/* ========================================
   FEATURE CARDS
   ======================================== */

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	margin: 3rem auto;
	max-width: 1000px;
}

.feature-card {
	text-align: center;
	padding: 2rem 1.5rem;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border-radius: 12px;
	transition: all 0.3s;
	border: 1px solid rgba(218, 165, 32, 0.2);
	color: white;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3);
	background: rgba(218, 165, 32, 0.1);
	border-color: rgba(218, 165, 32, 0.4);
}

.feature-card h3 {
	color: white;
	font-size: 1.2rem;
	margin: 1rem 0 0.5rem 0;
	font-weight: 500;
}

.feature-card p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
	margin: 0;
}

.feature-icon {
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-golden {
	color: #DAA520;
}

.text-golden:hover {
	color: #FFD700;
	text-decoration: none;
}

.m-t-0 { margin-top: 0; }
.m-b-30 { margin-bottom: 30px; }
.text-center { text-align: center; }

/* ========================================
   SNAKE GAME EASTER EGG
   ======================================== */

.authentication-logo img {
	cursor: pointer;
	transition: transform 0.3s;
}

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

#snake-game-layer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 9999;
}

.snake-segment,
.snake-food {
	position: absolute;
	width: 30px;
	height: 30px;
	pointer-events: none;
	transition: all 0.05s linear;
}

.snake-segment {
	filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.6)) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.snake-food {
	filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
	animation: pulse 1s infinite;
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.1);
		opacity: 0.8;
	}
}

