/* Custom CSS for Scalater Dev OÜ */

/* Root Variables */
:root {
	--primary-color: #007bff;
	--secondary-color: #6c757d;
	--success-color: #28a745;
	--danger-color: #dc3545;
	--warning-color: #ffc107;
	--info-color: #17a2b8;
	--light-color: #f8f9fa;
	--dark-color: #343a40;
	--white: #ffffff;
	--font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Global Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font-family-base);
	line-height: 1.6;
	color: var(--dark-color);
	background-color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 1rem;
}

p {
	margin-bottom: 1rem;
}

/* Links */
a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--primary-color);
	text-decoration: none;
}

/* Navigation */
.navbar {
	background-color: var(--dark-color) !important;
	padding: 1rem 0;
	transition: all 0.3s ease;
}

.navbar-brand {
	font-size: 1.2rem;
	font-weight: 700;
	text-decoration: none;
}

.brand-logo {
	width: 40px;
	height: 40px;
	background: var(--primary-color);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-size: 1.2rem;
}

.brand-text {
	line-height: 1.1;
}

.brand-name {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--white);
}

.brand-suffix {
	font-size: 0.8rem;
	color: var(--primary-color);
	font-weight: 500;
}

.navbar-nav .nav-link {
	color: var(--white) !important;
	font-weight: 500;
	margin: 0 0.5rem;
	transition: all 0.3s ease;
	border-radius: 6px;
	padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--white) !important;
	background-color: var(--primary-color);
	transform: translateY(-1px);
}

.navbar-nav .nav-link i {
	font-size: 0.9rem;
}

.navbar-cta .btn {
	border-radius: 20px;
	padding: 0.5rem 1.2rem;
	font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
	background: linear-gradient(135deg, var(--primary-color), var(--info-color));
	position: relative;
	overflow: hidden;
	padding: 120px 0 80px;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
	z-index: 1;
}

.hero-section .container {
	position: relative;
	z-index: 2;
}

.hero-buttons .btn {
	margin: 0.5rem;
	padding: 0.75rem 2rem;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Page Header */
.page-header {
	background: linear-gradient(135deg, var(--primary-color), var(--info-color));
	padding: 120px 0 80px;
	color: var(--white);
	text-align: center;
}

/* Features Section */
.feature-icon {
	display: inline-block;
	margin-bottom: 1rem;
}

.feature-icon i {
	padding: 1rem;
	background: rgba(0, 123, 255, 0.1);
	border-radius: 50%;
	display: inline-block;
}

/* Cards */
.card {
	border: none;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
	height: 200px;
	object-fit: cover;
	border-radius: 10px 10px 0 0;
}

/* Tech Cards */
.tech-card {
	background: var(--white);
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.tech-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Process Steps */
.process-step {
	position: relative;
	padding: 2rem 0;
}

.step-number {
	width: 60px;
	height: 60px;
	background: var(--primary-color);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 auto 1rem;
}

/* Mission and Vision Cards */
.mission-card,
.vision-card {
	background: var(--white);
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Team Members */
.team-member img {
	transition: all 0.3s ease;
}

.team-member:hover img {
	transform: scale(1.05);
}

/* Values */
.value-item {
	padding: 2rem;
}

.value-item i {
	opacity: 0.9;
}

/* Contact Form */
.contact-form {
	background: var(--white);
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	padding: 2rem;
}

.form-control {
	border: 2px solid #e9ecef;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-select {
	border: 2px solid #e9ecef;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-select:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Contact Info */
.contact-info {
	background: darkblue;
	border-radius: 10px;
	padding: 2rem;
}

.contact-item {
	padding: 1rem 0;
	border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
	border-bottom: none;
}

/* Map Container */
.map-container {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
	background: var(--secondary-color);
	color: var(--white);
}

/* Legal Pages */
.privacy-content,
.terms-content,
.cookie-content {
	line-height: 1.8;
}

.privacy-content h2,
.terms-content h2,
.cookie-content h2 {
	color: var(--primary-color);
	margin-top: 3rem;
	margin-bottom: 1.5rem;
	font-size: 1.75rem;
}

.privacy-content h3,
.terms-content h3,
.cookie-content h3 {
	color: var(--dark-color);
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-size: 1.25rem;
}

.privacy-content ul,
.terms-content ul,
.cookie-content ul {
	margin-left: 2rem;
	margin-bottom: 1.5rem;
}

.privacy-content li,
.terms-content li,
.cookie-content li {
	margin-bottom: 0.5rem;
}

/* Cookie Settings */
.cookie-settings .card {
	border: 1px solid #dee2e6;
}

.cookie-settings .form-check {
	padding: 1rem;
	border-bottom: 1px solid #e9ecef;
}

.cookie-settings .form-check:last-child {
	border-bottom: none;
}

/* Cookie Consent Banner */
.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.9);
	color: var(--white);
	z-index: 9999;
	padding: 1rem 0;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.cookie-consent.show {
	transform: translateY(0);
}

.cookie-consent p {
	margin-bottom: 0;
	font-size: 0.9rem;
}

.cookie-consent .btn {
	font-size: 0.9rem;
	padding: 0.5rem 1rem;
}

/* Buttons */
.btn {
	border-radius: 8px;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-primary {
	background: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.btn-primary:hover {
	background: transparent;
	border-color: var(--primary-color);
	color: var(--primary-color);
	transform: translateY(-2px);
}

.btn-outline-primary {
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
	background: transparent;
}

.btn-outline-primary:hover {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: var(--white);
	transform: translateY(-2px);
}

/* Footer */
footer {
	background-color: var(--dark-color) !important;
	padding: 3rem 0 1rem;
}

.footer-brand .brand-logo {
	width: 35px;
	height: 35px;
	font-size: 1.1rem;
}

.footer-brand .brand-name {
	font-size: 1.1rem;
}

.footer-brand .brand-suffix {
	font-size: 0.7rem;
}

footer h5,
footer h6 {
	color: var(--white);
	margin-bottom: 1rem;
}

footer p,
footer li {
	color: #e9ecef;
	margin-bottom: 0.5rem;
}

.footer-links {
	padding: 0;
	margin: 0;
}

.footer-links li {
	margin-bottom: 0.8rem;
}

.footer-links a {
	color: #e9ecef;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
}

.footer-links a:hover {
	color: var(--white);
	transform: translateX(3px);
}

.footer-links a i {
	font-size: 0.9rem;
	width: 16px;
}

.contact-info {
	line-height: 1.6;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 0.8rem;
}

.contact-item i {
	width: 16px;
	color: var(--primary-color);
	margin-top: 2px;
	margin-right: 8px;
}

.contact-item span {
	color: #e9ecef;
	font-size: 0.95rem;
}

.contact-item a {
	color: #e9ecef;
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: 0.95rem;
}

.contact-item a:hover {
	color: var(--white);
}

.social-links {
	display: flex;
	gap: 1rem;
}

.social-link {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	text-decoration: none;
	font-size: 1.2rem;
	transition: all 0.3s ease;
}

.social-link:hover {
	background: var(--primary-color);
	color: var(--white);
	transform: translateY(-2px);
}

.footer-cta .btn {
	border-radius: 20px;
	padding: 0.5rem 1.2rem;
	font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-section {
		padding: 100px 0 60px;
	}

	.page-header {
		padding: 100px 0 60px;
	}

	.hero-buttons .btn {
		display: block;
		margin: 0.5rem 0;
		width: 100%;
	}

	.contact-info {
		margin-top: 2rem;
	}

	.step-number {
		width: 50px;
		height: 50px;
		font-size: 1.25rem;
	}

	.process-step {
		padding: 1rem 0;
	}

	.tech-card {
		margin-bottom: 1rem;
	}
}

@media (max-width: 576px) {
	.hero-section h1 {
		font-size: 2rem;
	}

	.hero-section .lead {
		font-size: 1rem;
	}

	.page-header h1 {
		font-size: 2rem;
	}

	.page-header .lead {
		font-size: 1rem;
	}

	.card-img-top {
		height: 150px;
	}

	.contact-info {
		padding: 1rem;
	}

	.privacy-content h2,
	.terms-content h2,
	.cookie-content h2 {
		font-size: 1.5rem;
	}

	.privacy-content h3,
	.terms-content h3,
	.cookie-content h3 {
		font-size: 1.1rem;
	}
}

/* Loading and Animation */
.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.6s ease;
}

.fade-in.show {
	opacity: 1;
	transform: translateY(0);
}

/* Scroll to Top */
.scroll-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	background: var(--primary-color);
	color: var(--white);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	opacity: 0;
	visibility: hidden;
	z-index: 1000;
}

.scroll-to-top.show {
	opacity: 1;
	visibility: visible;
}

.scroll-to-top:hover {
	background: var(--dark-color);
	transform: translateY(-2px);
}

/* Print Styles */
@media print {
	.navbar,
	.cookie-consent,
	.social-links,
	footer {
		display: none !important;
	}

	.hero-section,
	.page-header {
		background: none !important;
		color: var(--dark-color) !important;
	}

	.hero-section *,
	.page-header * {
		color: var(--dark-color) !important;
	}

	.btn {
		display: none !important;
	}

	.card {
		box-shadow: none !important;
		border: 1px solid #dee2e6 !important;
	}
}
