/* СТО Page Styles - Matching site design */

.sto-page {
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero секция */
.sto-hero {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sto-hero::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;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.feature {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature i {
    font-size: 2.5rem;
    color: #f39c12;
    margin-bottom: 15px;
    display: block;
}

.feature span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Gallery Section */
.sto-gallery {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2c3e50);
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Price Disclaimer */
.price-disclaimer {
    padding: 80px 0;
    background: #f8f9fa;
}

.disclaimer-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 30px;
    border-left: 5px solid #e74c3c;
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.disclaimer-text h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.disclaimer-text p {
    color: #555;
    line-height: 1.8;
    margin: 0;
    font-size: 1.1rem;
}

/* Services and Prices */
.services-prices {
    padding: 80px 0;
}

.service-category {
    background: white;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.service-category:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-header {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    padding: 25px 40px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.category-header:hover {
    background: linear-gradient(135deg, #2980b9 0%, #34495e 100%);
}

.category-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.category-header i {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.category-header.active i {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-content.active {
    max-height: 2000px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #ecf0f1;
    transition: background 0.3s ease;
}

.service-item:hover {
    background: #f8f9fa;
}

.service-item:last-child {
    border-bottom: none;
}

.service-name {
    flex: 1;
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.6;
    font-weight: 500;
}

.service-price {
    font-weight: 700;
    color: #3498db;
    font-size: 1.2rem;
    margin-left: 30px;
    min-width: 100px;
    text-align: right;
}

/* Contact Section */
.sto-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    text-align: center;
    margin: 0 -20px; /* Расширяем за пределы контейнера */
    width: calc(100% + 40px); /* Компенсируем отрицательные отступы */
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-btn.primary {
    background: #e74c3c;
    color: white;
}

.contact-btn.primary:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.contact-btn.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.contact-btn.secondary:hover {
    background: white;
    color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sto-contact {
        margin: 0 -15px;
        width: calc(100% + 30px);
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .contact-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 30px;
    }

    .feature {
        padding: 25px 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .disclaimer-content {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px 30px;
    }

    .service-price {
        margin-left: 0;
        text-align: left;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-header {
        padding: 20px 25px;
    }

    .service-item {
        padding: 15px 25px;
    }

    .disclaimer-content {
        padding: 25px;
    }
}
