/* 01bits OÜ Website Styles */

/* Root Variables */
:root {
	--primary-color: #0066cc;
	--secondary-color: #6c757d;
	--success-color: #28a745;
	--danger-color: #dc3545;
	--warning-color: #ffc107;
	--info-color: #17a2b8;
	--light-color: #f1f3f4;
	--dark-color: #1a1a1a;
	--white: #ffffff;
	--background-color: #f8f9fa;
	--text-color: #2d3748;
	--light-text-color: #ffffff;
	--card-bg-color: #ffffff;
	--dark-bg-color: #343a40;
	--font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	--shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	--border-radius: 8px;
	--transition: all 0.3s ease;
}

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

body {
	font-family: var(--font-family);
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--background-color);
	font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--text-color);
}

p {
	margin-bottom: 1rem;
}

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

a:hover {
	color: #0056b3;
	text-decoration: underline;
}

.btn {
	border-radius: var(--border-radius);
	padding: 0.75rem 1.5rem;
	font-weight: 500;
	transition: var(--transition);
	border: none;
	cursor: pointer;
}

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

.btn-primary:hover {
	background-color: #0056b3;
	border-color: #0056b3;
}

/* Navigation */
.navbar {
	background-color: var(--primary-color) !important;
	box-shadow: var(--shadow);
	padding: 1rem 0;
}

.navbar-brand {
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--white) !important;
}

.navbar-brand:hover {
	color: var(--white) !important;
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--white) !important;
}

/* Hero Section */
.hero {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.hero-background::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(0, 123, 255, 0.8),
		rgba(0, 86, 179, 0.8)
	);
	z-index: 1;
}

.hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-content {
	position: relative;
	z-index: 2;
	color: var(--white);
}

.hero-buttons {
	margin-top: 2rem;
}

/* Page Header */
.page-header {
	background: linear-gradient(135deg, var(--primary-color), #0056b3);
	padding: 8rem 0 4rem;
	color: var(--white);
}

.page-title {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.breadcrumb {
	background: transparent;
	padding: 0;
	margin: 0;
}

.breadcrumb-item a {
	color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
	color: var(--white);
}

/* Sections */
.section-title {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	color: var(--text-color);
	font-weight: 700;
}

.section-subtitle {
	font-size: 1.25rem;
	color: var(--secondary-color);
	margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
	background: var(--card-bg-color);
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	transition: var(--transition);
	height: 100%;
	color: var(--text-color);
}

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

.service-card h3 {
	color: var(--text-color);
	margin-bottom: 1rem;
}

.service-icon {
	width: 80px;
	height: 80px;
	margin-bottom: 1.5rem;
}

.service-detail-icon {
	width: 60px;
	height: 60px;
	margin-bottom: 1rem;
}

.service-features {
	list-style: none;
	padding: 0;
}

.service-features li {
	padding: 0.5rem 0;
	border-bottom: 1px solid #eee;
}

.service-features li:last-child {
	border-bottom: none;
}

.service-features li::before {
	content: '✓';
	color: var(--success-color);
	margin-right: 0.5rem;
	font-weight: bold;
}

.service-benefits {
	background: var(--light-color);
	padding: 1.5rem;
	border-radius: var(--border-radius);
	margin-top: 1rem;
	color: var(--text-color);
}

/* About Section */
.about-section {
	padding: 5rem 0;
	color: var(--text-color);
}

.mission-card,
.vision-card {
	background: var(--card-bg-color);
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	height: 100%;
	color: var(--text-color);
}

.value-card {
	background: var(--card-bg-color);
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	transition: var(--transition);
	height: 100%;
	color: var(--text-color);
}

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

/* Process Section */
.process-section {
	background: var(--light-color);
}

.process-step {
	text-align: center;
	padding: 1.5rem;
}

.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: bold;
	margin: 0 auto 1rem;
}

/* Contact Section */
.contact-section {
	padding: 5rem 0;
}

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

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

.contact-item i {
	font-size: 1.5rem;
	margin-right: 1rem;
	margin-top: 0.25rem;
}

.contact-item h5 {
	margin-bottom: 0.5rem;
	color: var(--dark-color);
}

.contact-form-wrapper {
	background: var(--white);
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

.contact-form .form-label {
	font-weight: 500;
	color: var(--text-color);
}

.contact-form .form-control,
.contact-form .form-select {
	border-radius: var(--border-radius);
	border: 1px solid #ddd;
	padding: 0.75rem;
	font-size: 1rem;
}

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

/* Features Section */
.features-section {
	background: var(--card-bg-color);
	color: var(--text-color);
}

.feature-card {
	padding: 2rem;
	text-align: center;
	border-radius: var(--border-radius);
	background: var(--card-bg-color);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
	height: 100%;
	color: var(--text-color);
}

.feature-card:hover {
	transform: translateY(-5px);
}

.feature-icon {
	margin-bottom: 1rem;
}

.feature-card h4 {
	color: var(--text-color);
	margin-bottom: 1rem;
	font-weight: 600;
}

/* Statistics Section */
.statistics-section {
	background: var(--primary-color);
	color: var(--light-text-color);
}

.stat-card {
	padding: 2rem;
}

.stat-number {
	font-size: 3rem;
	font-weight: bold;
	color: var(--light-text-color);
	margin-bottom: 0.5rem;
}

.stat-label {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.9);
}

/* About Section Highlights */
.about-highlights {
	margin: 1.5rem 0;
}

.highlight-item {
	display: flex;
	align-items: center;
	margin-bottom: 0.5rem;
}

.highlight-item i {
	margin-right: 0.5rem;
}

/* Process Section */
.process-section {
	background: var(--light-color);
}

.process-step {
	position: relative;
	padding: 2rem;
	text-align: center;
}

.step-number {
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 40px;
	background: var(--primary-color);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.2rem;
	z-index: 2;
}

.step-icon {
	margin: 2rem 0 1rem 0;
}

.process-step h4 {
	color: var(--text-color);
	margin-bottom: 1rem;
	font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
	background: var(--light-color);
}

.testimonial-card {
	background: var(--card-bg-color);
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	height: 100%;
	transition: transform 0.3s ease;
	color: var(--text-color);
}

.testimonial-card:hover {
	transform: translateY(-5px);
}

.testimonial-content {
	margin-bottom: 1.5rem;
}

.testimonial-content i {
	font-size: 2rem;
}

.testimonial-author {
	border-top: 1px solid #eee;
	padding-top: 1rem;
	text-align: center;
}

/* Service Order Form */
.service-order-section {
	background: var(--light-color);
}

.service-order-form {
	background: var(--card-bg-color);
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	color: var(--text-color);
}

.service-order-form .form-label {
	font-weight: 500;
	color: var(--text-color);
}

.service-order-form .form-control,
.service-order-form .form-select {
	border-radius: var(--border-radius);
	border: 1px solid #ddd;
	padding: 0.75rem;
	font-size: 1rem;
	transition: all 0.3s ease;
}

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

.service-order-form .form-control.is-valid,
.service-order-form .form-select.is-valid {
	border-color: #28a745;
}

.service-order-form .form-control.is-invalid,
.service-order-form .form-select.is-invalid {
	border-color: #dc3545;
}

.service-order-form .was-validated .form-control:valid,
.service-order-form .was-validated .form-select:valid {
	border-color: #28a745;
}

.service-order-form .was-validated .form-control:invalid,
.service-order-form .was-validated .form-select:invalid {
	border-color: #dc3545;
}

.service-order-form .loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Business Hours */
.business-hours {
	background: var(--light-color);
}

.hours-table {
	background: var(--white);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.hours-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #eee;
}

.hours-row:last-child {
	border-bottom: none;
}

.hours-row .day {
	font-weight: 500;
	color: var(--text-color);
}

.hours-row .time {
	color: var(--secondary-color);
}

/* FAQ Section */
.faq-section {
	padding: 5rem 0;
}

.accordion-item {
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	margin-bottom: 1rem;
}

.accordion-button {
	background: var(--light-color);
	border: none;
	padding: 1rem 1.5rem;
	font-weight: 500;
}

.accordion-button:not(.collapsed) {
	background: var(--primary-color);
	color: var(--white);
}

.accordion-body {
	padding: 1.5rem;
}

/* Legal Pages */
.legal-content {
	padding: 5rem 0;
}

.legal-document {
	background: var(--white);
	padding: 3rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

.legal-document h2 {
	color: var(--primary-color);
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.legal-document h3 {
	color: var(--text-color);
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

.legal-document ul {
	margin-bottom: 1.5rem;
}

.legal-document li {
	margin-bottom: 0.5rem;
}

.contact-info {
	background: darkblue;
	padding: 1.5rem;
	border-radius: var(--border-radius);
	margin-top: 1rem;
}

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

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

.cookie-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	gap: 2rem;
}

.cookie-buttons {
	display: flex;
	gap: 1rem;
	align-items: center;
}

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

.cookie-buttons .btn-link {
	color: var(--white);
	text-decoration: underline;
}

.cookie-buttons .btn-link:hover {
	color: var(--light-color);
}

/* CTA Sections */
.contact-cta,
.cta-section {
	background: linear-gradient(135deg, var(--primary-color), #004d9f);
	color: var(--light-text-color);
	padding: 5rem 0;
}

.cta-section h2 {
	color: var(--light-text-color);
}

.contact-cta h2,
.contact-cta p {
	color: var(--light-text-color);
}

/* Services Overview */
.services-overview {
	padding: 5rem 0;
	color: var(--text-color);
}

.services-hero {
	padding: 5rem 0;
}

.additional-services {
	padding: 5rem 0;
}

/* Company Info */
.company-info {
	padding: 5rem 0;
}

.company-details {
	background: var(--card-bg-color);
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	color: var(--text-color);
}

/* Footer */
.footer {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	color: var(--white);
	padding: 4rem 0 2rem;
	position: relative;
	overflow: hidden;
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--primary-color),
		var(--info-color),
		var(--success-color)
	);
}

.footer h5 {
	color: var(--white);
	margin-bottom: 1.5rem;
	font-weight: 600;
	position: relative;
	padding-bottom: 0.5rem;
}

.footer h5::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 2px;
	background: var(--primary-color);
}

.footer p {
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 0.75rem;
	line-height: 1.6;
}

.footer .list-unstyled {
	margin: 0;
	padding: 0;
}

.footer .list-unstyled li {
	margin-bottom: 0.75rem;
}

.footer .list-unstyled a {
	color: rgba(255, 255, 255, 0.85);
	transition: var(--transition);
	padding: 0.25rem 0;
	display: inline-block;
	text-decoration: none;
}

.footer .list-unstyled a:hover {
	color: var(--primary-color);
	text-decoration: none;
	transform: translateX(5px);
}

.footer .contact-info {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.footer .contact-info i {
	width: 20px;
	color: var(--primary-color);
	margin-right: 0.75rem;
}

.footer .social-links {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
}

.footer .social-links a {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	transition: var(--transition);
	text-decoration: none;
}

.footer .social-links a:hover {
	background: var(--primary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.footer hr {
	border-color: rgba(255, 255, 255, 0.15);
	margin: 2rem 0 1.5rem;
}

.footer-bottom {
	text-align: center;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.7);
}

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

/* Form Messages */
#form-messages {
	border-radius: var(--border-radius);
	padding: 1rem;
	margin-top: 1rem;
	display: none;
}

#form-messages.success {
	background: var(--success-color);
	color: var(--white);
	display: block;
}

#form-messages.error {
	background: var(--danger-color);
	color: var(--white);
	display: block;
}

/* Utility Classes */
.text-primary {
	color: var(--primary-color) !important;
}

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

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

.rounded {
	border-radius: var(--border-radius) !important;
}

/* Image Optimization */
img {
	max-width: 100%;
	height: auto;
	border-radius: var(--border-radius);
}

/* Loading States */
.loading {
	opacity: 0.6;
	pointer-events: none;
}

.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid #f3f3f3;
	border-top: 2px solid var(--primary-color);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

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

/* Focus States */
.form-control:focus,
.form-select:focus,
.btn:focus {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

/* Print Styles */
@media print {
	.navbar,
	.cookie-consent,
	.cta-section,
	.contact-cta,
	.footer {
		display: none;
	}

	.page-header {
		margin-top: 0;
	}

	body {
		font-size: 12pt;
		line-height: 1.4;
	}

	h1,
	h2,
	h3 {
		page-break-after: avoid;
	}
}
