Files
docupulse/static/css/home.css
2025-06-20 14:56:57 +02:00

272 lines
5.7 KiB
CSS

/* Enhanced Homepage Styles */
.navbar {
background: var(--white) !important;
transition: all 0.3s ease;
}
.navbar.scrolled {
background: var(--white) !important;
}
.hero-section {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: white;
padding: 120px 0 100px 0;
position: relative;
overflow: hidden;
}
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
opacity: 0.3;
}
.stats-section {
background-color: var(--bg-color);
padding: 80px 0;
}
.feature-card {
border: none;
border-radius: 15px;
transition: all 0.3s ease;
box-shadow: 0 5px 15px var(--shadow-color);
background: var(--white);
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 35px var(--shadow-color-light);
}
.feature-icon {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 1rem;
}
.testimonial-card {
background: var(--white);
border-radius: 15px;
padding: 30px;
box-shadow: 0 5px 15px var(--shadow-color);
margin: 20px 0;
transition: transform 0.3s ease;
}
.testimonial-card:hover {
transform: translateY(-3px);
}
.pricing-card {
border: none;
border-radius: 15px;
transition: all 0.3s ease;
box-shadow: 0 5px 15px var(--shadow-color);
}
.pricing-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px var(--shadow-color-light);
}
.pricing-card.border-primary {
border: 2px solid var(--primary-color) !important;
transform: scale(1.05);
}
.btn-primary {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
border: none;
border-radius: 25px;
padding: 12px 30px;
font-weight: 600;
transition: all 0.3s ease;
}
.btn-primary:hover {
background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
transform: translateY(-2px);
box-shadow: 0 5px 15px var(--primary-opacity-15);
}
.btn-outline-primary {
border: 2px solid var(--primary-color);
color: var(--primary-color);
border-radius: 25px;
padding: 12px 30px;
font-weight: 600;
transition: all 0.3s ease;
}
.btn-outline-primary:hover {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
border-color: var(--primary-color);
transform: translateY(-2px);
}
.btn-light {
background: rgba(255, 255, 255, 0.9);
border: none;
border-radius: 25px;
padding: 12px 30px;
font-weight: 600;
transition: all 0.3s ease;
}
.btn-light:hover {
background: white;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}
.btn-outline-light {
border: 2px solid rgba(255, 255, 255, 0.8);
color: white;
border-radius: 25px;
padding: 12px 30px;
font-weight: 600;
transition: all 0.3s ease;
}
.btn-outline-light:hover {
background: rgba(255, 255, 255, 0.1);
border-color: white;
transform: translateY(-2px);
}
.admin-link {
position: fixed;
bottom: 20px;
right: 20px;
opacity: 0.3;
transition: opacity 0.3s ease;
z-index: 1000;
}
.admin-link:hover {
opacity: 1;
}
.admin-link a {
color: var(--text-muted);
text-decoration: none;
font-size: 12px;
background: rgba(255, 255, 255, 0.9);
padding: 8px;
border-radius: 50%;
display: block;
width: 40px;
height: 40px;
text-align: center;
line-height: 24px;
box-shadow: 0 2px 10px var(--shadow-color);
}
.nav-link {
font-weight: 500;
transition: all 0.3s ease;
}
.nav-link:hover {
color: rgba(255, 255, 255, 0.8) !important;
transform: translateY(-1px);
}
.navbar-brand {
font-weight: 700;
font-size: 1.5rem;
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.hero-section {
padding: 100px 0 80px 0;
}
.display-3 {
font-size: 2.5rem;
}
.display-5 {
font-size: 2rem;
}
.pricing-card.border-primary {
transform: none;
}
}
/* Feature icon backgrounds */
.feature-icon-bg {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: white;
border-radius: 50%;
width: 60px;
height: 60px;
display: inline-flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
}
/* Stats section text colors */
.stats-section .h2 {
color: var(--primary-color) !important;
}
.stats-section .text-muted {
color: var(--text-muted) !important;
}
/* Pricing card highlights */
.pricing-card.border-primary {
border: 2px solid var(--primary-color) !important;
}
.pricing-card .card-header {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: white;
border-radius: 15px 15px 0 0 !important;
}
/* Fade in animations */
.fade-in {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s ease;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
background: var(--primary-color);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--primary-light);
}