Files
Base-website/static/css/main.css
2025-07-15 11:33:04 +02:00

399 lines
7.0 KiB
CSS

/* Kobelly Base Website - Main CSS */
/* Custom Properties */
:root {
--primary-color: #0d6efd;
--secondary-color: #6c757d;
--success-color: #198754;
--info-color: #0dcaf0;
--warning-color: #ffc107;
--danger-color: #dc3545;
--light-color: #f8f9fa;
--dark-color: #212529;
--white-color: #ffffff;
--body-bg: #ffffff;
--text-color: #212529;
--text-muted: #6c757d;
--border-color: #dee2e6;
--shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
--shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
--border-radius: 0.375rem;
--border-radius-lg: 0.5rem;
--transition: all 0.15s ease-in-out;
}
/* Base Styles */
* {
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--body-bg);
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
font-weight: 600;
line-height: 1.2;
margin-bottom: 0.5rem;
}
p {
margin-bottom: 1rem;
}
.lead {
font-size: 1.125rem;
font-weight: 300;
}
/* Navigation */
.navbar {
transition: var(--transition);
backdrop-filter: blur(10px);
background-color: rgba(255, 255, 255, 0.95) !important;
}
.navbar-brand {
font-size: 1.5rem;
font-weight: 700;
}
.nav-link {
font-weight: 500;
transition: var(--transition);
}
.nav-link:hover {
color: var(--primary-color) !important;
}
/* Hero Section */
.hero-section {
background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
min-height: 75vh;
display: flex;
align-items: center;
}
.min-vh-75 {
min-height: 75vh;
}
.hero-image {
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
/* Cards */
.card {
transition: var(--transition);
border: none;
box-shadow: var(--shadow);
}
.card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
}
.card-body {
padding: 2rem;
}
/* Buttons */
.btn {
font-weight: 500;
border-radius: var(--border-radius);
transition: var(--transition);
padding: 0.75rem 1.5rem;
}
.btn-lg {
padding: 1rem 2rem;
font-size: 1.125rem;
}
.btn-primary {
background-color: var(--primary-color);
border-color: var(--primary-color);
}
.btn-primary:hover {
background-color: #0056b3;
border-color: #0056b3;
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.btn-outline-primary {
color: var(--primary-color);
border-color: var(--primary-color);
}
.btn-outline-primary:hover {
background-color: var(--primary-color);
border-color: var(--primary-color);
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.btn-light {
background-color: var(--white-color);
border-color: var(--white-color);
color: var(--text-color);
}
.btn-light:hover {
background-color: #f8f9fa;
border-color: #f8f9fa;
color: var(--text-color);
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
/* Icons */
.feature-icon,
.service-icon,
.value-icon {
transition: var(--transition);
}
.feature-icon:hover,
.service-icon:hover,
.value-icon:hover {
transform: scale(1.1);
}
/* Process Steps */
.process-step {
transition: var(--transition);
}
.process-step:hover {
transform: scale(1.05);
}
/* Contact Form */
.form-control {
border-radius: var(--border-radius);
border: 1px solid var(--border-color);
padding: 0.75rem 1rem;
transition: var(--transition);
}
.form-control:focus {
border-color: var(--primary-color);
box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
.form-label {
font-weight: 500;
margin-bottom: 0.5rem;
}
/* Alerts */
.alert {
border-radius: var(--border-radius);
border: none;
}
.alert-success {
background-color: #d1e7dd;
color: #0f5132;
}
.alert-danger {
background-color: #f8d7da;
color: #721c24;
}
/* Accordion */
.accordion-button {
font-weight: 500;
border-radius: var(--border-radius);
}
.accordion-button:not(.collapsed) {
background-color: var(--primary-color);
color: var(--white-color);
}
.accordion-button:focus {
box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
/* Footer */
footer {
background: linear-gradient(135deg, var(--dark-color) 0%, #343a40 100%);
color: var(--white-color) !important;
}
footer .text-muted {
color: rgba(255, 255, 255, 0.7) !important;
}
footer a {
color: rgba(255, 255, 255, 0.8) !important;
}
footer a:hover {
color: var(--white-color) !important;
}
.social-links a {
transition: var(--transition);
display: inline-block;
}
.social-links a:hover {
transform: translateY(-3px);
color: var(--primary-color) !important;
}
/* Language Selector */
.dropdown-toggle {
border-radius: var(--border-radius);
font-weight: 500;
}
.dropdown-item {
transition: var(--transition);
}
.dropdown-item:hover {
background-color: var(--primary-color);
color: var(--white-color);
}
/* Responsive Design */
@media (max-width: 768px) {
.hero-section {
min-height: 60vh;
text-align: center;
}
.display-4 {
font-size: 2.5rem;
}
.display-6 {
font-size: 1.75rem;
}
.card-body {
padding: 1.5rem;
}
.btn-lg {
padding: 0.75rem 1.5rem;
font-size: 1rem;
}
}
@media (max-width: 576px) {
.hero-section {
min-height: 50vh;
}
.display-4 {
font-size: 2rem;
}
.display-6 {
font-size: 1.5rem;
}
.card-body {
padding: 1rem;
}
}
/* Animations */
.fade-in {
animation: fadeIn 0.6s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.slide-in-left {
animation: slideInLeft 0.6s ease-out;
}
@keyframes slideInLeft {
from { opacity: 0; transform: translateX(-30px); }
to { opacity: 1; transform: translateX(0); }
}
.slide-in-right {
animation: slideInRight 0.6s ease-out;
}
@keyframes slideInRight {
from { opacity: 0; transform: translateX(30px); }
to { opacity: 1; transform: translateX(0); }
}
/* Utility Classes */
.text-primary {
color: var(--primary-color) !important;
}
.bg-primary {
background-color: var(--primary-color) !important;
}
.border-primary {
border-color: var(--primary-color) !important;
}
.shadow-sm {
box-shadow: var(--shadow) !important;
}
.shadow {
box-shadow: var(--shadow-lg) !important;
}
/* Loading States */
.loading {
opacity: 0.6;
pointer-events: none;
}
/* Focus States */
.btn:focus,
.form-control:focus,
.accordion-button:focus {
outline: none;
box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
/* Print Styles */
@media print {
.navbar,
.btn,
.social-links {
display: none !important;
}
body {
background: white !important;
color: black !important;
}
.card {
border: 1px solid #ccc !important;
box-shadow: none !important;
}
}