Files
smartsoltech_site/smartsoltech/staticfiles/assets/css/modern-styles.css
Andrey K. Choi b51d79c5a1
Some checks failed
continuous-integration/drone/push Build is failing
Implement modern media gallery with enhanced features
- Fix CSS loading issue in project_detail.html template
- Add comprehensive ModernMediaGallery JavaScript class with touch navigation
- Implement glassmorphism design with backdrop-filter effects
- Add responsive breakpoint system for mobile devices
- Include embedded critical CSS styles for gallery functionality
- Add technology sidebar with vertical list layout and hover effects
- Support for images, videos, and embedded content with thumbnails
- Add lightbox integration and media type badges
- Implement progress bar and thumbnail navigation
- Add keyboard controls (arrow keys) and touch swipe gestures
- Include supplementary styles for video/embed placeholders
- Fix template block naming compatibility (extra_css → extra_styles)
2025-11-26 18:52:07 +09:00

3593 lines
70 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* Modern IT Company Design - SmartSolTech */
:root {
/* Light Theme Colors */
--primary-color: #6366f1;
--primary-dark: #4f46e5;
--secondary-color: #8b5cf6;
--accent-color: #06d6a0;
--text-dark: #1f2937;
--text-light: #6b7280;
--bg-light: #ffffff;
--bg-gray: #f9fafb;
--border-color: #e5e7eb;
--shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
--gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
--gradient-accent: linear-gradient(135deg, #06d6a0 0%, #34d399 100%);
/* Dark Theme Colors */
--dark-bg: #0f172a;
--dark-bg-secondary: #1e293b;
--dark-text: #f8fafc;
--dark-text-secondary: #cbd5e1;
--dark-border: #334155;
}
/* Dark theme */
[data-theme="dark"] {
--text-dark: var(--dark-text);
--text-light: var(--dark-text-secondary);
--bg-light: var(--dark-bg);
--bg-gray: var(--dark-bg-secondary);
--border-color: var(--dark-border);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
line-height: 1.6;
color: var(--text-dark);
background-color: var(--bg-light);
transition: background-color 0.3s ease, color 0.3s ease;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.2;
margin-bottom: 1rem;
}
h1 {
font-size: 3.75rem;
font-weight: 800;
background: var(--gradient-primary);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
h2 {
font-size: 2.5rem;
color: var(--text-dark);
}
h3 {
font-size: 1.875rem;
}
p {
font-size: 1.125rem;
line-height: 1.7;
color: var(--text-light);
margin-bottom: 1.5rem;
}
/* Buttons */
.btn-modern {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 1rem 2rem;
font-size: 1rem;
font-weight: 600;
border: none;
border-radius: 12px;
text-decoration: none;
transition: all 0.3s ease;
cursor: pointer;
position: relative;
overflow: hidden;
}
.btn-primary-modern {
background: var(--gradient-primary);
color: white;
box-shadow: var(--shadow);
}
.btn-primary-modern:hover {
transform: translateY(-2px);
box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.4);
color: white;
}
.btn-secondary-modern {
background: var(--bg-light);
color: var(--text-dark);
border: 2px solid var(--border-color);
}
.btn-secondary-modern:hover {
background: var(--bg-gray);
border-color: var(--primary-color);
color: var(--primary-color);
}
/* Cards */
.card-modern {
background: var(--bg-light);
border-radius: 20px;
border: 1px solid var(--border-color);
box-shadow: var(--shadow);
transition: all 0.3s ease;
overflow: hidden;
}
.card-modern:hover {
transform: translateY(-8px);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.card-modern .card-body {
padding: 2rem;
}
/* Navigation */
.navbar-modern {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border-color);
padding: 1rem 0;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
transition: all 0.3s ease;
}
.navbar-modern.scrolled {
background: rgba(255, 255, 255, 0.98);
box-shadow: var(--shadow);
}
.navbar-brand-modern {
font-size: 1.5rem;
font-weight: 800;
background: var(--gradient-primary);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-decoration: none;
}
.nav-link-modern {
font-weight: 500;
color: var(--text-light);
padding: 0.5rem 1rem;
border-radius: 8px;
transition: all 0.3s ease;
text-decoration: none;
}
.nav-link-modern:hover,
.nav-link-modern.active {
color: var(--primary-color);
background: rgba(99, 102, 241, 0.1);
}
/* Hero Section */
.hero-modern {
padding: 8rem 0 4rem;
background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
position: relative;
overflow: hidden;
}
.hero-modern::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="25" cy="25" r="0.5" fill="%236366f1" opacity="0.1"/><circle cx="75" cy="75" r="0.3" fill="%238b5cf6" opacity="0.1"/><circle cx="75" cy="25" r="0.4" fill="%2306d6a0" opacity="0.1"/><circle cx="25" cy="75" r="0.6" fill="%236366f1" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
opacity: 0.5;
}
/* Services Grid */
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.service-card {
background: var(--bg-light);
border-radius: 20px;
padding: 2.5rem;
border: 1px solid var(--border-color);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.service-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: var(--gradient-primary);
transform: translateX(-100%);
transition: transform 0.3s ease;
}
.service-card:hover::before {
transform: translateX(0);
}
.service-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.service-icon {
width: 60px;
height: 60px;
border-radius: 16px;
background: var(--gradient-primary);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
color: white;
font-size: 1.5rem;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.animate-fade-in-up {
animation: fadeInUp 0.6s ease-out forwards;
}
.animate-float {
animation: float 3s ease-in-out infinite;
}
/* Responsive Design */
@media (max-width: 768px) {
.section-padding {
padding: 2rem 0; /* Уменьшенные отступы для мобильных */
}
h1 {
font-size: 2.5rem;
}
h2 {
font-size: 2rem;
}
.hero-modern {
padding: 6rem 0 3rem;
}
.services-grid {
grid-template-columns: 1fr;
}
.service-card {
padding: 2rem;
}
}
/* Utility Classes */
.text-gradient {
background: var(--gradient-primary);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.bg-gradient {
background: var(--gradient-primary);
}
.border-gradient {
border: 2px solid transparent;
background: linear-gradient(var(--bg-light), var(--bg-light)) padding-box,
var(--gradient-primary) border-box;
}
.container-modern {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
.section-padding {
padding: 3rem 0; /* Уменьшено с 6rem до 3rem */
}
.mb-large {
margin-bottom: 4rem;
}
.text-center {
text-align: center;
}
/* Loading Animation */
#loading-screen {
transition: opacity 0.3s ease-out;
}
#loading-screen.hidden {
opacity: 0 !important;
pointer-events: none !important;
}
.loading-spinner {
width: 40px;
height: 40px;
border: 4px solid var(--border-color);
border-top: 4px solid var(--primary-color);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Success Checkmark Animation */
.success-checkmark {
width: 80px;
height: 80px;
border-radius: 50%;
display: block;
stroke-width: 2;
stroke: #4CAF50;
stroke-miterlimit: 10;
margin: 10px auto;
position: relative;
}
.success-checkmark.animate .icon-circle {
stroke-dasharray: 166;
stroke-dashoffset: 166;
stroke-width: 2;
stroke-miterlimit: 10;
stroke: #4CAF50;
fill: none;
animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.success-checkmark.animate .icon-line {
stroke-dasharray: 48;
stroke-dashoffset: 48;
animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
.success-checkmark.animate .icon-line.line-tip {
animation-delay: 1.1s;
}
.success-checkmark.animate .icon-line.line-long {
animation-delay: 1.2s;
}
.success-checkmark .icon-circle {
width: 80px;
height: 80px;
position: absolute;
border-radius: 50%;
border: 2px solid #4CAF50;
background-color: rgba(76, 175, 80, 0.1);
}
.success-checkmark .icon-line {
height: 2px;
background-color: #4CAF50;
display: block;
border-radius: 2px;
position: absolute;
z-index: 10;
}
.success-checkmark .icon-line.line-tip {
top: 46px;
left: 14px;
width: 25px;
transform: rotate(45deg);
animation: icon-line-tip 0.75s;
}
.success-checkmark .icon-line.line-long {
top: 38px;
right: 8px;
width: 47px;
transform: rotate(-45deg);
animation: icon-line-long 0.75s;
}
.success-checkmark .icon-fix {
top: 8px;
width: 5px;
left: 26px;
z-index: 1;
height: 85px;
position: absolute;
transform: rotate(-45deg);
background-color: #fff;
}
@keyframes stroke {
100% {
stroke-dashoffset: 0;
}
}
@keyframes icon-line-tip {
0% {
width: 0;
left: 1px;
top: 19px;
}
54% {
width: 0;
left: 1px;
top: 19px;
}
70% {
width: 50px;
left: -8px;
top: 37px;
}
84% {
width: 17px;
left: 21px;
top: 48px;
}
100% {
width: 25px;
left: 14px;
top: 45px;
}
}
@keyframes icon-line-long {
0% {
width: 0;
right: 46px;
top: 54px;
}
65% {
width: 0;
right: 46px;
top: 54px;
}
84% {
width: 55px;
right: 0px;
top: 35px;
}
100% {
width: 47px;
right: 8px;
top: 38px;
}
}
/* Video Support Styles */
.hero-video {
transition: opacity 0.3s ease;
}
.service-video {
transition: transform 0.3s ease;
}
.service-video:hover {
transform: scale(1.05);
}
.carousel-item {
transition: transform 0.6s ease-in-out;
}
.hero-bg {
position: relative;
overflow: hidden;
}
.hero-bg::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
z-index: 1;
}
/* Video Loading States */
.video-loading {
background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
background-size: 400% 400%;
animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* Video Controls */
.video-controls {
position: absolute;
bottom: 20px;
right: 20px;
z-index: 2;
}
.video-play-btn {
background: rgba(255, 255, 255, 0.9);
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-color);
font-size: 18px;
transition: all 0.3s ease;
}
.video-play-btn:hover {
background: rgba(255, 255, 255, 1);
transform: scale(1.1);
}
/* Responsive Video */
@media (max-width: 768px) {
.hero-video,
.service-video {
height: 300px !important;
}
.carousel-item {
min-height: 400px;
}
}
/* Hero Container Styles */
.hero-modern {
padding: 0;
background: var(--bg-light);
}
.hero-container {
background: var(--gradient-primary);
border-radius: 24px;
overflow: hidden;
box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
position: relative;
margin: 1.5rem auto;
max-width: 1200px;
}
.hero-bg {
position: relative;
min-height: 600px;
}
.hero-video,
.hero-bg img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(139, 92, 246, 0.6) 100%);
z-index: 2;
}
.hero-content {
position: relative;
z-index: 3;
padding: 4rem 2rem;
display: flex;
align-items: center;
min-height: 600px;
}
/* Custom Carousel Indicators - Pill System */
.carousel-indicators-container {
position: absolute;
bottom: 2.5rem;
left: 50%;
transform: translateX(-50%);
z-index: 4;
}
.outer-pill {
position: relative;
display: inline-flex;
align-items: center;
gap: 16px; /* Увеличено с 12px до 16px для предотвращения слипания */
padding: 10px; /* Отступы от краев: лево 10px, право 10px */
background: rgba(0, 0, 0, 0.3);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
border-radius: 50px;
border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
min-height: 50px;
transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1);
overflow: visible;
width: auto;
}
/* Удаляем старую структуру inner-pill */
.pill-indicators {
display: flex;
gap: 16px; /* Увеличено с 12px до 16px */
align-items: center;
flex-wrap: nowrap;
white-space: nowrap;
}
.pill-indicator {
height: 36px;
border-radius: 18px;
border: 2px solid rgba(255, 255, 255, 0.4);
background: rgba(255, 255, 255, 0.1);
position: relative;
z-index: 1;
transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1),
padding 0.8s cubic-bezier(0.23, 1, 0.32, 1),
border-color 0.3s ease;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
width: 36px;
overflow: visible;
transform-origin: center;
flex-shrink: 0;
margin-left: 0;
margin-right: 0;
}
.pill-indicator.active {
border: 2px solid rgba(255, 255, 255, 0.8);
background: rgba(255, 255, 255, 0.1);
width: fit-content;
min-width: 60px; /* Увеличиваем минимальную ширину */
padding: 0 1rem;
border-radius: 18px;
margin-left: 0;
margin-right: 0;
}
.pill-indicator:not(.active):hover {
border-color: rgba(255, 255, 255, 0.7);
background: rgba(255, 255, 255, 0.2);
transform: scale(1.05);
}
/* Отменяем transform при отсутствии hover */
.pill-indicator:not(.active):not(:hover) {
transform: none;
}
.pill-indicator::before {
content: '';
width: 8px;
height: 8px;
background: rgba(255, 255, 255, 0.8);
border-radius: 50%;
transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1),
transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
display: block;
flex-shrink: 0;
position: absolute;
transform-origin: center;
opacity: 1;
z-index: 1;
}
.pill-indicator.active::before {
opacity: 0;
transform: scale(0);
}
.pill-indicator:hover:not(.active)::before {
background: rgba(255, 255, 255, 1);
transform: scale(1.2);
}
.pill-indicator-title {
font-size: 0.875rem;
font-weight: 600;
color: rgba(255, 255, 255, 0.95);
white-space: nowrap;
opacity: 0;
transform: scale(0.8);
transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.2s,
transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
margin: 0;
position: relative;
transform-origin: center;
z-index: 2;
pointer-events: none; /* Предотвращаем вмешательство в события */
}
/* Скрытие текста в неактивных пилюлях */
.pill-indicator:not(.active) .pill-indicator-title {
opacity: 0 !important;
transform: scale(0.8) !important;
}
.pill-indicator.active .pill-indicator-title {
opacity: 1;
transform: scale(1);
color: rgba(255, 255, 255, 0.95) !important; /* Форсируем цвет для автоматической прокрутки */
}
/* Плавная анимация как вода */
.pill-indicator:not(.active):hover {
border-color: rgba(255, 255, 255, 0.7);
background: rgba(255, 255, 255, 0.2);
transform: scale(1.05);
transition: all 0.3s ease;
}
/* Новые стили для расширенной главной страницы */
.project-card {
transition: all 0.3s ease;
}
.project-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}
.project-image {
position: relative;
overflow: hidden;
height: 180px;
}
.project-image img {
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.project-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.project-card:hover .project-overlay {
opacity: 1;
}
.project-card:hover .project-image img {
transform: scale(1.1);
}
.blog-card {
transition: all 0.3s ease;
}
.blog-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}
.blog-image {
height: 200px;
overflow: hidden;
}
.blog-image img {
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.blog-card:hover .blog-image img {
transform: scale(1.05);
}
.news-card {
transition: all 0.3s ease;
}
.news-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}
.career-feature {
transition: all 0.3s ease;
}
.career-feature:hover {
transform: translateY(-5px);
}
.career-icon {
transition: all 0.3s ease;
}
.career-feature:hover .career-icon {
transform: scale(1.1);
}
.career-stats {
transition: all 0.3s ease;
}
.career-stats:hover {
transform: scale(1.05);
}
.hover-lift {
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hover-lift:hover {
transform: translateY(-8px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
/* Carousel Controls */
.hero-container {
position: relative;
}
.carousel-control-prev,
.carousel-control-next {
position: absolute;
width: 50px;
height: 50px;
background: rgba(0, 0, 0, 0.3);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 50%;
top: 50%;
transform: translateY(-50%);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 0.8;
z-index: 5;
}
.carousel-control-prev {
left: 1.5rem;
}
.carousel-control-next {
right: 1.5rem;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
background: rgba(0, 0, 0, 0.5);
transform: translateY(-50%) scale(1.1);
opacity: 1;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
/* Hero Text Styles */
.hero-title {
font-size: 3.5rem;
font-weight: 800;
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
margin-bottom: 1.5rem;
line-height: 1.1;
}
.hero-subtitle {
font-size: 1.5rem;
font-weight: 500;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 1.5rem;
}
.hero-description {
font-size: 1.25rem;
color: rgba(255, 255, 255, 0.8);
margin-bottom: 2.5rem;
line-height: 1.6;
}
/* Responsive Design */
@media (max-width: 768px) {
.section-padding {
padding: 2rem 0; /* Еще меньше для мобильных устройств */
}
.hero-container {
border-radius: 16px;
margin: 1rem;
}
.hero-content {
padding: 2rem 1.5rem;
min-height: 500px;
}
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.25rem;
}
.hero-description {
font-size: 1.125rem;
}
.carousel-indicators-container {
bottom: 8px;
}
.outer-pill {
gap: 12px; /* Меньший gap для мобильных, но всё ещё достаточный */
padding: 8px; /* Отступы от краев: лево 8px, право 8px */
}
.pill-indicators {
gap: 12px; /* Соответствует outer-pill gap */
}
.pill-indicator.active {
padding: 0 0.75rem;
font-size: 0.8rem;
/* Убираем дополнительные margin для мобильных */
margin-left: 0;
margin-right: 0;
}
.pill-indicator-title {
font-size: 0.8rem;
}
.pill-indicator {
width: 32px;
height: 32px;
}
.inner-pill {
height: 32px;
width: 32px;
}
.inner-pill.active {
min-width: 100px;
}
.pill-title {
font-size: 0.75rem;
}
}
/* Дополнительные эффекты для пилюль */
.inner-pill::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg,
transparent 0%,
rgba(99, 102, 241, 0.2) 50%,
transparent 100%);
border-radius: 25px;
opacity: 0;
animation: pillShimmer 3s infinite;
}
.outer-pill.expanded .inner-pill::before {
opacity: 1;
}
/* Эффект пульсации для внешней пилюли */
.outer-pill::after {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg,
rgba(99, 102, 241, 0.3) 0%,
rgba(139, 92, 246, 0.3) 100%);
border-radius: 52px;
opacity: 0;
z-index: -1;
transition: opacity 0.3s ease;
}
.outer-pill.expanded::after {
opacity: 1;
animation: pillGlow 2s infinite alternate;
}
@keyframes pillShimmer {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}
@keyframes pillGlow {
0% {
opacity: 0.3;
}
100% {
opacity: 0.7;
}
}
@keyframes shimmerSlide {
0% {
transform: translateX(-100%);
opacity: 0;
}
50% {
opacity: 1;
}
100% {
transform: translateX(100%);
opacity: 0;
}
}
/* Animations */
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
@keyframes ripple {
0% {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
}
100% {
transform: translate(-50%, -50%) scale(2);
opacity: 0;
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in-up {
animation: fadeInUp 0.8s ease-out;
}
/* Дополнительные стили для компактных карточек проектов */
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
max-width: 100%;
gap: 2rem;
margin-bottom: 3rem;
}
/* Ограничиваем максимальный размер карточки */
.project-card {
max-width: 400px;
width: 100%;
background: white;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 8px 25px rgba(0,0,0,0.08);
transition: all 0.3s ease;
margin-bottom: 0;
height: 100%;
display: flex;
flex-direction: column;
border: 1px solid #f1f5f9;
}
.project-card:hover {
box-shadow: 0 20px 50px rgba(0,0,0,0.15);
transform: translateY(-5px);
border-color: #e2e8f0;
}
.project-media {
width: 100%;
height: 180px;
overflow: hidden;
position: relative;
background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
}
.project-media img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-media img {
transform: scale(1.08);
}
.project-media.no-image {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
display: flex;
align-items: center;
justify-content: center;
color: white;
}
.project-media.no-image::before {
content: '\f1c2';
font-family: 'Font Awesome 5 Free';
font-weight: 900;
font-size: 2.5rem;
opacity: 0.7;
}
.project-badge {
position: absolute;
top: 15px;
right: 15px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 0.4rem 0.8rem;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
z-index: 2;
box-shadow: 0 4px 15px rgba(0,0,0,0.25);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.project-content {
padding: 1rem;
flex-grow: 1;
display: flex;
flex-direction: column;
}
.project-title {
font-size: 1.1rem;
font-weight: 700;
color: #1a202c;
margin-bottom: 0.5rem;
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
min-height: 2.6rem;
}
.project-description {
color: #64748b;
margin-bottom: 0.75rem;
flex-grow: 1;
line-height: 1.5;
font-size: 0.85rem;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
min-height: 2.5rem;
}
.project-stats-section {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.75rem;
padding: 0.5rem 0.75rem;
background: #f8fafc;
border-radius: 8px;
font-size: 0.8rem;
}
.stats-left {
display: flex;
gap: 1rem;
}
.stat-item {
display: flex;
align-items: center;
gap: 0.35rem;
color: #64748b;
}
.stat-item i {
color: #667eea;
font-size: 0.85rem;
}
.project-year {
color: #94a3b8;
font-weight: 500;
}
.project-footer {
padding: 0 1rem 1rem;
border-top: 1px solid #f1f5f9;
margin-top: auto;
}
.project-categories {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
margin-bottom: 0.5rem;
}
.category-tag {
display: inline-flex;
align-items: center;
padding: 0.25rem 0.5rem;
background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
color: #667eea;
border-radius: 12px;
font-size: 0.7rem;
font-weight: 500;
white-space: nowrap;
border: 1px solid rgba(102, 126, 234, 0.2);
}
.category-tag i {
margin-right: 0.25rem;
font-size: 0.75rem;
}
.project-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.85rem;
color: #94a3b8;
}
.project-info {
display: flex;
gap: 1rem;
font-size: 0.8rem;
}
.project-info span {
display: flex;
align-items: center;
gap: 0.25rem;
}
.project-status {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.75rem;
border-radius: 15px;
font-size: 0.75rem;
font-weight: 600;
}
.status-completed {
background: rgba(34, 197, 94, 0.1);
color: #16a34a;
border: 1px solid rgba(34, 197, 94, 0.2);
}
.status-in_progress {
background: rgba(59, 130, 246, 0.1);
color: #2563eb;
border: 1px solid rgba(59, 130, 246, 0.2);
}
.status-archived {
background: rgba(107, 114, 128, 0.1);
color: #6b7280;
border: 1px solid rgba(107, 114, 128, 0.2);
}
.media-player {
position: relative;
width: 100%;
height: 100%;
}
.play-btn {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(255, 255, 255, 0.9);
border: none;
border-radius: 50%;
width: 45px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.1rem;
color: #667eea;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.play-btn:hover {
background: white;
transform: translate(-50%, -50%) scale(1.1);
box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
/* Адаптивные стили для projects-grid */
@media (max-width: 768px) {
.projects-grid {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
}
.project-card {
max-width: 350px;
}
}
@media (max-width: 576px) {
.projects-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
}
.project-card {
max-width: 320px;
}
}
/* ===================
PROJECT DETAIL IMPROVEMENTS
=================== */
/* Хлебные крошки */
.project-breadcrumb {
margin-bottom: 1.5rem;
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.8);
}
.project-breadcrumb a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: all 0.3s ease;
}
.project-breadcrumb a:hover {
color: #fff;
text-decoration: underline;
}
.project-breadcrumb i {
opacity: 0.6;
font-size: 0.8em;
}
/* Мета-бейджи */
.project-meta-badges {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-top: 1rem;
}
.meta-badge {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 25px;
color: rgba(255, 255, 255, 0.9);
font-size: 0.85rem;
font-weight: 500;
border: 1px solid rgba(255, 255, 255, 0.2);
transition: all 0.3s ease;
}
.meta-badge:hover {
background: rgba(255, 255, 255, 0.15);
border-color: rgba(255, 255, 255, 0.3);
transform: translateY(-1px);
}
.meta-badge i {
font-size: 0.9em;
opacity: 0.8;
}
/* Статистика */
.stats-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-top: 0.5rem;
}
.stat-item {
text-align: center;
padding: 1rem;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}
.stat-item:hover {
transform: translateY(-2px);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
border-color: rgba(255, 255, 255, 0.2);
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.stat-number {
font-size: 1.8rem;
font-weight: 700;
color: #fff;
margin-bottom: 0.25rem;
}
.stat-label {
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.7);
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Статус-бейдж */
.status-badge {
display: inline-block;
padding: 0.4rem 0.8rem;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
border: none;
}
.info-item {
position: relative;
overflow: hidden;
}
.info-item::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 0;
height: 2px;
background: linear-gradient(90deg, #667eea, #764ba2);
transition: width 0.3s ease;
}
.info-item:hover::after {
width: 100%;
}
.info-label {
display: flex;
align-items: center;
gap: 0.5rem;
font-weight: 600;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 0.75rem;
}
.info-label i {
color: rgba(255, 255, 255, 0.7);
width: 16px;
text-align: center;
}
.info-value {
padding-left: 0.5rem;
color: rgba(255, 255, 255, 0.8);
line-height: 1.6;
}
/* ===================
MODERN PROJECT HERO SECTION
=================== */
.project-hero {
position: relative;
min-height: 80vh;
display: flex;
align-items: center;
padding: 2rem 0;
overflow: hidden;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.hero-background {
position: absolute;
inset: 0;
z-index: 1;
}
.hero-gradient {
position: absolute;
inset: 0;
background: linear-gradient(
135deg,
rgba(102, 126, 234, 0.9) 0%,
rgba(118, 75, 162, 0.85) 50%,
rgba(102, 126, 234, 0.8) 100%
);
animation: gradientShift 20s ease-in-out infinite;
}
@keyframes gradientShift {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
.hero-pattern {
position: absolute;
inset: 0;
background-image:
radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
animation: patternMove 30s linear infinite;
}
@keyframes patternMove {
0% { transform: translateX(0) translateY(0); }
100% { transform: translateX(-50px) translateY(-30px); }
}
.hero-content {
position: relative;
z-index: 3;
}
/* Современные breadcrumbs */
.breadcrumb-modern {
margin-bottom: 2rem;
position: relative;
z-index: 4;
}
.breadcrumb-list {
display: flex;
align-items: center;
gap: 0.5rem;
list-style: none;
margin: 0;
padding: 0;
font-size: 0.9rem;
}
.breadcrumb-link {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: all 0.3s ease;
padding: 0.25rem 0.5rem;
border-radius: 6px;
}
.breadcrumb-link:hover {
color: white;
background: rgba(255, 255, 255, 0.1);
text-decoration: none;
}
.breadcrumb-separator {
color: rgba(255, 255, 255, 0.5);
font-weight: 300;
}
.breadcrumb-current {
color: white;
font-weight: 500;
}
/* Теги и категории */
.project-tags {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-bottom: 1.5rem;
}
.tag {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 25px;
color: white;
font-size: 0.85rem;
font-weight: 500;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tag:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.tag.featured {
background: linear-gradient(45deg, #ffd700, #ffed4e);
color: #1a202c;
border-color: rgba(255, 215, 0, 0.3);
font-weight: 600;
}
.tag.featured:hover {
background: linear-gradient(45deg, #ffed4e, #ffd700);
transform: translateY(-2px) scale(1.05);
}
/* Hero title */
.hero-title {
font-size: clamp(2.5rem, 8vw, 6rem);
font-weight: 800;
line-height: 0.9;
color: white;
margin-bottom: 1rem;
letter-spacing: -0.02em;
text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.hero-subtitle {
font-size: clamp(1.125rem, 2.5vw, 1.5rem);
color: rgba(255, 255, 255, 0.9);
line-height: 1.6;
margin-bottom: 2rem;
max-width: 600px;
}
/* Quick facts */
.quick-facts {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
margin-bottom: 2rem;
}
.fact-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 1rem 1.5rem;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 15px;
color: white;
transition: all 0.3s ease;
min-width: 200px;
}
.fact-item:hover {
background: rgba(255, 255, 255, 0.15);
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.fact-icon {
font-size: 1.5rem;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.fact-content {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.fact-label {
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.7);
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 500;
}
.fact-value {
font-size: 1rem;
color: white;
font-weight: 600;
}
/* Hero actions */
.hero-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 1rem;
margin-bottom: 2rem;
}
.hero-action-bar {
display: flex;
justify-content: flex-start;
margin-bottom: 1rem;
}
.hero-quick-stats {
display: flex;
gap: 1rem;
margin-left: auto;
}
.views-likes-bar {
display: flex;
gap: 0.75rem;
}
.stat-pill {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.6rem 1.2rem;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 25px;
color: white;
font-weight: 600;
transition: all 0.3s ease;
font-size: 0.9rem;
}
.stat-pill:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.stat-pill i {
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.9);
}
.quick-stat-item {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
color: white;
font-weight: 600;
transition: all 0.3s ease;
}
.quick-stat-item:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.quick-stat-icon {
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
color: rgba(255, 255, 255, 0.9);
font-size: 0.9rem;
}
.quick-stat-value {
font-size: 1rem;
font-weight: 700;
color: white;
}
.cta-button {
display: inline-flex;
align-items: center;
gap: 0.75rem;
padding: 1rem 2rem;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
font-size: 1rem;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
border: 2px solid transparent;
}
.cta-button.primary {
background: linear-gradient(45deg, #ffffff, #f8fafc);
color: #667eea;
box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}
.cta-button.primary:hover {
transform: translateY(-4px) scale(1.02);
box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
color: #667eea;
text-decoration: none;
}
.cta-button.secondary {
background: rgba(255, 255, 255, 0.1);
color: white;
border-color: rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.cta-button.secondary:hover {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.5);
transform: translateY(-3px);
color: white;
text-decoration: none;
}
.cta-button.outline {
background: transparent;
color: white;
border-color: rgba(255, 255, 255, 0.4);
}
.cta-button.outline:hover {
background: rgba(255, 255, 255, 0.1);
border-color: white;
transform: translateY(-2px);
color: white;
text-decoration: none;
}
.button-icon {
transition: transform 0.3s ease;
display: flex;
align-items: center;
}
.cta-button:hover .button-icon {
transform: translateX(4px);
}
/* Hero stats */
.hero-stats {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
margin-top: 2rem;
}
.stat-card {
text-align: center;
padding: 1.5rem 1rem;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
transition: all 0.3s ease;
color: white;
}
.stat-card:hover {
background: rgba(255, 255, 255, 0.15);
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.stat-number {
font-size: 2rem;
font-weight: 800;
color: white;
margin-bottom: 0.5rem;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.stat-label {
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.8);
text-transform: uppercase;
letter-spacing: 0.8px;
font-weight: 500;
}
/* ===================
PROJECT OVERVIEW SECTION
=================== */
.project-overview {
padding: 5rem 0;
background: #f8fafc;
}
.content-section {
margin-bottom: 4rem;
}
.section-title {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 2rem;
font-size: 2rem;
font-weight: 700;
color: #1a202c;
}
.title-number {
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
border-radius: 15px;
font-size: 1.2rem;
font-weight: 800;
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}
.title-text {
color: #2d3748;
letter-spacing: -0.01em;
}
.content-rich {
max-width: none;
line-height: 1.8;
}
.lead-text {
font-size: 1.25rem;
color: #4a5568;
line-height: 1.7;
margin-bottom: 3rem;
max-width: 800px;
}
/* Highlight boxes */
.highlight-box {
display: flex;
gap: 1.5rem;
padding: 2rem;
margin-bottom: 2rem;
border-radius: 20px;
border: 1px solid;
position: relative;
overflow: hidden;
}
.highlight-box::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
border-radius: 2px;
}
.highlight-box.challenge {
background: linear-gradient(135deg, #fff5f5, #fed7d7);
border-color: #feb2b2;
}
.highlight-box.challenge::before {
background: linear-gradient(to bottom, #f56565, #e53e3e);
}
.highlight-box.solution {
background: linear-gradient(135deg, #f0fff4, #c6f6d5);
border-color: #9ae6b4;
}
.highlight-box.solution::before {
background: linear-gradient(to bottom, #48bb78, #38a169);
}
.highlight-box.results {
background: linear-gradient(135deg, #fffbeb, #fed7aa);
border-color: #fbb6ce;
}
.highlight-box.results::before {
background: linear-gradient(to bottom, #ed8936, #dd6b20);
}
.highlight-icon {
display: flex;
align-items: flex-start;
justify-content: center;
width: 50px;
height: 50px;
border-radius: 15px;
color: white;
font-size: 1.2rem;
flex-shrink: 0;
margin-top: 0.5rem;
}
.challenge .highlight-icon {
background: linear-gradient(135deg, #f56565, #e53e3e);
}
.solution .highlight-icon {
background: linear-gradient(135deg, #48bb78, #38a169);
}
.results .highlight-icon {
background: linear-gradient(135deg, #ed8936, #dd6b20);
}
.highlight-content {
flex: 1;
}
.highlight-title {
font-size: 1.3rem;
font-weight: 700;
margin-bottom: 1rem;
color: #2d3748;
}
.highlight-text {
font-size: 1rem;
line-height: 1.6;
color: #4a5568;
margin: 0;
}
/* Technology showcase */
.tech-showcase {
background: white;
border-radius: 25px;
padding: 2.5rem;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
border: 1px solid #f1f5f9;
}
.tech-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 1.5rem;
}
.tech-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 1.5rem;
background: linear-gradient(135deg, #f8fafc, #f1f5f9);
border: 1px solid #e2e8f0;
border-radius: 15px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
}
.tech-item:hover {
background: linear-gradient(135deg, #ffffff, #f8fafc);
border-color: #cbd5e1;
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.tech-icon {
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
border-radius: 12px;
font-size: 1.3rem;
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
flex-shrink: 0;
}
.tech-content {
flex: 1;
}
.tech-name {
display: block;
font-size: 1.1rem;
font-weight: 600;
color: #2d3748;
margin-bottom: 0.25rem;
}
.tech-category {
font-size: 0.85rem;
color: #718096;
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 500;
}
/* Project sidebar */
.project-sidebar {
position: sticky;
top: 2rem;
max-height: calc(100vh - 4rem);
overflow-y: auto;
}
.sidebar-section {
background: white;
border-radius: 20px;
padding: 2rem;
margin-bottom: 2rem;
border: 1px solid #f1f5f9;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.sidebar-title {
font-size: 1.3rem;
font-weight: 700;
color: #2d3748;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 2px solid #f8fafc;
position: relative;
}
.sidebar-title::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 50px;
height: 2px;
background: linear-gradient(90deg, #667eea, #764ba2);
border-radius: 1px;
}
.info-grid {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.info-item {
padding: 1.25rem;
background: linear-gradient(135deg, #f8fafc, #f1f5f9);
border: 1px solid #e2e8f0;
border-radius: 12px;
transition: all 0.3s ease;
}
.info-item:hover {
background: linear-gradient(135deg, #ffffff, #f8fafc);
border-color: #cbd5e1;
transform: translateX(5px);
}
.info-label {
display: flex;
align-items: center;
gap: 0.75rem;
font-weight: 600;
color: #4a5568;
margin-bottom: 0.75rem;
font-size: 0.9rem;
}
.info-label i {
color: #718096;
width: 18px;
text-align: center;
}
.info-value {
font-size: 1rem;
color: #2d3748;
font-weight: 500;
line-height: 1.5;
}
.status-badge {
display: inline-block;
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.status-badge.completed {
background: linear-gradient(135deg, #48bb78, #38a169);
color: white;
}
.status-badge.progress {
background: linear-gradient(135deg, #ed8936, #dd6b20);
color: white;
}
/* Hero info cards section */
.hero-info-cards {
position: relative;
z-index: 4;
margin-top: 3rem;
padding-bottom: 2rem;
}
.hero-info-cards .project-stats-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
margin-bottom: 3rem;
}
/* Hero Technologies Section */
.hero-technologies {
text-align: center;
margin-top: 2rem;
}
.tech-title {
font-size: 1.5rem;
font-weight: 700;
color: white;
margin-bottom: 1.5rem;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.tech-buttons-grid {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
}
.tech-button {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 1rem 1.5rem;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
color: white;
font-weight: 600;
font-size: 0.95rem;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
min-width: 120px;
}
.tech-button:hover {
background: rgba(255, 255, 255, 0.25);
border-color: rgba(255, 255, 255, 0.4);
transform: translateY(-3px) scale(1.05);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.tech-button .tech-icon {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
background: rgba(255, 255, 255, 0.2);
border-radius: 8px;
font-size: 1.1rem;
transition: all 0.3s ease;
}
.tech-button:hover .tech-icon {
background: rgba(255, 255, 255, 0.3);
transform: scale(1.1);
}
.tech-name {
font-weight: 600;
letter-spacing: 0.3px;
}
.hero-info-cards .stat-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.hero-info-cards .stat-card:hover {
background: rgba(255, 255, 255, 1);
border-color: rgba(255, 255, 255, 0.5);
transform: translateY(-10px) scale(1.03);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.hero-info-cards .stat-card.tech-card {
grid-column: span 2;
}
.hero-info-cards .tech-mini {
background: rgba(102, 126, 234, 0.9);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
/* Адаптивность для hero cards */
@media (max-width: 768px) {
.hero-info-cards .project-stats-grid {
grid-template-columns: 1fr;
gap: 1rem;
margin-bottom: 2rem;
}
.hero-actions {
justify-content: center;
flex-direction: column;
align-items: center;
}
.hero-quick-stats {
margin-left: 0;
margin-top: 1rem;
order: 2;
}
.cta-button {
width: 100%;
justify-content: center;
max-width: 280px;
}
.tech-buttons-grid {
gap: 0.75rem;
}
.tech-button {
padding: 0.75rem 1rem;
font-size: 0.85rem;
min-width: 100px;
}
.tech-button .tech-icon {
width: 28px;
height: 28px;
font-size: 1rem;
}
}
@media (max-width: 576px) {
.hero-info-cards .project-stats-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
.hero-quick-stats {
flex-direction: column;
gap: 0.75rem;
width: 100%;
}
.quick-stat-item {
justify-content: center;
width: 100%;
max-width: 200px;
}
.tech-buttons-grid {
gap: 0.5rem;
}
.tech-button {
padding: 0.5rem 0.75rem;
font-size: 0.8rem;
min-width: 80px;
flex-direction: column;
gap: 0.5rem;
}
.tech-button .tech-icon {
width: 24px;
height: 24px;
font-size: 0.9rem;
}
}
/* Project Stats Table */
.project-stats-table {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 1rem;
}
.stat-card {
position: relative;
padding: 1.5rem;
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
border: 1px solid #e2e8f0;
border-radius: 15px;
text-align: center;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
overflow: hidden;
}
.stat-card.tech-card {
grid-column: span 2;
text-align: left;
}
.tech-card .stat-content {
align-items: flex-start;
}
.tech-pills-mini {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 0.5rem;
}
.tech-mini {
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
padding: 0.25rem 0.5rem;
border-radius: 12px;
font-size: 0.7rem;
font-weight: 600;
white-space: nowrap;
}
.stat-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, #667eea, #764ba2);
transform: scaleX(0);
transform-origin: left;
transition: transform 0.3s ease;
}
.stat-card:hover::before {
transform: scaleX(1);
}
.stat-card:hover {
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
border-color: #cbd5e1;
transform: translateY(-8px) scale(1.02);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.stat-icon {
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
border-radius: 12px;
font-size: 1.2rem;
margin: 0 auto 1rem;
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
transition: all 0.3s ease;
}
.tech-card .stat-icon {
margin: 0 1rem 0 0;
flex-shrink: 0;
}
.stat-card:hover .stat-icon {
transform: scale(1.1);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.stat-content {
display: flex;
flex-direction: column;
gap: 0.25rem;
align-items: center;
}
.tech-card .stat-content {
flex: 1;
align-items: flex-start;
}
.stat-value {
font-size: 1.2rem;
font-weight: 700;
color: #2d3748;
line-height: 1.2;
word-break: break-word;
}
.stat-label {
font-size: 0.75rem;
color: #718096;
text-transform: uppercase;
letter-spacing: 0.8px;
font-weight: 600;
}
/* Technology Section */
.tech-section {
background: white;
border-radius: 20px;
padding: 2rem;
border: 1px solid #f1f5f9;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.tech-pills-container {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}
.tech-pill {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
border: 1px solid #e2e8f0;
border-radius: 25px;
font-size: 0.9rem;
font-weight: 600;
color: #2d3748;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
position: relative;
overflow: hidden;
}
.tech-pill::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
transition: left 0.5s ease;
}
.tech-pill:hover::before {
left: 100%;
}
.tech-pill:hover {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-color: transparent;
transform: translateY(-3px) scale(1.05);
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
.tech-logo {
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
font-size: 1rem;
transition: all 0.3s ease;
}
.tech-pill:hover .tech-logo {
transform: scale(1.2);
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.tech-name {
font-weight: 600;
transition: all 0.3s ease;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.project-stats-table {
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 0.75rem;
}
.stat-card.tech-card {
grid-column: span 1;
}
.stat-card {
padding: 1rem;
}
.stat-icon {
width: 40px;
height: 40px;
font-size: 1rem;
margin-bottom: 0.75rem;
}
.tech-card .stat-icon {
margin: 0 0.75rem 0 0;
}
.stat-value {
font-size: 1.1rem;
}
.stat-label {
font-size: 0.7rem;
}
.tech-pills-mini {
gap: 0.25rem;
}
.tech-mini {
font-size: 0.65rem;
padding: 0.2rem 0.4rem;
}
}
.views-likes-section {
margin-bottom: 1rem;
}
.views-likes-bar {
display: flex;
gap: 0.75rem;
justify-content: flex-start;
}
.stat-pill {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.6rem 1.2rem;
background: rgba(255, 255, 255, 0.15);
-webkit-backdrop-filter: blur(15px);
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 25px;
color: white;
font-weight: 600;
transition: all 0.3s ease;
font-size: 0.9rem;
}
.stat-pill:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.stat-pill i {
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.9);
}
.team-info-section {
margin-bottom: 1rem;
}
.team-card {
display: inline-flex;
width: auto;
min-width: 200px;
background: rgba(255, 255, 255, 0.15);
-webkit-backdrop-filter: blur(15px);
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 15px;
color: white;
padding: 1rem;
gap: 0.75rem;
align-items: center;
transition: all 0.3s ease;
}
.team-card:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.compact-icon {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.2);
border-radius: 12px;
color: white;
font-size: 1.1rem;
flex-shrink: 0;
}
.compact-content {
flex: 1;
}
.compact-label {
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.8);
margin-bottom: 0.25rem;
font-weight: 500;
}
.compact-value {
font-size: 0.95rem;
font-weight: 600;
color: white;
}
/* Дополнительные стили для отладки карусели */
.similar-projects-section {
background: #f8fafc;
padding: 4rem 0;
margin-top: 3rem;
text-align: center;
}
.similar-projects-carousel {
position: relative;
overflow: hidden;
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
.similarSwiper {
padding: 0 80px;
overflow: visible;
width: 100%;
margin: 0 auto;
}
.similarSwiper .swiper-wrapper {
display: flex;
align-items: stretch;
width: 100%;
gap: 20px;
}
.similarSwiper .swiper-slide {
height: auto;
display: flex;
flex-shrink: 0;
width: 300px;
margin: 0 15px;
/* Фиксированная ширина для каждого слайда */
}
.similar-project-card {
background: white;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
cursor: pointer;
height: 100%;
width: 300px; /* Фиксированная ширина карточки */
display: flex;
flex-direction: column;
min-height: 350px;
}
.section-title {
color: #1a202c;
font-weight: 700;
margin-bottom: 2.5rem;
text-align: center;
font-size: 2.5rem;
position: relative;
}
.section-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 4px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 2px;
}
.similar-project-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.similar-thumb {
position: relative;
height: 200px;
overflow: hidden;
}
.similar-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.similar-project-card:hover .similar-thumb img {
transform: scale(1.05);
}
/* Центрированный контент */
.centered-content {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.content-wrapper {
padding: 2rem;
}
.description-text {
font-size: 1.1rem;
line-height: 1.8;
color: #4a5568;
margin: 1.5rem 0;
text-align: left;
}
/* Обновленные стили project-content */
.project-content {
background: white;
border-radius: 20px;
padding: 2.5rem;
box-shadow: 0 10px 40px rgba(0,0,0,0.08);
line-height: 1.8;
border: 1px solid #f1f5f9;
margin-bottom: 2rem;
}
.project-content h2 {
color: #1a202c;
font-weight: 700;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 2px solid #f8fafc;
position: relative;
text-align: left;
}
.project-content h2::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 80px;
height: 2px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
/* Центрированные технологии */
.tech-center-section {
background: white;
border-radius: 20px;
padding: 3rem 2rem;
margin: 3rem auto;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
border: 1px solid #f1f5f9;
max-width: 800px;
text-align: center;
}
.tech-center-title {
color: #1a202c;
font-weight: 700;
margin-bottom: 2rem;
font-size: 1.8rem;
position: relative;
}
.tech-center-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 2px;
}
.tech-center-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1.5rem;
margin-top: 2rem;
}
.tech-center-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
padding: 1.25rem;
background: #f8fafc;
border-radius: 15px;
transition: all 0.3s ease;
border: 1px solid #e2e8f0;
min-width: 120px;
}
.tech-center-item:hover {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
.tech-center-item .tech-icon {
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 12px;
color: white;
font-size: 1.4rem;
transition: all 0.3s ease;
}
.tech-center-item:hover .tech-icon {
background: white;
color: #667eea;
}
.tech-center-item .tech-name {
font-size: 0.9rem;
font-weight: 600;
color: #4a5568;
transition: color 0.3s ease;
}
.tech-center-item:hover .tech-name {
color: white;
}
/* Вертикальные технологии в сайдбаре */
.tech-sidebar-section {
background: white;
border-radius: 20px;
padding: 2rem;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
border: 1px solid #f1f5f9;
position: sticky;
top: 20px;
height: fit-content;
}
.tech-sidebar-title {
color: #1a202c;
font-weight: 700;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 2px solid #f8fafc;
position: relative;
}
.tech-sidebar-title::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 60px;
height: 2px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.tech-vertical-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.tech-vertical-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.75rem;
border-radius: 10px;
transition: all 0.3s ease;
border: 1px solid transparent;
}
.tech-vertical-item:hover {
background: #f8fafc;
border-color: #e2e8f0;
transform: translateX(5px);
}
.tech-vertical-item .tech-icon {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 8px;
color: white;
font-size: 1rem;
flex-shrink: 0;
}
.tech-vertical-item .tech-name {
font-size: 0.95rem;
font-weight: 600;
color: #4a5568;
}
.project-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(102, 126, 234, 0.8);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: all 0.3s ease;
}
.similar-project-card:hover .project-overlay {
opacity: 1;
}
.project-overlay i {
color: white;
font-size: 2rem;
transform: scale(0.8);
transition: transform 0.3s ease;
}
.similar-project-card:hover .project-overlay i {
transform: scale(1);
}
.similar-content {
padding: 1.5rem;
flex: 1;
display: flex;
flex-direction: column;
}
.project-title {
color: #1a202c;
font-weight: 700;
font-size: 1.1rem;
margin-bottom: 0.75rem;
line-height: 1.3;
}
.project-description {
color: #64748b;
font-size: 0.9rem;
line-height: 1.5;
margin-bottom: 1rem;
flex: 1;
}
.project-categories {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-top: auto;
}
.category-tag {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 0.3rem 0.75rem;
border-radius: 15px;
font-size: 0.75rem;
font-weight: 500;
}
/* Кнопки навигации карусели */
.similar-next,
.similar-prev {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 10;
width: 50px;
height: 50px;
background: white;
border-radius: 50%;
color: #4f46e5 !important;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
border: 1px solid #e5e7eb;
transition: all 0.3s ease;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
margin-top: 0 !important;
}
.similar-next {
right: 20px;
}
.similar-prev {
left: 20px;
}
.similar-next:hover,
.similar-prev:hover {
transform: translateY(-50%) scale(1.1);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
background: linear-gradient(135deg, #5a5fcf 0%, #6b46c1 100%);
}
.similar-next::after,
.similar-prev::after {
font-size: 18px;
font-weight: 700;
}
.similar-pagination {
bottom: -50px !important;
}
.similar-pagination .swiper-pagination-bullet {
width: 12px;
height: 12px;
background: #cbd5e1;
opacity: 1;
transition: all 0.3s ease;
}
/* Стили для заглушки изображений */
.image-placeholder {
background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
height: 100%;
width: 100%;
border-radius: 15px 15px 0 0;
position: relative;
overflow: hidden;
}
.image-placeholder::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(148,163,184,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
opacity: 0.5;
}
.placeholder-content {
position: relative;
z-index: 2;
text-align: center;
}
.placeholder-icon {
font-size: 2.5rem !important;
color: #94a3b8 !important;
margin-bottom: 0.5rem;
}
.placeholder-text {
font-size: 0.85rem !important;
color: #64748b !important;
font-weight: 500;
}
.compact-card {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 1rem;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 15px;
color: white;
transition: all 0.3s ease;
}
.compact-card:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.compact-icon {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.2);
border-radius: 12px;
color: white;
font-size: 1.1rem;
}
.compact-content {
flex: 1;
}
.compact-label {
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.8);
margin-bottom: 0.25rem;
font-weight: 500;
}
.compact-value {
font-size: 0.95rem;
font-weight: 600;
color: white;
}
/* Сайдбар с технологиями */
.tech-sidebar {
background: white;
border-radius: 20px;
padding: 2rem;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
border: 1px solid #f1f5f9;
margin-bottom: 2rem;
position: sticky;
top: 20px;
}
.tech-sidebar-title {
color: #1a202c;
font-weight: 700;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 2px solid #f8fafc;
position: relative;
}
.tech-sidebar-title::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 60px;
height: 2px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.tech-table {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.tech-row {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.75rem;
border-radius: 10px;
transition: all 0.3s ease;
border: 1px solid transparent;
}
.tech-row:hover {
background: #f8fafc;
border-color: #e2e8f0;
transform: translateX(5px);
}
.tech-row .tech-icon {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 8px;
color: white;
font-size: 1rem;
}
.tech-row .tech-name {
font-size: 0.95rem;
font-weight: 600;
color: #4a5568;
}
/* Адаптивность для новых компонентов */
@media (max-width: 992px) {
.compact-info-grid {
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
}
.tech-sidebar {
position: static;
margin-top: 2rem;
order: 2;
}
}
@media (max-width: 768px) {
.hero-action-bar {
justify-content: center;
}
.views-likes-bar {
justify-content: center;
}
.section-title {
font-size: 2rem;
}
.similarSwiper {
padding: 20px 60px;
}
.similarSwiper .swiper-slide {
margin: 0 10px;
}
.similar-next {
right: 15px;
}
.similar-prev {
left: 15px;
}
.similar-next,
.similar-prev {
width: 40px;
height: 40px;
}
.similar-next::after,
.similar-prev::after {
font-size: 14px;
}
.tech-center-section {
padding: 2rem 1rem;
margin: 2rem 1rem;
}
.tech-center-grid {
gap: 1rem;
}
.tech-center-item {
min-width: 100px;
padding: 1rem;
}
.content-wrapper {
padding: 1rem;
}
.tech-sidebar-section {
position: static;
margin-top: 2rem;
order: 2;
}
.tech-vertical-list {
gap: 0.5rem;
}
.tech-vertical-item {
padding: 0.5rem;
}
}
@media (max-width: 576px) {
.compact-info-grid {
grid-template-columns: 1fr;
}
.stat-pill {
padding: 0.5rem 1rem;
font-size: 0.85rem;
}
}
@media (max-width: 576px) {
.project-stats-table {
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
}
.stat-card.tech-card {
grid-column: span 2;
}
.tech-card .stat-content {
align-items: center;
text-align: center;
}
.tech-card .stat-icon {
margin: 0 auto 0.75rem;
}
}
/* Стили для заглушки изображений в карточках карусели */
.image-placeholder {
background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
height: 100%;
width: 100%;
border-radius: 15px 15px 0 0;
position: relative;
overflow: hidden;
}
.image-placeholder::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(148,163,184,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
opacity: 0.5;
}
.placeholder-content {
position: relative;
z-index: 2;
text-align: center;
}
.placeholder-icon {
font-size: 2.5rem !important;
color: #94a3b8 !important;
margin-bottom: 0.5rem;
}
.placeholder-text {
font-size: 0.85rem !important;
color: #64748b !important;
font-weight: 500;
}