feat: добавлена современная страница деталей услуги с портфолио и отзывами
This commit is contained in:
@@ -1 +1,23 @@
|
||||
@import url('https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css');
|
||||
|
||||
/* Убедимся, что все модальные окна скрыты по умолчанию */
|
||||
.modal {
|
||||
display: none !important;
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.modal.show {
|
||||
display: block !important;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
/* Убедимся, что body не заблокирован */
|
||||
body {
|
||||
overflow: auto !important;
|
||||
}
|
||||
|
||||
body.modal-open {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
@@ -523,4 +523,369 @@ p {
|
||||
right: 8px;
|
||||
top: 38px;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Category Filters */
|
||||
.category-filters {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
justify-content: center;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.category-filter-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.75rem 1.5rem;
|
||||
border: 2px solid var(--border-color);
|
||||
border-radius: 50px;
|
||||
background: var(--bg-light);
|
||||
color: var(--text-dark);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.category-filter-btn::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: var(--gradient-primary);
|
||||
transition: left 0.3s ease;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.category-filter-btn:hover::before,
|
||||
.category-filter-btn.active::before {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.category-filter-btn i,
|
||||
.category-filter-btn span {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.category-filter-btn:hover,
|
||||
.category-filter-btn.active {
|
||||
border-color: var(--primary-color);
|
||||
color: white;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
|
||||
}
|
||||
|
||||
.category-filter-btn i {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
/* ===================================
|
||||
SERVICE DETAIL PAGE STYLES
|
||||
=================================== */
|
||||
|
||||
/* Service Hero Section */
|
||||
.service-hero {
|
||||
padding: 4rem 0;
|
||||
background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-light) 100%);
|
||||
}
|
||||
|
||||
.service-image-wrapper {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
.service-image-wrapper img {
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
|
||||
.service-image-wrapper:hover img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.badge-category {
|
||||
display: inline-block;
|
||||
padding: 0.5rem 1rem;
|
||||
background: var(--gradient-primary);
|
||||
color: white;
|
||||
border-radius: 50px;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.service-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 800;
|
||||
color: var(--text-dark);
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.service-stats {
|
||||
padding: 1rem 0;
|
||||
border-top: 2px solid var(--border-color);
|
||||
border-bottom: 2px solid var(--border-color);
|
||||
}
|
||||
|
||||
.rating-display .stars {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.price-badge {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 0.25rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.price-label {
|
||||
font-size: 0.875rem;
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.price-value {
|
||||
font-size: 2rem;
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.price-currency {
|
||||
font-size: 1.25rem;
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.service-short-description {
|
||||
font-size: 1.125rem;
|
||||
color: var(--text-light);
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
/* Service Details Section */
|
||||
.service-details {
|
||||
background: var(--bg-gray);
|
||||
}
|
||||
|
||||
.details-card {
|
||||
border-radius: 1rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
color: var(--text-dark);
|
||||
position: relative;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.section-title::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 80px;
|
||||
height: 4px;
|
||||
background: var(--gradient-primary);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.section-subtitle {
|
||||
font-size: 1.125rem;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.detailed-description {
|
||||
font-size: 1rem;
|
||||
line-height: 1.8;
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.service-features .feature-box {
|
||||
padding: 2rem 1rem;
|
||||
border-radius: 1rem;
|
||||
background: var(--bg-light);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.service-features .feature-box:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.feature-icon {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
/* Portfolio Section */
|
||||
.portfolio-section {
|
||||
background: var(--bg-light);
|
||||
}
|
||||
|
||||
.portfolio-card {
|
||||
border-radius: 1rem;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.portfolio-card:hover {
|
||||
transform: translateY(-10px);
|
||||
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.portfolio-image {
|
||||
width: 100%;
|
||||
height: 250px;
|
||||
object-fit: cover;
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
|
||||
.portfolio-card:hover .portfolio-image {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.portfolio-placeholder {
|
||||
width: 100%;
|
||||
height: 250px;
|
||||
background: linear-gradient(135deg, var(--bg-gray) 0%, var(--border-color) 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.project-meta {
|
||||
padding-top: 1rem;
|
||||
margin-top: 1rem;
|
||||
border-top: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
/* Reviews Section */
|
||||
.reviews-section {
|
||||
background: var(--bg-gray);
|
||||
}
|
||||
|
||||
.review-card {
|
||||
border-radius: 1rem;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.review-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.review-rating {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.review-text {
|
||||
font-size: 1rem;
|
||||
color: var(--text-light);
|
||||
line-height: 1.8;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* CTA Section */
|
||||
.cta-section {
|
||||
padding: 4rem 0;
|
||||
background: var(--bg-light);
|
||||
}
|
||||
|
||||
.cta-card {
|
||||
background: var(--gradient-primary);
|
||||
color: white;
|
||||
border-radius: 1rem;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.cta-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -50%;
|
||||
right: -50%;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
|
||||
animation: pulse 4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%, 100% {
|
||||
transform: scale(1);
|
||||
opacity: 0.5;
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.1);
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
.cta-card h3 {
|
||||
color: white;
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.cta-card .lead {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.cta-card .btn-primary {
|
||||
background: white;
|
||||
color: var(--primary-color);
|
||||
border: none;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.cta-card .btn-primary:hover {
|
||||
background: var(--bg-gray);
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* Responsive adjustments for service detail */
|
||||
@media (max-width: 992px) {
|
||||
.service-title {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.service-stats {
|
||||
flex-direction: column;
|
||||
gap: 1rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.service-hero {
|
||||
padding: 2rem 0;
|
||||
}
|
||||
|
||||
.service-title {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.price-value {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.service-features .feature-box {
|
||||
padding: 1.5rem 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user